Define UDP_ENCAP_* from Linux 4.7 in netinet/udp.h.
[glibc.git] / ChangeLog
blobd34d67286058ace0d28c155025021f8fd8a2a8ca
1 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
4         (UDP_ENCAP_GTP1U): Likewise.
6         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
7         (PF_MAX): Update value.
8         (AF_QIPCRTR): New macro.
10 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
13         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
16         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18         s_truncf-vis3, s_trunc-vis3.
19         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
20         (CFLAGS-s_ceil-vis3.c): Likewise.
21         (CFLAGS-s_floorf-vis3.c): Likewise.
22         (CFLAGS-s_floor-vis3.c): Likewise.
23         (CFLAGS-s_truncf-vis3.c): Likewise.
24         (CFLAGS-s_trunc-vis3.c): Likewise.
25         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
26         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
27         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
28         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
29         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
30         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
31         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
32         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
33         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
34         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
35         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
36         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
38 2016-08-02  David S. Miller  <davem@davemloft.net>
40         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
41         (__nearbyint_vis3): Don't check for sNaN before float register is
42         loaded with the incoming argument.
43         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
44         (__nearbyintf_vis3): Likewise.
45         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
46         Likewise.
47         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
48         Likewise.
50         * string/test-strncmp.c (do_test_limit): Make sure the test data
51         stream is aligned as required for the type "CHAR".
52         (do_test): Likewise.
54 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
56         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
57         by beq instructions jumping to the end of the function.
58         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
59         clobber list. Use "i" constraint instead of "X".
60         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
61         of "X".
63 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
65         * bits/libc-header-start.h: New file.
66         * Makefile (headers): Add bits/libc-header-start.h.
67         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
68         (__GLIBC_USE): New macro.
69         * libio/stdio.h: Define
70         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
71         <bits/libc-header-start.h> instead of including <features.h>.
72         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
73         (open_memstream): Likewise.
74         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
75         (__asprintf): Likewise.
76         (asprintf): Likewise.
77         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
78         (getdelim): Likewise.
79         (getline): Likewise.
80         * string/string.h: Define
81         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
82         <bits/libc-header-start.h> instead of including <features.h>.
83         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
84         (strndup): Likewise.
85         * wcsmbs/wchar.h: Define
86         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
87         <bits/libc-header-start.h> instead of including <features.h>.
88         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
89         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
91 2016-08-02  Florian Weimer  <fweimer@redhat.com>
93         Support linking against compatibility symbols, for use in tests.
94         * include/libc-symbols.h (symbol_version_reference): New macro.
95         (symbol_version): Use it.
96         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
97         (compat_symbol): Use compat_symbol_reference.
98         (compat_symbol_1, compat_symbol_2): Remove.
99         (compat_symbol_reference, compat_symbol_reference_1)
100         (compat_symbol_reference_2): New macro.  Use
101         symbol_version_reference.
103 2016-08-02  Florian Weimer  <fweimer@redhat.com>
105         [BZ #19469]
106         * malloc/Makefile (CPPFLAGS): Compile tests with
107         -DTEST_NO_MALLOPT.
108         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
110 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
112         [BZ #20033]
113         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
114         finite version.
115         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
116         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
117         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
118         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
119         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
120         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
121         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
122         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
123         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
124         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
125         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
126         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
127         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
128         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
129         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
130         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
131         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
132         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
133         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
134         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
135         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
136         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
137         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
138         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
139         in zero power.
141 2016-08-02  Florian Weimer  <fweimer@redhat.com>
143         [BZ #20370]
144         * malloc/arena.c (get_free_list): Update comment.  Assert that
145         arenas on the free list have no attached threads.
146         (remove_from_free_list): New function.
147         (reused_arena): Call it.
149 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
151         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
152         when it is a NaN.
153         [_IEEE_FP_INEXACT] Remove.
154         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
155         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
156         when it is a NaN.
157         [_IEEE_FP_INEXACT] Remove.
158         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
159         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
160         when it is a NaN.
161         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
162         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
163         when its absolute value is greater than 0x1.0p52.
164         [_IEEE_FP_INEXACT] Remove.
165         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
166         when its absolute value is greater than 0x1.0p23.
167         [_IEEE_FP_INEXACT] Remove.
169 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
171         * version.h (RELEASE): Set to "development"
172         (VERSION): Set to 2.24.90.
173         * NEWS: Add 2.25 section.
175         * version.h (RELEASE): Set to "stable"
176         (VERSION): Set to 2.24.
177         * include/features.h (__GLIBC_MINOR__): Set to 24.
179         * NEWS: Add 2.24 fixed bugs.
180         * po/libc.pot: Regenerate.
182 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
185         [$(subdir) = math] (libm-sysdep_routines): Remove.
186         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
187         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
188         s_truncf-vis3, s_trunc-vis3.
189         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
191         file.
192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
213         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
214         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
215         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
216         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
217         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
218         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
219         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
220         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
221         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
222         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
223         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
224         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
225         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
226         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
227         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
228         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
229         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
230         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
231         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
232         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
233         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
234         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
236 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
238         [BZ #20384]
239         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
240         test-double-libmvec-sincos-avx-main.o,
241         test-double-libmvec-sincos-avx2-main.o,
242         test-double-libmvec-sincos-main.o,
243         test-float-libmvec-sincosf-avx-main.o,
244         test-float-libmvec-sincosf-avx2-main.o and
245         test-float-libmvec-sincosf-main.o.
246         test-float-libmvec-sincosf-avx512-main.o.
247         ($(objpfx)test-double-libmvec-sincos): Also link with
248         $(objpfx)test-double-libmvec-sincos-main.o.
249         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
250         $(objpfx)test-double-libmvec-sincos-avx-main.o.
251         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
252         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
253         ($(objpfx)test-float-libmvec-sincosf): Also link with
254         $(objpfx)test-float-libmvec-sincosf-main.o.
255         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
256         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
257         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
258         test-double-libmvec-sincos-avx512-main.o and
259         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
260         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
261         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
262         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
263         (CFLAGS-test-double-libmvec-sincos.c): Removed.
264         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
265         (CFLAGS-test-double-libmvec-sincos-main.c): New.
266         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
267         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
268         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
269         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
270         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
271         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
272         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
273         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
274         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
275         -DREQUIRE_AVX2.
276         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
277         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
278         -DREQUIRE_AVX512F.
279         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
280         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
281         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
282         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
283         file.
284         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
285         Likewise.
286         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
287         Likewise.
288         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
289         Likewise.
290         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
291         Likewise.
292         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
293         Likewise.
294         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
295         Likewise.
296         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
297         Likewise.
299 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
301         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
303 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
305         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
306         and typo in a comment about AT_HWCAP entry.
308 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
310         * sysdeps/aarch64/libm-test-ulps: Updated.
312 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
314         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
315         of r13 as it is not restored in mvcle case.
317 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
319         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
320         Rename "ret" to "__ret".
321         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
322         inline_syscall5, inline_syscall6): Likewise.
324 2016-07-19   Will Newton  <will.newton@gmail.com>
326         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
327         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
328         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
329         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
330         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
332 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
334         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
335         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
336         -mfpmath=387 with $(rtld-CFLAGS).
337         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
338         $(rtld-CFLAGS).
340 2016-07-18   Ross Burton  <ross.burton@intel.com>
341              Khem Raj  <raj.khem@gmail.com>
343         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
344         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
345         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
346         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
347         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
348         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
349         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
350         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
351         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
352         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
353         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
354         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
355         R_METAG_TLS_DTPOFF): New.
357 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
358             Matt Clay  <mclay@lycos.com>
360         [BZ #20357]
361         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
362         to call __mpsin/__mpcos and to negate values.
363         * math/auto-libm-test-in: Add test.
364         * math/auto-libm-test-out: Regenerate.
366 2016-07-18  Zack Weinberg  <zackw@panix.com>
368         * grp/Makefile: Don't install the internal header grp-merge.h.
370 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
372         * sysdeps/aarch64/libm-test-ulps: Regenerated.
374 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
376         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
378 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
380         [BZ #15368]
381         * sysdeps/unix/sysv/linux/nptl-signals.h
382         (__nptl_clear_internal_signals): New function.
383         (__libc_signal_block_all): Likewise.
384         (__libc_signal_block_app): Likewise.
385         (__libc_signal_restore_set): Likewise.
386         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
387         implementation.
388         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
389         the cached pid/tid value in pthread structure.
391 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
393         [BZ #20347]
394         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
396 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
398         [BZ #20348]
399         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
400         preadv64, pwrite64 and pwritev64.
402 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
404         [BZ #20350]
405         * posix/tst-preadwrite.c: Renamed to ...
406         * posix/tst-preadwrite-common.c: This.
407         (PREAD): Removed.
408         (PWRITE): Likewise.
409         (STRINGIFY): Likewise.
410         (STRINGIFY2): Likewise.
411         (do_prepare): Make it static and remove function arguments.
412         (do_test): Likewise.
413         (PREPARE): Updated.
414         (TEST_FUNCTION): New.
415         (name): Make it static.
416         (fd): Likewise.
417         (do_prepare): Use create_temp_file.
418         (do_test): Renamed to ...
419         (do_test_with_offset): This.  Make it static and accept offset.
420         Properly check return value of PWRITE and PREAD.  Return bytes
421         read.  Don't close fd nor unlink name.
422         * posix/tst-preadwrite.c: Rewrite.
423         * posix/tst-preadwrite64.c: Likewise.
425 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
427         [BZ #20309]
428         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
429         -mtls-dialect=gnu2 works.
430         * configure: Regenerated.
431         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
432         (tests): Add tst-gnu2-tls1.
433         (modules-names): Add tst-gnu2-tls1mod.
434         ($(objpfx)tst-gnu2-tls1): New.
435         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
436         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
437         * elf/tst-gnu2-tls1.c: New file.
438         * elf/tst-gnu2-tls1mod.c: Likewise.
439         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
440         bytes for push in the PLT entry to align the stack.
442 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
444         [BZ #20349]
445         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
447 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
449         [BZ #18707]
450         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
451         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
453 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
455         * sysdeps/unix/sysv/linux/sysdep.h
456         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
457         guards.
458         * misc/tst-preadvwritev-common.c: New file.
459         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
460         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
461         a check for files larger than 2GB.
463         * sysdeps/unix/sysv/linux/mips/kernel-features.h
464         (__ASSUME_OFF_DIFF_OFF64): Remove define.
465         * sysdeps/unix/sysv/linux/pread.c
466         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
467         __OFF_T_MATCHES_OFF64_T.
468         * sysdeps/unix/sysv/linux/pread64.c
469         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
470         * sysdeps/unix/sysv/linux/preadv.c
471         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
472         * sysdeps/unix/sysv/linux/preadv64.c
473         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
474         * sysdeps/unix/sysv/linux/pwrite.c
475         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
476         * sysdeps/unix/sysv/linux/pwrite64.c
477         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
478         * sysdeps/unix/sysv/linux/pwritev.c
479         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
480         * sysdeps/unix/sysv/linux/pwritev64.c
481         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
483 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
485         * sysdeps/unix/sysv/linux/tile/kernel-features.h
486         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
488 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
490         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
492 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
494         [BZ #20240]
495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
496         (CFLAGS-s_modf-ppc32.c): New variable.
497         (CFLAGS-s_modff-ppc32.c): Likewise.
498         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
499         (CFLAGS-s_modf-ppc64.c): Likewise.
500         (CFLAGS-s_modff-ppc64.c): Likewise.
502 2016-07-07  Andreas Schwab  <schwab@suse.de>
504         [BZ #20263]
505         * nptl/tst-robust10.c: New test.
506         * nptl/Makefile (tests): Add tst-robust10.
508 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
510         [BZ #20263]
511         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
513 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
515         * sysdeps/s390/linkmap.h (struct link_map_machine):
516         Remove member gotplt and add member jmprel.
517         * sysdeps/s390/s390-32/dl-machine.h
518         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
519         instead of gotplt with &got[3].
520         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
521         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
523 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
525         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
527 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
529         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
530         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
531         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
532         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
533         * libio/vtables.c (_IO_vtable_check)
534         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
535         * libio/libioP.h (IO_set_accept_foreign_vtables)
536         [!PTR_MANGLE]: Do not call PTR_MANGLE.
538 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
540         [BZ #20314]
541         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
542         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
543         $(common-objpfx)cmath.
544         ($(common-objpfx)cstdlib): New target.
545         ($(common-objpfx)cmath): Likewise.
547 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
549         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
551 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
553         [BZ #20327]
554         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
555         are not part of the string.
557 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
559         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
560         * nptl/tst-cancel4-common.h (fifoname): New variable.
561         (fifofd): Likewise.
562         (cl_fifo): New function.
563         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
564         SIGINT.
565         (tf_open): Add early cancel test.
567 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
569         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
571 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
573         * sysdeps/generic/ldsodefs.h
574         (dl_symbol_visibility_binds_local_p): New inline function.
575         * elf/dl-addr.c (determine_info): Treat hidden and internal
576         symbols as local.
577         * elf/dl-lookup.c (do_lookup_x): Likewise.
578         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
580 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
582         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
583         invalid exception for a sNaN input.
584         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
585         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
586         (__nearbyint_vis3): Likewise
587         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
588         (__nearbyintf_vis3): Likewise
589         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
590         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
591         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
592         Likewise.
593         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
594         Likewise.
596 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
598         [BZ #20139]
599         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
600         (HAVE_AVX512DQ_ASM_SUPPORT): This.
601         * sysdeps/x86_64/configure.ac: Require assembler from binutils
602         2.24 or above.
603         (HAVE_AVX512_ASM_SUPPORT): Removed.
604         (HAVE_AVX512DQ_ASM_SUPPORT): New.
605         * sysdeps/x86_64/configure: Regenerated.
606         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
607         check unconditional.
608         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
609         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
610         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
611         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
612         Likewise.
613         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
614         Likewise.
615         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
616         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
617         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
618         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
619         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
620         Likewise.
621         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
622         Likewise.
623         * sysdeps/x86_64/multiarch/memset.S: Likewise.
624         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
625         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
626         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
627         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
628         Likewise.
629         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
630         Likewise.
631         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
632         Likewise.
633         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
634         Likewise.
635         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
636         Likewise.
637         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
638         Likewise.
639         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
640         Likewise.
641         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
642         Likewise.
643         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
644         Likewise.
645         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
646         Likewise.
647         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
648         Likewise.
650 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
652         [BZ #20024]
653         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
654         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
655         of this implementation of vector function.
656         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
657         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
658         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
659         Likewise.
660         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
661         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
662         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
663         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
664         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
665         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
666         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
667         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
668         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
669         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
670         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
671         for testing vector sincos with fixed ABI.
672         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
673         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
674         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
675         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
676         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
677         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
678         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
679         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
680         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
681         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
682         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
683         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
684         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
685         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
686         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
687         * sysdeps/x86_64/fpu/Makefile: Added new tests.
689 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
691         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
693 2016-06-30  Anton Blanchard  <anton@samba.org>
695         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
696         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
697         s_sinf-ppc64.
698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
701         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
703 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
706         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
707         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
708         e_expf-ppc64.
709         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
710         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
711         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
712         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
714 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
716         [BZ #20277]
717         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
718         when SHARED is defined.
720 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
722         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
723         (index_arch_Prefer_ERMS): Likewise.
724         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
725         __memcpy_erms for Prefer_ERMS.
726         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
727         (__memmove_erms): Enabled for libc.a.
728         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
729         __memmove_erms or Prefer_ERMS.
730         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
731         __mempcpy_erms for Prefer_ERMS.
732         * sysdeps/x86_64/multiarch/memset.S (memset): Return
733         __memset_erms for Prefer_ERMS.
735 2016-06-30  Andreas Schwab  <schwab@suse.de>
737         [BZ #20262]
738         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
739         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
740         of memory.
742 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
744         [BZ #18645]
745         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
746         (test-extras): Add tst-cleanupx4aux.
747         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
748         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
749         tst-cleanupx4aux.o.
750         * nptl/tst-cleanupx4aux.c: New file.
752 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
754         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
756 2016-06-29  Andreas Schwab  <schwab@suse.de>
758         [BZ #20260]
759         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
760         address before the beginning of the string as an integer to avoid
761         array-bounds warning.
763 2016-06-28  Richard Henderson  <rth@redhat.com>
765         * elf/elf.h (EM_BPF): New.
766         (EM_NUM): Update.
767         (R_BPF_NONE, R_BPF_MAP_FD): New.
769         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
770         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
771         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
772         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
773         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
774         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
775         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
776         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
777         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
778         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
779         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
780         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
781         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
782         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
783         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
784         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
785         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
786         (EM_NUM): Update.
788 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
790         [BZ #18960]
791         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
792         Set _nl_current_LC_CATEGORY_used to two instead of one.
794 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
796         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
797         (do_test): ... this.
798         (TEST_FUNCTION): New macro.
799          Include test-skeleton.c.
800         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
801         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
803 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
805         [BZ #15479]
806         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
807         floating-point environment rather than just control word.
808         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
809         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
810         floating-point environment, with "invalid" exceptions merged in,
811         rather than just control word.
812         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
813         * math/libm-test.inc (trunc_test_data): Do not allow spurious
814         "inexact" exceptions.
816         [BZ #15479]
817         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
818         floating-point environment rather than just control word.
819         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
820         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
821         floating-point environment, with "invalid" exceptions merged in,
822         rather than just control word.
823         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
824         * math/libm-test.inc (floor_test_data): Do not allow spurious
825         "inexact" exceptions.
827         [BZ #15479]
828         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
829         floating-point environment rather than just control word.
830         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
831         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
832         floating-point environment, with "invalid" exceptions merged in,
833         rather than just control word.
834         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
835         * math/libm-test.inc (ceil_test_data): Do not allow spurious
836         "inexact" exceptions.
838 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
840         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
841         __libc_vfork.
842         (__vfork) [IS_IN (libc)]: Remove alias.
843         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
844         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
845         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
847 2016-06-24  Torvald Riegel  <triegel@redhat.com>
849         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
850         of atomic_compare_and_exchange_bool_rel.
851         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
852         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
853         catomic_compare_and_exchange_bool_rel): Remove.
854         * sysdeps/aarch64/atomic-machine.h
855         (atomic_compare_and_exchange_bool_rel): Likewise.
856         * sysdeps/alpha/atomic-machine.h
857         (atomic_compare_and_exchange_bool_rel): Likewise.
858         * sysdeps/arm/atomic-machine.h
859         (atomic_compare_and_exchange_bool_rel): Likewise.
860         * sysdeps/mips/atomic-machine.h
861         (atomic_compare_and_exchange_bool_rel): Likewise.
862         * sysdeps/microblaze/atomic-machine.h
863         ( __arch_compare_and_exchange_bool_8_rel,
864         __arch_compare_and_exchange_bool_16_rel): Likewise.
865         * sysdeps/powerpc/atomic-machine.h
866         ( __arch_compare_and_exchange_bool_8_rel,
867         __arch_compare_and_exchange_bool_16_rel): Likewise.
868         * sysdeps/powerpc/powerpc32/atomic-machine.h
869         ( __arch_compare_and_exchange_bool_32_rel,
870         __arch_compare_and_exchange_bool_64_rel): Likewise.
871         * sysdeps/powerpc/powerpc64/atomic-machine.h
872         ( __arch_compare_and_exchange_bool_32_rel,
873         __arch_compare_and_exchange_bool_64_rel): Likewise.
874         * sysdeps/tile/atomic-machine.h
875         (atomic_compare_and_exchange_bool_rel): Likewise.
877 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
879         [BZ #20296]
880         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
881         when either argument is a NaN.
882         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
883         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
885         * math/libm-test.inc (snan_value_ld): New macro.
886         (isgreater_test_data): Add sNaN tests.
887         (isgreaterequal_test_data): Likewise.
888         (isless_test_data): Likewise.
889         (islessequal_test_data): Likewise.
890         (islessgreater_test_data): Likewise.
891         (isunordered_test_data): Likewise.
892         (nextafter_test_data): Likewise.
893         (nexttoward_test_data): Likewise.
894         (remainder_test_data): Likewise.
895         (remquo_test_data): Likewise.
896         (significand_test_data): Likewise.
897         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
899 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
901         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
902         environment macros are defined.
903         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
905 2016-06-23  Florian Weimer  <fweimer@redhat.com>
907         [BZ #20191]
908         Implement vtable verification in libio.
909         * Makerules (shlib.lds): Place __libc_IO_vtables section.
910         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
911         * debug/vdprintf_chk.c (__vdprintf_chk): Call
912         _IO_new_file_init_internal instead of _IO_file_init.
913         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
914         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
915         * libio/Makefile (routines): Add vtables.
916         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
917         (_IO_init): Remove, not for internal use.
918         (_IO_init_internal): Declare, internal replacement for _IO_init.
919         (_IO_file_init): Remove, not for internal use.
920         (_IO_new_file_init): Remove, not for internal use.
921         (_IO_new_file_init_internal): Declare, internal replacement for
922         _IO_new_file_init.
923         (_IO_old_file_init): Remove, not for internal use.
924         (_IO_old_file_init_internal): Declare, internal replacement for
925         _IO_old_file_init.
926         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
927         internal use.
928         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
929         Declare.
930         (libio_vtable): New macro.
931         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
932         functions.
933         * libio/fileops.c (_IO_new_file_init_internal): Rename from
934         _IO_new_file_init.
935         (_IO_new_file_init): New externally visible wrapper which disables
936         vtable verification.
937         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
938         Define as vtables.
939         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
940         (_IO_init): New externally visible wrapper which disables
941         vtable verification.
942         * libio/iofdopen.c (_IO_new_fdopen): Call
943         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
944         comment.
945         * libio/iofopen.c (__fopen_internal): Call
946         _IO_new_file_init_internal instead of _IO_file_init.
947         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
948         Define as vtables.
949         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
950         _IO_new_file_init_internal instead of _IO_file_init.
951         * libio/iopopen.c (_IO_new_popen): Likewise.
952         (_IO_proc_jumps): Define as vtable.
953         * libio/iovdprintf.c (_IO_vdprintf): Call
954         _IO_new_file_init_internal instead of _IO_file_init.
955         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
956         (__open_memstream): Call _IO_init_internal instead of _IO_init.
957         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
958         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
959         _IO_old_file_init.
960         (_IO_old_file_init): New externally visible wrapper which disables
961         vtable verification.
962         (_IO_old_file_jumps): Define as vtable.
963         * libio/oldiofdopen.c (_IO_old_fdopen): Call
964         _IO_old_file_init_internal instead of _IO_old_file_init.
965         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
966         * libio/oldiopopen.c (_IO_old_popen): Likewise.
967         (_IO_old_proc_jumps): Define as vtable.
968         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
969         Define as vtables.
970         * libio/vtables.c: New file.
971         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
972         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
973         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
974         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
975         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
976         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
977         instead of _IO_init.
979 2016-06-23  Florian Weimer  <fweimer@redhat.com>
981         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
983 2016-06-23  Florian Weimer  <fweimer@redhat.com>
985         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
986         potentially unused.
988 2016-06-22  Florian Weimer  <fweimer@redhat.com>
990         * test-skeleton.c (write_message): New function.
991         * malloc/tst-mallocfork2.c (write_message): Remove.
992         * debug/tst-longjmp_chk2.c (write_indented): New function.
993         (write_message): Remove.
994         (stackoverflow_handler): Call write_indented.
996 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
998         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
999         "inexact" exceptions after fnstenv.
1000         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1001         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1002         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1004 2015-06-22  Zack Weinberg  <zackw@panix.com>
1006         * sysdeps/generic/bits/hwcap.h: Moved to ...
1007         * bits/hwcap.h: Here.
1009 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
1011         * sysdeps/aarch64/memcpy.S (memcpy):
1012         Further tuning for performance.
1014 2016-06-21  Florian Weimer  <fweimer@redhat.com>
1016         [BZ #20284]
1017         * malloc/arena.c (reused_arena): Do not return NULL if we start
1018         out with a non-corrupted arena.
1020 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1022         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
1023         * misc/tst-preadvwritev.c: New file.
1024         * misc/tst-preadvwritev64.c: Likewise.
1025         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
1026         usage.
1027         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
1028         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
1029         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
1030         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
1032 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
1034         [BZ #19654]
1035         * sysdeps/x86_64/fpu/Makefile: Added new tests.
1036         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
1037         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
1038         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
1039         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
1040         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
1041         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
1042         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
1043         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
1044         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
1045         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
1046         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
1047         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
1048         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
1049         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
1050         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
1051         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
1052         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
1053         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
1054         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
1055         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
1056         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
1057         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
1058         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
1059         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
1060         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
1062 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1064         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
1065         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
1067 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1069         * sysdeps/aarch64/memcpy.S (memcpy):
1070         Rewrite of optimized memcpy and memmove.
1071         * sysdeps/aarch64/memmove.S (memmove): Remove
1072         memmove code (merged into memcpy.S).
1074 2016-06-20  Florian Weimer  <fweimer@redhat.com>
1076         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
1077         * sysdeps/generic/dl-dtv.h: New file.
1078         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1079         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
1080         (dtv_t): Remove.
1081         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1082         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
1083         (dtv_t): Remove.
1084         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1085         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
1086         (dtv_t): Remove.
1087         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1088         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
1089         (dtv_t): Remove.
1090         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1091         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
1092         (dtv_t): Remove.
1093         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1094         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
1095         (dtv_t): Remove.
1096         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1097         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
1098         (dtv_t): Remove.
1099         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
1100         (dtv_t): Remove.
1101         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1102         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
1103         (dtv_t): Remove.
1104         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1105         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
1106         (dtv_t): Remove.
1107         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1108         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
1109         (dtv_t): Remove.
1110         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1111         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
1112         (dtv_t): Remove.
1113         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1114         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
1115         (dtv_t): Remove.
1116         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1117         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
1118         (dtv_t): Remove.
1119         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1120         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
1121         (dtv_t): Remove.
1122         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1123         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
1124         (dtv_t): Remove.
1126 2016-06-20  Florian Weimer  <fweimer@redhat.com>
1128         Revert symbol poisoning of  __malloc_initialize_hook.
1129         * include/stdc-predef.h (__malloc_initialize_hook): Remove
1130         poisoning.
1131         * malloc/Makefile: Remove un-poisoning.
1132         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
1133         instead of old__malloc_initialize_hook.
1134         * malloc/malloc-hooks.h: Likewise.
1135         * malloc/malloc.c: Likewise.
1136         * malloc/mcheck-init.c: Likewise.
1138 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
1140         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
1142 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
1144         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
1145         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
1146         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1147         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1149 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1151         * NEWS: Mention addition of nextup and nextdown.
1152         * manual/arith.texi: Document nextup and nextdown.
1153         * manual/libm-err-tab.pl: Add nextup and nextdown.
1154         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
1155         * math/Versions (libm): Add GLIBC_2.24.
1156         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
1157         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1158         Add new test.
1159         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
1160         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
1161         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
1162         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
1163         (nextup_test_data): Likewise.
1164         (nextdown_test_data): Likewise.
1165         * math/s_nextdown.c: New file.
1166         * math/s_nextdownf.c: Likewise.
1167         * math/s_nextdownl.c: Likewise.
1168         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
1169         F(nextup): New function.
1170         F(nextdown): Likewise.
1171         * math/tgmath.h: Add nextup and nextdown.
1172         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
1173         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
1174         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1175         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
1176         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
1177         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
1178         Add nextup and nextdown.
1179         (CFLAGS-nldbl-nextup.c): New variable.
1180         (CFLAGS-nldbl-nextdown.c): Likewise.
1181         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
1182         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
1183         * sysdeps/nacl/libm.abilist: Update.
1184         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1185         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1186         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1187         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1188         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1189         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1190         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1191         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1192         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1193         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1194         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1195         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
1197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1198         Likewise.
1199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
1200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
1201         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1202         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1203         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1204         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1205         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
1207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
1208         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1209         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1210         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
1211         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1213 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1215         * manual/pattern.texi: Fix typos & grammar errors.
1217 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1219         * manual/search.texi: Fix typos & grammar errors.
1221 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1223         * manual/message.texi: Fix typos & grammar errors.
1225 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
1227         * manual/contrib.texi: Fix spelling typos.
1228         * manual/crypt.texi: Likewise.
1229         * manual/filesys.texi: Likewise.
1230         * manual/locale.texi: Likewise.
1231         * manual/message.texi: Likewise.
1232         * manual/nss.texi: Likewise.
1233         * manual/string.texi: Likewise.
1235 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1237         * manual/locale.texi: Fix typos & grammar errors.
1239 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1241         * manual/charset.texi: Fix typos & grammar errors.
1243 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1245         * manual/string.texi: Fix typos.
1247 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1249         * manual/ctype.texi: Fix typos.
1251 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1253         * manual/memory.texi: Fix various typos & grammar errors.
1255 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
1257         [BZ #20255]
1258         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
1259         * math/libm-test.inc (fdim_test_data): Add another test.
1261         [BZ #6796]
1262         [BZ #20255]
1263         [BZ #20256]
1264         * math/s_fdim.c: Include <math_private.h>.
1265         (__fdim): Use math_narrow_eval on result.
1266         * math/s_fdimf.c: Include <math_private.h>.
1267         (__fdimf): Use math_narrow_eval on result.
1268         * sysdeps/i386/fpu/s_fdim.S: Remove file.
1269         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
1270         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
1271         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
1272         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
1273         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
1274         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
1275         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
1276         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
1277         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
1278         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
1279         * math/libm-test.inc (fdim_test_data): Expect errno setting on
1280         overflow.  Add sNaN tests.
1282         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
1283         fpclassify.
1284         * math/s_fdimf.c (__fdimf): Likewise.
1285         * math/s_fdiml.c (__fdiml): Likewise.
1287 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1289         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1290         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
1291         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1292         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1293         ifunc'ed strcasecmp/strncasecmp.
1294         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
1295         [EALIGN]: Removed.
1296         [END]: Likewise.
1297         [__strcasecmp]: Define instead of the above to control symbol name.
1298         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
1299         for __strcasecmp_power8.
1300         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
1301         for __strncasecmp_power8.
1302         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
1303         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
1304         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
1305         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
1306         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
1307         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
1309 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
1311         [BZ #20252]
1312         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
1313         arguments when second argument is a NaN.
1314         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
1315         qNaN tests.
1317         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
1318         (conj_test_data): Likewise.
1319         (copysign_test_data): Likewise.
1320         (creal_test_data): Likewise.
1321         (fma_test_data): Likewise.
1322         (fmod_test_data): Likewise.
1324         [BZ #20250]
1325         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
1326         itself.
1327         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
1328         zero input to itself.
1329         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
1330         Likewise.
1331         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
1332         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
1333         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1334         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
1335         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
1337 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1339         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
1340         * nptl/tst-cancel4-common.c: New file.
1341         * nptl/tst-cancel4-common.h: Likewise.
1342         * nptl/tst-cancel4.c: Move common definitions to
1343         tst-cancel4-common.{c,h} file.
1344         * nptl/tst-cancel4_1.c: New test.
1345         * nptl/tst-cancel4_2.c: New test.
1347 2016-06-13  Florian Weimer  <fweimer@redhat.com>
1349         [BZ #20248]
1350         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
1351         (write_message): New function.
1352         (stackoverflow_handler): Call it instead of printf, to avoid
1353         excessive stack usage by printf.
1354         (do_test): Restore SIGSEGV, SIGBUS default handlers.
1356 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1358         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
1359         (prio_inherit_missing): Remove define.
1360         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1361         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1362         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
1363         Likewise.
1364         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1365         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1366         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1367         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1368         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1369         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1371 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1373         [BZ #19670]
1374         [BZ #19672]
1376         * io/test-lfs.c (do_prepare): Use xmalloc.
1377         * io/tst-fcntl.c (do_prepare): Likewise.
1378         * libio/tst-fopenloc.c (do_bz17916): Likewise.
1379         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
1380         * login/tst-utmp.c (do_prepare): Likewise.
1381         * posix/tst-exec.c (do_prepare): Likewise.
1382         * posix/tst-pathconf.c (prepare): Likewise.
1383         * posix/tst-spawn.c (do_prepare): Likewise.
1384         * posix/tst-truncate.c (do_prepare): Likewise.
1385         * rt/tst-aio.c (do_prepare): Likewise.
1386         * rt/tst-aio64.c (do_prepare): Likewise.
1388 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1390         [BZ #20237]
1391         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
1392         (get*ent): Set entidx to NULL during initialization.  If entidx is
1393         NULL, start iteration from the beginning.
1395 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1397         * malloc/malloc.c (musable): Return correct size for dumped fake
1398         mmapped chunk.
1400 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1402         [BZ #20222]
1403         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
1404         (_IO_cookie_write): Likewise.
1405         (_IO_cookie_seek): Likewise.
1406         (_IO_cookie_close): Likewise.
1407         (_IO_old_cookie_seek): Likewise.
1408         (set_callbacks): New function.
1409         (_IO_cookie_init): Call set_callbacks to copy callbacks.
1411 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
1413         * locale/programs/localedef.c (oldstyle_tables): Remove.
1414         * locale/programs/localedef.h (oldstyle_tables): Likewise.
1416 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
1418         [BZ #20240]
1419         * math/Makefile (CFLAGS-s_modf.c): New variable.
1420         (CFLAGS-s_modff.c): Likewise.
1421         (CFLAGS-s_modfl.c): Likewise.
1422         * math/libm-test.inc (modf_test_data): Add sNaN tests.
1424 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
1426         [BZ #20215]
1427         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
1428         [!__GNUC_PREREQ (3,2)]: Likewise.
1430 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
1432         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
1433         (msghdr.msg_controllen): Likewise.
1434         (cmsghdr.cmsg_len): Likewise.
1435         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
1436         ptw-oldsendmsg.
1437         (CFLAGS-oldrecvmsg.c): Remove rule.
1438         (CFLAGS-oldsendmsg.c): Likewise.
1439         (CFLAGS-recvmsg.c): Add rule.
1440         (CFLAGS-sendmsg.c): Likewise.
1441         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1442         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
1443         (CFLAGS-recvmsg.c): Remove rule.
1444         (CFLAGS-sendmsg.c): Likewise.
1445         (CFLAGS-oldrecvmsg.c): Likewise.
1446         (CFLAGS-oldsendmsg.c): Likewise.
1447         (CFLAGS-recvmmsg.c): Likewise.
1448         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
1449         to kernel defined interfaces.
1450         (msghdr.msg_controllen): Likewise.
1451         (cmsghdr.cmsg_len): Likewise.
1452         (msghdr.__glibc_reserved1): Remove member.
1453         (msghdr.__glibc_reserved2): Likewise.
1454         (cmsghdr.__glibc_reserved1): Likewise.
1455         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
1456         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
1457         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1458         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1459         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
1460         version.
1461         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1462         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
1463         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1464         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
1465         Remove recvmsg and sendmsg.
1466         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
1467         Likewise.
1468         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1469         Likewise.
1470         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1471         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1472         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1473         Likewise.
1474         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1475         Likewise.
1476         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
1477         [libc] (GLIBC_2.24): Likewise.
1478         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1479         Likewise.
1480         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1481         Likewise.
1482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1483         [libc] (GLIBC_2.24): Likewise.
1484         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1485         Likewise.
1486         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1487         Likewise.
1488         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1489         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1490         Likewise.
1491         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1492         Likewise.
1493         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1494         Likewise.
1495         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
1496         Likewise.
1497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
1498         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
1499         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
1500         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
1501         version for {recv,send,recm,sendm}msg.
1502         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1503         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1504         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1505         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1506         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1507         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1508         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1509         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1510         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1511         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1512         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1513         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1515         Likewise.
1516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1517         Likewise.
1518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1520         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1521         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1522         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1523         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1524         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1525         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1528         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1529         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1530         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1532 2016-06-10  Florian Weimer  <fweimer@redhat.com>
1534         [BZ #19564]
1535         Remove __malloc_initialize_hook from the API.
1536         * malloc/malloc.h (__malloc_initialize_hook): Remove.
1537         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
1538         #pragma GCC poison.
1539         * malloc/malloc-hooks.h: New file.
1540         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
1541         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
1542         (old__malloc_initialize_hook): Rename from
1543         __malloc_initialize_hook to evade poisoning.  Turn into compat
1544         symbol.
1545         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
1546         __malloc_initialize_hook.
1547         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
1548         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
1549         * manual/memory.texi (Hooks for Malloc): Remove
1550         __malloc_initialize_hook.  Adjust hook example.
1552 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
1554         [BZ #20235]
1555         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
1556         itself.
1557         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1558         * math/libm-test.inc (log2_test_data): Add sNaN tests.
1560         [BZ #20234]
1561         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
1562         infinity or NaN input to itself.
1564         [BZ #20233]
1565         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
1566         to itself.
1568         [BZ #20232]
1569         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
1570         itself.
1572 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1574         * sysdeps/x86_64/start.S (_start): Always indirect branch to
1575         __libc_start_main via GOT.
1577 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1579         * sysdeps/x86_64/memcopy.h: New file.
1580         * sysdeps/x86_64/wordcopy.c: Likewise.
1582 2016-06-09  Florian Weimer  <fweimer@redhat.com>
1584         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
1585         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
1586         <cstdlib>.
1587         (optimization_barrier): New.
1588         (do_test): Use it.  Call quick_exit in the global namespace.
1589         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
1590         instead of <cstdlib>, <thread>.
1591         (optimization_barrier): New.
1592         (non_main_thread): Adjust declaration.  Call optimization_barrier.
1593         Call quick_exit in the global namespace.
1594         (do_test): Call optimization_barrier.  Use pthread_create,
1595         pthread_join instead of std::thread.
1597 2016-06-09  Andreas Schwab  <schwab@suse.de>
1599         [BZ #19755]
1600         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
1601         new entries in auto-propagate mode.
1602         * nscd/grpcache.c (cache_addgr): Likewise.
1604 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1606         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
1607         New functions.
1608         (add_temp_file): Use them.
1610 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
1612         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
1614 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
1616         [BZ #20229]
1617         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
1618         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
1619         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
1621         [BZ #20228]
1622         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
1623         itself.
1624         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1625         * math/libm-test.inc (log10_test_data): Add sNaN tests.
1627         [BZ #20227]
1628         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
1629         itself.
1630         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1631         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1632         * math/libm-test.inc (log_test_data): Add sNaN tests.
1634         [BZ #20226]
1635         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
1636         itself.
1637         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1638         * math/libm-test.inc (exp_test_data): Add sNaN tests.
1639         (exp10_test_data): Likewise.
1640         (expm1_test_data): Likewise.
1642         [BZ #20225]
1643         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
1644         itself.
1645         * math/s_ldexpf.c (__ldexpf): Likewise.
1646         * math/s_ldexpl.c (__ldexpl): Likewise.
1647         * math/w_scalbln.c (__w_scalbln): Likewise.
1648         * math/w_scalblnf.c (__w_scalblnf): Likewise.
1649         * math/w_scalblnl.c (__w_scalblnl): Likewise.
1650         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
1651         (scalbln_test_data): Likewise.
1653         [BZ #20224]
1654         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
1655         argument to itself.
1656         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
1658 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1660         [BZ #19776]
1661         * sysdeps/x86_64/memcpy.S: Make it dummy.
1662         * sysdeps/x86_64/mempcpy.S: Likewise.
1663         * sysdeps/x86_64/memmove.S: New file.
1664         * sysdeps/x86_64/memmove_chk.S: Likewise.
1665         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1666         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1667         * sysdeps/x86_64/memmove.c: Removed.
1668         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1669         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1670         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
1671         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1672         Likewise.
1673         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1674         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1675         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1676         memcpy-sse2-unaligned, memmove-avx-unaligned,
1677         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
1678         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1679         (__libc_ifunc_impl_list): Replace
1680         __memmove_chk_avx512_unaligned_2 with
1681         __memmove_chk_avx512_unaligned.  Remove
1682         __memmove_chk_avx_unaligned_2.  Replace
1683         __memmove_chk_sse2_unaligned_2 with
1684         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
1685         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
1686         with __memmove_avx512_unaligned.  Replace
1687         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
1688         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
1689         with __memcpy_chk_avx512_unaligned.  Remove
1690         __memcpy_chk_avx_unaligned_2.  Replace
1691         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
1692         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
1693         Replace __memcpy_avx512_unaligned_2 with
1694         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
1695         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
1696         with __mempcpy_chk_avx512_unaligned.  Remove
1697         __mempcpy_chk_avx_unaligned_2.  Replace
1698         __mempcpy_chk_sse2_unaligned_2 with
1699         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
1700         Replace __mempcpy_avx512_unaligned_2 with
1701         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
1702         Replace __mempcpy_sse2_unaligned_2 with
1703         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
1704         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
1705         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
1706         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
1707         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
1708         (ENTRY): Removed.
1709         (END): Likewise.
1710         (ENTRY_CHK): Likewise.
1711         (libc_hidden_builtin_def): Likewise.
1712         Don't include ../memcpy.S.
1713         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
1714         __memcpy_chk_avx512_unaligned_erms and
1715         __memcpy_chk_avx512_unaligned.  Use
1716         __memcpy_chk_avx_unaligned_erms and
1717         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1718         Default to __memcpy_chk_sse2_unaligned.
1719         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1720         Change function suffix from unaligned_2 to unaligned.
1721         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
1722         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
1723         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
1724         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
1725         (ENTRY): Removed.
1726         (END): Likewise.
1727         (ENTRY_CHK): Likewise.
1728         (libc_hidden_builtin_def): Likewise.
1729         Don't include ../mempcpy.S.
1730         (mempcpy): New.  Add a weak alias.
1731         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
1732         __mempcpy_chk_avx512_unaligned_erms and
1733         __mempcpy_chk_avx512_unaligned.  Use
1734         __mempcpy_chk_avx_unaligned_erms and
1735         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1736         Default to __mempcpy_chk_sse2_unaligned.
1738 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1740         [BZ #19881]
1741         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
1742         into ...
1743         * sysdeps/x86_64/memset.S: This.
1744         (__bzero): Removed.
1745         (__memset_tail): Likewise.
1746         (__memset_chk): Likewise.
1747         (memset): Likewise.
1748         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
1749         defined.
1750         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
1751         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
1752         (__memset_zero_constant_len_parameter): Check SHARED instead of
1753         PIC.
1754         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1755         memset-avx2 and memset-sse2-unaligned-erms.
1756         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1757         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
1758         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
1759         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1760         (__bzero): Enabled.
1761         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
1762         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
1763         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
1764         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
1765         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1766         (memset): Removed.
1767         (__memset_chk): Likewise.
1768         (MEMSET_SYMBOL): New.
1769         (libc_hidden_builtin_def): Replace __memset_sse2 with
1770         __memset_sse2_unaligned.
1771         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
1772         __memset_chk_sse2 and __memset_chk_avx2 with
1773         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
1774         Use __memset_chk_sse2_unaligned_erms or
1775         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
1776         __memset_chk_avx512_unaligned_erms and
1777         __memset_chk_avx512_unaligned.
1779 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1781         * math/gen-auto-libm-test.c (fp_format_desc): remove
1782         suffix member.
1783         (output_generic_value): Remove usage of suffix member,
1784         and the resulting unuse of the fp_format argument.
1785         (output_for_one_input_case): Remove unused fp_format
1786         parameter.
1788         * math/auto-libm-test-out: Regenerate.
1790         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
1791         usage with TEST_COND_ibm128.
1792         (TEST_COND_flt_32): Remove.
1793         (TEST_COND_dbl_64): Remove.
1794         (TEST_COND_ldbl_96_intel): Remove.
1795         (TEST_COND_ldbl_96_m68k): Remove.
1796         (TEST_COND_ldbl_128): Remove.
1798 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1800         * auto-libm-test-in:
1801         Replace flt-32 usage with binary32.
1802         Replace dbl-64 usage with binary64.
1803         Replace ldbl-intel-96 usage with intel96.
1804         Replace ldbl-m68k-96 usage with m68k96.
1805         Replace ldbl-128ibm usage with ibm128.
1806         Replace ldbl-128 usage with binary128.
1808         * auto-libm-test-out: Regenerate.
1810 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1812         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
1813         (parse_ulps): Dynamically generate type name matching
1814         string from all_floats.
1815         (get_ulps): Generate the ulps as an array instead.
1816         (output_ulps): Dynamically compose the type based
1817         on the number of supported formats, and print
1818         the indices as type specific helper macros.
1820         * math/libm-test.inc: Remove comment about CHOOSE.
1821         (ulp_data): Generate the type in libm-test-ulps.h.
1822         (ULP_IDX): New macro.
1823         (find_ulps): Update usage of max_ulp.
1825         * math/test-double-vlen2.h (CHOOSE): Remove.
1826         * math/test-double-vlen4.h (CHOOSE): Likewise.
1827         * math/test-double-vlen8.h (CHOOSE): Likewise.
1828         * math/test-float.c (CHOOSE): Likewise.
1829         * math/test-float-finite.c (CHOOSE): Likewise.
1830         * math/test-double.c (CHOOSE): Likewise.
1831         * math/test-double-finite.c (CHOOSE): Likewise.
1832         * math/test-idouble.c (CHOOSE): Likewise.
1833         * math/test-ifloat.c (CHOOSE): Likewise.
1834         * math/test-ildoubl.c (CHOOSE): Likewise.
1835         * math/test-ldouble-finite.c (CHOOSE): Likewise.
1836         * math/test-ldouble.c (CHOOSE): Likewise.
1838         * math/test-float.h (TEST_FLOAT): Remove.
1839         * math/test-double.h (TEST_DOUBLE): Likewise.
1840         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
1842 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1844         * math/gen-libm-test.pl: (apply_lit): New subroutine.
1845         (parse_args): Strip C suffix from floating point literals
1846         typed with 'f' and wrap them with LIT().
1848         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
1849         (test_ff_f_data_nexttoward): Rename to
1850         (test_fj_f_data): New struct.
1851         (nexttoward_test_data): Relabel tests as
1852         TEST_fj_f instead of TEST_ff_f.
1854 2016-06-08  Florian Weimer  <fweimer@redhat.com>
1856         Emacs bug 23726.
1857         * malloc/malloc.c (dumped_main_arena_start): Update comment.
1858         (__libc_realloc): Correct size computation for dumped fake mmapped
1859         chunks.
1861 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
1863         [BZ #20219]
1864         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
1865         to itself.
1866         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
1868         [BZ #20218]
1869         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
1870         to itself.
1871         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
1873 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1875         [BZ #20195]
1876         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
1877         check to ...
1878         (init_cpu_features): Here.
1880 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
1882         [BZ #20214]
1883         * sysdeps/unix/sysv/linux/bits/in.h
1884         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1885          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
1886         Define to 1.
1887         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1888          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
1889         Define to 0.
1890         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
1891         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
1893 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
1895         [BZ #20198]
1896         * stdlib/Makefile (tests): Add tst-quick_exit, and
1897         tst-thread-quick_exit.
1898         [ifeq ($(have-cxx-thread_local),yes)]
1899         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
1900         (CFLAGS-tst-thread-quick_exit.o): Likewise.
1901         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
1902         (LDLIBS-tst-thread-quick_exit): Likewise.
1903         [ifneq ($(have-cxx-thread_local),yes)]
1904         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
1905         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
1906         If run_dtors is true call __call_tls_dtors.
1907         (exit): Call __run_exit_handlers with run_dtors set to true.
1908         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
1909         definition.
1910         * stdlib/quick_exit.c (quick_exit): Remove function.
1911         (__new_quick_exit): New function.
1912         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
1913         function.
1914         * stdlib/tst-quick_exit.cc: New file.
1915         * stdlib/tst-thread-quick_exit.cc: New file.
1916         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
1917         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
1918         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
1919         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
1920         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
1921         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
1922         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
1923         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
1924         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
1925         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
1926         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
1927         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
1928         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
1929         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
1930         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
1931         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
1933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
1934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
1935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
1936         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
1937         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
1938         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
1939         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
1940         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
1941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
1942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
1943         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
1944         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
1945         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
1947 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1949         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
1950         a typo in comments.
1952 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1954         [BZ #20213]
1955         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
1956         argument to itself.
1957         * math/libm-test.inc (asin_test_data): Add sNaN tests.
1959 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1961         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
1962         required flags.
1963         (CFLAGS-pwritev64.c): Likewise.
1964         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
1965         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1966         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
1967         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1968         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
1969         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
1970         syscall from auto-generation.
1971         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
1972         [WORDSIZE == 64] (pwritev64): Remove macro.
1973         [!PWRITEV] (PWRITEV): Likewise.
1974         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1975         [!PWRITEV] (PWRITE): Likewise.
1976         [!PWRITEV] (OFF_T): Likewise.
1977         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1978         (LO_HI_LONG): Remove macro.
1979         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
1980         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
1981         (PWRITEV): Remove macro.
1982         (PWRITEV_REPLACEMENTE): Likewise.
1983         (PWRITE): Likewise.
1984         (OFF_T): Likewise.
1985         (pwritev64): New function.
1986         * nptl/tst-cancel4.c (tf_writev): Add test.
1988         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
1989         required flags.
1990         (CFLAGS-preadv64.c): Likewise.
1991         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
1992         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1993         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
1994         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
1995         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
1996         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
1997         syscall from auto-generation.
1998         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
1999         [WORDSIZE == 64] (preadv64): Remove macro.
2000         [!PREADV] (PREADV): Likewise.
2001         [!PREADV] (PREADV_REPLACEMENT): Likewise.
2002         [!PREADV] (PREAD): Likewise.
2003         [!PREADV] (OFF_T): Likewise.
2004         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
2005         (LO_HI_LONG): Remove macro.
2006         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
2007         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
2008         (PREADV): Remove macro.
2009         (PREADV_REPLACEMENTE): Likewise.
2010         (PREAD): Likewise.
2011         (OFF_T): Likewise.
2012         (preadv64): New function.
2013         * nptl/tst-cancel4.c (tf_preadv): Add test.
2015 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2017         [BZ #20212]
2018         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
2019         argument to itself.
2020         * math/libm-test.inc (acos_test_data): Add sNaN tests.
2022 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2024         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
2025         New symbol defined as libc_hidden_def.
2026         (strcasestr): Became a weak alias to __strcasestr.
2027         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
2028         according to multi-arch support.  Move __stpncpy hidden
2029         definition from here to...
2030         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
2031         symbol stpncpy.
2032         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
2033         libc_hidden_builtin_def.
2034         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
2035         memset symbol to use when multi-arch support is available.
2037 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2039         * dlfcn/tst-rec-dlopen.c: Include string.h.
2041 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2043         * manual/install.texi: Remove mention of --without-tls
2044         * INSTALL: Regenerate.
2046 2016-06-05  Florian Weimer  <fweimer@redhat.com>
2048         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
2049         Remove.
2050         (call_function, interposed_malloc_called): New variables.
2051         (malloc): New function.
2052         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
2053         and clear call_function as needed.
2055 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
2057         * include/wchar.h (__wmemset): Use __typeof.
2059 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
2061         * include/wchar.h (__wmemset): Declare function without typeof.
2063 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
2065         [BZ #20205]
2066         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
2067         exponent when incrementing negative subnormal with low mantissa
2068         word zero.
2069         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2070         Add another test.
2072 2016-06-03  Florian Weimer  <fweimer@redhat.com>
2074         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
2075         __wmemset instead of wmemset.
2077 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
2079         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
2080         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
2081         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
2082         __USE_KERNEL_IPV6_DEFS to 0.
2083         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
2084         Update comment.
2086 2016-06-01  Florian Weimer  <fweimer@redhat.com>
2088         [BZ #19861]
2089         Do not use IFUNC resolver with potentially unrelocated symbol.
2090         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
2091         (DEFINE_FORK): Remove macro and inline definition.
2092         (fork_alias): Renamed from fork_ifunc.
2093         (__fork_alias): Renamed from __fork_ifunc.
2095 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
2097         [BZ 19653]
2098         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
2099         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
2101 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2103         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
2104         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
2105         i386-linux-gnu).
2106         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
2107         Set to no.
2108         * sysdeps/mach/hurd/configure: Refresh.
2110 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2112         [BZ #20178]
2113         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
2114         on failure instead of exit.
2116 2016-05-30  Roland McGrath  <roland@hack.frob.com>
2118         [BZ #3629]
2119         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
2120         of POSIX.1-2008.
2122 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2124         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
2125           Use PLT entry for calling _hurd_self_sigstate.
2127 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
2129         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
2130         available logical processors with SMT level type sharing L2
2131         cache for Intel processors.
2133 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2135         [BZ #20160]
2136         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
2137         argument to itself before returning the result.
2138         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2139         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2140         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2141         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2142         Likewise.
2143         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2144         Likewise.
2145         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
2146         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
2147         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2148         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2149         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2150         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2152         [BZ #20160]
2153         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
2154         argument to itself before returning the result.
2155         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2156         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2157         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2158         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
2159         Likewise.
2160         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2161         Likewise.
2162         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
2163         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
2164         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
2165         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2166         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2167         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2169 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2171         * libm-test.inc: Replace usage of M_El with
2172         (lit_e): New macro.
2174 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2176         * libm-test.inc: Replace usage of M_PI_4l with
2177         (lit_pi_4_d): New macro.
2179 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2181         * libm-test.inc: Replace usage of M_PIl with
2182         (lit_pi): New macro.
2184 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2186         * libm-test.inc: Replace usage of M_PI2l with
2187         (lit_pi_2_d): New macro.
2189         * math/test-double.h (LITM): New macro.
2190         * math/test-float.h (LITM): Likewise.
2191         * math/test-ldouble.h (LITM): Likewise.
2193 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2195         * libm-test.inc (M_PI_34l): Rename to
2196         (lit_pi_3_m_4_d): New Macro.
2197         (M_PI_34_LOG10El): Rename to
2198         (lit_pi_3_m_4_ln10_m_d): New Macro.
2199         (M_PI2_LOG10El): Rename to
2200         (lit_pi_2_ln10_m_d):  New Macro.
2201         (M_PI4_LOG10El): Rename to
2202         (lit_pi_4_ln10_m_d):  New Macro.
2203         (M_PI_LOG10El): Rename to
2204         (lit_pi_ln10_d):  New Macro.
2206 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2208         [BZ #20157]
2209         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
2210         determine whether to negate low half if [_ARCH_PPCGR], and integer
2211         comparison otherwise.
2212         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
2213         determine whether to negate low half.
2215         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
2216         (NO_TEST_INLINE_DOUBLE): Likewise.
2217         (TEST_COND_x86_64): Likewise.
2218         (TEST_COND_x86): Likewise.
2219         (M_PI_6l): Likewise.
2221 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2223         * math/libm-test.inc:
2224         (TEST_FLOAT): Change usage to TEST_COND_binary32.
2225         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
2226         (TEST_LDOUBLE): Update usage to evaluate as true if
2227         the guarded tests match the property being tested.
2228         (LDBL_MAX_EXP): Change to MAX_EXP.
2229         (LDBL_MIN_EXP): Change to MIN_EXP.
2230         (LDBL_MANT_DIG): Change to MANT_DIG, except for
2231         nexttoward tests.
2233 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2235         * math/libm-test.inc:
2236         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
2237         (TYPE_MIN): Likewise.
2238         (TYPE_TRUE_MIN): Likewise.
2239         (TYPE_MAX): Likewise.
2240         (MIN_EXP): Likewise.
2241         (MAX_EXP): Likewise.
2242         (MANT_DIG): Likewise.
2244         (FSTR_MAX): New macro.
2245         (__CONCATX): Likewise.
2246         (QTYPE_STR): Likewise.
2247         (TEST_COND_binary32): Likewise.
2248         (TEST_COND_binary64): Likewise.
2249         (TEST_COND_binary128): Likewise.
2250         (TEST_COND_ibm128): Likewise.
2251         (TEST_COND_intel96): Likewise.
2252         (TEST_COND_m68k96): Likewise.
2254         (TEST_COND_flt_32): Redefine as equivalent format test macro.
2255         (TEST_COND_dbl_64): Likewise.
2256         (TEST_COND_ldbl_96_intel): Likewise.
2257         (TEST_COND_ldbl_96_m68k): Likewise.
2258         (TEST_COND_ldbl_128): Likewise.
2259         (TEST_COND_ldbl_128ibm): Likewise.
2261         (plus_zero): Redefine using LIT macro.
2262         (minus_zero): Likewise.
2263         (plus_infty): Redefine as (INF).
2264         (minux_infty): Redefine as (-INF).
2265         (max_value): Redefine as TYPE_MAX.
2266         (min_value): Redefine as TYPE_MIN.
2267         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
2269         (print_float): Refactor to use snprintf to convert FLOAT values
2270         to string. This brings it closer to dropin replacement of strtof
2271         for the TS 18661 defined types.
2272         (update_stats): Likewise.
2273         (print_complex_function_ulps): Likewise.
2274         (print_max_error): Likewise.
2275         (print_complex_max_error): Likewise.
2276         (check_float_internal): Likewise.
2278         * math/test-float.h (PREFIX): New macro.
2279         (LIT): Likewise.
2280         (TYPE_STR): Likewise.
2281         (FTOSTR): Likewise.
2283         * math/test-double.h (PREFIX): New macro.
2284         (LIT): Likewise.
2285         (TYPE_STR): Likewise.
2286         (FTOSTR): Likewise.
2288         * math/test-ldouble.h (PREFIX): New macro.
2289         (LIT): Likewise.
2290         (TYPE_STR): Likewise.
2291         (FTOSTR): Likewise.
2293 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2295         [BZ #20156]
2296         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
2297         to itself when zero or not finite.
2298         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
2299         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2300         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
2301         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
2303 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
2305         [BZ #20153]
2306         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
2307         x * x + x for infinities and NaNs.
2309         [BZ #20151]
2310         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
2311         argument to itself before returning result.
2312         (__ieee754_y0l): Likewise.
2313         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2314         (__ieee754_y1l).
2316         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
2317         (atan_test_data): Likewise.
2318         (ceil_test_data): Likewise.
2319         (cos_test_data): Likewise.
2320         (cosh_test_data): Likewise.
2321         (erf_test_data): Likewise.
2322         (exp2_test_data): Likewise.
2323         (fabs_test_data): Likewise.
2324         (floor_test_data): Likewise.
2325         (ilogb_test_data): Likewise.
2326         (j0_test_data): Likewise.
2327         (j1_test_data): Likewise.
2328         (jn_test_data): Likewise.
2329         (lgamma_test_data): Likewise.
2330         (lrint_test_data): Likewise.
2331         (llrint_test_data): Likewise.
2332         (logb_test_data): Likewise.
2333         (lround_test_data): Likewise.
2334         (llround_test_data): Likewise.
2335         (nearbyint_test_data): Likewise.
2336         (rint_test_data): Likewise.
2337         (round_test_data): Likewise.
2338         (sin_test_data): Likewise.
2339         (sincos_test_data): Likewise.
2340         (sinh_test_data): Likewise.
2341         (sqrt_test_data): Likewise.
2342         (tan_test_data): Likewise.
2343         (tanh_test_data): Likewise.
2344         (tgamma_test_data): Likewise.
2345         (trunc_test_data): Likewise.
2346         (y0_test_data): Likewise.
2347         (y1_test_data): Likewise.
2348         (yn_test_data): Likewise.
2350         * math/libm-test.inc: Update comment about NaN testing.
2351         (TEST_SNAN): New macro.
2352         (snan_value): Likewise.
2353         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
2354         (fpclassify_test_data): Add sNaN tests.
2355         (isfinite_test_data): Likewise.
2356         (isinf_test_data): Likewise.
2357         (isnan_test_data): Likewise.
2358         (isnormal_test_data): Likewise.
2359         (issignaling_test_data): Likewise.
2360         (signbit_test_data): Likewise.
2361         * math/gen-libm-test.pl (%beautify): Add snan_value.
2362         (show_exceptions): Add argument $test_snan.
2363         (parse_args): Handle snan_value as non-finite.  Update call to
2364         show_exceptions.
2365         * math/Makefile (libm-test-no-inline-cflags): Add
2366         -fsignaling-nans.
2368 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2370         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
2371         (CFLAGS-oldsendmsg.c): Add rule.
2372         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2373         Correct recvmsg symbol name.
2374         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
2375         Likewise.
2377 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2379         * sysdeps/unix/sysv/linux/Makefile
2380         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
2381         oldsendmmsg.
2382         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
2383         sendmmsg.
2384         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2385         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2386         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2387         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2389         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2390         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2392         Likewise.
2393         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2394         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
2395         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2396         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
2397         iovlen and controllen fields to adjust to POSIX specification.
2398         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
2400         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
2401         and change to correct expected type.
2402         (msghdr.msg_controllen): Likewise.
2403         (cmsghdr.cmsg_len): Likewise.
2404         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
2405         expected POSIX assumption about the size.
2406         (msghdr.msg_controllen): Likewise.
2407         (msghdr.__glibc_reserved1): Likewise.
2408         (msghdr.__glibc_reserved2): Likewise.
2409         (cmsghdr.cmsg_len): Likewise.
2410         (cmsghdr.__glibc_reserved1): Likewise.
2411         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
2412         Add ptw-oldrecvmsg and ptw-oldsendmsg.
2413         (CFLAGS-sendmsg.c): Remove rule.
2414         (CFLAGS-recvmsg.c): Likewise.
2415         (CFLAGS-oldsendmsg.c): Add rule.
2416         (CFLAGS-oldrecvmsg.c): Likewise.
2417         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
2418         recvmsg and sendmsg.
2419         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
2420         Likewise.
2421         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
2422         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
2423         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2424         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
2425         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2426         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2427         Likewise.
2428         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2429         Likewise.
2430         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
2431         Likewise.
2432         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
2433         Likewise.
2434         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2435         Likewise.
2436         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2437         Likewise.
2438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
2439         (GLIBC_2.24): Likewise.
2440         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2441         Likewise.
2442         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2443         Likewise.
2444         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2445         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2446         Likewise.
2447         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2448         Likewise.
2449         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2450         Likewise.
2451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
2452         (GLIBC_2.24): Likewise.
2453         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
2454         Likewise.
2455         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
2456         Likewise.
2457         * sysdeps/unix/sysv/linux/Makefile
2458         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
2459         (CFLAGS-sendmsg.c): Add rule.
2460         (CFLAGS-recvmsg.c): Likewise.
2461         (CFLAGS-oldsendmsg.c): Likewise.
2462         (CFLAGS-oldrecvmsg.c): Likewise.
2463         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
2464         initialization.
2465         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2466         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2467         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
2468         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2469         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
2470         iovlen and controllen fields to adjust to POSIX specification.
2471         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
2472         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
2473         added recvmsg and sendmsg.
2474         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2475         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2476         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2477         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2478         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2479         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2480         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2481         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2482         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2483         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2484         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2485         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2487         Likewise.
2488         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2490         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2491         Likewise.
2492         Likewise.
2493         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2494         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2495         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2496         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2497         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2498         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2500         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2502         Likewise.
2503         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2504         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2506         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
2507         from auto-generation.
2508         (sendmsg): Likewise.
2509         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
2510         (sendmsg): Likewise.
2511         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
2512         (sendmsg): Likewise.
2513         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
2514         (sendmsg): Likewise.
2515         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
2516         (sendmsg): Likewise.
2517         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
2518         (sendmsg): Likewise.
2519         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
2520         Likewise.
2521         (sendmsg): Likewise.
2522         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
2523         (sendmsg): Likewise.
2524         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2525         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2526         Remove.
2527         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2528         Likewise.
2529         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2530         Undefine.
2531         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2532         Likewise.
2533         * sysdeps/unix/sysv/linux/kernel-features.h
2534         (__ASSUME_SENDMSG_SYSCALL): Define.
2535         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2536         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2537         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2538         Remove.
2539         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2540         Likewise.
2541         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2542         Undefine.
2543         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2544         Likewise.
2545         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2546         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2547         Remove.
2548         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2549         Likewise.
2550         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2551         Undefine.
2552         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2553         Likewise.
2554         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2555         (__ASSUME_SENDMSG_SYSCALL): Undefine.
2556         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2557         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2558         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2559         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2560         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2561         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2562         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2564 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2566         * stdlib/gen-tst-strtod-round.c: Add backslash to
2567         compile command in comment.
2568         (printfp): Remove the literal suffix, and define an infinite
2569         value as INF to avoid expansion clash with INFINITY.
2570         (round_str): Remove the literal suffix.
2571         (round_for_all): Likewise, remove the now duplicate ldbl-64
2572         entry, and remove some magic constants.
2574         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
2575         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
2576         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
2577         (_CONCAT): New macro.
2578         (CONCAT): Likewise.
2579         (CHOOSE_ld): Likewise.
2580         (CHOOSE_f): Likewise.
2581         (CHOOSE_d): Likewise.
2582         (FTYPE_MEMBER): Likewise.
2583         (BOOL_MEMBER): Likewise.
2584         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
2585         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
2586         (_XNTRY): Likewise.
2587         (XNTRY): Likewise.
2588         (_ENTRY): Likewise.
2589         (ENTRY): Likewise.
2590         (test_exactness): Generate members via macro.
2591         (test_results): Likewise.
2592         (test): Update members.
2593         (TEST): Redefine using new macros.
2594         (INF): New macro.
2595         (fetestmodes): New structure.
2596         (do_test): Refactor to be type generic.
2597         (test_in_one_mode): Refactor duplicate code into
2598         (GEN_ONE_TEST): New macro.
2600         * stdlib/tst-strtod-round-data.h: Regenerate.
2602         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
2603         Extend to pass additional arbitrary parameters to
2604         generators.
2606 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
2608         [BZ #15479]
2609         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
2610         floating-point state after first floating-point operation on
2611         input.  Restore full floating-point state instead of just rounding
2612         mode.
2613         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2614         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2615         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2616         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2617         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2619         [BZ #15479]
2620         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
2621         floating-point state after first floating-point operation on
2622         input.  Restore full floating-point state instead of just rounding
2623         mode.
2624         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2625         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2626         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2627         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2628         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2630 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2632         [BZ #19727]
2633         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
2634         valid high surrogate.
2635         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
2636         of an utf16 surrogate.
2637         * iconv/gconv_simple.c (BODY): Likewise.
2638         * iconvdata/bug-iconv12.c: New file.
2639         * iconvdata/Makefile (tests): Add bug-iconv12.
2641 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2643         [BZ #19726]
2644         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
2645         outptrp in case of an illegal input.
2646         * iconv/tst-iconv6.c: New file.
2647         * iconv/Makefile (tests): Add tst-iconv6.
2649 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2651         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
2652         an error in case of a value in range of an utf16 low surrogate.
2654 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2656         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
2657         an error in case of a value in range of an utf16 low surrogate.
2659 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2661         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
2662         Move to ...
2663         * sysdeps/s390/Makefile: ... here.
2664         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
2665         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
2666         (BRANCH_ON_COUNT): New define.
2667         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
2668         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
2669         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
2670         run on s390-32, too.
2671         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
2672         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
2673         run on s390-32, too.
2674         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
2675         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
2676         run on s390-32, too.
2678 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2680         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
2681         etf3eh or new vector loop-variant.
2683 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2685         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
2686         etf3eh or new vector loop-variant.
2688 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2690         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
2691         or new vector loop-variant.
2693 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2695         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
2696         Rename to TR_LOOP and usage of tr instead of troo instruction.
2698 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2700         * sysdeps/s390/multiarch/gconv_simple.c: New File.
2701         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
2703 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2705         * sysdeps/s390/multiarch/8bit-generic.c: New File.
2706         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
2707         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
2708         New override define.
2709         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
2711 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2713         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
2714         * sysdeps/s390/configure.ac: Add test for S390 vector register
2715         support in gcc.
2716         * sysdeps/s390/configure: Regenerated.
2718 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2720         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
2721         Install file from $(objpfx)gconv-modules.
2722         ($(objpfx)gconv-modules): Concatenate architecture specific file
2723         in variable sysdeps-gconv-modules and gconv-modules in src dir.
2724         * sysdeps/s390/gconv-modules: New file.
2725         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
2726         Deleted.
2727         ($(objpfx)gconv-modules-s390): Deleted.
2728         (sysdeps-gconv-modules): New variable.
2730 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2732         [BZ #15479]
2733         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
2734         of immediate operand to rounding instruction.
2735         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
2736         Likewise.
2737         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
2738         Likewise.
2739         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
2740         Likewise.
2742 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2744         * math/libm-test.inc (MIN_EXP): Directly define as
2745         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
2747 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2749         * math/libm-test.inc (MANT_DIG): Directly define as
2750         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
2752 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2754         * stdlib/gen-tst-strtod-round.c (main):
2755           Change usage to more closely match the generated
2756           output.  Add usage and compilation instructions.
2757           (string_to_fp): Add and use FILE* parameter as
2758           output target.
2759           (print_fp): Likewise.
2760           (round_str): Likewise.
2761           (round_for_all): Likewise.
2762         * stdlib/tst-strtod-round.c (tests): Move into
2763         * stdlib/tst-strtod-round-data.h: New file.
2765 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2767         [BZ #15479]
2768         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
2769         (__round): Do not force "inexact" exception.
2770         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
2771         variable.
2772         (__round): Do not force "inexact" exception.
2773         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
2774         (__roundf): Do not force "inexact" exception.
2775         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
2776         (__roundl): Do not force "inexact" exception.
2777         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
2778         (__roundl): Do not force "inexact" exception.
2779         * math/libm-test.inc (round_test_data): Do not allow spurious
2780         "inexact" exceptions.
2782         [BZ #15479]
2783         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
2784         exception in comment.
2785         (huge): Remove variable.
2786         (__floor): Do not force "inexact" exception.
2787         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
2788         "inexact" exception in comment.
2789         (huge): Remove variable.
2790         (__floor): Do not force "inexact" exception.
2791         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
2792         exception in comment.
2793         (huge): Remove variable.
2794         (__floorf): Do not force "inexact" exception.
2795         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
2796         exception in comment.
2797         (huge): Remove variable.
2798         (__floorl): Do not force "inexact" exception.
2800         [BZ #15479]
2801         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
2802         exception in comment.
2803         (huge): Remove variable.
2804         (__ceil): Do not force "inexact" exception.
2805         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
2806         "inexact" exception in comment.
2807         (huge): Remove variable.
2808         (__ceil): Do not force "inexact" exception.
2809         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
2810         (__ceilf): Do not force "inexact" exception.
2811         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
2812         exception in comment.
2813         (huge): Remove variable.
2814         (__ceill): Do not force "inexact" exception.
2816 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2818         * config.h.in (BIND_NOW): New.
2819         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
2820         * configure: Regenerated.
2821         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
2822         indirect branch via the GOT slot.
2824 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2826         [BZ #19765]
2827         * sysdeps/s390/mempcpy.S: New File.
2828         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2829         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
2830         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2831         Add mempcpy variants.
2832         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
2833         (memcpy): Adjust to be usable from mempcpy entry point.
2834         (__memcpy_mvcle): Likewise.
2835         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2836         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
2837         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
2838         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
2839         (__memcpy_z10): Likewise.
2840         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2842 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2844         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
2845         Remove __GI_ symbol.
2846         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
2847         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
2848         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
2849         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2850         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
2851         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
2853 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2855         * sysdeps/s390/s390-64/memcpy.S (memcpy):
2856         Use cghi instead of chi to compare 64bit value.
2858 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2860         * sysdeps/s390/s390-32/memcpy.S (memcpy):
2861         Jump to 1MB check before executing mvc-loop.
2863 2016-05-24  Florian Weimer  <fweimer@redhat.com>
2865         [BZ #6527]
2866         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
2867         unconditionally.
2868         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
2870 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2872         * stdlib/tst-strtod6.c (do_test): Use new type generic
2873         invocation of the test function.
2874         (test): Refactor into ...
2875         (TEST_STRTOD): New macro base function.
2877 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2879         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
2880         (TEST_STRTOD): New macro.
2881         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
2883 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2885         * stdlib/tst-strtod6.c (do_test): Use new type generic
2886         invocation of the test function.
2887         (test): Refactor into ...
2888         (TEST_STRTOD): New macro base function.
2890 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2892         CVE-2016-4429
2893         [BZ #20112]
2894         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
2895         payload.
2897 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2899         [BZ #20111]
2900         * bits/sockaddr.h (_SS_SIZE): Define.
2901         * bits/socket.h (_SS_SIZE): Remove.
2902         (_SS_PADSIZE): Adjust to account for all padding.
2903         (struct sockaddr_storage): Update comment.  Avoid implicit
2904         padding.
2905         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
2906         (_SS_PADSIZE): Adjust to account for all padding.
2907         (struct sockaddr_storage): Update comment.  Avoid implicit
2908         padding.
2909         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
2910         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
2911         (_SS_PADSIZE): Adjust to account for all padding.
2912         (struct sockaddr_storage): Update comment.  Avoid implicit
2913         padding.
2914         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
2915         __SS_SIZE is 126 in this version.
2916         * inet/tst-sockaddr.c: New file.
2917         * inet/Makefile (tests): Add tst-sockaddr.c
2918         (tst-sockaddr.c): Compile with non-strict aliasing.
2920 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
2922         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
2923         [XPG3 || XPG4].
2924         (NL_ARGMAX): Also expect for [XPG3].
2925         (NL_LANGMAX): Likewise.
2926         (NL_MSGMAX): Likewise.
2927         (NL_NMAX): Likewise.
2928         (NL_SETMAX): Likewise.
2929         (NL_TEXTMAX): Likewise.
2930         (NZERO): Likewise.
2931         (TMP_MAX): Likewise.
2932         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
2933         variable.
2935         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
2936         (PF_MAX): Update value.
2937         (AF_KCM): New macro.
2938         (SOL_NETBEUI): Likewise.
2939         (SOL_LLC): Likewise.
2940         (SOL_DCCP): Likewise.
2941         (SOL_NETLINK): Likewise.
2942         (SOL_TIPC): Likewise.
2943         (SOL_RXRPC): Likewise.
2944         (SOL_PPPOL2TP): Likewise.
2945         (SOL_BLUETOOTH): Likewise.
2946         (SOL_PNPIPE): Likewise.
2947         (SOL_RDS): Likewise.
2948         (SOL_IUCV): Likewise.
2949         (SOL_CAIF): Likewise.
2950         (SOL_ALG): Likewise.
2951         (SOL_NFC): Likewise.
2952         (SOL_KCM): Likewise.
2953         (MSG_BATCH): New enum value and macro.
2955 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2957         [BZ #18185]
2958         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
2959         sharing L2 cache to 2 for Knights Landing.
2961 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
2963         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
2964         (FTW_DP): Do not expect for [XPG3 || XPG4].
2965         (FTW_SL): Do not expect for [XPG3].
2966         (FTW_SLN): Likewise.
2967         (FTW_PHYS): Likewise.
2968         (FTW_MOUNT): Likewise.
2969         (FTW_DEPTH): Likewise.
2970         (FTW_CHDIR): Likewise.
2971         (nftw): Likewise.
2972         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
2973         variable.
2975 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2977         * manual/errno.texi: Fix various typos & grammar errors.
2979 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2981         * manual/intro.texi: Fix duplicated typo.
2983 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2985         [BZ #13304]
2986         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
2987         <float.h>, <math_private.h> and <stdlib.h>.
2988         (add_split): New function.
2989         (mul_split): Likewise.
2990         (ext_val): New typedef.
2991         (store_ext_val): New function.
2992         (mul_ext_val): New function.
2993         (compare): New function.
2994         (add_split_ext): New function.
2995         (__fmal): After checking for Inf, NaN and zero, compute result as
2996         an exact sum of scaled double values in round-to-nearest before
2997         adding those up and adjusting for other rounding modes.
2998         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
2999         tests of fma.
3000         * math/auto-libm-test-out: Regenerated.
3002 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3004         [BZ #20119]
3005         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
3006         processor level type mask for CPUID with EAX == 11.
3008 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3010         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
3011         logical threads if the HTT bit is 0.
3012         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
3013         (index_cpu_HTT): Likewise.
3014         (reg_HTT): Likewise.
3016 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3018         [BZ #20115]
3019         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
3020         Remove alignments on jump targets.
3022 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3024         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
3025         (getpwent): Likewise.
3026         (setpwent): Likewise.
3027         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
3028         variable.
3030         * conform/data/search.h-data (insque): Do not expect for [XPG3].
3031         (remque): Likewise.
3032         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
3033         variable.
3035 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3037         * math/libm-test.inc: Update comment not to refer to signs of NaNs
3038         not being tested.
3040 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3042         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3043         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
3044         call.
3045         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3046         (__condvar_cleanup1): Likewise.
3048 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3050         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
3051         New
3052         (__pthread_unwind): Renamed to ...
3053         (PTHREAD_UNWIND): This.
3054         (__pthread_enable_asynccancel): Replace
3055         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
3057 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3059         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
3060         (CLONE_NEWCGROUP): New macro.
3062         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
3063         (Q_GETNEXTQUOTA): New macro.
3065 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3067         [BZ #19907]
3068         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
3069         buffer updated by the previous run.
3070         * string/test-memcpy.c (do_one_test): Likewise.
3071         * benchtests/bench-memmove.c (do_one_test): Add a comment.
3072         * string/test-memmove.c (do_one_test): Likewise.
3074 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
3076         [BZ #20094]
3077         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
3078         not [__USE_XOPEN].
3079         (unlockpt): Likewise.
3080         (ptsname): Likewise.
3081         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
3082         variable.
3084         [BZ #20076]
3085         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
3086         instead of [__USE_UNIX98].
3087         (S_ISSOCK): Likewise.
3088         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
3089         variable.
3091         [BZ #20074]
3092         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
3093         [__USE_POSIX].
3094         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
3095         variable.
3097         [BZ #20051]
3098         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
3099         (ttyslot): Do not declare.
3100         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
3101         (ttyslot): New prototype.
3102         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
3103         variable.
3104         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3106 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3108         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
3110 2016-05-13  Florian Weimer  <fweimer@redhat.com>
3112         Fix race condition in tst-mallocfork2, use fewer resources.
3113         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
3114         to current process group.
3115         (signal_sender): Yield in the non-sleeping case.
3117 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
3119         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
3120         (ecvt): Likewise.
3121         (fcvt): Likewise.
3122         (gcvt): Likewise.
3123         (getsubopt): Likewise.
3124         (grantpt): Likewise.
3125         (initstate): Likewise.
3126         (l64a): Likewise.
3127         (mktemp): Likewise.
3128         (mkstemp): Likewise.
3129         (ptsname): Likewise.
3130         (random): Likewise.
3131         (realpath): Likewise.
3132         (setstate): Likewise.
3133         (srandom): Likewise.
3134         (ttyslot): Likewise.
3135         (unlockpt): Likewise.
3136         (valloc): Likewise.
3138         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
3139         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
3140         variable.
3142 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3144         [BZ #20072]
3145         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
3146         init_cpu_features only if SHARED is defined.
3147         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
3149 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3151         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
3152         non-inclusive caches on Intel processors.
3154 2016-05-13  Florian Weimer  <fweimer@redhat.com>
3156         * malloc/malloc.c (dumped_main_arena_start)
3157         (dumped_main_arena_end): New variables.
3158         (DUMPED_MAIN_ARENA_CHUNK): New macro.
3159         (do_check_chunk): Skip dumped fake mmapped chunks.
3160         (munmap_chunk): Likewise.
3161         (__libc_free): Do not adjust statistics for fake mmapped chunks.
3162         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
3163         mmapped chunks.
3164         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
3165         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
3166         and dumped_main_arena_end to cover the dumped heap.
3168 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
3170         * conform/data/time.h-data (getdate_err): Do not expect for
3171         [XPG3].
3172         (getdate): Likewise.
3173         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
3174         variable.
3176         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
3177         (F_ULOCK): Likewise.
3178         (F_TEST): Likewise.
3179         (F_TLOCK): Likewise.
3180         (useconds_t): Likewise.
3181         (intptr_t): Do not expect for [XPG3] or [XPG4].
3182         (brk): Do not expect for [XPG3]
3183         (fchown): Likewise.
3184         (fchdir): Likewise.
3185         (ftruncate): Likewise.
3186         (getdtablesize): Likewise.
3187         (gethostid): Likewise.
3188         (getpagesize): Likewise.
3189         (getpgid): Likewise.
3190         (getsid): Likewise.
3191         (getwd): Likewise.
3192         (lchown): Likewise.
3193         (lockf): Likewise.
3194         (readlink): Likewise.
3195         (sbrk): Likewise.
3196         (setpgrp): Likewise.
3197         (setregid): Likewise.
3198         (setreuid): Likewise.
3199         (symlink): Likewise.
3200         (sync): Likewise.
3201         (truncate): Likewise.
3202         (ualarm): Likewise.
3203         (usleep): Likewise.
3204         (vfork): Likewise.
3205         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
3206         variable.
3208         [BZ #20054]
3209         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
3210         not [__USE_UNIX98].
3211         * conform/data/unistd.h-data (gethostname): Do not expect for
3212         [XPG3].
3214         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
3215         [!POSIX] (S_IFBLK): Likewise.
3216         [!POSIX] (S_IFCHR): Likewise.
3217         [!POSIX] (S_IFIFO): Likewise.
3218         [!POSIX] (S_IFREG): Likewise.
3219         [!POSIX] (S_IFDIR): Likewise.
3220         [!POSIX] (S_IFLNK): Likewise.
3221         [!POSIX] (S_IFSOCK): Likewise.
3222         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
3223         variable.
3224         (test-xfail-XPG4/fcntl.h/conform): Likewise.
3226 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
3228         * sysdeps/aarch64/memset.S (__memset):
3229         Rewrite of optimized memset.
3231 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3233         [BZ #19703]
3234         Partially async-signal-safe fork for single-threaded processes.
3235         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
3236         variable.  Do not acquire and reset/release malloc and libio locks
3237         in single-threaded processes.
3238         * malloc/tst-mallocfork2.c: New file.
3239         * malloc/Makefile (tests): Add it.
3241 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3243         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
3244         argument.  Use scratch buffer instead of extend_alloca.
3245         (gethosts): Use scratch buffer instead of extend_alloca.
3246         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
3247         extend_alloca.
3248         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
3250 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
3252         [BZ #20055]
3253         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
3254         instead of [__USE_UNIX98].
3255         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
3256         [__USE_UNIX98].
3257         * conform/data/termios.h-data (tcgetsid): Do not expect for
3258         [XPG3].
3259         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
3260         variable.
3261         (test-xfail-XPG4/termios.h/conform): Likewise.
3263 2016-05-11  Florian Weimer  <fweimer@redhat.com>
3265         Do not use mcheck in localedef.
3266         * locale/programs/localedef.c (turn_on_mcheck)
3267         (__malloc_initialize_hook): Remove.
3269 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3271         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
3272         * sysdeps/s390/s390-64/Makefile: Likewise.
3274 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
3276         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
3277         Remove ifunc-defines.sym.
3278         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
3279         Likewise.
3280         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
3281         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3282         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
3283         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
3284         rtld-global-offsets.sym.
3285         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
3286         * sysdeps/x86/cpu-features-offsets.sym: This.
3287         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
3288         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
3290 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
3292         [BZ #20073]
3293         * io/sys/stat.h (fchmod): Declare for
3294         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
3295         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
3296         variable.
3298         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
3299         [XPG3] (S_IFSOCK): Likewise.
3300         [XPG3] (S_ISVTX): Likewise.
3301         [XPG3] (S_ISLNK): Likewise.
3302         [XPG3] (S_ISSOCK): Likewise.
3303         [XPG3] (fchmod): Likewise.
3304         [XPG3] (lstat): Likewise.
3305         [XPG3] (mknod): Likewise.
3307         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
3308         [XPG3].  Expect type long and XFAIL for [XPG4].
3309         (st_blocks): Likewise.
3311         [BZ #20044]
3312         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
3313         (pthread_atfork): New prototype.
3314         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
3315         variable.
3317         [BZ #20043]
3318         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
3319         prototype.
3321 2016-05-10  Florian Weimer  <fweimer@redhat.com>
3323         [BZ #20017]
3324         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
3325         gmtime.
3327 2016-05-10  Florian Weimer  <fweimer@redhat.com>
3329         [BZ #19994]
3330         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
3331         flag in _res.options.
3333 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
3335         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
3336         [XPG3 || XPG4].
3337         (blksize_t): Likewise.
3338         (clockid_t): Likewise.
3339         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
3340         variable.
3341         (test-xfail-XPG4/sys/types.h/conform): Likewise.
3343 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3345         * sysdeps/unix/sysv/linux/s390/init-first.c:
3346         Add VDSO_SYMBOL(getcpu).
3347         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
3348         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
3349         Add VDSO_SYMBOL(getcpu).
3350         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
3351         New define HAVE_GETCPU_VSYSCALL.
3352         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3354 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
3356         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
3357         instead of <sysdeps/x86_64/cacheinfo.c>.
3358         * sysdeps/x86_64/cacheinfo.c: Moved to ...
3359         * sysdeps/x86/cacheinfo.c: Here.
3361 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3363         * malloc/malloc-internal.h: Adjust header file guard.
3365 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3367         [BZ #19787]
3368         * inet/getnameinfo.c (check_sprintf_result): New function.
3369         (CHECKED_SNPRINTF): New macro.
3370         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
3371         to the host buffer.
3372         (gni_host_local): Use checked_copy to copy the host name.
3373         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
3374         (gni_serv_local): Use checked_copy to copy the service name.
3375         (getnameinfo): Remove unnecessary truncation of result buffers.
3377 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3379         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
3380         in case of inet_ntop failure.
3382 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3384         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
3385         avoid long lines.
3386         (gni_host_inet_numeric): Likewise.  Reduce scope of local
3387         variables.
3388         (gni_host_inet, gni_host_local): Add comment.
3389         (gni_host): Add comment.  Use temporary to avoid long lines.
3391 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3393         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
3394         registers specifiers where general purpose registers specifiers should
3395         have been used.
3397 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3399         [BZ #19779]
3400         CVE-2016-1234
3401         Avoid copying names of directory entries.
3402         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
3403         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
3404         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
3405         (struct readdir_result): New type.
3406         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
3407         (GL_READDIR): New macros.
3408         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
3409         (convert_dirent, convert_dirent64): New functions.
3410         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
3411         convert_dirent64.  Adjust references to the readdir result.
3412         * sysdeps/unix/sysv/linux/i386/glob64.c:
3413         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
3414         * posix/bug-glob2.c (LONG_NAME): Define.
3415         (filesystem): Add LONG_NAME.
3416         (my_DIR): Increase the size of room_for_dirent.
3418 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
3420         [BZ #20041]
3421         * misc/sys/select.h (__need_timespec): Only define if
3422         [__USE_XOPEN2K].
3423         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
3424         variable.
3425         (test-xfail-XPG4/utmpx.h/conform): Likewise.
3426         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3427         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3429 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3430             Segher Boessenkool  <segher@gcc.gnu.org>
3432         [BZ #20004]
3433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
3434         (__novec_swapcontext): Add missing load.
3436 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
3438         [BZ #20023]
3439         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
3440         <time.h>.
3441         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
3442         variable.
3443         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3445 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
3448         flags CLONE_VM compare.
3450 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3452         [BZ #20031]
3453         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
3454         completely empty.
3456 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3458         [BZ #19573]
3459         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
3460         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
3461         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
3462         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
3463         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
3464         (hesiod_free_list): Mark as hidden.
3465         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
3466         res_set, res_get.
3467         * hesiod/hesiod.c: Remove unnecessary forward declarations.
3468         (init, __hesiod_res_get, __hesiod_res_set): Remove.
3469         (hesiod_init): Remove obsolete res_ninit call.
3470         (hesiod_end): Do not free resolver state.  Do not invoke callback.
3471         (hesiod_bind): Do not call init.
3472         (get_txt_records): Use res_mkquery, res_send instead of
3473         res_nmkquery, res_nsend.
3474         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
3475         instead of _nss_hesiod_init.
3476         (_nss_hesiod_initgroups_dyn): Likewise.
3477         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
3478         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
3479         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
3481 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3483         * hesiod/hesiod_p.h (DEF_RHS): Remove.
3484         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
3486 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3488         * hesiod/hesiod.h: Remove RCS keyword.
3489         * hesiod/hesiod_p.h: Likewise.
3491         * hesiod/hesiod.c: Likewise.
3493 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
3495         [BZ #12450]
3496         * locale/iso-639.def: Add Samogitian/sgs.
3498 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
3500         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
3502         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
3504 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
3505             Carlos O'Donell  <carlos@redhat.com>
3507         [BZ #19072]
3508         * grp/Makefile (headers): Add grp-merge.h
3509         (routines): Add grp-merge.
3510         * grp/getgrgid_r.c: Include grp-merge.h.
3511         (DEEPCOPY_FN): Define.
3512         (MERGE_FN): Define.
3513         * grp/getgrname_r.c: Include grp-merge.h.
3514         (DEEPCOPY_FN): Define.
3515         (MERGE_FN): Define.
3516         * grp/grp-merge.c: New file.
3517         * grp/grp-merge.h: New file.
3518         * include/grp-merge.h: New file.
3519         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
3520         __copy_grp@GLIBC_PRIVATE.
3521         * manual/nss.texi (Actions in the NSS configuration): Describe
3522         return, continue, and merge.
3523         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
3524         (DEEPCOPY_FN): Define.
3525         (MERGE_FN): Define.
3526         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
3527         (DEEPCOPY_FN): Define.
3528         (MERGE_FN): Define.
3529         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
3530         [!MERGE_FN]: Define __merge_einval.
3531         (CHECK_MERGE): Define.
3532         (REENTRANT_NAME): Process merge if do_merge is true.
3533         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
3534         (__nss_getent_r): Likewise.
3535         * nss/nsswitch.c (nss_parse_service_list): Likewise.
3536         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
3538 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3540         [BZ #20012]
3541         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
3542         length to calculate the buffer to read.
3543         (fmemopen_write): Set the buffer position based on bytes written.
3544         (fmemopen_seek): Return EINVAL for invalid whence modes.
3546         [BZ #19957]
3547         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
3548         tst-getpid2.
3549         (test): Add tst-clone2.
3550         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
3551         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
3552         pid/tid fields for CLONE_VM.
3553         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3554         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3555         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3556         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
3557         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3558         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3559         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3560         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3562         Likewise.
3563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3564         Likewise.
3565         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3566         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3567         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3568         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3569         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3570         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3571         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3572         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
3574 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3576         [BZ #19642]
3577         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
3578         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
3579         (gni_serv_local, gni_serv): New functions extracted from
3580         getnameinfo.
3581         (getnameinfo): Call gni_host and gni_serv to perform the
3582         processing.  Always free scratch buffer.
3584 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3586         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
3587         remaining bytes in the dest string, with zeros.
3589 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3591         [BZ #20010]
3592         CVE-2016-3706
3593         * sysdeps/posix/getaddrinfo.c
3594         (convert_hostent_to_gaih_addrtuple): New function.
3595         (gethosts): Call convert_hostent_to_gaih_addrtuple.
3596         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
3597         AF_INET data.
3599 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3601         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
3602         callback function gl_readdir.
3603         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
3604         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
3605         (glob_in_dir): Remove len.  Use strdup instead of malloc and
3606         memcpy to copy the name.
3607         * manual/pattern.texi (Calling Glob): Document requirements for
3608         implementations of the gl_readdir callback function.
3609         * manual/examples/mkdirent.c: New example.
3610         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
3611         per the manual guidance.
3612         * posix/tst-gnuglob.c (my_readdir): Likewise.
3614 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
3616         [BZ #20014]
3617         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
3618         not [__USE_POSIX].
3619         (getchar_unlocked): Likewise.
3620         (putc_unlocked): Likewise.
3621         (putchar_unlocked): Likewise.
3622         (flockfile): Likewise.
3623         (ftrylockfile): Likewise.
3624         (funlockfile): Likewise.
3625         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
3626         variable.
3627         (test-xfail-XPG4/stdio.h/conform): Likewise.
3629         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
3630         Expect constant.
3631         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
3632         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
3633         variable.
3634         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3635         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3637         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
3638         [__USE_LARGEFILE64] (off64_t): Likewise.
3639         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
3640         variable.
3642 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3644         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
3646 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3648         * resolv/inet_addr.c: Reindent preprocessor conditionals.
3649         * resolv/res_init.c: Likewise.
3650         * resolv/res_mkquery.c: Likewise.
3652 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3654         * resolv/res_init.c (isascii): Do not define.  Use definition in
3655         <ctype.h>.
3656         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
3657         (LOG_AUTH): Remove.
3658         (SPRINTF): Remove, adjust caller.
3659         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
3661 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3663         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
3664         SUNSECURITY conditional.
3665         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
3667 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3669         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
3670         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
3671         Remove BSD-related preprocessor conditionals.
3672         * conf/portability.h: Remove.
3674 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3676         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
3677         * resolv/res_data.c: Likewise.
3679 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3681         * resolv/res_comp.c: Remove code conditional on __ultrix__.
3682         * resolv/res_data.c: Remove code conditional on ultrix.
3684 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3686         * resolv/res_init.c (RFC1535): Do not define.  Remove
3687         RFC1535 preprocessor conditionals.
3688         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
3689         because there configuration options which make the resolver
3690         behavior different.
3692 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3694         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
3695         RESOLVSORT preprocessor conditionals.
3696         * resolv/nss_dns/dns-host.c: Likewise.
3697         * resolv/res_init.c: Likewise.
3699 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3701         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
3702         is never defined.
3704 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3706         * inet/inet_lnaof.c: Remove SCSS keyword.
3707         * inet/inet_mkadr.c: Likewise.
3708         * inet/inet_net.c: Likewise.
3709         * inet/inet_netof.c: Likewise.
3710         * inet/rcmd.c: Likewise.
3711         * inet/rexec.c: Likewise.
3712         * inet/ruserpass.c: Likewise.
3714 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3716         * resolv/inet_addr.c: Remove _LIBC conditionals.
3717         * resolv/res_data.c: Likewise.
3718         * resolv/res_init.c: Likewise.
3719         * resolv/res_mkquery.c: Likewise.
3720         * resolv/res_libc.c: Update comment.
3721         * resolv/README: Update.
3723 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3725         * resolv/gethnamaddr.c: Remove SCSS keyword.
3726         * resolv/herror.c: Likewise.
3727         * resolv/inet_addr.c: Likewise.
3728         * resolv/inet_net_ntop.c: Likewise.
3729         * resolv/inet_net_pton.c: Likewise.
3730         * resolv/inet_neta.c: Likewise.
3731         * resolv/inet_ntop.c: Likewise.
3732         * resolv/inet_pton.c: Likewise.
3733         * resolv/ns_date.c: Remove RCS keyword.
3734         * resolv/ns_name.c: Likewise.
3735         * resolv/ns_netint.c: Likewise.
3736         * resolv/ns_parse.c: Likewise.
3737         * resolv/ns_print.c: Likewise.
3738         * resolv/ns_samedomain.c: Likewise.
3739         * resolv/ns_ttl.c: Likewise.
3740         * resolv/nsap_addr.c: Likewise.
3741         * resolv/res_comp.c: Remove SCSS and RCS keyword.
3742         * resolv/res_data.c: Remove RCS keyword.
3743         * resolv/res_debug.c: Remove SCSS and RCS keyword.
3744         * resolv/res_init.c: Likewise.
3745         * resolv/res_mkquery.c: Likewise.
3746         * resolv/res_query.c: Likewise.
3747         * resolv/res_send.c: Likewise.
3749 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3751         * conform/data/stdio.h-data (fdopen): Expect also for
3752         [XPG3 || XPG4].
3754         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
3755         (fseeko): Likewise.
3756         (ftello): Likewise.
3757         (ftrylockfile): Likewise.
3758         (funlockfile): Likewise.
3759         (getc_unlocked): Likewise.
3760         (getchar_unlocked): Likewise.
3761         (putc_unlocked): Likewise.
3762         (putchar_unlocked): Likewise.
3764 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3766         [BZ #19868]
3767         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
3768         DNS packet syntax checks (which were not needed before).  Skip
3769         over non-PTR records.
3771 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3773         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
3774         definition.  Include <stddef.h> instead.
3776 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3778         [BZ #19831]
3779         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
3780         function.
3781         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
3782         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
3784 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3786         [BZ #19862]
3787         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
3788         (getanswer_r): Do not call syslog.
3789         (gaih_getanswer_slice): Likewise.
3790         * resolv/gethnamaddr.c (AskedForGot): Remove.
3791         (getanswer): Do not call syslog.
3792         (gethostbyaddr): Likewise.
3794 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3796         * conform/data/signal.h-data (union sigval): Expect also if
3797         [XOPEN2K].
3798         (struct sigevent): Likewise.
3799         (SIGEV_NONE): Likewise.
3800         (SIGEV_SIGNAL): Likewise.
3801         (SIGEV_THREAD): Likewise.
3802         (SIGRTMIN): Likewise.
3803         (SIGRTMAX): Likewise.
3804         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
3805         variable.
3806         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3808 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3810         [BZ #19830]
3811         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
3812         (gaih_getanswer_slice): Likewise.
3813         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
3814         Also check for availability of RR metadata.
3816 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3818         [BZ #19825]
3819         * resolv/res_send.c (send_vc): Remove early *resplen2
3820         initialization.  Set *resplen2 on socket error.  Call
3821         close_and_return_error for other errors.
3823 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3825         * sysdeps/unix/sysv/linux/netiucv/iucv.h
3826         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
3827         (SCM_IUCV_TRGCLS): New define.
3829 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3831         [BZ #20005]
3832         * libio/fmemopen.c (fmemopen_write): Update internal position after
3833         write.
3834         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
3835         * stdio-common/tst-fmemopen4.c: New file..
3837 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
3839         [BZ #19996]
3840         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
3841         not [__USE_XOPEN2K].
3842         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
3843         variable.
3845         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
3846         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
3847         variable.
3849         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
3850         [__USE_XOPEN2K8].
3851         [__USE_LARGEFILE64] (off64_t): Likewise.
3852         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
3853         variable.
3855 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
3857         [BZ #19989]
3858         * libio/stdio.h (cuserid): Do not declare if
3859         [__USE_XOPEN2K && !__USE_GNU].
3860         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
3861         variable.
3863 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3865         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3866         (sysdep_routines): Add P8 and PPC64 strcspn targets.
3867         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3868         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3869         ifunc'ed strcspn.
3870         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3871         [EALIGN]: Removed.
3872         [END]: Likewise
3873         [STRSPN]: Define instead of the above to control symbol name.
3874         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
3875         New file.
3876         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
3877         Likewise.
3878         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
3879         Likewise.
3880         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
3881         Likewise.
3882         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3883         [INITIAL_MASK]: New macro.
3884         [STRCSPN]: Likewise.
3885         [UPDATE_MASK]: Likewise.
3886         [USE_AS_STRCSPN]: Lisewise.
3888 2016-04-25  Florian Weimer  <fweimer@redhat.com>
3890         [BZ #19931]
3891         * stdio-common/tst-vfprintf-width-prec.c: New file.
3892         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
3893         (tests-special): Add tst-vfprintf-width-prec-mem.out.
3894         (generated): Add mtrace-related files.
3895         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
3896         (tst-%-mem.out): New pattern rule, replaces
3897         tst-printf-bz18872-mem.out.
3898         * stdio-common/vfprintf.c (vfprintf): When handling a precision
3899         specifier, deallocate any previously allocated work buffer.
3901 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
3903         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
3904         Add nop before __startcontext, add explaining comments.
3906 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
3908         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
3909         any more. Notably since IPV6_PKTINFO has been reintroduced with a
3910         completely different API.
3912         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
3913         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
3914         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
3915         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
3916         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
3917         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
3918         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
3919         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
3920         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
3921         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
3923 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
3925         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
3927 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
3929         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
3930         when it is the default of 0.
3932 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3934         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
3935         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3936         (sysdep_routines): Add new strcasestr targets.
3937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3938         (__libc_ifunc_impl_list): Likewise.
3939         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
3940         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
3941         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
3942         * sysdeps/powerpc/powerpc64/power8/Makefile:
3943         New file to add strcasestr-ppc64 to sysdep_routines.
3944         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
3945         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
3947 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
3949         * benchtests/Makefile (wcsmbs-benchset): Include only for
3950         native builds and runs.
3951         (LOCALES): Likewise.
3952         (bench-build): Build timing-type here instead of the bench
3953         target.  Generate locale only for native builds.
3954         * benchtests/README: Add note for cross-building.
3956         * benchtests/Makefile (bench-clean): Clean up extra-objs.
3958         * benchtests/README: Update README to include instructions on
3959         using bench-build.
3961         * Makefile.in (bench-build): New target.
3962         * Rules (PHONY): Add bench-build target.
3963         * benchtests/Makefile (bench): Depend on bench-build.
3964         (bench-build): New target.
3966 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3968         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
3969         profil_reply_port.
3970         (profile_waiter): Do not initialize profil_reply_port.
3971         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
3972         frequency instead of tick length in us.
3974 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
3976         [BZ #18712]
3977         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
3978         (__old_mempcpy_small): Likewise.
3979         (__old_strcpy_small): Likewise.
3980         (__old_stpcpy_small): Likewise.
3981         (__old_strpbrk_c2): Fix compat symbol name.
3982         (__old_strpbrk_c3): Likewise.
3983         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
3984         (__mempcpy_small): Remove.
3985         (__strcpy_small): Remove.
3986         (__stpcpy_small): Remove.
3988 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
3990         [BZ #19400]
3991         * locale/iso-639.def: Add the Talossan/tzl language.
3993 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3995         [BZ #16983]
3996         * locale/programs/ld-address.c (address_finish): Update postal_fmt
3997         comment.  Add "ln" to strchr check on postal_fmt.
3999 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4001         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
4002         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
4003         tel_dom_fmt.
4005 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4007         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4008         (sysdep_routines): Added __strlen_power8.
4009         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
4010         __strlen_power8 entry.
4011         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
4012         Implementation for POWER8.
4013         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
4014         for __strlen_power8.
4015         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
4016         Implementation for POWER8.
4018 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
4020         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
4022 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
4024         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
4025         Goldmont and Airmont processors.
4027 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
4029         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
4030         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
4031         (__STRING2_SMALL_GET32): Remove.
4032         (memset): Remove.
4033         (__memset_1): Remove.
4034         (__memset_gc): Remove.
4035         (__mempcpy): Remove.
4036         (mempcpy): Remove.
4037         (__mempcpy_args): Remove.
4038         (strchr): Remove.
4039         (strcpy): Remove.
4040         (strcpy_args): Remove.
4041         (__stpcpy_args): Remove.
4042         (__strcmp_cc): Remove.
4043         (__strcmp_gc): Remove.
4044         (strstr): Remove.
4046 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
4048         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
4049         * nis/nis_call.c (nis_server_cache_add): Likewise.
4051 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4053         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
4055 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4057         * malloc/arena.c (__malloc_fork_lock_parent)
4058         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
4059         internal_function attribute.
4061 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
4063         * stdio-common/printf_fp.c (__printf_fp_l):
4064         Rename ___printf_fp_l to __printf_fp_l and
4065         remove strong alias. Use libc_hidden_def instead
4066         of ldbl_hidden_def macro.
4068 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4070         Remove malloc hooks from fork handler.  They are no longer needed
4071         because malloc runs right before fork, and no malloc calls from
4072         other fork handlers are not possible anymore.
4073         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
4074         declarations.
4075         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
4076         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
4077         (atfork_recursive_cntr): Remove.
4078         (__malloc_fork_lock_parent): Do not override malloc hooks and
4079         thread_arena.
4080         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
4081         thread_arena.
4082         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
4083         thread_arena instead of save_arena.
4085 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4087         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
4088         (thread_atfork, thread_atfork_static): Remove.
4089         * sysdeps/mach/hurd/malloc-machine.h:
4090         (thread_atfork, thread_atfork_static): Remove.
4092 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4094         [BZ #19431]
4095         Run the malloc fork handler as late as possible to avoid deadlocks.
4096         * malloc/malloc-internal.h: New file.
4097         * malloc/malloc.c: Include it.
4098         * malloc/arena.c (ATFORK_MEM): Remove.
4099         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
4100         Update comment.
4101         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
4102         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
4103         Remove outdated comment.
4104         (ptmalloc_init): Do not call thread_atfork.  Remove
4105         thread_atfork_static.
4106         * malloc/tst-malloc-fork-deadlock.c: New file.
4107         * Makefile (tests): Add tst-malloc-fork-deadlock.
4108         (tst-malloc-fork-deadlock): Link against libpthread.
4109         * manual/memory.texi (Aligned Memory Blocks): Update safety
4110         annotation comments.
4111         * sysdeps/nptl/fork.c (__libc_fork): Call
4112         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4113         __malloc_fork_unlock_child.
4114         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
4116 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4118         [BZ #19613]
4119         Remove union wait.
4120         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
4121         (w_stopsig, w_stopval): Remove.
4122         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
4123         stat_loc argument.
4124         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
4125         (__WAIT_STATUS_DEFN): Remove.
4126         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4127         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
4128         (wait, wait3, wait4): Use int * for the stat_loc argument.
4129         * posix/wait.c (__wait): Likewise.
4130         * posix/wait3.c (__wait3): Likewise.
4131         * posix/wait4.c (__wait4): Likewise.
4132         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
4133         (__WAIT_STATUS_DEFN): Remove.
4134         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4135         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
4136         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
4137         argument.
4138         * sysdeps/posix/wait.c (__libc_wait): Likewise.
4139         * sysdeps/posix/wait3.c (__wait3): Likewise.
4140         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
4141         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4142         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
4143         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
4144         stat_loc argument.
4145         * manual/process.texi (BSD Wait Functions): Remove union wait.
4147 2016-04-13  Andreas Schwab  <schwab@suse.de>
4149         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
4150         (test-extras): Add tst-tlsalign-vars.
4151         * math/Makefile: Wrap long lines.
4152         (libm-vec-test-wrappers): Define.
4153         (test-extras): Add $(libm-vec-test-wrappers).
4154         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
4155         * nss/Makefile (extra-test-objs): Add nss_test1.os.
4156         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
4157         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
4158         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
4159         (extra-test-objs): Add corresponding objects.
4161 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
4163         [BZ #19928]
4164         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
4165         New.
4166         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
4167         times of shared cache size.
4168         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
4169         (VMOVNT): New.
4170         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
4171         (VMOVNT): Likewise.
4172         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
4173         (VMOVNT): Likewise.
4174         (VMOVU): Changed to movups for smaller code sizes.
4175         (VMOVA): Changed to movaps for smaller code sizes.
4176         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
4177         comments.
4178         (PREFETCH): New.
4179         (PREFETCH_SIZE): Likewise.
4180         (PREFETCHED_LOAD_SIZE): Likewise.
4181         (PREFETCH_ONE_SET): Likewise.
4182         Rewrite to use forward and backward loops, which move 4 vector
4183         registers at a time, to support overlapping addresses and use
4184         non temporal store if size is above the threshold and there is
4185         no overlap between destination and source.
4187 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
4189         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
4190         Include dl-vdso.
4191         * sysdeps/unix/sysv/linux/mips/Versions: Add
4192         __vdso_clock_gettime.
4193         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
4194         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
4195         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
4196         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
4197         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
4198         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4199         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4200         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4201         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4203 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4205         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
4206         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
4207         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4208         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4209         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4210         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4213         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
4214         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
4215         syscalls generation.
4216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4217         [__NR_pwrite64] (__NR_write): Remove define.
4218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4219         [__NR_pwrite64] (__NR_write): Remove define.
4220         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
4221         Remove define.
4222         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
4223         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
4224         Remove define.
4225         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
4226         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
4227         Linux implementation as base.
4228         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4230         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
4231         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
4232         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4233         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
4235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4236         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
4237         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
4238         syscall generation.
4239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4240         [__NR_pread64] (__NR_pread): Remove define.
4241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4242         [__NR_pread64] (__NR_pread): Likewise.
4243         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
4244         define.
4245         (__libc_pread): Use SYSCALL_LL macro on offset argument.
4246         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
4247         Remove define.
4248         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
4249         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
4250         Linux implementation as base.
4251         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4252         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4253         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4255         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
4256         definition.
4257         (__ALIGNMENT_COUNT): Likewise.
4258         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
4259         (__ALIGNMENT_COUNT): Likewise.
4260         (SYSCALL_LL): New define.
4261         (SYSCALL_LL64): Likewise.
4262         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
4263         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
4264         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
4265         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
4267         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4268         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
4269         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4270         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4271         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4272         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4274 2016-04-11  Florian Weimer  <fweimer@redhat.com>
4276         [BZ #19865]
4277         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
4278         original buffer before retry.
4280 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4282         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
4283         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
4284         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
4285         GLRO(dl_auxv) list.
4286         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
4287         including <ldsodefs.h>.
4288         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
4290 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
4292         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
4293         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
4294         $(CPPFLAGS).
4296 2016-04-09  Khem Raj  <raj.khem@gmail.com>
4298         [BZ #17950]
4299         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
4300         Add -mfpmath=387.
4302 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
4304         * sysdeps/i386/configure.ac: Change == to = when calling test.
4305         * sysdeps/x86_64/configure.ac: Likewise.
4306         * sysdeps/i386/configure: Regenerated.
4307         * sysdeps/x86_64/configure: Likewise.
4309 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
4311         [BZ #16137]
4312         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
4313         * benchtests/bench-strcoll.c (input_files): Likewise.
4314         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4315         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
4316         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
4318 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
4320         [BZ #19929]
4321         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
4322         [__USE_XOPEN2K8 && !__USE_GNU].
4323         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
4324         variable.
4326         [BZ #19925]
4327         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
4328         define if [!__USE_MISC && __USE_XOPEN2K].
4329         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
4330         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
4331         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
4332         Likewise.
4333         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
4334         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
4335         variable.
4336         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4338 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4340         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4341         (sysdep_routines): Add new strspn targets.
4342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4343         (__libc_ifunc_impl_list): Add strspn.
4344         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4345         New file.
4346         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
4347         Likewise.
4348         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
4349         Likewise.
4350         * sysdeps/powerpc/powerpc64/power8/strspn.S:
4351         Likewise.
4353 2016-04-07  Florian Weimer  <fweimer@redhat.com>
4355         * misc/hsearch_r.c: Include <limits.h>.
4357 2016-04-07  Florian Weimer  <fweimer@redhat.com>
4359         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
4361 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4363         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4364         (MEMCPY_SYMBOL): New.
4365         (MEMPCPY_SYMBOL): Likewise.
4366         (MEMMOVE_CHK_SYMBOL): Likewise.
4367         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
4368         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
4369         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
4370         Provide alias for memcpy in libc.a and ld.so.
4372 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4374         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4375         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
4376         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
4377         Disabled fro now.
4378         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
4379         symbols.  Properly check USE_MULTIARCH on __memset symbols.
4381 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4383         * benchtests/Makefile (string-benchset): Add memcpy-large,
4384         memmove-large and memset-large.
4385         * benchtests/bench-memcpy-large.c: New file.
4386         * benchtests/bench-memmove-large.c: Likewise.
4387         * benchtests/bench-memmove-large.c: Likewise.
4388         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
4390 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
4392         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
4393         32-bit displacement to avoid long nop between instructions.
4395 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
4397         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
4398         a comment on VMOVU and VMOVA.
4400 2016-04-04  Florian Weimer  <fweimer@redhat.com>
4402         [BZ #19633]
4403         Use specified locale for number formatting in strfmon_l.
4404         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
4405         (__nl_lookup_word): New inline functions.
4406         * include/printf.h (__print_fp_l): Declare.
4407         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
4408         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
4409         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
4410         (___printf_fp): New function.
4411         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
4412         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
4413         * stdlib/tst-strfmon_l.c (do_test): New test.
4414         * stdlib/Makefile (tests): Add kt.
4415         (LOCALES): Build additional locales.
4416         (tst-strfmon_l.out): Require locales.
4418 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4420         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
4421         if not in libc.
4422         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4423         Likewise.
4424         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
4425         Likewise.
4426         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4427         Likewise.
4429 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4431         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4432         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
4433         with unaligned_erms.
4434         (__memmove_erms): Skip if source == destination.
4435         (__memmove_unaligned_erms): Don't check source == destination
4436         first.
4438 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4440         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
4441         bit_arch_Fast_Copy_Backward for Intel Core proessors.
4443 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4445         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
4446         * string/strspn.c (strspn): Likewise.
4448 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4450         * benchtests/bench-memset.c (do_test): Support 64-byte
4451         alignment.
4452         (test_main): Test 64-byte alignment.
4454 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4456         * benchtests/bench-memmove.c (test_main): Test 64-byte
4457         alignment.
4459 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4461         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
4463 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4465         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
4466         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
4467         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
4469         * string/strpbrk.c (strpbrk): Rewrite function.
4470         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
4471         (__strpbrk_c2): Likewise.
4472         (__strpbrk_c3): Likewise.
4473         * string/string-inlines.c
4474         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
4475         Likewise.
4476         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
4477         Likewise.
4479         * string/strspn.c (strcspn): Rewrite function.
4480         * string/bits/string2.h (strspn): Use __builtin_strcspn.
4481         (__strspn_c1): Remove inline function.
4482         (__strspn_c2): Likewise.
4483         (__strspn_c3): Likewise.
4484         * string/string-inlines.c
4485         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
4486         compatibility symbol.
4487         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
4488         Likewise.
4489         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
4490         Likewise.
4491         * string/string-inlines.c: Include generic version.
4493 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
4494             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4496         * string/Version (libc): Add GLIBC_2.24.
4497         * string/strcspn.c (strcspn): Rewrite function.
4498         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
4499         (__strcspn_c1): Remove inline function.
4500         (__strcspn_c2): Likewise.
4501         (__strcspn_c3): Likewise.
4502         * string/string-inline.c
4503         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
4504         compatibility symbol.
4505         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
4506         Likewise.
4507         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
4508         Likewise.
4509         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
4511 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4513         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4514         Use ahi instead of aghi to adjust stack pointer.
4516 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4518         [BZ #19853]
4519         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
4520         TEST to take significant digits as second parameter.
4521         [TEST]: Redefine in terms of TEST_N taking 30
4522         significant digits.
4523         (do_test): Add test case to demonstrate precision
4524         failure in the ldbl-128ibm printf.
4525         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
4526         (__mpn_extract_long_double): Carry 7 extra intermediate
4527         bits of precision to aide computing difference when
4528         signs differ.
4530 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4532         [BZ #19881]
4533         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4534         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
4535         memset-avx512-unaligned-erms.
4536         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4537         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
4538         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
4539         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
4540         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
4541         __memset_sse2_unaligned_erms, __memset_erms,
4542         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
4543         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4544         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
4545         file.
4546         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4547         Likewise.
4548         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
4549         Likewise.
4550         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
4551         Likewise.
4553 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4555         [BZ #19776]
4556         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4557         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
4558         memmove-avx512-unaligned-erms.
4559         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4560         (__libc_ifunc_impl_list): Test
4561         __memmove_chk_avx512_unaligned_2,
4562         __memmove_chk_avx512_unaligned_erms,
4563         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
4564         __memmove_chk_sse2_unaligned_2,
4565         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
4566         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
4567         __memmove_avx512_unaligned_erms, __memmove_erms,
4568         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
4569         __memcpy_chk_avx512_unaligned_2,
4570         __memcpy_chk_avx512_unaligned_erms,
4571         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
4572         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
4573         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
4574         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
4575         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
4576         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
4577         __mempcpy_chk_avx512_unaligned_erms,
4578         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
4579         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
4580         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
4581         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
4582         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
4583         __mempcpy_erms.
4584         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
4585         file.
4586         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4587         Likwise.
4588         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4589         Likwise.
4590         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4591         Likwise.
4593 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4595         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
4596         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
4597         (La_s390_64_regs): Likewise.
4598         (La_s390_32_retval): Append vector register lrv_v24.
4599         (La_s390_64_retval): Likeweise.
4600         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4601         Handle extended structs La_s390_32_regs and La_s390_32_retval.
4602         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4603         Handle extended structs La_s390_64_regs and La_s390_64_retval.
4605 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4607         [BZ #19916]
4608         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
4609         to create a non-vector/vector version for _dl_runtime_resolve and
4610         _dl_runtime_profile. Move implementation to ...
4611         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
4612         (_dl_runtime_resolve) Save and restore fpr/vrs.
4613         (_dl_runtime_profile) Save and restore vrs and fix some issues
4614         if _dl_call_pltexit is called.
4615         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
4616         Choose the correct resolver function if running on a machine with vx.
4617         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
4618         to create a non-vector/vector version for _dl_runtime_resolve and
4619         _dl_runtime_profile. Move implementation to ...
4620         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
4621         (_dl_runtime_resolve) Save and restore fpr/vrs.
4622         (_dl_runtime_profile) Save and restore vrs and fix some issues
4623         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
4624         Choose the correct resolver function if running on a machine with vx.
4626 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4628         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
4630 2016-03-31  Florian Weimer  <fweimer@redhat.com>
4632         [BZ #19509]
4633         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
4634         skip_map != NULL.
4635         * elf/tst-dlsym-error.c: New file.
4636         * elf/Makefile (tests): Add tst-dlsym-error.
4637         (tst-dlsym-error): Link against libdl.
4639 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
4641         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4642         (__ASSUME_FUTIMESAT): Remove macro.
4643         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
4645 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4647         [BZ #19879]
4648         CVE-2016-3075
4649         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
4650         copy name.
4652 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4654         [BZ #19837]
4655         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
4656         error if parse_line fails.
4658 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4660         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
4661         (index_cpu_ERMS): Likewise.
4662         (reg_ERMS): Likewise.
4664 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
4666         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
4667         PER_LINUX_FDPIC): Add.
4669 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4671         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4672         memcpy-avx512-no-vzeroupper.
4673         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
4674         to ...
4675         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
4676         (MEMCPY): Don't define.
4677         (MEMCPY_CHK): Likewise.
4678         (MEMPCPY): Likewise.
4679         (MEMPCPY_CHK): Likewise.
4680         (MEMPCPY_CHK): Renamed to ...
4681         (__mempcpy_chk_avx512_no_vzeroupper): This.
4682         (MEMPCPY_CHK): Renamed to ...
4683         (__mempcpy_chk_avx512_no_vzeroupper): This.
4684         (MEMCPY_CHK): Renamed to ...
4685         (__memmove_chk_avx512_no_vzeroupper): This.
4686         (MEMCPY): Renamed to ...
4687         (__memmove_avx512_no_vzeroupper): This.
4688         (__memcpy_avx512_no_vzeroupper): New alias.
4689         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
4691 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4693         [BZ #18858]
4694         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4695         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
4696         and mempcpy-avx512-no-vzeroupper.
4697         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
4698         New.
4699         (MEMPCPY): Likewise.
4700         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
4701         (MEMPCPY_CHK): New.
4702         (MEMPCPY): Likewise.
4703         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
4704         (MEMPCPY): Likewise.
4705         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
4706         (MEMPCPY): Likewise.
4707         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
4708         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
4709         Likewise.
4710         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
4711         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
4713 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4714              Amit Pawar  <Amit.Pawar@amd.com>
4716         [BZ #19583]
4717         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4718         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
4719         processors.  Set Fast_Copy_Backward for AMD Excavator
4720         processors.
4721         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
4722         New.
4723         (index_arch_Fast_Unaligned_Copy): Likewise.
4724         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
4725         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
4727 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4729         [BZ #19791]
4730         * resolv/res_send.c (close_and_return_error): New function.
4731         (send_dg): Initialize *resplen2 after reopen failure.  Call
4732         close_and_return_error for error returns.  On error paths without
4733         __res_iclose, initialze *resplen2 explicitly.  Update comment for
4734         successful return.
4736 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4738         [BZ# 19860]
4739         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
4740         zero if the compiler does not provide the AVX512F bit.
4742 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
4744         [BZ #19848]
4745         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
4746         from 8 to 4.
4747         (__ieee754_powl): Compare integer exponent against 4 not 8.
4748         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
4749         from 8 to 4.
4750         (__ieee754_powl): Compare integer exponent against 4 not 8.
4751         * math/auto-libm-test-in: Add more tests of pow.
4752         * math/auto-libm-test-out: Regenerated.
4753         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
4754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4756 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4758         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
4759         Make code unconditional.
4760         [!__NR_utimensat]: Remove conditional code.
4761         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
4762         Make code unconditional.
4763         [!__NR_utimensat]: Remove conditional code.
4764         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
4765         Make code unconditional.
4766         [!__NR_utimensat]: Remove conditional code.
4768 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4770         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
4771         Make code unconditional.
4773 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
4775         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
4776         call-clobbered %eax on retry path.
4777         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4779 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4781         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
4782         Don't set %rcx twice before "rep movsb".
4784 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4786         [BZ #19583]
4787         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
4788         inline.  Check family before setting family, model and
4789         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
4790         bits here.
4791         (init_cpu_features): Replace HAS_CPU_FEATURE and
4792         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
4793         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
4794         for Intel processors with usable AVX2.  Call get_common_indeces
4795         for other processors with family == NULL.
4796         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
4797         (CPU_FEATURES_ARCH_P): Likewise.
4798         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
4799         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
4801 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4803         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
4804         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
4805         $(shared-thread-library) instead of hardcoding the path to libpthread.
4807 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
4809         * sysdeps/unix/sysv/linux/kernel-features.h
4810         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
4811         * sysdeps/unix/sysv/linux/getdents.c
4812         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
4813         [!have_no_getdents64_defined]: Likewise.
4814         (__GETDENTS): Remove __have_no_getdents64 conditional.
4816 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
4818         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
4819         Remove macro.
4820         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
4821         <kernel-features.h>.
4822         (signalfd) [__NR_signalfd4]: Make code unconditional.
4823         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
4825 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4827         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
4828         style.
4830 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
4832         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
4833         (__pthread_enable_asynccancel): Use JUMPTARGET to call
4834         __pthread_unwind.
4835         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4836         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
4837         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4838         (__condvar_cleanup1): Likewise.
4840 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
4842         [BZ #19822]
4843         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
4844         move it to the final $@ location.
4846 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4848         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
4849         access where posix_spawn success and pid argument is null.
4850         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
4851         success case.
4853 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
4855         * sysdeps/mach/hurd/i386/c++-types.data: New file.
4857         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
4859         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
4860         and __fcntl.
4861         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
4862         __fcntl only.
4863         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
4864         adding attribute_hidden to __open and __fcntl.
4866         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
4867         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
4868         depend on libc-modules.h,
4869         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
4871 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
4873         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
4874         Remove macro.
4875         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
4876         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
4877         entry.
4879         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
4880         Remove macro.
4881         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
4882         include <kernel-features.h>.
4883         [!__ASSUME_FALLOCATE]: Remove conditional code.
4884         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
4886 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4888         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
4889         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
4890         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
4891         (_ZGVdN4v_cos_avx2): Likewise.
4892         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
4893         (_ZGVdN4v_cos): Likewise.
4894         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
4895         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
4896         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
4897         (_ZGVdN4v_exp_avx2): Likewise.
4898         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
4899         (_ZGVdN4v_exp): Likewise.
4900         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
4901         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
4902         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
4903         (_ZGVdN4v_log_avx2): Likewise.
4904         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
4905         (_ZGVdN4v_log): Likewise.
4906         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
4907         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
4908         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
4909         (_ZGVdN4vv_pow_avx2): Likewise.
4910         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
4911         (_ZGVdN4vv_pow): Likewise.
4912         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
4913         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
4914         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
4915         (_ZGVdN4v_sin_avx2): Likewise.
4916         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
4917         (_ZGVdN4v_sin): Likewise.
4918         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
4919         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
4920         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
4921         (_ZGVdN4vvv_sincos_avx2): Likewise.
4922         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
4923         (_ZGVdN4vvv_sincos): Likewise.
4924         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
4925         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
4926         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
4927         (_ZGVbN4v_cosf_sse4): Likewise.
4928         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
4929         (_ZGVdN8v_cosf_avx2): Likewise.
4930         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
4931         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
4932         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
4933         (_ZGVbN4v_expf_sse4): Likewise.
4934         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
4935         (_ZGVdN8v_expf_avx2): Likewise.
4936         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
4937         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
4938         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
4939         (_ZGVbN4v_logf_sse4): Likewise.
4940         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
4941         (_ZGVdN8v_logf_avx2): Likewise.
4942         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
4943         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
4944         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
4945         (_ZGVbN4vv_powf_sse4): Likewise.
4946         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
4947         (_ZGVdN8vv_powf_avx2): Likewise.
4948         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4949         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
4950         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4951         (_ZGVbN4vvv_sincosf_sse4): Likewise.
4952         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4953         (_ZGVdN8vvv_sincosf_avx2): Likewise.
4954         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
4955         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
4956         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
4957         (_ZGVbN4v_sinf_sse4): Likewise.
4958         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
4959         (_ZGVdN8v_sinf_avx2): Likewise.
4960         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4961         Use JUMPTARGET to call callee.
4962         (WRAPPER_IMPL_SSE2_ff): Likewise.
4963         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4964         (WRAPPER_IMPL_AVX): Likewise.
4965         (WRAPPER_IMPL_AVX_ff): Likewise.
4966         (WRAPPER_IMPL_AVX_fFF): Likewise.
4967         (WRAPPER_IMPL_AVX512): Likewise.
4968         (WRAPPER_IMPL_AVX512_ff): Likewise.
4969         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4970         Likewise.
4971         (WRAPPER_IMPL_SSE2_ff): Likewise.
4972         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4973         (WRAPPER_IMPL_AVX): Likewise.
4974         (WRAPPER_IMPL_AVX_ff): Likewise.
4975         (WRAPPER_IMPL_AVX_fFF): Likewise.
4976         (WRAPPER_IMPL_AVX512): Likewise.
4977         (WRAPPER_IMPL_AVX512_ff): Likewise.
4978         (WRAPPER_IMPL_AVX512_fFF): Likewise.
4980 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4982         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
4983         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
4984         qualifier.
4985         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
4986         internal_function qualifiers.
4988 2016-03-15  Carlos O'Donell <carlos@redhat.com>
4990         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
4991         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
4992         * math/atest-exp.c (exp_mpn): Mark chk unused.
4993         * math/atest-exp2.c (exp_mpn): Likwise.
4994         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
4995         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
4997 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
4999         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
5000         Remove macro.
5001         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
5002         <kernel-features.h>.
5003         [__NR_ppoll]: Make code unconditional.
5004         [!__ASSUME_PPOLL]: Remove conditional code.
5006         * sysdeps/unix/sysv/linux/kernel-features.h
5007         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
5008         (__ASSUME_ACCEPT4): Likewise.
5009         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5010         Define.
5011         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
5012         Likewise.
5013         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5014         Likewise.
5015         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
5016         Likewise.
5017         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
5018         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
5019         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5020         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5021         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5022         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5023         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5024         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5025         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5026         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5027         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5028         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5029         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5030         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5031         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5032         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5033         Likewise.
5034         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5035         Likewise.
5036         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5037         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5038         0x040300].
5039         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5040         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5041         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5042         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5043         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5044         0x030300].
5045         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
5046         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5047         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5048         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5049         0x040300].
5050         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5051         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5052         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5053         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5054         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5055         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5056         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5057         0x030300].
5058         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5059         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5060         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5061         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5062         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5063         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5064         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5065         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5066         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5067         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5068         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5069         0x040300].
5070         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5071         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5072         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5073         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5074         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5075         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5076         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5077         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5078         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5079         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5080         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5081         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5082         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5083         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5084         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5085         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5086         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5087         Likewise.
5088         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5089         Likewise.
5091 2016-03-15  Andreas Schwab  <schwab@suse.de>
5093         [BZ #19257]
5094         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
5095         statp->_u._ext.nscount as loop count.
5097 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5099         * math/test-signgam-finite-c99.c: Also #undef
5100         __LIBC_INTERNAL_MATH_INLINES.
5101         * math/test-signgam-main.c: Likewise.
5103 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
5105         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
5106         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
5107         (MADV_FREE): Likewise.
5108         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
5109         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
5110         EPOLLEXCLUSIVE.
5112 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
5114         * timezone/README: Remove mention of checktab.awk. Mention wiki
5115         SharedSourceFiles.
5117 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
5119         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
5120         WUNTRACED.
5122 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5124         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
5125         order to match the type of p when calling atomic_exchange_acq().
5127 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5129         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
5130         cfi_offset calls.
5131         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
5132         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
5133         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
5134         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
5135         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
5137 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
5139         * timezone/checktab.awk: Removed.
5141 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
5143         * manual/math.texi (Errors in Math Functions): Document relaxed
5144         accuracy goals for IBM long double.
5145         * math/libm-test.inc (test_exceptions): Always allow spurious
5146         "underflow" and "inexact" exceptions for IBM long double.
5148 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
5150         [BZ #19762]
5151         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5152         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
5153         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
5154         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
5155         (bit_arch_*): This for feature array.
5156         (bit_*): Renamed to ...
5157         (bit_cpu_*): This for cpu array.
5158         (index_*): Renamed to ...
5159         (index_arch_*): This for feature array.
5160         (index_*): Renamed to ...
5161         (index_cpu_*): This for cpu array.
5162         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
5163         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
5164         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
5165         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
5166         bit_##name with index_cpu_##name and bit_cpu_##name.
5167         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
5168         bit_##name with index_arch_##name and bit_arch_##name.
5170 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
5172         [BZ #19792]
5173         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5174         Terminate FDE before return label.
5176 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
5178         [BZ #19790]
5179         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
5180         (rintl): Define as macro.
5181         [USE_AS_NEARBYINTL] (__rintl): Likewise.
5182         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
5183         of fesetround.  Ensure results are evaluated before end of scope.
5184         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
5185         USE_AS_NEARBYINTL and include s_rintl.c.
5186         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
5187         Disable exception traps in new environment.
5188         (libc_feholdsetround_ppc_ctx): Likewise.
5190 2016-03-08  Roland McGrath  <roland@hack.frob.com>
5192         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
5193         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
5194         (tst_audit10_aux) [__AVX512F__]: ... here.
5196 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
5198         * include/sys/auxv.h: New file.
5200 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5202         [BZ #19759]
5203         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
5205 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5207         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
5208         operand modifier.
5209         (feclearexcept): Likewise.
5211 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5213         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
5214         to reflect the entire 32-bit HWCAP.
5215         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
5216         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
5218 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5220         [BZ #19783]
5221         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
5222         $(test-via-rtld-prefix).
5223         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
5225 2016-03-08  Florian Weimer  <fweimer@redhat.com>
5227         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
5228         union wait.  Report any non-zero exit status as error.
5230 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5232         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
5233         configured with --enable-hardcoded-path-in-tests.
5235 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
5237         [BZ #19677]
5238         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5239         (__ieee754_remainderl): Put zero low parts in canonical form.
5240         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
5241         file.  Based on
5242         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
5243         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
5244         with wrapper round test-fmodrem-ldbl-128ibm.c.
5245         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
5246         file.
5247         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
5248         Likewise.
5249         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5250         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
5252 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5254         [BZ #19610]
5255         * elf/ldconfig.c (opt_link): Update comment.
5256         (options): Update help string for option -X.
5257         (search_dir): Unlink stale symbolic link only if updating symbolic
5258         links.
5259         * elf/tst-ldconfig-X.sh: New file.
5260         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
5261         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
5263 2016-03-07  Andreas Schwab  <schwab@suse.de>
5265         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
5266         needed arguments.
5268 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
5270         [BZ #15333]
5271         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
5272         to lstat64.
5274 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5276         * libio/filedoalloc.c (isatty): Remove.
5277         (local_isatty): Add comment.  Call __isatty directly.
5278         (_IO_file_doallocate): Update comment.  Assume _LIBC.
5279         * libio/wfiledoalloc.c (isatty): Remove.
5280         (_IO_wfile_doallocate): Update comment.
5282 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5284         [BZ #19269]
5285         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
5286         tst-audit4-aux.o.
5287         (tst-audit10): Depend on tst-audit10-aux.o.
5288         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
5289         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
5290         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
5291         instead of inline AVX code.
5292         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
5293         instead of inline AVX512 code.
5294         * sysdeps/x86_64/tst-audit4-aux.c: New file
5295         * sysdeps/x86_64/tst-audit10-aux.c: New file
5297         [BZ #19648]
5298         * test-skeleton.c (main): Do not set RLIMIT_DATA.
5300 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5302         [BZ #14750]
5303         [BZ #10354]
5304         [BZ #18433]
5305         * include/sched.h (__clone): Add hidden prototype.
5306         (__clone2): Likewise.
5307         * include/unistd.h (__dup): Likewise.
5308         * posix/Makefile (tests): Add tst-spawn2.
5309         * posix/tst-spawn2.c: New file.
5310         * sysdeps/posix/dup.c (__dup): Add hidden definition.
5311         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
5312         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5313         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5314         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5315         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5316         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
5317         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5318         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
5319         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5320         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5322         Likewise.
5323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5324         Likewise.
5325         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5326         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5327         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5328         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5329         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5330         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5331         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5332         * sysdeps/unix/sysv/linux/nptl-signals.h
5333         (____nptl_is_internal_signal): New function.
5334         * sysdeps/unix/sysv/linux/spawni.c: New file.
5336         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
5337         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
5338         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
5339         * posix/tst-execvp2.c (do_test): Likewise.
5340         * posix/tst-execvp3.c (do_test): Likewise.
5341         * posix/tst-execvp4.c (do_test): Likewise.
5342         * posix/tst-execvpe1.c: New file.
5343         * posix/tst-execvpe2.c: Likewise.
5344         * posix/tst-execvpe3.c: Likewise.
5345         * posix/tst-execvpe4.c: Likewise.
5346         * posix/tst-execvpe5.c: Likewise.
5347         * posix/tst-execvpe6.c: Likewise.
5349         [BZ #19534]
5350         * posix/execl.c (execl): Remove dynamic memory allocation.
5351         * posix/execle.c (execle): Likewise.
5352         * posix/execlp.c (execlp): Likewise.
5354 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5356         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
5357         Replace .text with .text.avx512.
5358         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5359         Likewise.
5361 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
5363         * sysdeps/generic/libnsl.abilist: New file.
5364         * sysdeps/generic/libutil.abilist: New file.
5366 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5368         [BZ #19762]
5369         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
5370         HAS_ARCH_FEATURE with Fast_Rep_String.
5371         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
5372         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
5373         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
5374         Likewise.
5375         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
5376         Likewise.
5377         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
5378         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
5379         Likewise.
5380         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
5381         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
5382         Likewise.
5384 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5386         [BZ #19745]
5387         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
5388         with *%rax in call.
5390 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5392         [BZ #19745]
5393         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
5394         with *__libc_start_main@GOTPCREL(%rip) in call.
5396 2016-03-04  Roland McGrath  <roland@hack.frob.com>
5398         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
5399         inside conditional for nonempty $(CXX).
5401         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
5402         nonempty.
5404         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
5405         to test for empty $(CXX) rather than $(CXX) of "no".
5407 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5409         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
5411 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
5412             H.J. Lu  <hongjiu.lu@intel.com>
5414         [BZ #18880]
5415         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
5416         instead of Slow_BSF, and also check for Fast_Copy_Backward to
5417         enable __memcpy_ssse3_back.
5419 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5421         [BZ #19758]
5422         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5423         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
5425 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
5427         [BZ #19490]
5428         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
5429         (__fentry__): Likewise.
5431 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5433         * gmon/Makefile (noprof): Add $(sysdep_noprof).
5434         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
5436 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5438         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
5439         __mcount_internal directly.
5440         (C_LABEL(__fentry__)): Likewise.
5441         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
5442         directly.
5444 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5446         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5447         (__start_context): Call __setcontext directly.
5449 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
5451         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5452         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5453         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
5454         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5455         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5456         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5457         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
5458         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5459         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5460         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
5461         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5462         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5463         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5464         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5465         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5466         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5467         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
5468         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5469         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5470         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5471         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
5472         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5473         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5474         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5475         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
5476         Remove conditional code.
5477         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5478         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
5479         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5480         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5481         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
5482         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5483         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5484         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5485         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5486         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5487         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5488         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5490 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
5492         * NEWS (2.23): Fix typo in bug 19048 text.
5494 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
5496         [BZ #14259]
5497         * Makeconfig: Rename msgcatdir to localedir.
5498         Rename inst_msgcatdir to inst_localedir.
5499         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
5500         * config.make.in: Add localedir.
5501         * elf/Makefile ($(objpfx)sotruss): Use localedir.
5502         (ldd-rewrite): Likewise.
5503         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
5504         (install-others): Use inst_localedir.
5505         (CPPFLAGS): Use localedir.
5506         * locale/Makefile (locale-CPPFLAGS): Likewise.
5507         * po/Makefile (mo-installed): Use inst_localedir.
5509         [BZ #19575]
5510         * localedata/charmaps/GB18030: Update comments regarding PAU to
5511         non-PUA mappings.
5513 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
5515         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
5516         test for header.
5517         * sysdeps/unix/sysv/linux/configure: Regenerated.
5518         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
5519         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
5520         Remove conditional code.
5521         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
5523         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5524         Define to 3.2.0.
5525         (arch_minimum_kernel): Likewise.
5526         * sysdeps/unix/sysv/linux/configure: Regenerated.
5527         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5528         Define to 2.6.32.
5529         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5530         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5531         (arch_minimum_kernel): Define to 2.6.32.
5532         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5533         * README: Document Linux 3.2 requirement.
5534         * manual/install.texi (Linux): Document Linux 3.2 headers
5535         requirement.
5536         * INSTALL: Regenerated.
5538 2016-02-24  Andreas Schwab  <schwab@suse.de>
5540         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
5541         if !NO_LONG_DOUBLE.
5543 2016-02-22  Roland McGrath  <roland@hack.frob.com>
5545         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
5546         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
5548 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
5550         [BZ #19512]
5551         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
5553 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5555         * posix/tst-dir.c: Include libc-internal.h.
5557 2016-02-20  Florian Weimer  <fweimer@redhat.com>
5559         [BZ #19056]
5560         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
5561         * manual/filesys.texi (Reading/Closing Directory): Mention
5562         deprecaion.
5563         * posix/tst-dir.c (main): Disable deprecation warning in test.
5565 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
5567         [BZ #19679]
5568         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
5569         Renamed to ...
5570         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
5571         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5572         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
5573         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5574         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5575         * sysdeps/x86_64/dl-trampoline.h
5576         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5577         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5579 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5581         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
5583 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5585         * elf/elf.h (R_386_GOT32X): New.
5586         (R_386_NUM): Update.
5587         (R_X86_64_GOTPCRELX: New.
5588         (R_X86_64_REX_GOTPCRELX): New.
5589         (R_X86_64_NUM): Update.
5591 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
5593         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
5595 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
5597         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
5598         assign attr->stackaddr to it, and adjust it down when
5599         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
5600         [_STACK_GROWS_UP]: Delete assert.
5601         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
5602         Implement stack grows up logic.
5603         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
5604         stack grows up logic.
5606 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5608         * NEWS: Update with 2.24 template.
5610 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5612         [BZ #19678]
5613         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5614         Ensure +0.0 is returned when taking the next value below the least
5615         positive value.
5617 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5619         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
5620         available.  Do not define NO_THREADS.
5621         * malloc/malloc.c: Do not check NO_THREADS.
5622         * malloc/arena.c: Likewise.
5624 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5626         * malloc/malloc.c (__libc_mallinfo): Update comment.
5627         (struct malloc_par): Remove max_total_mem member, it was always 0.
5628         (int_mallinfo): Store 0 into usmblks (no functional change).
5629         * malloc/hooks.c (struct malloc_state): Document that
5630         max_total_mem is always 0.
5631         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
5632         always 0.
5633         * manual/memory.texi (Statistics of Malloc): Likewise.
5635 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5637         * malloc/malloc.c (sysmalloc): Do not update arena_max.
5638         * malloc/arena.c (arena_max): Remove.
5639         (heap_trim, _int_new_arena): Do not update arena_max.
5641 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5643         * resolv/res_init.c (res_ninit): Update comment.
5645 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5647         [BZ #19505]
5648         * posix/spawn_int.h: Add headers and include guard.
5649         (__spawn_valid_fd): New function.
5650         * posix/spawn_faction_addopen.c
5651         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
5652         * posix/spawn_faction_addclose.c
5653         (posix_spawn_file_actions_addclose): Likewise.
5654         * posix/spawn_faction_adddup2.c
5655         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
5656         second file descriptor.
5657         * posix/spawn_valid_fd.c: New file.
5658         * posix/tst-posix_spawn-fd.c: New file.
5659         * posix/Makefile (routines): Add spawn_valid_fd.
5660         (tests): Add tst-posix_spawn-fd.
5662 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5664         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
5665         (do_test): Limit the number of arenas, so that we can use fewer
5666         outer threads.  Limit timeout to 3 seconds, in preparation for a
5667         larger TIMEOUT value.
5669 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5671         [BZ #19674]
5672         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
5673         sign in overflowing and underflowing results when overflow or
5674         underflow is detected early.  Include sign in result before rather
5675         than after scaling.
5677         [BZ #19603]
5678         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5679         (__ieee754_remainderl): Adjust sign of integer version of low part
5680         when taking absolute value of high part.
5681         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5682         * math/libm-test.inc (remainder_test_data): Add another test.
5683         (remquo_test_data): Likewise.
5685 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
5687         [BZ #19602]
5688         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
5689         equal high parts and both low parts zero specially.
5690         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
5691         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5692         Add test-fmodl-ldbl-128ibm.
5694         [BZ #19595]
5695         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
5696         common logic for all cases of shifting subnormal results.  Do not
5697         insert sign bit in shifted mantissa.  Always pass -1023 as biased
5698         exponent to ldbl_insert_mantissa in subnormal case.
5700         [BZ #19594]
5701         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
5702         on high and low parts then adjust result and use
5703         ldbl_canonicalize_int if needed.
5705         [BZ #19593]
5706         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
5707         on high part and __floor or __ceil on low part then use
5708         ldbl_canonicalize_int if needed.
5710         [BZ #19592]
5711         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
5712         high and low parts then use ldbl_canonicalize_int if needed.
5714         [BZ #17899]
5715         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5716         New function.
5717         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
5718         on high and low parts then use ldbl_canonicalize_int if needed.
5720 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5722         * configure: Regenerated.
5724         * po/libc.pot: Regenerated.
5726         * po/be.po: Updated translation.
5727         * po/bg.po: Likewise.
5728         * po/ca.po: Likewise.
5729         * po/cs.po: Likewise.
5730         * po/da.po: Likewise.
5731         * po/el.po: Likewise.
5732         * po/eo.po: Likewise.
5733         * po/es.po: Likewise.
5734         * po/fi.po: Likewise.
5735         * po/fr.po: Likewise.
5736         * po/gl.po: Likewise.
5737         * po/hr.po: Likewise.
5738         * po/hu.po: Likewise.
5739         * po/ia.po: Likewise.
5740         * po/id.po: Likewise.
5741         * po/it.po: Likewise.
5742         * po/ja.po: Likewise.
5743         * po/lt.po: Likewise.
5744         * po/nb.po: Likewise.
5745         * po/nl.po: Likewise.
5746         * po/pt_BR.po: Likewise.
5747         * po/rw.po: Likewise.
5748         * po/sk.po: Likewise.
5749         * po/sl.po: Likewise.
5750         * po/sv.po: Likewise.
5751         * po/tr.po: Likewise.
5752         * po/zh_CN.po: Likewise.
5753         * po/zh_TW.po: Likewise.
5755         * version.h (RELEAES): Set to "development".
5756         (VERSION): Set to 2.23.90.
5758         * version.h (RELEASE): Set to "stable".
5759         (VERSION): Set to 2.23.
5760         * include/feature.h (__GLIBC_MINOR__): Set to 23.
5762         * NEWS: Updated fixed bugs.
5764 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
5765             Wilco Dijkstra  <wdijkstr@arm.com>
5767         [BZ #19462]
5768         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
5769         (_STRING_INLINE_unaligned): This.
5770         * include/string.h: Include <string_private.h>.
5771         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
5772         _STRING_INLINE_unaligned.
5773         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
5774         (_STRING_INLINE_unaligned): New.
5775         * sysdeps/aarch64/string_private.h: New file.
5776         * sysdeps/generic/string_private.h: Likewise.
5777         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
5778         * sysdeps/s390/string_private.h: Likewise.
5779         * sysdeps/x86/string_private.h: Likewise.
5780         * sysdeps/m68k/m680x0/m68020/bits/string.h
5781         (_STRING_ARCH_unaligned): Renamed to ...
5782         (_STRING_INLINE_unaligned): This.
5783         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
5784         to ...
5785         (_STRING_INLINE_unaligned): This.
5786         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
5787         to ...
5788         (_STRING_INLINE_unaligned): This.
5789         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
5790         to ...
5791         (_STRING_INLINE_unaligned): This.
5793 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
5794             H.J. Lu  <hongjiu.lu@intel.com>
5796         [BZ #19590]
5797         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
5798         relocation.
5800 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
5802         [BZ #18665]
5803         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
5804         *herrno_p.
5805         (gaih_getanswer): Document functional behviour. Return tryagain
5806         if any result is tryagain.
5807         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
5808         when freed.
5809         * resolv/res_send.c: Add copyright text.
5810         (__libc_res_nsend): Document that MAXPACKET is expected.
5811         (send_vc): Document. Remove buffer reuse.
5812         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
5813         size of the buffer. Add Dprint for truncated UDP buffer.
5815 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
5817         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
5818         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
5819         * INSTALL: Regenerate.
5821 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
5822             Jonathan Wakely  <jwakely@redhat.com>
5823             Carlos O'Donell  <carlos@redhat.com>
5825         [BZ 19439]
5826         * math/Makefile (tests): Add test-math-isinff.
5827         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
5828         * math/bits/mathcalls.h [__USE_MISC]: Use
5829         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
5830         functions not in C++11 and which don't conflict e.g. isinff,
5831         isinfl etc.
5832         * math/test-math-isinff.cc: New file.
5834 2016-02-12  Florian Weimer  <fweimer@redhat.com>
5836         * misc/bug18240.c (do_test): Set RLIMIT_AS.
5838 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5840         [BZ #19529]
5841         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
5843 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5845         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5847 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
5849         [BZ #19550]
5850         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
5851         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
5852         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
5853         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
5854         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
5855         New syscall entry.
5856         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
5857         New syscall entry.
5858         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
5859         syscall entry.
5861 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
5863         [BZ #18240]
5864         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
5865         unsigned int wraparound.
5867 2016-01-27  Florian Weimer  <fweimer@redhat.com>
5869         [BZ #18240]
5870         * misc/bug18240.c: New test.
5871         * misc/Makefile (tests): Add it.
5873 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
5874             Joseph Myers  <joseph@codesourcery.com>
5876         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
5877         load in branch delay slot when less than a word of input left.
5879 2016-01-27  Andreas Schwab  <schwab@suse.de>
5881         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
5882         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
5883         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
5884         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
5886 2016-01-26  David S. Miller  <davem@davemloft.net>
5888         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
5890 2016-01-25  David S. Miller  <davem@davemloft.net>
5892         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
5893         __sqrtl_finite.
5894         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
5895         instead using versioned_symbol.
5896         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
5897         of entries.
5899         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
5900         __sqrtl_finite to GLIBC_2.23
5902 2016-01-25  Ricchard Henderson  <rth@redhat.com>
5904         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5906 2016-01-25  Andreas Schwab  <schwab@suse.de>
5908         [BZ #17514]
5909         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
5910         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
5911         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
5912         * nptl/tst-mutex-errorcheck.c: New file.
5914 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5916         [BZ #18560]
5917         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
5918         (IPCOP_semop): Likewise.
5919         (IPCOP_semget): Likewise.
5920         (IPCOP_semctl): Likewise.
5921         (IPCOP_msgsnd): Likewise.
5922         (IPCOP_msgrcv): Likewise.
5923         (IPCOP_msgget): Likewise.
5924         (IPCOP_msgctl): Likewise.
5925         (IPCOP_shmat): Likewise.
5926         (IPCOP_shmdt): Likewise.
5927         (IPCOP_shmget): Likewise.
5928         (IPCOP_shmctl): Likewise.
5930 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5932         * string/tst-endian.c: Include <libc-internal.h>.
5933         (do_test): Ignore tautological-compare warnings around
5934         "htobeXX (beXXtoh (i)) != i" and
5935         "htoleXX (leXXtoh (i)) != i" if-statements.
5937 2016-01-24  David S. Miller  <davem@davemloft.net>
5939         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
5940         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
5941         alias.
5942         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5943         __sqrtl_finite.
5945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5947 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
5949         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
5950         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
5951         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5953 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5955         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
5956         (thread_func): Use new function to simplify barrier check.
5957         (do_test): Use new function to simplify checking barrier exit
5958         code, and actually join the child thread.
5960 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5962         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
5963         semicolon.
5964         (__libc_tend): Likewise.
5965         (__libc_tabort): Likewise.
5967 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
5969         * sysdeps/nios2/libm-test-ulps: Update.
5970         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
5971         (__gtsf2): Likewise.
5972         (__unorddf2): Likewise.
5973         (__unordsf2): Likewise.
5974         (__ledf2): Likewise.
5976 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
5978         * nis/nis_table.c (__follow_path): Disable diagnostic for
5979         uninitialized variable that is a false positive for gcc 4.7.
5980         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
5982 2016-01-20  Roland McGrath  <roland@hack.frob.com>
5984         * sysdeps/nacl/lowlevellock-futex.h
5985         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
5986         Always evaluate PRIVATE argument.
5988 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
5990         [BZ #19490]
5991         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
5992         (pthread_cond_broadcast): Use ENTRY/END
5993         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
5994         (pthread_cond_signal): Likewise.
5995         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
5996         Likewise.
5997         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
5998         Likewise.
5999         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
6000         Likewise.
6002 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
6004         * sysdeps/ieee754/dbl-64/s_finite.c
6005         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
6006         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
6007         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
6008         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
6009         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
6011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6012         (__gtsf2): Add as optional for libc.so.
6013         (__unordsf2): Likewise.
6014         (__signbit): Remove for libc.so.
6015         (__signbitl): Likewise.
6017 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
6019         * iconvdata/bug-iconv11.c (test_ibm93x):
6020         Use %zu printf format specifier for size_t argument.
6022 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
6024         * math/gen-libm-test.pl (parse_ulps): Do not reduce
6025         already-recorded ulps.
6026         * sysdeps/arm/libm-test-ulps: Regenerated.
6027         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6028         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6029         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6031 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6032             Paul Pluzhnikov  <ppluzhnikov@google.com>
6034         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
6035         assembler not supporting AVX-512.
6037 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
6039         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6041 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
6043         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6044         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6046         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6048         * sysdeps/arm/libm-test-ulps: Regenerated.
6050 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6052         [BZ #19451]
6053         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
6055 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6057         [BZ #19486]
6058         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
6059         * sysdeps/generic/fix-fp-int-convert-overflow.h
6060         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
6061         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
6062         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
6063         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
6064         Likewise.
6065         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
6066         Avoid conversions to long int where inexact exceptions
6067         could be raised.
6068         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
6069         Likewise.
6070         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
6071         Avoid conversions to long long int where inexact exceptions
6072         could be raised.
6073         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
6074         Likewise.
6076 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
6078         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
6079         * configure: Regenerated.
6081 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
6083         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
6085 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
6087         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
6088         outside of comment.
6090 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6092         * nptl/tst-barrier1.c: Add description on first line.
6093         * nptl/tst-barrier2.c: Likewise.
6094         * nptl/tst-barrier3.c: Likewise.
6095         * nptl/tst-barrier4.c: Likewise.
6096         * nptl/tst-barrier5.c: Likewise.
6098 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6100         [BZ #18868]
6101         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
6103 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
6105         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
6106         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6107         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
6108         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
6109         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
6110         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
6111         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6112         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6113         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6114         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6115         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6117 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6119         [BZ #13065]
6120         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
6121         new implementation.
6122         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
6123         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
6124         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
6125         (BARRIER_IN_THRESHOLD): New macro.
6126         * nptl/pthread_barrierattr_setpshared.c
6127         (pthread_barrierattr_setpshared): Clean up.
6128         * nptl/tst-barrier4.c: Correct comment.
6129         * nptl/tst-barrier5.c: New file.
6130         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
6131         (gen-as-const-headers): Remove lowlevelbarrier.sym.
6132         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
6133         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
6134         * nptl/lowlevelbarrier.sym: Remove.
6135         * nptl/DESIGN-barrier.txt: Remove.
6136         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
6137         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
6138         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
6139         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
6140         error.
6141         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
6142         implementation.
6144 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6146         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
6147         (do_child): Mask SIGRTMIN while thr is running.
6149 2016-01-15  Martin Sebor  <msebor@redhat.com>
6151         [BZ #19432]
6152         * iconvdata/Makefile: Add bug-iconv11.
6153         * iconvdata/bug-iconv11.c: New test.
6154         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
6155         * iconvdata/ibm933.c: Same.
6156         * iconvdata/ibm935.c: Same.
6157         * iconvdata/ibm937.c: Same.
6158         * iconvdata/ibm939.c: Same.
6160 2016-01-15  Martin Sebor  <msebor@redhat.com>
6162         [BZ #19443]
6163         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
6164         [DEBUG] (_ufc_set_bits): Declare used.
6165         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
6166         [DEBUG] (print_all): Declare used.
6167         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
6168         operands of the ternary ?: expression to target type.
6169         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
6170         calling the undeclared abort.
6171         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
6173 2016-01-15  Martin Sebor  <msebor@redhat.com>
6175         [BZ #18755]
6176         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
6177         warnings.
6178         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
6179         (__gai_create_helper_thread): Same.
6180         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
6181         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
6182         to suppress -Wmaybe-uninitialized warnings.
6184 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
6186         [BZ #19465]
6187         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
6188         inside if.
6189         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6190         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6191         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6193 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
6195         [BZ #19466]
6196         * time/tst-mktime2.c (time_t_max): Removed.
6197         (time_t_min): Likewise.
6198         (TYPE_SIGNED): New.
6199         (TYPE_MINIMUM): Likewise.
6200         (TYPE_MAXIMUM): Likewise.
6201         (TIME_T_MIN): Likewise.
6202         (TIME_T_MAX): Likewise.
6203         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
6204         and TIME_T_MIN.
6205         (do_test): Likewise.
6207 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
6209         [BZ #19467]
6210         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6211         index_Fast_Unaligned_Load flag for Excavator family CPUs.
6213 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
6215         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
6217 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
6219         * benchtests/Makefile (PYTHON): Define.
6220         (bench-func): Use $(PYTHON) to run python scripts.
6221         ($(objpfx)bench-%.c): Likewise.
6223 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
6225         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
6226         leading slash when `file_name' is "/".
6228 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
6230         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
6231         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
6232         Likewise.
6233         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
6234         Likewise.
6235         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
6236         Likewise.
6237         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
6238         enum constant and macro.
6239         (PTRACE_SETSIGMASK): Likewise.
6240         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6241         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6242         (PTRACE_GETSIGMASK): Likewise.
6243         (PTRACE_SETSIGMASK): Likewise.
6244         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6245         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
6246         Likewise.
6247         (PTRACE_SETSIGMASK): Likewise.
6248         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6249         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6250         (PTRACE_GETSIGMASK): Likewise.
6251         (PTRACE_SETSIGMASK): Likewise.
6252         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6253         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
6254         Likewise.
6255         (PTRACE_SETSIGMASK): Likewise.
6256         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6257         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
6258         Likewise.
6259         (PTRACE_SETSIGMASK): Likewise.
6260         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6261         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
6262         Likewise.
6263         (PTRACE_SETSIGMASK): Likewise.
6264         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6266 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
6267             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6269         [BZ #19439]
6270         * math/bits/mathcalls.h
6271         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
6272         prototype.
6273         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
6275 2016-01-11  Andreas Schwab  <schwab@suse.de>
6277         [BZ #19253]
6278         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
6279         cache when TZDEFRULES was used.
6280         * time/tst-tzname.c: New file.
6281         * time/Makefile (test): Add tst-tzname.
6282         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
6283         * timezone/Makefile (test-zones): Add $(posixrules-file).
6284         ($(testdata)/$(posixrules-file)): New rule.
6286 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
6288         Fix doc quoting problems with Texinfo 5
6289         Without this change, in the info file output, Texinfo 5 quotes code
6290         in text with undirected single quotes 'like this' and generates
6291         code examples that with many PDF readers cannot be cut out of PDFs
6292         and pasted into code.
6293         * manual/libc.texinfo: Configure the libc manual like the GNU
6294         Emacs manual, by using @documentencoding and setting
6295         txicodequoteundirected and txicodequotebacktick.  This way,
6296         Texinfo 5 quotes code in text with directed single quotes ‘like
6297         this’ and produces examples that can be cut out of PDFs.  This
6298         change causes Texinfo 5 to generate info files that contain UTF-8
6299         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
6300         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
6302 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6304         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
6305         __libc_tabort, __libc_tend): New wrappers that enforce compiler
6306         barriers to their respective compiler built-ins.
6307         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
6308         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
6309         * sysdeps/powerpc/sysdep.h: Likewise.
6310         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
6311         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
6312         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
6314 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
6316         * scripts/config.guess: Revert previous shebang change.
6317         * scripts/config.sub: Likewise.
6318         * scripts/mkinstalldirs: Likewise.
6320 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6322         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
6323         PPC_FEATURE2_HAS_IEEE128.
6324         * sysdeps/powerpc/dl-procinfo.c:
6325         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
6327 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
6329         [BZ #19415]
6330         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
6331         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
6332         (_dl_lookup_address): Rewrite using function resolver trampoline.
6333         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
6334         two bits in address.
6336 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
6338         * longlong.h: Change !__SHMEDIA__ to
6339         (!defined (__SHMEDIA__) || !__SHMEDIA__).
6340         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
6342 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
6343             Joseph Myers  <joseph@codesourcery.com>
6344             Mark Shinwell  <shinwell@codesourcery.com>
6345             Andrew Stubbs  <ams@codesourcery.com>
6346             Rich Felker <dalias@libc.org>
6348         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
6350 2016-01-07  Richard Henderson  <rth@redhat.com>
6352         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
6354 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
6356         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
6357         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
6358         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6359         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6360         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
6362 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
6363             Joseph Myers  <joseph@codesourcery.com>
6365         * timezone/private.h: Update from tzcode 2015g.
6366         * timezone/tzfile.h: Likewise.
6367         * timezone/tzselect.ksh: Likewise.
6368         * timezone/zdump.c: Likewise.
6369         * timezone/zic.c: Likewise.
6370         * timezone/ialloc.c: Remove file.
6371         * timezone/scheck.c: Likewise.
6372         * timezone/Makefile (extra-objs): Remove variable.
6373         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
6374         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
6375         -Wno-maybe-uninitialized.
6376         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
6377         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
6378         (CFLAGS-ialloc.c): Remove variable.
6379         (CFLAGS-scheck.c): Likewise.
6380         * timezone/README: Update list of files from tzcode.
6382 2016-01-07  Khem Raj  <raj.khem@gmail.com>
6384         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
6385         instead of __fxprintf when _LIBC is undefined.
6387 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
6389         * catgets/test-gencat.sh: Remove space after shebang.
6390         * conform/GlibcConform.pm: Likewise.
6391         * conform/check-header-lists.sh: Likewise.
6392         * conform/conformtest.pl: Likewise.
6393         * conform/linknamespace.pl: Likewise.
6394         * conform/list-header-symbols.pl: Likewise.
6395         * debug/catchsegv.sh: Likewise.
6396         * elf/genrtldtbl.awk: Likewise.
6397         * elf/tst-pathopt.sh: Likewise.
6398         * elf/tst-rtld-load-self.sh: Likewise.
6399         * grp/tst_fgetgrent.sh: Likewise.
6400         * iconvdata/gen-8bit-gap-1.sh: Likewise.
6401         * iconvdata/gen-8bit-gap.sh: Likewise.
6402         * iconvdata/gen-8bit.sh: Likewise.
6403         * iconvdata/run-iconv-test.sh: Likewise.
6404         * intl/tst-gettext.sh: Likewise.
6405         * intl/tst-gettext2.sh: Likewise.
6406         * intl/tst-gettext4.sh: Likewise.
6407         * intl/tst-gettext6.sh: Likewise.
6408         * intl/tst-translit.sh: Likewise.
6409         * io/ftwtest-sh: Likewise.
6410         * libio/test-freopen.sh: Likewise.
6411         * locale/gen-translit.pl: Likewise.
6412         * malloc/tst-mtrace.sh: Likewise.
6413         * manual/check-safety.sh: Likewise.
6414         * manual/libc-texinfo.sh: Likewise.
6415         * manual/tsort.awk: Likewise.
6416         * manual/xtract-typefun.awk: Likewise.
6417         * nptl/tst-cancel-wrappers.sh: Likewise.
6418         * nptl/tst-tls6.sh: Likewise.
6419         * posix/globtest.sh: Likewise.
6420         * posix/tst-getconf.sh: Likewise.
6421         * posix/wordexp-tst.sh: Likewise.
6422         * scripts/check-c++-types.sh: Likewise.
6423         * scripts/check-local-headers.sh: Likewise.
6424         * scripts/config.guess: Likewise.
6425         * scripts/config.sub: Likewise.
6426         * scripts/cpp: Likewise.
6427         * scripts/cross-test-ssh.sh: Likewise.
6428         * scripts/documented.sh: Likewise.
6429         * scripts/evaluate-test.sh: Likewise.
6430         * scripts/gen-libc-abis: Likewise.
6431         * scripts/gen-sorted.awk: Likewise.
6432         * scripts/list-fixed-bugs.py: Likewise.
6433         * scripts/merge-test-results.sh: Likewise.
6434         * scripts/mkinstalldirs: Likewise.
6435         * scripts/rellns-sh: Likewise.
6436         * scripts/test-installation.pl: Likewise.
6437         * scripts/update-copyrights: Likewise.
6438         * stdio-common/tst-printf.sh: Likewise.
6439         * stdio-common/tst-unbputc.sh: Likewise.
6440         * stdlib/tst-fmtmsg.sh: Likewise.
6441         * stdlib/tst-setcontext3.sh: Likewise.
6442         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
6443         * sysdeps/unix/make-syscalls.sh: Likewise.
6445 2016-01-06  John David Anglin  <dave.anglin@bell.net>
6447         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
6448         asm stw with atomic_exchange_rel.  Add explanatory comment.
6449         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
6450         Likewise.
6452 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6454         [BZ #19122]
6455         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
6456         * sysdeps/generic/dl-unistd.h: New file.
6457         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
6459 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6461          [BZ #19122]
6462          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
6463          * sysdeps/generic/dl-mman.h: New file.
6464          * sysdeps/mach/hurd/dl-mman.h: Likewise.
6466 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
6468         * manual/texinfo.tex: Update to version 2016-01-04.21 with
6469         trailing whitespace removed.
6470         * scripts/config.guess: Update to version 2016-01-01.
6471         * scripts/config.sub: Update to version 2016-01-01.
6472         * scripts/move-if-change: Update from gnulib.
6474 2016-01-04  Anton Blanchard  <anton@samba.org>
6476         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
6477         for array indices.
6478         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
6480 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
6482         * NEWS: Update copyright dates.
6483         * catgets/gencat.c (print_version): Likewise.
6484         * csu/version.c (banner): Likewise.
6485         * debug/catchsegv.sh: Likewise.
6486         * debug/pcprofiledump.c (print_version): Likewise.
6487         * debug/xtrace.sh (do_version): Likewise.
6488         * elf/ldconfig.c (print_version): Likewise.
6489         * elf/ldd.bash.in: Likewise.
6490         * elf/pldd.c (print_version): Likewise.
6491         * elf/sotruss.sh: Likewise.
6492         * elf/sprof.c (print_version): Likewise.
6493         * iconv/iconv_prog.c (print_version): Likewise.
6494         * iconv/iconvconfig.c (print_version): Likewise.
6495         * locale/programs/locale.c (print_version): Likewise.
6496         * locale/programs/localedef.c (print_version): Likewise.
6497         * login/programs/pt_chown.c (print_version): Likewise.
6498         * malloc/memusage.sh (do_version): Likewise.
6499         * malloc/memusagestat.c (print_version): Likewise.
6500         * malloc/mtrace.pl: Likewise.
6501         * manual/libc.texinfo: Likewise.
6502         * nptl/version.c (banner): Likewise.
6503         * nscd/nscd.c (print_version): Likewise.
6504         * nss/getent.c (print_version): Likewise.
6505         * nss/makedb.c (print_version): Likewise.
6506         * posix/getconf.c (main): Likewise.
6507         * scripts/test-installation.pl: Likewise.
6508         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6510         * All files with FSF copyright notices: Update copyright dates
6511         using scripts/update-copyrights.
6512         * intl/plural.c: Regenerated.
6513         * locale/programs/charmap-kw.h: Likewise.
6514         * locale/programs/locfile-kw.h: Likewise.
6516 2016-01-02  Helge Deller  <deller@gmx.de>
6518         [BZ #19285]
6519         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
6520         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
6521         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
6522         (MADV_xxK_PAGES): Remove.
6524 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
6526         [BZ #15421]
6527         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
6528         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
6529         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
6530         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
6532 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
6534         [BZ #19408]
6535         * sysdeps/unix/sysv/linux/personality.c: New file.
6536         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
6537         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
6538         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
6539         (sysdep_routines): Add personality.
6540         (tests): Add tst-personality.
6541         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
6542         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
6543         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
6544         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
6545         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
6546         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
6547         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
6548         Likewise.
6549         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
6550         Likewise.
6551         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
6552         Likewise.
6553         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
6554         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
6555         Likewise.
6557 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
6559         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
6560         (PATH_ARM_SYSTYPE): Remove.
6561         (PATH_CPUINFO): Likewise.
6562         (IO_BASE_FOOTBRIDGE): Likewise.
6563         (IO_SHIFT_FOOTBRIDGE): Likewise.
6564         (struct platform): Likewise.
6565         (init_iosys): Remove compatibility code for 2.4 kernels.
6566         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
6568 2015-12-29  Florian Weimer  <fweimer@redhat.com>
6570         * malloc/tst-malloc-thread-fail.c: New file.
6571         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
6572         (tst-malloc-thread-fail): Link against libpthread.
6574 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
6576         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
6577         (get_parser): New function.
6578         (main): New function.
6580 2015-12-29  Rob Wu  <rob@robwu.nl>
6582         [BZ #19369]
6583         * resolv/res_init.c (__res_vinit): Reset defdname before use.
6585 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
6587         [BZ #19270]
6588         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6590 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
6592         [BZ #15421]
6593         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
6595 2015-12-23  Torvald Riegel  <triegel@redhat.com>
6597         [BZ #13690]
6598         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
6599         after releasing it.
6600         (__lll_robust_unlock): Likewise.
6601         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6602         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
6603         (lll_robust_unlock): Likewise.
6604         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
6605         Prevent warnings in callers.
6607 2015-12-23  Florian Weimer  <fweimer@redhat.com>
6609         * malloc/arena.c (list_lock): Update comment.
6611 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6613         * sysdeps/powerpc/hwcapinfo.c: Export symbol
6614         __parse_hwcap_and_convert_at_platform to libc.a.
6616 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6618         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
6619         platform and feature support for POWER9.
6620         * sysdeps/powerpc/dl-procinfo.h: Likewise.
6621         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
6622         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
6623         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
6624         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
6625         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
6626         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
6627         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
6629 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6631         Harmonize generic stdio-lock support with nptl
6633         This fixes build when _IO_funlockfile is a macro, fixes build where
6634         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
6635         stack unwind.
6637         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
6638         _IO_release_lock ): Use cleanup attribute on new
6639         _IO_acquire_lock_file variable instead of assuming that
6640         _IO_release_lock will be called.
6641         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
6642         _IO_acquire_lock_needs_exceptions_enabled.
6643         (_IO_acquire_lock_clear_flags2): New macro.
6645 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6647         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6649 2015-12-21  Florian Weimer  <fweimer@redhat.com>
6651         [BZ #19182]
6652         * malloc/arena.c (list_lock): Document lock ordering requirements.
6653         (free_list_lock): New lock.
6654         (ptmalloc_lock_all): Comment on free_list_lock.
6655         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
6656         (detach_arena): Update comment.  free_list_lock is now needed.
6657         (_int_new_arena): Use free_list_lock around detach_arena call.
6658         Acquire arena lock after list_lock.  Add comment, including FIXME
6659         about incorrect synchronization.
6660         (get_free_list): Switch to free_list_lock.
6661         (reused_arena): Acquire free_list_lock around detach_arena call
6662         and attached threads counter update.  Add two FIXMEs about
6663         incorrect synchronization.
6664         (arena_thread_freeres): Switch to free_list_lock.
6665         * malloc/malloc.c (struct malloc_state): Update comments to
6666         mention free_list_lock.
6668 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6670         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
6671         Remove functions.
6672         (sloww, sloww1): Accept argument to offset quadrant.
6673         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
6674         quadrant.
6675         (__sin, __cos): Consolidate common code into new functions.
6676         (reduce_sincos_1, do_sincos_1): New functions.
6677         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6679         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
6680         code to new functions.
6681         (reduce_sincos_2, do_sincos_2): New functions.
6682         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6684         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
6685         common code for sincos.
6686         (__cos) [!IN_SINCOS]: Likewise.
6687         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
6688         New function.
6689         (__sincos): Use it.
6691 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
6693         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
6694         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
6695         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6697 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6699         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
6700         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
6701         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6702         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
6703         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6704         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
6705         index_Prefer_No_VZEROUPPER): New feature.
6706         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
6707         Prefer_No_VZEROUPPER for Knights Landing.
6709 015-12-18  Torvald Riegel  <triegel@redhat.com>
6711         * math/atest-exp2.c (mp_exp_m1): Remove.
6713 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6715         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
6716         syscalls.
6717         (__SYSCALL0): New macro.
6718         (__SYSCALL1): Likewise.
6719         (__SYSCALL2): Likewise.
6720         (__SYSCALL3): Likewise.
6721         (__SYSCALL4): Likewise.
6722         (__SYSCALL5): Likewise.
6723         (__SYSCALL6): Likewise.
6724         (__SYSCALL_CONCAT_X): Likewise.
6725         (__SYSCALL_CONCAT): Likewise.
6726         (__SYSCALL_DIST): Likewise.
6727         (__SYSCALL_CALL): Likewise.
6729 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
6731         [BZ #19363]
6732         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
6734 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6736         [BZ #19375]
6737         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
6738         negative subnormals.
6740 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
6742         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6743         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
6744         (INTERNAL_SYSCALL_NCS): Use it.
6745         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6747 2015-12-16  Florian Weimer  <fweimer@redhat.com>
6749         [BZ #19243]
6750         * malloc/arena.c (get_free_list): Remove assert and adjust
6751         reference count handling.  Add comment about reused_arena
6752         interaction.
6753         (reused_arena): Add comments abount get_free_list interaction.
6754         * malloc/tst-malloc-thread-exit.c: New file.
6755         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
6756         (tst-malloc-thread-exit): Link against libpthread.
6758 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6760         [BZ #19367]
6761         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
6762         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
6763         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6764         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
6765         (index_Prefer_MAP_32BIT_EXEC): Likewise.
6767 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6769         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
6770         Silvermont optimizations for Knights Landing.
6772 2015-12-15  Andreas Schwab  <schwab@suse.de>
6774         [BZ #17197]
6775         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
6776         immediately after emitting SI.
6777         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
6778         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
6779         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
6780         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
6781         * iconvdata/bug-iconv10.c: New file.
6782         * iconvdata/Makefile (tests): Add bug-iconv10.
6783         ($(objpfx)bug-iconv10.out): New rule.
6785 2015-12-15  Florian Weimer  <fweimer@redhat.com>
6787         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
6788         aliasing violation.
6790 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
6792         [BZ #18472]
6793         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
6794         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
6795         conditionals for them.
6796         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
6797         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
6798         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
6799         sys/kdaemon.h.
6800         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
6801         compat-only syscall, obsoleted in glibc 2.23.
6802         (create_module): Likewise.
6803         (get_kernel_syms): Likewise.
6804         (query_module): Likewise.
6805         (uselib): Likewise.
6806         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
6808 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
6810         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
6811         <linux/version.h>.
6812         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
6813         conditional code.
6814         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
6815         and ioshift_name initialization.
6817 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6819         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6820         Fix indentation.
6822 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6824         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
6826 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6828         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
6830 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
6831             Jakub Wilk  <jwilk@debian.org>
6833         [BZ #19347]
6834         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
6835         to change the group of the device to the tty group.
6837 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
6839         Split large string section; add truncation advice
6840         * manual/examples/strncat.c: Remove.
6841         This example was misleading, as the code would have undefined
6842         behavior if "hello" was longer than SIZE.  Anyway, the manual
6843         shouldn't encourage strncpy+strncat for this sort of thing.
6844         * manual/string.texi (Copying Strings and Arrays): Split into
6845         three sections Copying Strings and Arrays, Concatenating Strings,
6846         and Truncating Strings, as this section was way too long.  All
6847         cross-referenced changed.  Add advice about string-truncation
6848         functions.  Remove misleading strncat example.
6850 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
6852         * manual/nss.texi (NSS Modules Interface): Document
6853         NSS_STATUS_NOTFOUND and SUCCESS.
6855 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6857         [BZ 18568]
6858         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6859         201505L, for Unicode 8.
6861 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
6863         * locale/C-translit.h: Regenerate.
6865 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6867         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
6868         and U+0153.
6870 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
6872         [BZ #19351]
6873         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
6874         expanding log(1+z), compare z rather than its square with epsilon
6875         to determine when to avoid evaluating the expansion.
6877         [BZ #19350]
6878         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6879         Increase overflow threshold.
6881         [BZ #19349]
6882         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
6883         when small.
6885         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6886         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6887         New macro.
6888         [__LINUX_KERNEL_VERSION >= 0x040300]
6889         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6890         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6891         Likewise.
6892         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6893         Likewise.
6894         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6895         Likewise.
6896         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6897         Likewise.
6898         [__LINUX_KERNEL_VERSION >= 0x040300]
6899         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6900         [__LINUX_KERNEL_VERSION >= 0x040300]
6901         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6902         [__LINUX_KERNEL_VERSION >= 0x040300]
6903         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6904         [__LINUX_KERNEL_VERSION >= 0x040300]
6905         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6906         [__LINUX_KERNEL_VERSION >= 0x040300]
6907         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6908         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6909         Likewise.
6910         [__LINUX_KERNEL_VERSION >= 0x040300]
6911         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6912         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6913         Likewise.
6914         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6915         Likewise.
6916         [__LINUX_KERNEL_VERSION >= 0x040300]
6917         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6918         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6919         Likewise.
6920         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6921         Likewise.
6922         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6923         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
6924         Likewise.
6925         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
6926         Likewise.
6927         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6928         Likewise.
6929         [__LINUX_KERNEL_VERSION >= 0x040300]
6930         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6931         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6932         Likewise.
6933         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6934         Likewise.
6935         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6936         Likewise.
6937         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6938         Likewise.
6939         [__LINUX_KERNEL_VERSION >= 0x040300]
6940         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6941         [__LINUX_KERNEL_VERSION >= 0x040300]
6942         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6943         [__LINUX_KERNEL_VERSION >= 0x040300]
6944         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6945         [__LINUX_KERNEL_VERSION >= 0x040300]
6946         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6947         [__LINUX_KERNEL_VERSION >= 0x040300]
6948         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6949         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6950         Likewise.
6951         [__LINUX_KERNEL_VERSION >= 0x040300]
6952         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6953         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6954         Likewise.
6955         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6956         Likewise.
6957         [__LINUX_KERNEL_VERSION >= 0x040300]
6958         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6959         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6960         Likewise.
6961         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6962         Likewise.
6963         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6964         (__ASSUME_SOCKET_SYSCALL): Likewise.
6965         (__ASSUME_BIND_SYSCALL): Likewise.
6966         (__ASSUME_CONNECT_SYSCALL): Likewise.
6967         (__ASSUME_LISTEN_SYSCALL): Likewise.
6968         (__ASSUME_ACCEPT_SYSCALL): Likewise.
6969         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6970         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6971         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6972         (__ASSUME_SEND_SYSCALL): Likewise.
6973         (__ASSUME_SENDTO_SYSCALL): Likewise.
6974         (__ASSUME_RECV_SYSCALL): Likewise.
6975         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6976         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
6977         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6978         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6979         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6980         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6981         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6982         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
6983         Likewise.
6984         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
6985         Likewise.
6986         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
6987         Likewise.
6988         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
6989         Likewise.
6990         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
6991         Likewise.
6992         [__LINUX_KERNEL_VERSION >= 0x020625]
6993         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6994         [__LINUX_KERNEL_VERSION >= 0x020625]
6995         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6996         [__LINUX_KERNEL_VERSION >= 0x020625]
6997         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6998         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
6999         Likewise.
7000         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
7001         Likewise.
7002         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
7003         Likewise.
7004         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
7005         Likewise.
7006         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
7007         Likewise.
7008         [__LINUX_KERNEL_VERSION >= 0x020625]
7009         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7010         [__LINUX_KERNEL_VERSION >= 0x020625]
7011         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7012         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
7013         Likewise.
7014         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
7015         Likewise.
7017 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7019         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
7020         record the current if the current ABI and CPU support the FP64
7021         extension.
7022         (has-modd-spreg): Define to record the current if the current ABI and
7023         CPU support 32-bit floating point values in odd FPU registers.
7024         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7025         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
7026         $(has-modd-spreg) equals yes.
7027         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
7028         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
7029         $(has-modd-spreg) equal yes.
7031 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7033         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
7034         basename.
7036 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
7038         * benchtests/Makefile (bench-math): Move ffs and ffsll...
7039         (bench-string): ... here.
7040         (bench): Add bench-string.
7041         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
7042         to *-benchset to reflect what they are.
7043         (benchset): Adjust.
7045         * benchtests/sincos-inputs: Add inputs from sin-inputs and
7046         cos-inputs.
7048 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
7050         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
7051         __attribute__ ((__simd__)) for vector math function declarations.
7053 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7055         Fix typo in strncat, wcsncat manual entries
7056         * manual/string.texi (Copying and Concatenation): Fix typos in
7057         sample implementations of strncat and wcsncat, by having them use
7058         the old value of the destination length, not the new one.
7060 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
7062         [BZ #16961]
7063         [BZ #16962]
7064         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
7065         string on the stack for strtod.
7066         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
7067         a string on the stack for strtof.
7068         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
7069         constructing a string on the stack for strtold.
7070         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
7071         __strtold_nan to GLIBC_PRIVATE.
7072         * math/test-nan-overflow.c: New file.
7073         * math/test-nan-payload.c: Likewise.
7074         * math/Makefile (tests): Add test-nan-overflow and
7075         test-nan-payload.
7077 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7079         Consistency about byte vs character in string.texi
7080         * manual/string.texi (String and Array Utilities):
7081         Distinguish more carefully among bytes, multibyte characters,
7082         and wide characters.  Use "byte" when talking about C 'char',
7083         to distinguish it more clearly from multibyte characters.
7084         Say "wide character" or "multibyte character" instead of
7085         "character", when a wide or multibyte character is intended.
7086         Similarly for "multibyte string" versus "string".
7087         Define these terms more carefully.
7089 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
7091         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
7092         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
7093         Likewise.
7094         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7095         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7096         * sysdeps/sh/math_private.h: New file.
7097         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
7098         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
7099         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
7100         long double function name.
7101         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7102         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7103         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7104         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7105         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
7107         Remove __finitel, __isinfl, and __isnanl.
7108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7109         Likewise.
7110         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7112         Remove __finitel.
7113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7114         Likewise.
7115         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7117 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
7119         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
7120         installed libmvec_nonshared.a.
7122 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7124         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
7125         (sysdep_routines): Likewise.
7126         (sysdep-rtld-routines): Likewise.
7127         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
7128         [$(subdir) = nptl](tests-static): test-get_hwcap-static
7129         * sysdeps/powerpc/Versions: Added new
7130         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
7131         * sysdeps/powerpc/hwcapinfo.c: New file.
7132         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
7133         and parse hwcap, hwcap2 and platform number information.
7134         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
7135         to store HWCAP+HWCAP2 and platform number.
7136         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
7137         for HWCAP+HWCAP2 and platform number in the TCB.
7138         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
7139         the HWCAP, HWCAP2 and platform number in the TCB.
7140         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
7141         (TLS_INIT_TP): Included calls to add the hwcap and
7142         at_platform values in the TCB in TP initialization.
7143         (TLS_DEFINE_INIT_TP): Likewise.
7144         (THREAD_GET_HWCAP): New macro.
7145         (THREAD_SET_HWCAP): Likewise.
7146         (THREAD_GET_AT_PLATFORM): Likewise.
7147         (THREAD_SET_AT_PLATFORM): Likewise.
7148         * sysdeps/powerpc/powerpc32/dl-machine.h:
7149         (dl_platform_init): New function that calls
7150         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
7151         powerpc32.
7152         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
7153         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
7154         this functionality, static linking case.
7155         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
7156         linking case.
7157         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
7158         __parse_hwcap_and_convert_at_platform for the static linking case.
7159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
7160         Included the new __parse_hwcap_and_convert_at_platform symbol in the
7161         ABI list for GLIBC 2.23.
7162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
7163         Likewise.
7164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
7165         Likewise.
7167 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
7169         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
7170         * configure: Regenerate.
7171         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
7172         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
7174 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
7176         * iconvdata/ibm930.c: Add comment explaining encoding uses.
7177         * iconvdata/ibm933.c: Likewise.
7178         * iconvdata/ibm935.c: Likewise.
7179         * iconvdata/ibm937.c: Likewise.
7180         * iconvdata/ibm939.c: Likewise.
7182 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7184         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
7185         pthread_join.
7186         * nptl/tst-cancel21.c (tf): Likewise.
7188 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
7190         [BZ #19313]
7191         * bits/typesizes.h (__CPU_MASK_TYPE): New.
7192         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7193         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7194         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
7195         Likewise.
7196         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
7197         Likewise.
7198         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
7199         Likewise.
7200         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
7201         Likewise.
7202         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
7203         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
7204         unsigned long int with __CPU_MASK_TYPE.
7206 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7208         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7210 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
7212         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
7213         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
7214         t512.x.
7215         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
7217 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
7219         [BZ #19214]
7220         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
7221         argument to return extended model.  Update family and model
7222         with extended family and model when family == 0x0f.
7223         (init_cpu_features): Updated.
7225 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7227         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
7228         signed off_t, so 32bit bigger than 2GiB values are fine actually.
7230         * sysdeps/mach/hurd/mmap64.c: New file.
7232 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
7234         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
7235         rights for its main user thread in NEWTASK.
7237 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
7239         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
7240         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
7242 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
7244         [BZ #14259]
7245         * Makeconfig: Rename localedir to complocaledir.
7246         Rename inst_localedir to inst_complocaledir.
7247         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
7248         * config.make.in: Use complocaledir and libc_cv_complocaledir.
7249         * configure.ac: Use libc_cv_complocaledir.
7250         * configure: Regenerate.
7251         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
7252         -DCOMPLOCALEDIR.
7253         * locale/findlocale.c: Use COMPLOCALEDIR.
7254         * locale/loadarchive.c: Likewise.
7255         * locale/programs/locale.c: Likewise.
7256         * locale/programs/localedef.c: Likewise.
7257         * locale/programs/locarchive.c: Likewise.
7258         * localedata/Makefile: Use inst_complocaledir.
7259         * sysdeps/gnu/configure: Regenerate.
7260         * sysdeps/hppa/configure: Regenerate.
7261         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
7262         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7264         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
7265         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
7266         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
7267         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
7269 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
7271         [BZ #19058]
7272         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
7273         AS_NEEDED.
7274         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
7275         workaround.
7276         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
7277         libmvec-static-only-routines): Added new file.
7278         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
7280 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7282         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
7283         of interrupted RPC instead of restoring it.
7285         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
7286         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
7287         libc_hidden_def.
7288         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
7289         into initialized data instead of common. Define rtld_hidden_data_def.
7290         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
7291         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
7292         libc_hidden_def.
7293         (if_freenameindex): Add libc_hidden_weak.
7294         (if_nameindex): Add libc_hidden_weak.
7295         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
7296         __open64.
7297         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
7298         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
7299         * sysdeps/mach/nanosleep.c: Include <time.h>
7300         (__nanosleep): Rename to __libc_nanosleep.
7301         (__nanosleep): Add weak_alias.
7302         (nanosleep): Update alias.
7304 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
7306         * stdlib/strtod_nan.c: New file.
7307         * stdlib/strtod_nan_double.h: Likewise.
7308         * stdlib/strtod_nan_float.h: Likewise.
7309         * stdlib/strtod_nan_main.c: Likewise.
7310         * stdlib/strtod_nan_narrow.h: Likewise.
7311         * stdlib/strtod_nan_wide.h: Likewise.
7312         * stdlib/strtof_nan.c: Likewise.
7313         * stdlib/strtold_nan.c: Likewise.
7314         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
7315         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
7316         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
7317         * wcsmbs/wcstod_nan.c: Likewise.
7318         * wcsmbs/wcstof_nan.c: Likewise.
7319         * wcsmbs/wcstold_nan.c: Likewise.
7320         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
7321         strtold_nan.
7322         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
7323         wcstof_nan.
7324         * include/stdlib.h (__strtof_nan): Declare and use
7325         libc_hidden_proto.
7326         (__strtod_nan): Likewise.
7327         (__strtold_nan): Likewise.
7328         (__wcstof_nan): Likewise.
7329         (__wcstod_nan): Likewise.
7330         (__wcstold_nan): Likewise.
7331         * include/wchar.h (____wcstoull_l_internal): Declare.
7332         * stdlib/strtod_l.c: Do not include <ieee754.h>.
7333         (____strtoull_l_internal): Remove declaration.
7334         (STRTOF_NAN): Define macro.
7335         (SET_MANTISSA): Remove macro.
7336         (STRTOULL): Likewise.
7337         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
7338         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
7339         (STRTOF_NAN): Define macro.
7340         (SET_MANTISSA): Remove macro.
7341         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
7342         (SET_MANTISSA): Remove macro.
7343         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
7344         macro.
7345         (SET_MANTISSA): Remove macro.
7346         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
7347         macro.
7348         (SET_MANTISSA): Remove macro.
7349         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
7350         (SET_MANTISSA): Remove macro.
7351         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
7352         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
7353         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
7355         [BZ #19266]
7356         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
7357         upper case and lower case letters inside NAN(), not using TOLOWER.
7358         * stdlib/tst-strtod-nan-locale-main.c: New file.
7359         * stdlib/tst-strtod-nan-locale.c: Likewise.
7360         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
7361         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
7362         Depend on $(gen-locales).
7363         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
7364         * wcsmbs/tst-wcstod-nan-locale.c: New file.
7365         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
7366         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
7367         Depend on $(gen-locales).
7368         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
7370 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
7372         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
7374         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
7376         __finitel, __isinfl, and __isnanl.
7377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7378         Likewise.
7379         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
7381         __finitel.
7382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7383         Likewise.
7384         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7386 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7388         * malloc/memusage.c (me): Remove redundant getenv call.
7390 2015-10-24  Florian Weimer  <fweimer@redhat.com>
7392         [BZ #19143]
7393         [BZ #19164]
7394         * nptl/check-cpuset.h: Remove.
7395         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
7396         Remove CPU set size check.
7397         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
7398         Likewise.
7399         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
7400         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7401         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
7402         (__pthread_setaffinity_new): Remove CPU set size check.
7403         * sysdeps/unix/sysv/linux/sched_setaffinity.c
7404         (__kernel_cpumask_size): Remove.
7405         (__sched_setaffinity_new): Remove CPU set size check.
7406         * manual/threads.texi (Default Thread Attributes): Remove stale
7407         reference to check_cpuset_attr, determine_cpumask_size in comment.
7408         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
7409         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
7410         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
7411         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
7412         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
7413         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
7414         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
7415         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
7416         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
7417         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
7418         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
7419         skeleton test file.
7420         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
7421         tst-affinity-pid.
7423 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7425         * scripts/update-abilist.sh: New file.
7426         * Makefile (+subdir_targets): Add subdir_update-all-abi.
7427         * Makerules (update-all-abi-%, update-all-abi)
7428         (subdir_update-all-abi): New targets.
7429         * elf/Makefile (update-all-abi): New target.
7431 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7433         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
7434         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
7435         (__libc_lock_define_initialized): Use it.
7436         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
7437         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
7438         * malloc/malloc.c (main_arena): Likewise.
7439         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7440         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7442 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
7444         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7445         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
7446         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7447         (PTRACE_O_MASK): Update value.
7448         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
7449         New value in enum __ptrace_setoptions.
7450         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7451         (PTRACE_O_MASK): Update value.
7452         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7453         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7454         (PTRACE_O_MASK): Update value.
7455         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
7456         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7457         (PTRACE_O_MASK): Update value.
7458         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
7459         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7460         (PTRACE_O_MASK): Update value.
7461         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
7462         New value in enum __ptrace_setoptions.
7463         (PTRACE_O_MASK): Update value.
7464         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
7465         New value in enum __ptrace_setoptions.
7466         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7467         (PTRACE_O_MASK): Update value.
7469         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
7470         New macro.
7471         (PACKET_AUXDATA): Likewise.
7472         (PACKET_ORIGDEV): Likewise.
7473         (PACKET_VERSION): Likewise.
7474         (PACKET_HDRLEN): Likewise.
7475         (PACKET_RESERVE): Likewise.
7476         (PACKET_TX_RING): Likewise.
7477         (PACKET_LOSS): Likewise.
7478         (PACKET_VNET_HDR): Likewise.
7479         (PACKET_TX_TIMESTAMP): Likewise.
7480         (PACKET_TIMESTAMP): Likewise.
7481         (PACKET_FANOUT): Likewise.
7482         (PACKET_TX_HAS_OFF): Likewise.
7483         (PACKET_QDISC_BYPASS): Likewise.
7484         (PACKET_ROLLOVER_STATS): Likewise.
7485         (PACKET_FANOUT_DATA): Likewise.
7486         (PACKET_MR_UNICAST): Likewise.
7488         [BZ #19242]
7489         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
7490         (TOUPPER): Likewise.
7491         * stdlib/tst-strtol-locale-main.c: New file.
7492         * stdlib/tst-strtol-locale.c: Likewise.
7493         * stdlib/Makefile (tests): Add tst-strtol-locale.
7494         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
7495         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
7496         Depend on $(gen-locales).
7497         * wcsmbs/tst-wcstol-locale.c: New file.
7498         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
7499         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
7500         tr_TR.ISO-8859-9.
7501         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
7502         Depend on $(gen-locales).
7504 2015-11-20  Roland McGrath  <roland@hack.frob.com>
7506         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
7507         __glibc_likely instead of __builtin_expect.  After falling back to
7508         dyncode_create in a non-ET_DYN case, use the allocate_code_data
7509         system interface to register the code pages as occupied.
7511 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
7513         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7514         [!ARM_MATH_PRIVATE_H].
7515         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
7516         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7517         [!HPPA_MATH_PRIVATE_H].
7518         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
7519         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
7520         to [!I386_MATH_PRIVATE_H].
7521         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
7522         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
7523         Change guard to [!M68K_MATH_PRIVATE_H].
7524         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
7525         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
7526         guard to [!MICROBLAZE_MATH_PRIVATE_H].
7527         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
7528         macro.
7529         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7530         [!MIPS_MATH_PRIVATE_H].
7531         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
7532         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7533         [!NIO2_MATH_PRIVATE_H].
7534         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
7535         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7536         [!TILE_MATH_PRIVATE_H].
7537         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
7539         [BZ #15421]
7540         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
7541         initialize with 0 and define as weak alias of __signgam.
7542         * include/math.h [!_ISOMAC] (__signgam): Declare.
7543         * math/Makefile (libm-calls): Add w_lgamma_compat.
7544         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
7545         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
7546         test-signgam-ullong-init.
7547         (tests-static): Add test-signgam-uchar-static,
7548         test-signgam-uchar-init-static, test-signgam-uint-static,
7549         test-signgam-uint-init-static, test-signgam-ullong-static and
7550         test-signgam-ullong-init-static.
7551         (CFLAGS-test-signgam-uchar.c): New variable.
7552         (CFLAGS-test-signgam-uchar-init.c): Likewise.
7553         (CFLAGS-test-signgam-uchar-static.c): Likewise.
7554         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
7555         (CFLAGS-test-signgam-uint.c): Likewise.
7556         (CFLAGS-test-signgam-uint-init.c): Likewise.
7557         (CFLAGS-test-signgam-uint-static.c): Likewise.
7558         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
7559         (CFLAGS-test-signgam-ullong.c): Likewise.
7560         (CFLAGS-test-signgam-ullong-init.c): Likewise.
7561         (CFLAGS-test-signgam-ullong-static.c): Likewise.
7562         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
7563         * math/Versions (libm): Add GLIBC_2.23.
7564         * math/lgamma-compat.h: New file.
7565         * math/test-signgam-main.c: Likewise.
7566         * math/test-signgam-uchar-init-static.c: Likewise.
7567         * math/test-signgam-uchar-init.c: Likewise.
7568         * math/test-signgam-uchar-static.c: Likewise.
7569         * math/test-signgam-uchar.c: Likewise.
7570         * math/test-signgam-uint-init-static.c: Likewise.
7571         * math/test-signgam-uint-init.c: Likewise.
7572         * math/test-signgam-uint-static.c: Likewise.
7573         * math/test-signgam-uint.c: Likewise.
7574         * math/test-signgam-ullong-init-static.c: Likewise.
7575         * math/test-signgam-ullong-init.c: Likewise.
7576         * math/test-signgam-ullong-static.c: Likewise.
7577         * math/test-signgam-ullong.c: Likewise.
7578         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
7579         wrapper of w_lgamma_main.c.
7580         * math/w_lgamma_compat.c: New file.
7581         * math/w_lgamma_compatf.c: Likewise.
7582         * math/w_lgamma_compatl.c: Likewise.
7583         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
7584         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7585         defining compatibility symbols.
7586         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
7587         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
7588         wrapper of w_lgammaf_main.c.
7589         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
7590         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7591         defining compatibility symbols.
7592         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
7593         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
7594         wrapper of w_lgammal_main.c.
7595         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
7596         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7597         defining compatibility symbols.
7598         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
7599         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
7600         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
7601         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
7602         <lgamma-compat.h>.
7603         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
7604         (__ieee754_gamma): Define as alias.
7605         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
7606         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
7607         <lgamma-compat.h>.
7608         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
7609         (__ieee754_gammaf): Define as alias.
7610         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
7611         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
7612         <lgamma-compat.h>.
7613         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
7614         (__ieee754_gammal): Define as alias.
7615         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
7616         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
7617         <math/w_lgamma_compat.c>.
7618         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
7619         Define as alias of __lgamma_compat and use in defining lgammal.
7620         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
7621         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
7622         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
7623         (USE_AS_COMPAT): New macro.
7624         (LGAMMA_OLD_VER): Undefine and redefine.
7625         (lgammal): Do not define here.
7626         (gammal): Only define here if [GAMMA_ALIAS].
7627         * conform/linknamespace.pl (@whitelist): Remove signgam.
7628         * sysdeps/nacl/libm.abilist: Update.
7629         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7630         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7631         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7632         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7633         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7634         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7635         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7636         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7637         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7638         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7639         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7640         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7642         Likewise.
7643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7644         Likewise.
7645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7646         Likewise.
7647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7648         Likewise.
7649         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7650         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7651         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7652         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7653         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7655         Likewise.
7656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7657         Likewise.
7658         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7659         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7660         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7662 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7664         [BZ #16364]
7665         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
7666         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
7668 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7670         * sysdeps/s390/fpu/bits/mathinline.h:
7671         Use __asm__ [__volatile__] instead of asm [volatile].
7672         * sysdeps/s390/abort-instr.h: Likewise.
7673         * sysdeps/s390/atomic-machine.h: Likewise.
7674         * sysdeps/s390/bits/string.h: Likewise.
7675         * sysdeps/s390/dl-tls.h: Likewise.
7676         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7677         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7678         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7679         * sysdeps/s390/fpu/fesetround.c: Likewise.
7680         * sysdeps/s390/fpu/fpu_control.h: Likewise.
7681         * sysdeps/s390/fpu/s_fma.c: Likewise.
7682         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
7683         * sysdeps/s390/memusage.h: Likewise.
7684         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
7685         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
7686         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
7687         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
7688         * sysdeps/s390/nptl/tls.h: Likewise.
7689         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
7690         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7691         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7692         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7693         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7694         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7695         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
7696         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7697         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7698         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
7699         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7700         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7701         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7702         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
7703         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7704         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7705         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
7706         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7707         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
7708         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7709         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
7710         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7711         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
7713 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7714             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7716         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7717         Add lwarx hint, and use macro for acquire instruction.
7718         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7719         Likewise.
7720         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
7721         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
7722         update to use new atomic macros.
7724 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7726         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7727         (__lll_trylock_elision): Fix setting of adapt_count.
7728         * sysdeps/unix/sysv/linux/powerpc/htm.h
7729         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
7730         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
7731         (_ABORT_SYSCALL): Renumber, and clarify definition.
7732         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
7734 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7736         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
7737         after system headers to prevent MIN/MAX redefinition.  Define
7738         HAVE_ALLOCA to preserve builtin alloca usage.
7740 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7742         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
7743         static and don't set or restore rounding.
7744         (__cos)[IN_SINCOS]: Likewise.
7745         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
7746         (__sincos): Set and restore rounding mode.  Remove check for infinite
7747         or NaN input.
7749         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
7751         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
7752         as used.
7754 2015-11-16  Florian Weimer  <fweimer@redhat.com>
7756         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
7758 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
7760         * config.make.in (have-glob-dat-reloc): New.
7761         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
7762         target supports GLOB_DAT relocaton. AC_SUBST.
7763         * configure: Regenerated.
7764         * elf/Makefile (tests): Add tst-prelink.
7765         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7766         (tst-prelink-ENV): New.
7767         ($(objpfx)tst-prelink-conflict.out): Likewise.
7768         ($(objpfx)tst-prelink-cmp.out): Likewise.
7769         * sysdeps/x86/tst-prelink.c: Moved to ...
7770         * elf/tst-prelink.c: Here.
7771         * sysdeps/x86/tst-prelink.exp: Moved to ...
7772         * elf/tst-prelink.exp: Here.
7773         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
7774         (tst-prelink-ENV): Removed.
7775         ($(objpfx)tst-prelink-conflict.out): Likewise.
7776         ($(objpfx)tst-prelink-cmp.out): Likewise.
7777         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
7779 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
7781         [BZ #14551]
7782         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
7783         (__mpn_construct_long_double): If high part overflows to infinity,
7784         set errno and recompute overflowed result of the correct sign.
7785         * sysdeps/ieee754/ldbl-128ibm/Makefile
7786         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
7787         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
7788         $(libm).
7789         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
7791 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
7793         [BZ #15479]
7794         [BZ #19238]
7795         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
7796         floating-point state after first operation on input.  Restore full
7797         state rather than just rounding mode.
7798         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7799         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7800         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7802         [BZ #19235]
7803         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
7804         add 0.5 to integer arguments.
7805         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
7806         Likewise.
7807         (.LC2): New object.
7809 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
7811         * scripts/pylintrc (reports): Set to no.
7813 2015-11-10  Roland McGrath  <roland@hack.frob.com>
7815         * elf/dl-load.c (open_verify): Take new argument FD.
7816         Skip __open call if passed FD is not -1.
7817         (_dl_map_object, open_path): Update callers.
7818         * elf/dl-sysdep-open.h: New file.
7819         * elf/dl-load.c: Include it.
7820         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
7821         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
7822         * sysdeps/nacl/dl-sysdep-open.h: New file.
7823         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
7824         from libc to rtld.
7826 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7828         [BZ #19228]
7829         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
7830         and restore full floating-point state.
7831         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7832         Likewise.
7833         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7834         Likewise.
7835         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7836         Likewise.
7837         * math/test-nearbyint-except-2.c: New file.
7838         * math/Makefile (tests): Add test-nearbyint-except-2.
7840 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
7842         [BZ #19178]
7843         * sysdeps/x86/Makefile (tests): Add tst-prelink.
7844         (tst-prelink-ENV): New.
7845         ($(objpfx)tst-prelink-conflict.out): Likewise.
7846         ($(objpfx)tst-prelink-cmp.out): Likewise.
7847         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7848         * sysdeps/x86/tst-prelink.c: New file.
7849         * sysdeps/x86/tst-prelink.exp: Likewise.
7851 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7853         * math/auto-libm-test-in: Add another test of pow.
7854         * math/auto-libm-test-out: Regenerated.
7855         * math/libm-test.inc (pow_test_data): Add another test.
7857 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7859         [BZ #19219]
7860         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
7861         weak_alias to nearbyintl.
7863 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7865         * sysdeps/aarch64/bits/string.h: New file.
7866         (_STRING_ARCH_unaligned): Define.
7868 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7870         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
7871         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7872         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7873         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
7874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
7876 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
7878         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
7879         for original name of the DSO.  Add it to the name list of the DSO
7880         if it is actually given.
7881         (_dl_map_object): Keep track of whether an audit module rewrote
7882         the file name.  If yes, pass the original name to
7883         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
7884         debugging is enabled, log the change of the file name.
7885         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
7886         _dl_map_object_from_fd.
7887         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
7888         * elf/tst-audit11.c: New file
7889         * elf/tst-auditmod11.c: New file.
7890         * elf/tst-audit11mod1.c: New file.
7891         * elf/tst-audit11mod2.c: New file.
7892         * elf/tst-audit11mod2.map: New file.
7893         * elf/tst-audit12.c: New file
7894         * elf/tst-auditmod12.c: New file.
7895         * elf/tst-audit12mod1.c: New file.
7896         * elf/tst-audit12mod2.c: New file.
7897         * elf/tst-audit12mod2.map: New file.
7898         * elf/tst-audit12mod3.c: New file.
7900 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7902         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
7903         Don't create weak aliases,
7904         because versioned symbols are created later.
7905         * sysdeps/s390/s390-32/setjmp.S
7906         (setjmp, _setjmp): Remove weak and rename to an unique name
7907         in SHARED case due to existing versioned symbols.
7908         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7909         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
7910         (getcontext): Create weak alias only in non SHARED case.
7911         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7913 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7915         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
7916         (__ASSUME_*_SYSCALL) Define new macros.
7917         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
7918         Remove socketcall syscalls.
7919         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
7920         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
7921         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
7922         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
7923         * sysdeps/unix/sysv/linux/send.c (__libc_send):
7924         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
7926 2015-11-09  Florian Weimer  <fweimer@redhat.com>
7928         [BZ #12926]
7929         Terminate process on invalid netlink response.
7930         * sysdeps/unix/sysv/linux/netlinkaccess.h
7931         (__netlink_assert_response): Declare.
7932         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
7933         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
7934         (sysdep_routines): Add netlink_assert_response.
7935         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
7936         __netlink_assert_response.
7937         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7938         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7939         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
7940         __netlink_assert_response.
7942 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
7944         [BZ #19178]
7945         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
7946         (RTYPE_CLASS_PLT): Likewise.
7947         (RTYPE_CLASS_COPY): Likewise.
7948         (RTYPE_CLASS_TLS): Likewise.
7949         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
7950         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
7951         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
7952         DL_DEBUG_PRELINK.
7954 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
7956         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
7957         calls with argument -0.5.
7958         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
7960         * configure.ac (libc_cv_z_nodelete): Remove configure test.
7961         (libc_cv_z_nodlopen): Likewise.
7962         (libc_cv_z_initfirst): Likewise.
7963         * configure: Regenerated.
7965 2015-11-06  Florian Weimer  <fweimer@redhat.com>
7967         Simplify abilist format to be line-based.
7968         * scripts/abilist.awk: Collect descriptors in the descs variable.
7969         (emit): Write descs variable and sort it
7970         externally, with sort.
7971         * sysdeps/**/*.abilist: Convert to new format.
7973 2015-11-06  Mark Wielaard  <mjw@redhat.com>
7975         [BZ #11460]
7976         * io/Makefile (routines): Add fts64.
7977         (tests): Add tst-fts and tst-fts-lfs.
7978         (CFLAGS-fts64.c): New.
7979         * io/Versions (GLIBC_2.23): New.
7980         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
7981         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
7982         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
7983         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
7984         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
7985         (FTSENT64): Likewise.
7986         (fts64_children): Likewise.
7987         (fts64_close): Likewise.
7988         (fts64_open): Likewise.
7989         (fts64_read): Likewise.
7990         (fts64_set): Likewise.
7991         * io/fts64.c: New file.
7992         * io/tst-fts.c: New test.
7993         * io/tst-fts-lfs.c: Likewise.
7994         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
7995         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
7996         fts64_set.
7997         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7998         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7999         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8000         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8001         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8002         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8003         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8004         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8005         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8006         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8007         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8008         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8009         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8011         Likewise.
8012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8013         Likewise.
8014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8016         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8017         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8018         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8019         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8020         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8023         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8024         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8025         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8026         * sysdeps/wordsize-64/fts.c: New file.
8027         * sysdeps/wordsize-64/fts64.c: Likewise.
8028         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
8029         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
8030         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
8031         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
8033 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8035         * math/libm-test.inc (NON_FINITE): New macro.
8036         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
8037         * math/gen-libm-test.pl (show_exceptions): Add argument
8038         $non_finite.
8039         (parse_args): Update call to show_exceptions.
8040         * math/test-math-finite.h: New file.
8041         * math/test-math-no-finite.h: Likewise.
8042         * math/test-double-finite.c: Likewise.
8043         * math/test-float-finite.c: Likewise.
8044         * math/test-ldouble-finite.c: Likewise.
8045         * math/test-double.c: Include "test-math-no-finite.h".
8046         * math/test-float.c: Include "test-math-no-finite.h".
8047         * math/test-ldouble.c: Include "test-math-no-finite.h".
8048         * math/test-math-inline.h (TEST_FINITE): New macro.
8049         * math/test-math-vector.h (TEST_FINITE): Likewise.
8050         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
8051         (libm-tests): Add test-float-finite and test-double-finite.
8052         ($(objpfx)test-float-finite.o): New dependency on
8053         $(objpfx)libm-test.stmp.
8054         ($(objpfx)test-double-finite.o): Likewise.
8055         ($(objpfx)test-ldouble-finite.o): Likewise.
8056         (libm-test-no-inline-cflags): New variable.
8057         (libm-test-finite-cflags): Likewise.
8058         (CFLAGS-test-float-finite.c): Likewise.
8059         (CFLAGS-test-double-finite.c): Likewise.
8060         (CFLAGS-test-ldouble-finite.c): Likewise.
8061         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
8062         (CFLAGS-test-double.c): Likewise.
8063         (CFLAGS-test-ldouble.c): Likewise.
8065 2015-11-05  Roland McGrath  <roland@hack.frob.com>
8067         * io/fcntl.c (__fcntl): Add ... to prototype.
8068         * misc/ioctl.c (__ioctl): Likewise.
8069         * misc/syscall.c (syscall): Likewise.
8071 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8073         * scripts/list-fixed-bugs.py: New file.
8075         [BZ #19213]
8076         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
8077         returned for argument 1.
8078         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
8079         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
8080         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
8081         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
8082         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
8083         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
8085         [BZ #19211]
8086         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
8087         __USE_XOPEN], not if [!__USE_ISOC99].
8088         (lgammaf): Likewise.
8089         (lgammal): Likewise.
8090         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
8091         (gammaf): Likewise.
8092         (gammal): Likewise.
8093         * math/test-signgam-finite-c11.c: New file.
8094         * math/test-signgam-finite-c99.c: Likewise.
8095         * math/test-signgam-finite.c: Likewise.
8096         * math/Makefile (tests): Add test-signgam-finite,
8097         test-signgam-finite-c99 and test-signgam-finite-c11.
8098         (CFLAGS-test-signgam-finite.c): New variable.
8099         (CFLAGS-test-signgam-finite-c99.c): Likewise.
8100         (CFLAGS-test-signgam-finite-c11.c): Likewise.
8102         [BZ #19212]
8103         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
8104         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
8105         500].
8106         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
8107         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
8108         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
8109         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
8110         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
8111         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
8112         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
8113         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
8114         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
8115         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
8117         [BZ #19209]
8118         * math/bits/math-finite.h (ldexp): Remove declaration.
8119         (ldexpf): Likewise.
8120         (ldexpl): Likewise.
8122         [BZ #19205]
8123         * math/bits/math-finite.h (acosf): Condition declaration on
8124         [__USE_ISOC99].
8125         (acosl): Likewise.
8126         (acoshf): Likewise.
8127         (acoshl): Likewise.
8128         (asinf): Likewise.
8129         (asinl): Likewise.
8130         (atan2f): Likewise.
8131         (atan2l): Likewise.
8132         (atanhf): Likewise.
8133         (atanhl): Likewise.
8134         (coshf): Likewise.
8135         (coshl): Likewise.
8136         (expf): Likewise.
8137         (expl): Likewise.
8138         (fmodf): Likewise.
8139         (fmodl): Likewise.
8140         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
8141         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
8142         (j0l): Likewise.
8143         (y0f): Likewise.
8144         (y0l): Likewise.
8145         (j1f): Likewise.
8146         (j1l): Likewise.
8147         (y1f): Likewise.
8148         (y1l): Likewise.
8149         (jnf): Likewise.
8150         (jnl): Likewise.
8151         (ynf): Likewise.
8152         (ynl): Likewise.
8153         (lgammaf_r): Condition declaration on [__USE_ISOC99].
8154         (lgammal_r): Likewise.
8155         (__lgamma_r_finite): New declaration.
8156         (__lgammaf_r_finite): Likewise.
8157         (__lgammal_r_finite): Likewise.
8158         (lgamma): Use __lgamma_r_finite.
8159         (lgammaf): Condition definition on [__USE_ISOC99].  Use
8160         __lgammaf_r_finite.
8161         (lgammal): Condition definition on [__USE_ISOC99].  Use
8162         __lgammal_r_finite.
8163         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
8164         __lgamma_r_finite.
8165         (gammaf): Condition definition on [__USE_ISOC99].  Use
8166         __lgammaf_r_finite.
8167         (gammal): Condition definition on [__USE_ISOC99].  Use
8168         __lgammal_r_finite.
8169         (logf): Condition declaration on [__USE_ISOC99].
8170         (logl): Likewise.
8171         (log10f): Likewise.
8172         (log10l): Likewise.
8173         (ldexpf): Likewise.
8174         (ldexpl): Likewise.
8175         (powf): Likewise.
8176         (powl): Likewise.
8177         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
8178         __USE_ISOC99].
8179         (remainderf): Condition declaration on [__USE_ISOC99].
8180         (remainderl): Likewise.
8181         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
8182         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
8183         (scalbl): Likewise.
8184         (sinhf): Condition declaration on [__USE_ISOC99].
8185         (sinhl): Likewise.
8186         (sqrtf): Likewise.
8187         (sqrtl): Likewise.
8189 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8191         * sysdeps/arm/atomic-machine.h
8192         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8193         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8194         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
8195         Remove conditional code.
8196         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8197         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8198         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
8199         Change conditional to [__ASSEMBLER__].
8200         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8201         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
8202         [!__ASSEMBLER__].
8203         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
8204         code.
8205         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
8206         conditional macro definitions.
8207         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
8208         (__arch_compare_and_exchange_val_16_acq): Likewise.
8209         (__arch_compare_and_exchange_val_32_acq): Likewise.
8210         (atomic_exchange_and_add): Likewise.
8211         (atomic_add): Likewise.
8212         (atomic_add_negative): Likewise.
8213         (atomic_add_zero): Likewise.
8214         (atomic_bit_set): Likewise.
8215         (atomic_bit_test_set): Likewise.
8216         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
8217         code unconditional.
8218         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8220         * math/test-math-errno.h: New file.
8221         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
8222         empty.
8223         (TEST_ERRNO): New macro.
8224         (TEST_EXCEPTIONS): Likewise.
8225         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
8226         (TEST_EXCEPTIONS): Likewise.
8227         * math/test-math-vector.h (TEST_ERRNO): Likewise.
8228         * math/test-double.c: Include "test-math-errno.h".
8229         * math/test-float.c: Likewise.
8230         * math/test-ldouble.c: Likewise.
8231         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
8232         code unconditional.
8233         (test_exceptions): Only run code if TEST_EXCEPTIONS.
8234         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
8235         unconditional.
8236         (test_errno): Only run code if TEST_ERRNO.
8237         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
8239 2015-11-04  Florian Weimer  <fweimer@redhat.com>
8241         * nptl/tst-once5.cc: Remove attribution.
8243 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8245         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
8246         sqrt, tan, tanh, y0, y1 and yn.
8247         * math/auto-libm-test-out: Regenerated.
8248         * math/libm-test.inc (scalb_test_data): Add more tests.
8249         (scalbn_test_data): Likewise.
8250         (scalbln_test_data): Likewise.
8251         (signbit_test_data): Likewise.
8252         (sin_test_data): Likewise.
8253         (sincos_test_data): Likewise.
8254         (sinh_test_data): Likewise.
8255         (sqrt_test_data): Likewise.
8256         (tan_test_data): Likewise.
8257         (tanh_test_data): Likewise.
8258         (tgamma_test_data): Likewise.
8259         (y0_test_data): Likewise.
8260         (y1_test_data): Likewise.
8261         (yn_test_data): Likewise.
8262         (significand_test_data): Likewise.
8263         * sysdeps/i386/fpu/libm-test-ulps: Update.
8265 2015-11-03  David Kastrup  <dak@gnu.org>
8267         [BZ #18604]
8268         * assert/assert.h (assert): Don't macro-expand failed assertion
8269         expression in error message.
8270         * malloc/malloc.c (assert): Likewise.
8272 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
8274         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
8275         test.
8276         * configure: Regenerated.
8278 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
8280         * math/libm-test.inc (modf_test_data): Add more tests.
8281         (nearbyint_test_data): Likewise.
8282         (nextafter_test_data): Likewise.
8283         (nexttoward_test_data): Likewise.
8284         (pow_test_data): Likewise.
8285         (remainder_test_data): Likewise.
8286         (remquo_test_data): Likewise.
8287         (rint_test_data): Likewise.
8289         [BZ #19201]
8290         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8291         Check for zero remainder in case of large exponents and ensure
8292         correct sign of result in that case.
8293         * math/libm-test.inc (remainder_test_data): Add more tests.
8295         [BZ #6799]
8296         * math/s_nextafter.c: Include <errno.h>.
8297         (__nextafter): Set errno on overflow and underflow.
8298         * math/s_nexttowardf.c: Include <errno.h>.
8299         (__nexttowardf): Set errno on overflow and underflow.
8300         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
8301         (__nextafterl): Set errno on overflow and underflow.
8302         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
8303         (__nexttoward): Set errno on overflow and underflow.
8304         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
8305         (__nexttowardf): Set errno on overflow and underflow.
8306         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
8307         (__nextafterf): Set errno on overflow and underflow.
8308         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
8309         (__nextafterl): Set errno on overflow and underflow.
8310         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
8311         (__nexttoward): Set errno on overflow and underflow.
8312         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
8313         (__nexttowardf): Set errno on overflow and underflow.
8314         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
8315         (__nextafterl): Set errno on overflow and underflow.
8316         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
8317         (__nexttoward): Set errno on overflow and underflow.
8318         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
8319         (__nexttowardf): Set errno on overflow and underflow.
8320         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
8321         (__nexttoward): Set errno on overflow and underflow.
8322         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
8323         (__nexttowardf): Set errno on overflow and underflow.
8324         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
8325         (__nldbl_nexttowardf): Set errno on overflow and underflow.
8326         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
8327         (__nextafterl): Set errno on overflow and underflow.
8328         * math/libm-test.inc (nextafter_test_data): Do not allow errno
8329         setting to be missing on overflow.  Add more tests.
8330         (nexttoward_test_data): Likewise.
8332         * configure.ac (libc_cv_initfini_array): Remove configure test.
8333         * configure: Regenerated.
8335 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
8337         [BZ #19189]
8338         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
8339         non-finite argument handle arguments with negative sign.
8341         * math/libm-test.inc (j0_test_data): Do not test sign of zero
8342         result from infinite argument.
8343         (j1_test_data): Likewise.
8344         (jn_test_data): Likewise.
8345         (y0_test_data): Likewise.
8346         (y1_test_data): Likewise.
8347         (yn_test_data): Likewise.
8349         [BZ #16171]
8350         * math/w_remainder.c (drem): Define as weak alias of __remainder.
8351         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
8352         * math/w_remainderf.c (dremf): Define as weak alias of
8353         __remainderf.
8354         * math/w_remainderl.c (dreml): Define as weak alias of
8355         __remainderl.
8356         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
8357         __remainder.
8358         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
8359         __remainderf.
8360         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
8361         __remainderl.
8362         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
8363         weak alias of remainderl.
8364         * sysdeps/ieee754/ldbl-opt/w_remainder.c
8365         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
8366         alias of __remainder.
8367         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
8368         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
8369         strong alias of __remainderl.
8370         (dreml): Use long_double_symbol.
8371         * math/Makefile (libm-calls): Remove w_drem.
8372         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
8373         (CFLAGS-nldbl-drem.c): Remove variable.
8374         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
8375         * math/w_drem.c: Remove file.
8376         * math/w_dremf.c: Likewise.
8377         * math/w_dreml.c: Likewise.
8378         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
8379         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
8380         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
8382         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
8383         * sysdeps/i386/configure: Regenerated.
8384         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
8385         * sysdeps/x86_64/configure: Regenerated.
8387         * configure.ac (libc_cv_asm_protected_directive): Remove configure
8388         test.
8389         (libc_cv_visibility_attribute): Likewise.
8390         (libc_cv_protected_data): Test unconditionally.
8391         (libc_cv_broken_visibility_attribute): Remove configure test.
8392         (libc_cv_have_sdata_section): Test unconditionally.
8393         * configure: Regenerated.
8395         * include/libc-internal.h (libc_max_align_t): Remove typedef.
8396         * include/scratch_buffer.h: Include <stddef.h> instead of
8397         <libc-internal.h>.
8398         (struct scratch_buffer): Use max_align_t instead of
8399         libc_max_align_t.
8401 2015-10-29  Florian Weimer  <fweimer@redhat.com>
8403         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
8404         instead of extend_alloca.  Change control flow to avoid a goto.
8405         Remove assert which is trivially always true.
8407 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8409         [BZ #16068]
8410         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
8411         (FE_ALL_EXCEPT_X86): New macro.
8412         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8413         FE_ALL_EXCEPT.  Ensure precision control is included in
8414         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8415         handle "denormal operand exception" and clear FZ and DAZ bits.
8416         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
8417         (FE_ALL_EXCEPT_X86): New macro.
8418         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8419         FE_ALL_EXCEPT.  Ensure precision control is included in
8420         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8421         handle "denormal operand exception" and clear FZ and DAZ bits.
8422         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
8423         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
8424         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8425         test-fenv-x87 and test-fenv-sse-2.
8426         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
8428         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
8429         * math/test-double.h (BUILD_COMPLEX): New macro.
8430         * math/test-float.h (BUILD_COMPLEX): Likewise.
8431         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
8433         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
8434         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
8435         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
8436         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
8437         instead of DBL_DENORM_MIN in comment.
8438         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
8439         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8440         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
8441         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
8442         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
8443         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8445 2015-10-28  Florian Weimer  <fweimer@redhat.com>
8447         [BZ# 19048]
8448         * malloc/malloc.c (struct malloc_state): Update comment.  Add
8449         attached_threads member.
8450         (main_arena): Initialize attached_threads.
8451         * malloc/arena.c (list_lock): Update comment.
8452         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
8453         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
8454         (deattach_arena): New function.
8455         (_int_new_arena): Initialize arena reference count and deattach
8456         replaced arena.
8457         (get_free_list, reused_arena): Update reference count and deattach
8458         replaced arena.
8459         (arena_thread_freeres): Update arena reference count and only put
8460         unreferenced arenas on the free list.
8462 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8464         [BZ #19181]
8465         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
8466         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
8467         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
8468         * math/test-fenv-clear-main.c: New file.
8469         * math/test-fenv-clear.c: Likewise.
8470         * math/Makefile (tests): Add test-fenv-clear.
8471         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
8472         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8473         test-fenv-clear-sse.
8474         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
8476         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
8477         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
8478         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
8480 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8482         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
8483         static libc.
8485 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8487         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
8488         test.
8489         * sysdeps/i386/configure: Regenerated.
8490         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
8491         test.
8492         * sysdeps/x86_64/configure: Regenerated.
8493         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
8494         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8495         memset-avx2 unconditionally instead of conditionally on
8496         [$(config-cflags-avx2) = yes].
8497         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8498         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
8499         unconditional.
8500         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
8501         * sysdeps/x86_64/multiarch/memset_chk.S
8502         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
8503         to [IS_IN (libc) && SHARED].
8505 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8507         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
8508         configure test.
8509         * sysdeps/arm/configure: Regenerated.
8510         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
8511         Define variable if not already defined.
8513         [BZ #17404]
8514         * sysdeps/mips/atomic-machine.h
8515         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
8516         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
8517         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8519         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
8520         unconditional.
8521         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
8522         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8523         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
8524         unconditional.
8525         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8526         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
8527         unconditional.
8528         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8529         * stdlib/setenv.c
8530         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
8531         code unconditional.
8532         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
8533         Remove conditional code.
8534         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8535         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
8536         unconditional.
8537         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8538         code.
8539         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8540         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
8541         unconditional.
8542         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8543         code.
8544         * sysdeps/ieee754/ldbl-128/k_tanl.c
8545         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8546         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8547         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8548         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8549         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8550         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8551         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
8552         unconditional.
8553         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8554         code.
8555         * sysdeps/ieee754/ldbl-96/k_tanl.c
8556         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8557         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8559         * nptl/tst-initializers1-c11.c: New file.
8560         * nptl/tst-initializers1-gnu11.c: Likewise.
8561         * nptl/Makefile (tests): Add these new tests.
8562         (CFLAGS-tst-initializers1-c11.c): New variable.
8563         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
8565         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
8566         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
8567         instead of -std=gnu99.
8568         * configure.ac (systemtap): Test with -std=gnu11 instead of
8569         -std=gnu99.
8570         * configure: Regenerated.
8571         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
8572         in compilation command in comment.
8574         * sysdeps/nptl/configure.ac: Remove file.
8575         * sysdeps/nptl/configure: Remove generated file.
8576         * configure.ac (libc_cv_forced_unwind): Do not substitute.
8577         * configure: Regenerated.
8578         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
8579         * config.make.in (have-forced-unwind): Remove variable.
8580         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8581         unconditional.
8582         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
8583         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
8584         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
8585         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
8586         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8587         unconditional.
8589 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8591         [BZ #19174]
8592         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
8593         .skip_lock_out_of_tbegin_retries.
8594         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8595         (__lll_lock_elision): Likewise, and respect a value of
8596         try_tbegin <= 0.
8598 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8600         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
8601         statement.
8603 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8605         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
8606         variable.
8607         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8608         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8610         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
8611         of -std=c1x -D_ISOC11_SOURCE.
8613         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
8614         * configure: Regenerated.
8615         * manual/install.texi (Tools for Compilation): Document
8616         requirement for GCC 4.7 or later.
8617         * INSTALL: Regenerated.
8619 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
8621         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
8622         on CNT to a conditional jump to 'puntdata'.
8624 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8626         * configure.ac (libc_cv_gcc___thread): Remove configure test.
8627         (libc_cv_gcc_tls_model_attr): Likewise.
8628         * configure: Regenerated.
8630         * configure.ac (libc_cv_need_minus_P): Remove configure test.
8631         * configure: Regenerated.
8632         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
8634 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
8636         * configure.ac (old_glibc_headers): Remove configure test.
8637         * configure: Regenerated.
8638         * config.make.in (old-glibc-headers): Remove variable.
8639         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
8640         (install): Remove dependency on remove-old-headers.
8641         (headers2_0): Remove variable.
8642         (remove-old-headers): Remove rule.
8644         * configure.ac (libc_cv_dot_text): Remove configure test.
8645         (libc_cv_asm_set_directive): Use .text instead of
8646         ${libc_cv_dot_text} in configure test.
8647         * configure: Regenerated.
8649 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8651         [BZ #19168]
8652         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8654 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8656         * configure.ac (CXX): Clear the variable if the C++ toolchain does
8657         not support static linking.
8658         * configure: Regenerate.
8660 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
8662         * math/libm-test.inc (check_float_internal): Do not special-case
8663         errors up to 0.5 ulp.
8665         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8666         log2.
8667         * math/auto-libm-test-out: Regenerated.
8668         * math/libm-test.inc (MAX_EXP): New macro.
8669         (ilogb_test_data): Add more tests.
8670         (isfinite_test_data): Likewise.
8671         (isgreater_test_data): Likewise.
8672         (isgreaterequal_test_data): Likewise.
8673         (isinf_test_data): Likewise.
8674         (isless_test_data): Likewise.
8675         (islessequal_test_data): Likewise.
8676         (islessgreater_test_data): Likewise.
8677         (isnan_test_data): Likewise.
8678         (isnormal_test_data): Likewise.
8679         (issignaling_test_data): Likewise.
8680         (isunordered_test_data): Likewise.
8681         (j0_test_data): Likewise.
8682         (j1_test_data): Likewise.
8683         (jn_test_data): Likewise.
8684         (lgamma_test_data): Likewise.
8685         (log_test_data): Likewise.
8686         (log10_test_data): Likewise.
8687         (log1p_test_data): Likewise.
8688         (log2_test_data): Likewise.
8689         (logb_test_data): Likewise.
8690         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8692         [BZ #18611]
8693         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
8694         avoid excess range and precision on underflow.
8695         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8696         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
8697         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8698         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
8699         underflow.
8700         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8701         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8702         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8703         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8704         * math/auto-libm-test-in: Do not allow missing errno setting for
8705         tests of j1 and jn.
8706         * math/auto-libm-test-out: Regenerated.
8708 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
8710         [BZ #15491]
8711         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
8712         floating-point environment instead of clearing all exceptions.
8713         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8714         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
8715         merging in "invalid" exceptions from frndint.
8716         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8717         * math/test-nearbyint-except.c: New file.
8718         * math/Makefile (tests): Add test-nearbyint-except.
8720 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
8722         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
8724         * sysdeps/tile/libm-test-ulps: Regenerated.
8726 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
8729         (__NR_sync_file_range2): Assume it is always defined.
8730         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8731         (__NR_sync_file_range): Assume it is always defined.
8733 2015-10-22  Andreas Schwab  <schwab@suse.de>
8735         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8736         INTERNAL_SYSCALL_ERRNO.
8737         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8738         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8739         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8740         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8741         Likewise.
8742         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8744 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8746         * io/tst-fcntl.c (fd): New static variable.
8747         (do_prepare): Open temporary file here....
8748         (do_test): ...not here.
8750         * io/ftwtest-sh: Also trap on exit to remove temporary files.
8752 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8754         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
8755         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8756         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8757         Moved before "#ifdef __ASSEMBLER__".
8759 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8761         [BZ #19156]
8762         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
8763         arguments very close to 0.
8765 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
8767         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
8768         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
8770 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8772         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8773         New.  Defined for GCC 5 and above when not compiling for
8774         profiling.
8775         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8777         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8778         Renamed to ...
8779         (CFLAGS-epoll_pwait.o): This.
8780         (CFLAGS-mmap.c): Renamed to ...
8781         (CFLAGS-mmap.o): This.
8782         (CFLAGS-mmap64.c): Renamed to ...
8783         (CFLAGS-mmap64.o): This.
8784         (CFLAGS-epoll_pwait.os): New.
8785         (CFLAGS-mmap.os): Likewise.
8786         (CFLAGS-mmap64.os): Likewise.
8787         (CFLAGS-semtimedop.os): Likewise.
8788         (CFLAGS-semtimedop.c): Renamed to ...
8789         (CFLAGS-semtimedop.o): This.
8791 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8793         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
8794         warning message.
8796 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8798         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
8799         * Makefile ($(objpfx)c++-types-check.out): Filter out
8800         $(+gccwarn-c) instead of -Wstrict-prototypes.
8802         * io/fts.c (fts_open): Convert to prototype-style function
8803         definition.
8804         * malloc/mcheck.c (mcheck): Likewise.
8805         (mcheck_pedantic): Likewise.
8806         * posix/regexec.c (re_search_2_stub): Likewise.  Use
8807         internal_function.
8808         (re_search_internal): Likewise.
8809         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
8810         prototype-style function definition.
8811         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8812         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8813         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
8814         (xdr_utmpptr): Likewise.
8815         (xdr_utmparr): Likewise.
8816         (xdr_utmpidle): Likewise.
8817         (xdr_utmpidleptr): Likewise.
8818         (xdr_utmpidlearr): Likewise.
8820         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
8821         log, log10 and log2.
8822         * math/auto-libm-test-out: Regenerated.
8823         * math/libm-test.inc (fmod_test_data): Add more tests.
8824         (fpclassify_test_data): Likewise.
8825         (frexp_test_data): Likewise.
8826         (hypot_test_data): Likewise.
8827         (ilogb_test_data): Likewise.
8829 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
8831         * debug/fortify_fail.c (__fortify_fail): Convert to
8832         prototype-style function definition.  Use internal_function.
8833         * libio/genops.c (save_for_backup): Convert to prototype-style
8834         function definition.
8835         * libio/wgenops.c (save_for_wbackup): Likewise.
8836         * login/grantpt.c (grantpt): Likewise.
8837         * login/ptsname.c (ptsname): Likewise.
8838         (__ptsname_r): Likewise.
8839         * login/unlockpt.c (unlockpt): Likewise.
8840         * mach/msgserver.c (__mach_msg_server): Likewise.
8841         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
8842         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
8843         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
8844         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
8845         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
8846         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
8847         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
8848         Likewise.
8849         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
8850         internal_function.
8851         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
8852         prototype-style function definition.
8853         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
8854         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
8855         (__pthread_create_2_0): Likewise.
8856         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
8857         * nptl/register-atfork.c (__register_atfork): Likewise.
8858         * posix/glob.c (glob): Likewise.
8859         * posix/regcomp.c (re_comp): Likewise.
8860         * posix/regexec.c (re_exec): Likewise.
8861         * stdlib/add_n.c [__STDC__]: Make code unconditional.
8862         [!__STDC__]: Remove conditional code.
8863         * stdlib/cmp.c [__STDC__]: Make code unconditional.
8864         [!__STDC__]: Remove conditional code.
8865         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
8866         [!__STDC__]: Remove conditional code.
8867         * stdlib/divrem.c [__STDC__]: Make code unconditional.
8868         [!__STDC__]: Remove conditional code.
8869         * stdlib/lshift.c [__STDC__]: Make code unconditional.
8870         [!__STDC__]: Remove conditional code.
8871         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
8872         [!__STDC__]: Remove conditional code.
8873         * stdlib/mul.c [__STDC__]: Make code unconditional.
8874         [!__STDC__]: Remove conditional code.
8875         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
8876         [!__STDC__]: Remove conditional code.
8877         * stdlib/rshift.c [__STDC__]: Make code unconditional.
8878         [!__STDC__]: Remove conditional code.
8879         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
8880         function definition.
8881         (STRTOF): Likewise.
8882         * stdlib/strtod_l.c (__STRTOF): Likewise.
8883         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
8884         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
8885         (__strtol_l): Likewise.
8886         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
8887         [!__STDC__]: Remove conditional code.
8888         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
8889         definition.
8890         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8891         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8892         type.
8893         (__strcasecmp): Convert to prototype-style function definition.
8894         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
8895         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8896         type.
8897         (__strncasecmp): Convert to prototype-style function definition.
8898         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
8899         * sunrpc/xdr.c (xdr_union): Likewise.
8900         * sunrpc/xdr_array.c (xdr_array): Likewise.
8901         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
8902         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
8903         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
8904         Likewise.
8905         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
8906         Likewise.
8907         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
8908         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8909         Likewise.
8910         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
8911         (LOCALE_PARAM_PROTO): Likewise.
8912         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
8913         argument type.
8914         (ut_argument_spec): Remove macro.
8915         (ut_argument_spec_iso): Rename to ut_argument_spec.
8916         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
8917         prototype-style function definition.
8918         (memcpy_uppcase): Likewise.
8919         (__strftime_internal): Likewise.
8920         (my_strftime): Likewise.
8921         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
8922         (LOCALE_PARAM_DECL): Likewise.
8923         [_LIBC] (LOCALE_PARAM): Include argument type.
8924         (__strptime_internal): Convert to prototype-style function
8925         definition.
8926         (strptime): Likewise.
8927         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8928         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8929         type.
8930         (__wcscasecmp): Convert to prototype-style function definition.
8931         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
8932         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8933         type.
8934         (__wcsncasecmp): Convert to prototype-style function definition.
8936         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
8937         function definition.
8938         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8939         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8940         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
8941         * elf/dl-minimal.c (_itoa): Likewise.
8942         * hurd/hurdmalloc.c (malloc): Likewise.
8943         (free): Likewise.
8944         (realloc): Likewise.
8945         * inet/inet6_option.c (inet6_option_space): Likewise.
8946         (inet6_option_init): Likewise.
8947         (inet6_option_append): Likewise.
8948         (inet6_option_alloc): Likewise.
8949         (inet6_option_next): Likewise.
8950         (inet6_option_find): Likewise.
8951         * io/ftw.c (FTW_NAME): Likewise.
8952         (NFTW_NAME): Likewise.
8953         (NFTW_NEW_NAME): Likewise.
8954         (NFTW_OLD_NAME): Likewise.
8955         * libio/iofwide.c (_IO_fwide): Likewise.
8956         * libio/strops.c (_IO_str_init_static_internal): Likewise.
8957         (_IO_str_init_static): Likewise.
8958         (_IO_str_init_readonly): Likewise.
8959         (_IO_str_overflow): Likewise.
8960         (_IO_str_underflow): Likewise.
8961         (_IO_str_count): Likewise.
8962         (_IO_str_seekoff): Likewise.
8963         (_IO_str_pbackfail): Likewise.
8964         (_IO_str_finish): Likewise.
8965         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
8966         (_IO_wstr_overflow): Likewise.
8967         (_IO_wstr_underflow): Likewise.
8968         (_IO_wstr_count): Likewise.
8969         (_IO_wstr_seekoff): Likewise.
8970         (_IO_wstr_pbackfail): Likewise.
8971         (_IO_wstr_finish): Likewise.
8972         * locale/programs/localedef.c (normalize_codeset): Likewise.
8973         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8974         (add_locales_to_archive): Likewise.
8975         (delete_locales_from_archive): Likewise.
8976         * malloc/malloc.c (__libc_mallinfo): Likewise.
8977         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
8978         * misc/tsearch.c (__tfind): Likewise.
8979         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
8980         * nptl/pthread_attr_getdetachstate.c
8981         (__pthread_attr_getdetachstate): Likewise.
8982         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
8983         Likewise.
8984         * nptl/pthread_attr_getinheritsched.c
8985         (__pthread_attr_getinheritsched): Likewise.
8986         * nptl/pthread_attr_getschedparam.c
8987         (__pthread_attr_getschedparam): Likewise.
8988         * nptl/pthread_attr_getschedpolicy.c
8989         (__pthread_attr_getschedpolicy): Likewise.
8990         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
8991         Likewise.
8992         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
8993         Likewise.
8994         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
8995         Likewise.
8996         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
8997         Likewise.
8998         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
8999         (__pthread_attr_init_2_0): Likewise.
9000         * nptl/pthread_attr_setdetachstate.c
9001         (__pthread_attr_setdetachstate): Likewise.
9002         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
9003         Likewise.
9004         * nptl/pthread_attr_setinheritsched.c
9005         (__pthread_attr_setinheritsched): Likewise.
9006         * nptl/pthread_attr_setschedparam.c
9007         (__pthread_attr_setschedparam): Likewise.
9008         * nptl/pthread_attr_setschedpolicy.c
9009         (__pthread_attr_setschedpolicy): Likewise.
9010         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
9011         Likewise.
9012         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
9013         Likewise.
9014         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
9015         Likewise.
9016         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
9017         Likewise.
9018         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
9019         Likewise.
9020         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
9021         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
9022         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
9023         use internal_function.
9024         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
9025         prototype-style function definition.
9026         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
9027         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
9028         internal_function.
9029         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
9030         Convert to prototype-style function definition.
9031         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9032         Likewise.
9033         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
9034         Likewise.
9035         (__pthread_mutex_unlock): Likewise.
9036         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
9037         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
9038         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
9039         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
9040         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
9041         * nss/makedb.c (process_input): Likewise.
9042         * posix/fnmatch.c (__strchrnul): Likewise.
9043         (__wcschrnul): Likewise.
9044         (fnmatch): Likewise.
9045         * posix/fnmatch_loop.c (FCT): Likewise.
9046         * posix/glob.c (globfree): Likewise.
9047         (__glob_pattern_type): Likewise.
9048         (__glob_pattern_p): Likewise.
9049         * posix/regcomp.c (re_compile_pattern): Likewise.
9050         (re_set_syntax): Likewise.
9051         (re_compile_fastmap): Likewise.
9052         (regcomp): Likewise.
9053         (regerror): Likewise.
9054         (regfree): Likewise.
9055         * posix/regexec.c (regexec): Likewise.
9056         (re_match): Likewise.
9057         (re_search): Likewise.
9058         (re_match_2): Likewise.
9059         (re_search_2): Likewise.
9060         (re_search_stub): Likewise.  Use internal_function
9061         (re_copy_regs): Likewise.
9062         (re_set_registers): Convert to prototype-style function
9063         definition.
9064         (prune_impossible_nodes): Likewise.  Use internal_function.
9065         * resolv/inet_net_pton.c (inet_net_pton): Convert to
9066         prototype-style function definition.
9067         (inet_net_pton_ipv4): Likewise.
9068         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9069         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
9070         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
9071         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
9072         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9073         Make variadic.
9074         * time/strptime_l.c (localtime_r): Convert to prototype-style
9075         function definition.
9076         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9077         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9078         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9079         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9081         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
9082         definition.
9083         (_ufc_doit_r): Likewise.
9084         * crypt/crypt_util.c (_ufc_copymem): Likewise.
9085         (_ufc_output_conversion_r): Likewise.
9086         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
9087         * inet/rcmd.c (rcmd_af): Likewise.
9088         (rcmd): Likewise.
9089         (ruserok_af): Likewise.
9090         (ruserok): Likewise.
9091         (ruserok2_sa): Likewise.
9092         (ruserok_sa): Likewise.
9093         (iruserok_af): Likewise.
9094         (iruserok): Likewise.
9095         (__ivaliduser): Likewise.
9096         (__validuser2_sa): Likewise.
9097         * inet/rexec.c (rexec_af): Likewise.
9098         (rexec): Likewise.
9099         * inet/ruserpass.c (ruserpass): Likewise.
9100         * locale/programs/xmalloc.c (xcalloc): Likewise.
9101         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
9102         * math/w_drem.c (__drem): Likewise.
9103         * math/w_dremf.c (__dremf): Likewise.
9104         * math/w_dreml.c (__dreml): Likewise.
9105         * misc/daemon.c (daemon): Likewise.
9106         * resolv/res_debug.c (p_fqnname): Likewise.
9107         * stdlib/div.c (div): Likewise.
9108         * string/memcmp.c (memcmp_bytes): Likewise.
9109         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
9110         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
9112         * crypt/cert.c (main): Convert to prototype-style function
9113         definition.
9114         * io/pipe.c (__pipe): Likewise.
9115         * io/pipe2.c (__pipe2): Likewise.
9116         * misc/futimesat.c (futimesat): Likewise.
9117         * misc/utimes.c (__utimes): Likewise.
9118         * posix/execve.c (__execve): Likewise.
9119         * posix/execvp.c (execvp): Likewise.
9120         * posix/execvpe.c (__execvpe): Likewise.
9121         * posix/fexecve.c (fexecve): Likewise.
9122         * socket/socketpair.c (socketpair): Likewise.
9123         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9124         * stdlib/erand48.c (erand48): Likewise.
9125         * stdlib/erand48_r.c (__erand48_r): Likewise.
9126         * stdlib/jrand48.c (jrand48): Likewise.
9127         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
9128         * stdlib/lcong48.c (lcong48): Likewise.
9129         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
9130         * stdlib/nrand48.c (nrand48): Likewise.
9131         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
9132         * stdlib/seed48.c (seed48): Likewise.
9133         * stdlib/seed48_r.c (__seed48_r): Likewise.
9134         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
9135         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
9136         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
9138 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9140         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
9141         * configure: Regenerated.
9142         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
9143         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
9144         unconditional.
9145         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9146         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9147         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9148         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
9149         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
9150         unconditional.
9151         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9153         * posix/Makefile (CFLAGS-regex.c): Remove variable.
9154         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
9156         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
9157         function definition.
9158         * crypt/crypt_util.c (__encrypt_r): Likewise.
9159         * libio/genops.c (_IO_no_init): Likewise.
9160         * libio/iofopncook.c (_IO_fopencookie): Likewise.
9161         (_IO_old_fopencookie): Likewise.
9162         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9163         * libio/iogetline.c (_IO_getline): Likewise.
9164         (_IO_getline_info): Likewise.
9165         * libio/iogetwline.c (_IO_getwline): Likewise.
9166         (_IO_getwline_info): Likewise.
9167         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
9168         * libio/vswprintf.c (_IO_vswprintf): Likewise.
9169         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
9170         (find_entry): Likewise.
9171         (iterate_table): Likewise.
9172         (lookup): Likewise.
9173         * login/forkpty.c (forkpty): Likewise.
9174         * misc/hsearch_r.c (__hsearch_r): Likewise.
9175         * misc/select.c (__select): Likewise.
9176         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
9177         Likewise.
9178         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
9179         Likewise.
9180         * nptl/old_pthread_cond_timedwait.c
9181         (__pthread_cond_timedwait_2_0): Likewise.
9182         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
9183         * nptl/pthread_barrierattr_getpshared.c
9184         (pthread_barrierattr_getpshared): Likewise.
9185         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
9186         Likewise.
9187         * nptl/pthread_mutex_setprioceiling.c
9188         (pthread_mutex_setprioceiling): Likewise.
9189         * nptl/pthread_mutexattr_getprioceiling.c
9190         (pthread_mutexattr_getprioceiling): Likewise.
9191         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
9192         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9193         Likewise.
9194         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9195         Likewise.
9196         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
9197         Likewise.
9198         * socket/recvfrom.c (__recvfrom): Likewise.
9199         * socket/sendto.c (__sendto): Likewise.
9200         * socket/setsockopt.c (__setsockopt): Likewise.
9201         * stdio-common/_itoa.c (_itoa): Likewise.
9202         * stdio-common/_itowa.c (_itowa): Likewise.
9203         * stdio-common/reg-printf.c (__register_printf_specifier):
9204         Likewise.
9205         (__register_printf_function): Likewise.
9206         * stdio-common/tempname.c (__path_search): Likewise.
9207         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
9208         * stdlib/mul_1.c (mpn_mul_1): Likewise.
9209         * stdlib/random_r.c (__initstate_r): Likewise.
9210         * stdlib/setenv.c (__add_to_environ): Likewise.
9211         * stdlib/submul_1.c (mpn_submul_1): Likewise.
9212         * streams/getpmsg.c (getpmsg): Likewise.
9213         * streams/putmsg.c (putmsg): Likewise.
9214         * streams/putpmsg.c (putpmsg): Likewise.
9215         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
9216         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
9217         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
9218         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
9219         * sunrpc/pm_getport.c (pmap_getport): Likewise.
9220         * sunrpc/svc_udp.c (cache_get): Likewise.
9221         * sunrpc/xdr_array.c (xdr_vector): Likewise.
9222         * sysdeps/mach/hurd/getcwd.c
9223         (__canonicalize_directory_name_internal): Likewise.
9224         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
9225         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
9226         * sysdeps/mach/hurd/select.c (__select): Likewise.
9227         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
9228         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
9229         * sysdeps/sparc/nptl/pthread_barrier_init.c
9230         (__pthread_barrier_init): Likewise.
9231         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
9232         (__pthread_cond_timedwait): Likewise.
9233         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
9234         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
9235         Likewise.
9236         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
9237         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
9238         Likewise.
9239         * sysvipc/semtimedop.c (semtimedop): Likewise.
9240         * time/setitimer.c (__setitimer): Likewise.
9241         * time/strftime_l.c (emacs_strftime): Likewise.
9243 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9245         * config.make.in (have-ssp): Delete.
9246         (stack-protector): New variable.
9247         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
9248         cache test for -fstack-protector-strong.  Export stack_protector to
9249         the best ssp flag.
9250         * configure: Regenerated.
9251         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
9252         * nscd/Makefile (CFLAGS-nscd): Likewise.
9253         * resolv/Makefile (CFLAGS-libresolv): Likewise.
9255 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
9257         [BZ #19122]
9258         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
9259         attribute_hidden.
9261 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9263         [BZ #18743]
9264         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
9265         code to...
9266         (ELIDE_LOCK): ...here.
9267         (__get_new_count): New function with part of the code from
9268         __elide_lock that updates the value of adapt_count after a
9269         transaction abort.
9270         (__elided_trylock): Moved this code to...
9271         (ELIDE_TRYLOCK): ...here.
9273 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9275         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
9276         * configure: Regenerate.
9277         * INSTALL: Regenerate.
9278         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
9279         and tweak grammar.
9281 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
9283         * login/programs/pt_chown.c: Include signal.h
9284         (main): Clear any signal mask from the parent process.
9286 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9288         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
9289         * configure: Regenerated.
9290         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
9291         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
9292         $(gnu89-inline-CFLAGS).
9294         * configure.ac (libc_cv_asm_weak_directive): Remove configure
9295         test.
9296         (libc_cv_asm_weakext_directive): Likewise.
9297         * configure: Regenerated.
9298         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
9299         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
9300         * include/libc-symbols.h
9301         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
9302         #error.
9303         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
9304         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
9306         * sysdeps/arm/backtrace.c (__backtrace): Convert to
9307         prototype-style function definition.
9308         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9309         * sysdeps/i386/ffs.c (__ffs): Likewise.
9310         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9311         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
9312         Likewise.
9313         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9314         Likewise.
9315         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9316         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9317         Likewise.
9318         * sysdeps/m68k/ffs.c (__ffs): Likewise.
9319         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
9320         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
9321         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
9322         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
9323         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
9324         * sysdeps/mach/hurd/access.c (__access): Likewise.
9325         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
9326         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
9327         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
9328         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
9329         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
9330         (cthread_getspecific): Likewise.
9331         (cthread_setspecific): Likewise.
9332         (__libc_getspecific): Likewise.
9333         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
9334         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
9335         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
9336         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
9337         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
9338         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
9339         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
9340         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
9341         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
9342         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
9343         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
9344         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9345         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
9346         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
9347         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
9348         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
9349         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
9350         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
9351         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
9352         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
9353         * sysdeps/mach/hurd/link.c (__link): Likewise.
9354         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
9355         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
9356         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
9357         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
9358         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9359         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
9360         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
9361         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
9362         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9363         * sysdeps/mach/hurd/rename.c (rename): Likewise.
9364         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
9365         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
9366         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
9367         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
9368         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
9369         * sysdeps/mach/hurd/send.c (__send): Likewise.
9370         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
9371         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
9372         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
9373         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
9374         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
9375         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
9376         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
9377         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
9378         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
9379         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
9380         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
9381         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
9382         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
9383         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
9384         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
9385         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
9386         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
9387         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
9388         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
9389         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9390         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
9391         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
9392         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
9393         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
9394         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
9395         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
9396         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
9397         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
9398         * sysdeps/posix/alarm.c (alarm): Likewise.
9399         * sysdeps/posix/cuserid.c (cuserid): Likewise.
9400         * sysdeps/posix/dirfd.c (dirfd): Likewise.
9401         * sysdeps/posix/dup.c (__dup): Likewise.
9402         * sysdeps/posix/dup2.c (__dup2): Likewise.
9403         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
9404         (main): Likewise.
9405         * sysdeps/posix/flock.c (__flock): Likewise.
9406         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
9407         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9408         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
9409         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
9410         * sysdeps/posix/isatty.c (__isatty): Likewise.
9411         * sysdeps/posix/killpg.c (killpg): Likewise.
9412         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9413         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
9414         * sysdeps/posix/raise.c (raise): Likewise.
9415         * sysdeps/posix/remove.c (remove): Likewise.
9416         * sysdeps/posix/rename.c (rename): Likewise.
9417         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
9418         * sysdeps/posix/seekdir.c (seekdir): Likewise.
9419         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
9420         * sysdeps/posix/sigignore.c (sigignore): Likewise.
9421         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
9422         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
9423         * sysdeps/posix/sigset.c (sigset): Likewise.
9424         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
9425         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
9426         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
9427         * sysdeps/posix/time.c (time): Likewise.
9428         * sysdeps/posix/ttyname.c (getttyname): Likewise.
9429         (ttyname): Likewise.
9430         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
9431         * sysdeps/posix/utime.c (utime): Likewise.
9432         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
9433         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9434         Likewise.
9435         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
9436         (pthread_spin_trylock): Likewise.
9437         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
9438         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
9439         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
9440         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
9441         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
9442         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
9443         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
9444         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
9445         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
9446         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
9447         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
9448         * sysdeps/s390/ffs.c (__ffs): Likewise.
9449         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
9450         Likewise.
9451         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9452         Likewise.
9453         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
9454         Likewise.
9455         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
9456         (pthread_barrier_destroy): Likewise.
9457         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9458         (__pthread_barrier_wait): Likewise.
9459         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
9460         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9461         (__pthread_barrier_wait): Likewise.
9462         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
9463         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
9464         (memcmp_not_common_alignment): Likewise.
9465         (MEMCMP): Likewise.
9466         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
9467         (_wordcopy_fwd_dest_aligned): Likewise.
9468         (_wordcopy_bwd_aligned): Likewise.
9469         (_wordcopy_bwd_dest_aligned): Likewise.
9470         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
9471         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
9472         * sysdeps/unix/bsd/stty.c (stty): Likewise.
9473         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
9474         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
9475         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
9476         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
9477         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
9478         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
9479         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
9480         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
9481         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9482         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
9483         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
9484         * sysdeps/unix/stime.c (stime): Likewise.
9485         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
9486         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
9487         Likewise.  Use internal_function.
9488         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
9489         Convert to prototype-style function definition.
9490         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9491         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9492         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
9493         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9494         Likewise.  Use internal_function.
9495         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
9496         prototype-style function definition
9497         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9498         Likewise.
9499         (__getlogin_r): Likewise.
9500         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
9501         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
9502         (__pthread_cond_broadcast): Likewise.
9503         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
9504         (__pthread_cond_destroy): Likewise.
9505         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
9506         (__pthread_cond_init): Likewise.
9507         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
9508         (__pthread_cond_signal): Likewise.
9509         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9510         (__pthread_cond_wait): Likewise.
9511         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
9512         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9513         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
9514         Likewise.
9515         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
9516         Likewise.
9517         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9518         Likewise.
9519         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
9520         Likewise.
9521         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
9522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
9523         (__ftruncate64): Likewise.
9524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
9525         (truncate64): Likewise.
9526         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
9527         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
9528         (pthread_getcpuclockid): Likewise.
9529         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9530         Likewise.
9531         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9532         Likewise.
9533         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
9534         Likewise.
9535         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9536         Likewise.
9537         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
9538         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
9539         (__libc_sigaction): Likewise.
9540         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
9541         Likewise.
9542         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9543         (__sigprocmask): Likewise.
9544         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
9545         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
9546         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
9547         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9548         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9549         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
9550         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9551         Likewise.
9552         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
9553         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
9554         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9555         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
9556         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
9557         Likewise.
9558         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
9559         (__sigprocmask): Likewise.
9560         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
9561         (cfgetispeed): Likewise.
9562         (cfsetospeed): Likewise.
9563         (cfsetispeed): Likewise.
9564         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
9565         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
9566         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9567         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9568         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
9569         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
9570         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
9571         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
9572         Likewise.
9573         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
9574         Likewise.
9575         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
9576         Likewise.
9577         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9578         Likewise.
9579         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9581 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9583         sunrpc: Rewrite with explicit TLS access using __thread.
9584         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
9585         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
9586         directly.
9587         (__rpc_thread_variables): Access thread_rpc_vars directly.
9588         Eliminate redundant assignment of the tvp variable.
9590 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9592         malloc: Rewrite with explicit TLS access using __thread.
9593         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
9594         (tsd_setspecific, tsd_getspecific): Remove.
9595         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
9596         (tsd_setspecific, tsd_getspecific): Likewise.
9597         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
9598         (tsd_setspecific, tsd_getspecific): Likewise.
9599         * malloc/arena.c (thread_arena): New TLS variable.
9600         (arena_key): Remove variable.
9601         (arena_get): Use thread_arena.
9602         (arena_lookup): Remove macro.
9603         (malloc_atfork, free_atfork, ptmalloc_lock_all)
9604         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
9605         (_int_new_arena, get_free_list, reused_arena)
9606         (arena_thread_freeres): Use thread_arena.
9607         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
9608         tsd_getspecific, tsd_setspecific from safety annotations.
9609         (Allocating Cleared Space): Remove arena_lookup from safety
9610         annotations.
9612 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9614         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
9615         struct scratch_buffer instead of extend_alloca.
9617 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9619         * sysdeps/unix/sysv/linux/kernel-features.h
9620         (__ASSUME_SOCK_CLOEXEC): Remove.
9621         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
9622         (__have_paccept): Remove unused macro.
9623         * include/unistd.h (__have_sock_cloexec): Remove declaration.
9624         * misc/syslog.c (openlog_internal): Remove fallback code for
9625         !__ASSUME_SOCK_CLOEXEC.
9626         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
9627         missing SOCK_CLOEXEC.
9628         * nscd/connections.c (have_sock_cloexec): Remove definition.
9629         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9630         * nscd/nscd_helper.c (open_socket): Remove fallback code for
9631         !__ASSUME_SOCK_CLOEXEC.
9632         * resolv/res_send.c (__have_o_nonblock): Remove definition.
9633         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9634         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
9635         definition.
9636         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
9637         code for !__ASSUME_SOCK_CLOEXEC.
9639 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9641         [BZ #18982]
9642         * manual/stdio.texi (Variable Arguments Output): Add portability
9643         note, explaining that vfprintf clobbers the va_list pointer.
9645 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9647         * math/libm-test.inc (fabs_test_data): Add more tests.
9648         (fdim_test_data): Likewise.
9649         (fma_test_data): Likewise.
9650         (fmax_test_data): Likewise.
9651         (fmin_test_data): Likewise.
9652         (fmod_test_data): Likewise.
9654 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
9656         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
9657         data.
9659 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9661         * math/libm-test.inc (ceil_test_data): Add more tests and more
9662         expectations for "inexact".
9663         (floor_test_data): Add more tests.
9664         (round_test_data): Likewise.
9665         (trunc_test_data): Likewise.
9667         * crypt/cert.c (good_bye): Convert to prototype-style function
9668         definition.
9669         (get8): Likewise.
9670         (put8): Likewise.
9671         * crypt/crypt-entry.c (crypt): Likewise.
9672         (__fcrypt): Likewise.
9673         * crypt/crypt_util.c (_ufc_prbits): Likewise.
9674         (_ufc_set_bits): Likewise.
9675         (_ufc_clearmem): Likewise.
9676         (__init_des_r): Likewise.
9677         (shuffle_sb): Likewise.
9678         (shuffle_sb): Likewise.
9679         (_ufc_setup_salt_r): Likewise.
9680         (_ufc_mk_keytab_r): Likewise.
9681         (_ufc_dofinalperm_r): Likewise.
9682         (encrypt): Likewise.
9683         (__setkey_r): Likewise.
9684         (setkey): Likewise.
9685         * crypt/md5.c (md5_init_ctx): Likewise.
9686         (md5_read_ctx): Likewise.
9687         (md5_finish_ctx): Likewise.
9688         (md5_stream): Likewise.
9689         (md5_buffer): Likewise.
9690         (md5_process_bytes): Likewise.
9691         * crypt/sha256.c (__sha256_init_ctx): Likewise.
9692         (__sha256_finish_ctx): Likewise.
9693         (__sha256_process_bytes): Likewise.
9694         * crypt/sha512.c (__sha512_init_ctx): Likewise.
9695         (__sha512_finish_ctx): Likewise.
9696         (__sha512_process_bytes): Likewise.
9697         * ctype/isctype.c (__isctype): Likewise.
9698         * debug/backtrace.c (__backtrace): Likewise.
9699         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
9700         * debug/fgets_chk.c (__fgets_chk): Likewise.
9701         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
9702         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
9703         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9704         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9705         * debug/memset_chk.c (__memset_chk): Likewise.
9706         * debug/strcat_chk.c (__strcat_chk): Likewise.
9707         * debug/strncat_chk.c (__strncat_chk): Likewise.
9708         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
9709         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
9710         * dirent/dirfd.c (dirfd): Likewise.
9711         * dirent/getdents.c (__getdirentries): Likewise.
9712         * dirent/getdents64.c (getdirentries64): Likewise.
9713         * dirent/rewinddir.c (__rewinddir): Likewise.
9714         * dirent/seekdir.c (seekdir): Likewise.
9715         * dirent/telldir.c (telldir): Likewise.
9716         * elf/sln.c (makesymlinks): Likewise.
9717         (makesymlink): Likewise.
9718         * gmon/gmon.c (__moncontrol): Likewise.
9719         (__monstartup): Likewise.
9720         (write_hist): Likewise.
9721         (write_call_graph): Likewise.
9722         (write_bb_counts): Likewise.
9723         * grp/setgroups.c (setgroups): Likewise.
9724         * inet/inet_lnaof.c (inet_lnaof): Likewise.
9725         * inet/inet_net.c (inet_network): Likewise.
9726         * inet/inet_netof.c (inet_netof): Likewise.
9727         * inet/rcmd.c (rresvport_af): Likewise.
9728         (rresvport): Likewise.
9729         * io/access.c (__access): Likewise.
9730         * io/chdir.c (__chdir): Likewise.
9731         * io/chmod.c (__chmod): Likewise.
9732         * io/chown.c (__chown): Likewise.
9733         * io/close.c (__close): Likewise.
9734         * io/creat.c (creat): Likewise.
9735         * io/creat64.c (creat64): Likewise.
9736         * io/dup.c (__dup): Likewise.
9737         * io/dup2.c (__dup2): Likewise.
9738         * io/dup3.c (__dup3): Likewise.
9739         * io/euidaccess.c (__euidaccess): Likewise.
9740         * io/faccessat.c (faccessat): Likewise.
9741         * io/fchmod.c (__fchmod): Likewise.
9742         * io/fchmodat.c (fchmodat): Likewise.
9743         * io/fchown.c (__fchown): Likewise.
9744         * io/fchownat.c (fchownat): Likewise.
9745         * io/fcntl.c (__fcntl): Likewise.
9746         * io/flock.c (__flock): Likewise.
9747         * io/fts.c (fts_load): Likewise.
9748         (fts_close): Likewise.
9749         (fts_read): Likewise.
9750         (fts_set): Likewise.
9751         (fts_children): Likewise.
9752         (fts_build): Likewise.
9753         (fts_stat): Likewise.
9754         (fts_sort): Likewise.
9755         (fts_alloc): Likewise.
9756         (fts_lfree): Likewise.
9757         (fts_palloc): Likewise.
9758         (fts_padjust): Likewise.
9759         (fts_maxarglen): Likewise.
9760         (fts_safe_changedir): Likewise.
9761         * io/getwd.c (getwd): Likewise.
9762         * io/isatty.c (__isatty): Likewise.
9763         * io/lchown.c (__lchown): Likewise.
9764         * io/link.c (__link): Likewise.
9765         * io/linkat.c (linkat): Likewise.
9766         * io/lseek.c (__libc_lseek): Likewise.
9767         * io/mkdir.c (__mkdir): Likewise.
9768         * io/mkdirat.c (mkdirat): Likewise.
9769         * io/mkfifo.c (mkfifo): Likewise.
9770         * io/mkfifoat.c (mkfifoat): Likewise.
9771         * io/open.c (__libc_open): Likewise.
9772         * io/open64.c (__libc_open64): Likewise.
9773         * io/readlink.c (__readlink): Likewise.
9774         * io/readlinkat.c (readlinkat): Likewise.
9775         * io/rmdir.c (__rmdir): Likewise.
9776         * io/symlink.c (__symlink): Likewise.
9777         * io/symlinkat.c (symlinkat): Likewise.
9778         * io/ttyname.c (ttyname): Likewise.
9779         * io/ttyname_r.c (__ttyname_r): Likewise.
9780         * io/umask.c (__umask): Likewise.
9781         * io/unlink.c (__unlink): Likewise.
9782         * io/unlinkat.c (unlinkat): Likewise.
9783         * io/utime.c (utime): Likewise.
9784         * libio/clearerr.c (clearerr): Likewise.
9785         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
9786         * libio/feof.c (_IO_feof): Likewise.
9787         * libio/feof_u.c (feof_unlocked): Likewise.
9788         * libio/ferror.c (_IO_ferror): Likewise.
9789         * libio/ferror_u.c (ferror_unlocked): Likewise.
9790         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9791         * libio/fileno.c (__fileno): Likewise.
9792         * libio/fputc.c (fputc): Likewise.
9793         * libio/fputc_u.c (fputc_unlocked): Likewise.
9794         * libio/fputwc.c (fputwc): Likewise.
9795         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
9796         * libio/freopen.c (freopen): Likewise.
9797         * libio/freopen64.c (freopen64): Likewise.
9798         * libio/fseek.c (fseek): Likewise.
9799         * libio/fseeko.c (fseeko): Likewise.
9800         * libio/fseeko64.c (fseeko64): Likewise.
9801         * libio/ftello.c (__ftello): Likewise.
9802         * libio/ftello64.c (ftello64): Likewise.
9803         * libio/fwide.c (fwide): Likewise.
9804         * libio/genops.c (_IO_un_link): Likewise.
9805         (_IO_link_in): Likewise.
9806         (_IO_least_marker): Likewise.
9807         (_IO_switch_to_main_get_area): Likewise.
9808         (_IO_switch_to_backup_area): Likewise.
9809         (_IO_switch_to_get_mode): Likewise.
9810         (_IO_free_backup_area): Likewise.
9811         (_IO_switch_to_put_mode): Likewise.
9812         (__overflow): Likewise.
9813         (__underflow): Likewise.
9814         (__uflow): Likewise.
9815         (_IO_setb): Likewise.
9816         (_IO_doallocbuf): Likewise.
9817         (_IO_default_underflow): Likewise.
9818         (_IO_default_uflow): Likewise.
9819         (_IO_default_xsputn): Likewise.
9820         (_IO_sgetn): Likewise.
9821         (_IO_default_xsgetn): Likewise.
9822         (_IO_sync): Likewise.
9823         (_IO_default_setbuf): Likewise.
9824         (_IO_default_seekpos): Likewise.
9825         (_IO_default_doallocate): Likewise.
9826         (_IO_init): Likewise.
9827         (_IO_old_init): Likewise.
9828         (_IO_default_sync): Likewise.
9829         (_IO_default_finish): Likewise.
9830         (_IO_default_seekoff): Likewise.
9831         (_IO_sputbackc): Likewise.
9832         (_IO_sungetc): Likewise.
9833         (_IO_set_column): Likewise.
9834         (_IO_set_column): Likewise.
9835         (_IO_adjust_column): Likewise.
9836         (_IO_get_column): Likewise.
9837         (_IO_init_marker): Likewise.
9838         (_IO_remove_marker): Likewise.
9839         (_IO_marker_difference): Likewise.
9840         (_IO_marker_delta): Likewise.
9841         (_IO_seekmark): Likewise.
9842         (_IO_unsave_markers): Likewise.
9843         (_IO_nobackup_pbackfail): Likewise.
9844         (_IO_default_pbackfail): Likewise.
9845         (_IO_default_seek): Likewise.
9846         (_IO_default_stat): Likewise.
9847         (_IO_default_read): Likewise.
9848         (_IO_default_write): Likewise.
9849         (_IO_default_showmanyc): Likewise.
9850         (_IO_default_imbue): Likewise.
9851         (_IO_iter_next): Likewise.
9852         (_IO_iter_file): Likewise.
9853         * libio/getc.c (_IO_getc): Likewise.
9854         * libio/getwc.c (_IO_getwc): Likewise.
9855         * libio/iofclose.c (_IO_new_fclose): Likewise.
9856         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9857         * libio/iofflush.c (_IO_fflush): Likewise.
9858         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
9859         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
9860         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
9861         * libio/iofgets.c (_IO_fgets): Likewise.
9862         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
9863         * libio/iofgetws.c (fgetws): Likewise.
9864         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9865         * libio/iofopen64.c (_IO_fopen64): Likewise.
9866         * libio/iofopncook.c (_IO_cookie_read): Likewise.
9867         (_IO_cookie_write): Likewise.
9868         (_IO_cookie_seek): Likewise.
9869         (_IO_cookie_close): Likewise.
9870         (_IO_cookie_seekoff): Likewise.
9871         (_IO_old_cookie_seek): Likewise.
9872         * libio/iofputs.c (_IO_fputs): Likewise.
9873         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
9874         * libio/iofputws.c (fputws): Likewise.
9875         * libio/iofputws_u.c (fputws_unlocked): Likewise.
9876         * libio/iofread.c (_IO_fread): Likewise.
9877         * libio/iofread_u.c (__fread_unlocked): Likewise.
9878         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
9879         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
9880         * libio/ioftell.c (_IO_ftell): Likewise.
9881         * libio/iofwrite.c (_IO_fwrite): Likewise.
9882         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9883         * libio/iogets.c (_IO_gets): Likewise.
9884         * libio/iopadn.c (_IO_padn): Likewise.
9885         * libio/iopopen.c (_IO_new_proc_open): Likewise.
9886         (_IO_new_popen): Likewise.
9887         (_IO_new_proc_close): Likewise.
9888         * libio/ioputs.c (_IO_puts): Likewise.
9889         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
9890         (_IO_seekoff): Likewise.
9891         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
9892         (_IO_seekpos): Likewise.
9893         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
9894         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
9895         * libio/ioungetc.c (_IO_ungetc): Likewise.
9896         * libio/ioungetwc.c (ungetwc): Likewise.
9897         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9898         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
9899         * libio/iowpadn.c (_IO_wpadn): Likewise.
9900         * libio/libc_fatal.c (__libc_fatal): Likewise.
9901         * libio/memstream.c (__open_memstream): Likewise.
9902         (_IO_mem_sync): Likewise.
9903         (_IO_mem_finish): Likewise.
9904         * libio/oldfileops.c (_IO_old_file_init): Likewise.
9905         (_IO_old_file_close_it): Likewise.
9906         (_IO_old_file_finish): Likewise.
9907         (_IO_old_file_fopen): Likewise.
9908         (_IO_old_file_attach): Likewise.
9909         (_IO_old_file_setbuf): Likewise.
9910         (_IO_old_do_write): Likewise.
9911         (old_do_write): Likewise.
9912         (_IO_old_file_underflow): Likewise.
9913         (_IO_old_file_overflow): Likewise.
9914         (_IO_old_file_sync): Likewise.
9915         (_IO_old_file_seekoff): Likewise.
9916         (_IO_old_file_write): Likewise.
9917         (_IO_old_file_xsputn): Likewise.
9918         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
9919         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9920         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
9921         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
9922         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9923         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
9924         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
9925         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9926         (_IO_old_popen): Likewise.
9927         (_IO_old_proc_close): Likewise.
9928         * libio/oldpclose.c (__old_pclose): Likewise.
9929         * libio/pclose.c (__new_pclose): Likewise.
9930         * libio/peekc.c (_IO_peekc_locked): Likewise.
9931         * libio/putc.c (_IO_putc): Likewise.
9932         * libio/putc_u.c (putc_unlocked): Likewise.
9933         * libio/putchar.c (putchar): Likewise.
9934         * libio/putchar_u.c (putchar_unlocked): Likewise.
9935         * libio/putwc.c (putwc): Likewise.
9936         * libio/putwc_u.c (putwc_unlocked): Likewise.
9937         * libio/putwchar.c (putwchar): Likewise.
9938         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
9939         * libio/rewind.c (rewind): Likewise.
9940         * libio/setbuf.c (setbuf): Likewise.
9941         * libio/setlinebuf.c (setlinebuf): Likewise.
9942         * libio/vasprintf.c (_IO_vasprintf): Likewise.
9943         * libio/vscanf.c (_IO_vscanf): Likewise.
9944         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
9945         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
9946         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9947         * libio/wgenops.c (_IO_least_wmarker): Likewise.
9948         (_IO_switch_to_main_wget_area): Likewise.
9949         (_IO_switch_to_wbackup_area): Likewise.
9950         (_IO_wsetb): Likewise.
9951         (_IO_wdefault_pbackfail): Likewise.
9952         (_IO_wdefault_finish): Likewise.
9953         (_IO_wdefault_uflow): Likewise.
9954         (__woverflow): Likewise.
9955         (__wuflow): Likewise.
9956         (__wunderflow): Likewise.
9957         (_IO_wdefault_xsputn): Likewise.
9958         (_IO_wdefault_xsgetn): Likewise.
9959         (_IO_wdoallocbuf): Likewise.
9960         (_IO_wdefault_doallocate): Likewise.
9961         (_IO_switch_to_wget_mode): Likewise.
9962         (_IO_free_wbackup_area): Likewise.
9963         (_IO_switch_to_wput_mode): Likewise.
9964         (_IO_sputbackwc): Likewise.
9965         (_IO_sungetwc): Likewise.
9966         (_IO_adjust_wcolumn): Likewise.
9967         (_IO_init_wmarker): Likewise.
9968         (_IO_wmarker_delta): Likewise.
9969         (_IO_seekwmark): Likewise.
9970         (_IO_unsave_wmarkers): Likewise.
9971         * libio/wmemstream.c (open_wmemstream): Likewise.
9972         (_IO_wmem_sync): Likewise.
9973         (_IO_wmem_finish): Likewise.
9974         * locale/nl_langinfo.c (nl_langinfo): Likewise.
9975         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
9976         * locale/programs/simple-hash.c (init_hash): Likewise.
9977         (delete_hash): Likewise.
9978         (insert_entry): Likewise.
9979         (set_entry): Likewise.
9980         (next_prime): Likewise.
9981         (is_prime): Likewise.
9982         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
9983         (xmalloc): Likewise.
9984         (xrealloc): Likewise.
9985         * locale/programs/xstrdup.c (xstrdup): Likewise.
9986         * localedata/collate-test.c (xstrcoll): Likewise.
9987         * localedata/xfrm-test.c (xstrcmp): Likewise.
9988         * login/getlogin_r.c (__getlogin_r): Likewise.
9989         * login/getpt.c (__posix_openpt): Likewise.
9990         * login/login_tty.c (login_tty): Likewise.
9991         * login/setlogin.c (setlogin): Likewise.
9992         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
9993         (mach_msg_destroy_port): Likewise.
9994         (mach_msg_destroy_memory): Likewise.
9995         * malloc/mcheck.c (flood): Likewise.
9996         * misc/acct.c (acct): Likewise.
9997         * misc/brk.c (__brk): Likewise.
9998         * misc/chflags.c (chflags): Likewise.
9999         * misc/chroot.c (chroot): Likewise.
10000         * misc/fchflags.c (fchflags): Likewise.
10001         * misc/fstab.c (getfsspec): Likewise.
10002         (getfsfile): Likewise.
10003         * misc/fsync.c (fsync): Likewise.
10004         * misc/ftruncate.c (__ftruncate): Likewise.
10005         * misc/ftruncate64.c (__ftruncate64): Likewise.
10006         * misc/getdomain.c (getdomainname): Likewise.
10007         (getdomainname): Likewise.
10008         * misc/gethostname.c (__gethostname): Likewise.
10009         * misc/getpass.c (getpass): Likewise.
10010         * misc/getttyent.c (skip): Likewise.
10011         (value): Likewise.
10012         * misc/gtty.c (gtty): Likewise.
10013         * misc/hsearch.c (hsearch): Likewise.
10014         (hcreate): Likewise.
10015         * misc/hsearch_r.c (__hcreate_r): Likewise.
10016         (__hdestroy_r): Likewise.
10017         * misc/ioctl.c (__ioctl): Likewise.
10018         * misc/mkdtemp.c (mkdtemp): Likewise.
10019         * misc/mkostemp.c (mkostemp): Likewise.
10020         * misc/mkostemp64.c (mkostemp64): Likewise.
10021         * misc/mkostemps.c (mkostemps): Likewise.
10022         * misc/mkostemps64.c (mkostemps64): Likewise.
10023         * misc/mkstemp.c (mkstemp): Likewise.
10024         * misc/mkstemp64.c (mkstemp64): Likewise.
10025         * misc/mkstemps.c (mkstemps): Likewise.
10026         * misc/mkstemps64.c (mkstemps64): Likewise.
10027         * misc/mktemp.c (__mktemp): Likewise.
10028         * misc/preadv.c (preadv): Likewise.
10029         * misc/preadv64.c (preadv64): Likewise.
10030         * misc/pwritev.c (pwritev): Likewise.
10031         * misc/pwritev64.c (pwritev64): Likewise.
10032         * misc/readv.c (__readv): Likewise.
10033         * misc/revoke.c (revoke): Likewise.
10034         * misc/setdomain.c (setdomainname): Likewise.
10035         * misc/setegid.c (setegid): Likewise.
10036         * misc/seteuid.c (seteuid): Likewise.
10037         * misc/sethostid.c (sethostid): Likewise.
10038         * misc/sethostname.c (sethostname): Likewise.
10039         * misc/setregid.c (__setregid): Likewise.
10040         * misc/setreuid.c (__setreuid): Likewise.
10041         * misc/sstk.c (sstk): Likewise.
10042         * misc/stty.c (stty): Likewise.
10043         * misc/syscall.c (syscall): Likewise.
10044         * misc/syslog.c (setlogmask): Likewise.
10045         * misc/truncate.c (__truncate): Likewise.
10046         * misc/truncate64.c (truncate64): Likewise.
10047         * misc/ualarm.c (ualarm): Likewise.
10048         * misc/usleep.c (usleep): Likewise.
10049         * misc/ustat.c (ustat): Likewise.
10050         * misc/writev.c (__writev): Likewise.
10051         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
10052         * nptl/old_pthread_cond_broadcast.c
10053         (__pthread_cond_broadcast_2_0): Likewise.
10054         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
10055         Likewise.
10056         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
10057         Likewise.
10058         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
10059         Likewise.
10060         * nptl/pt-raise.c (raise): Likewise.
10061         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
10062         Likewise.
10063         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
10064         * nptl/pthread_barrierattr_destroy.c
10065         (pthread_barrierattr_destroy): Likewise.
10066         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
10067         Likewise.
10068         * nptl/pthread_barrierattr_setpshared.c
10069         (pthread_barrierattr_setpshared): Likewise.
10070         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10071         Likewise.
10072         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
10073         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
10074         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
10075         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
10076         Likewise.
10077         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
10078         Likewise.
10079         * nptl/pthread_condattr_getpshared.c
10080         (pthread_condattr_getpshared): Likewise.
10081         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
10082         Likewise.
10083         * nptl/pthread_condattr_setpshared.c
10084         (pthread_condattr_setpshared): Likewise.
10085         * nptl/pthread_detach.c (pthread_detach): Likewise.
10086         * nptl/pthread_equal.c (__pthread_equal): Likewise.
10087         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
10088         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
10089         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
10090         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
10091         Likewise.
10092         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10093         Likewise.
10094         * nptl/pthread_mutex_getprioceiling.c
10095         (pthread_mutex_getprioceiling): Likewise.
10096         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
10097         Likewise.
10098         * nptl/pthread_mutexattr_getprotocol.c
10099         (pthread_mutexattr_getprotocol): Likewise.
10100         * nptl/pthread_mutexattr_getpshared.c
10101         (pthread_mutexattr_getpshared): Likewise.
10102         * nptl/pthread_mutexattr_getrobust.c
10103         (pthread_mutexattr_getrobust): Likewise.
10104         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
10105         Likewise.
10106         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
10107         Likewise.
10108         * nptl/pthread_mutexattr_setprioceiling.c
10109         (pthread_mutexattr_setprioceiling): Likewise.
10110         * nptl/pthread_mutexattr_setprotocol.c
10111         (pthread_mutexattr_setprotocol): Likewise.
10112         * nptl/pthread_mutexattr_setpshared.c
10113         (pthread_mutexattr_setpshared): Likewise.
10114         * nptl/pthread_mutexattr_setrobust.c
10115         (pthread_mutexattr_setrobust): Likewise.
10116         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
10117         Likewise.
10118         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
10119         Likewise.
10120         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
10121         Likewise.
10122         * nptl/pthread_rwlockattr_getkind_np.c
10123         (pthread_rwlockattr_getkind_np): Likewise.
10124         * nptl/pthread_rwlockattr_getpshared.c
10125         (pthread_rwlockattr_getpshared): Likewise.
10126         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
10127         Likewise.
10128         * nptl/pthread_rwlockattr_setkind_np.c
10129         (pthread_rwlockattr_setkind_np): Likewise.
10130         * nptl/pthread_rwlockattr_setpshared.c
10131         (pthread_rwlockattr_setpshared): Likewise.
10132         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
10133         Likewise.
10134         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
10135         Likewise.
10136         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
10137         Likewise.
10138         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10139         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
10140         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
10141         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
10142         * nptl/sem_close.c (sem_close): Likewise.
10143         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
10144         * nptl/sem_init.c (__old_sem_init): Likewise.
10145         * nptl/sigaction.c (__sigaction): Likewise.
10146         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10147         * posix/_exit.c (_exit): Likewise.
10148         * posix/alarm.c (alarm): Likewise.
10149         * posix/confstr.c (confstr): Likewise.
10150         * posix/fpathconf.c (__fpathconf): Likewise.
10151         * posix/getgroups.c (__getgroups): Likewise.
10152         * posix/getpgid.c (__getpgid): Likewise.
10153         * posix/group_member.c (__group_member): Likewise.
10154         * posix/pathconf.c (__pathconf): Likewise.
10155         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
10156         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
10157         * posix/setgid.c (__setgid): Likewise.
10158         * posix/setpgid.c (__setpgid): Likewise.
10159         * posix/setuid.c (__setuid): Likewise.
10160         * posix/sleep.c (__sleep): Likewise.
10161         * posix/sysconf.c (__sysconf): Likewise.
10162         * posix/times.c (__times): Likewise.
10163         * posix/uname.c (__uname): Likewise.
10164         * posix/waitid.c (__waitid): Likewise.
10165         * pwd/getpw.c (__getpw): Likewise.
10166         * resolv/base64.c (b64_pton): Likewise.
10167         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
10168         * resolv/gethnamaddr.c (Dprintf): Likewise.
10169         (gethostbyname): Likewise.
10170         (gethostbyname2): Likewise.
10171         (gethostbyaddr): Likewise.
10172         (_sethtent): Likewise.
10173         (_gethtbyname): Likewise.
10174         (_gethtbyname2): Likewise.
10175         (_gethtbyaddr): Likewise.
10176         (map_v4v6_address): Likewise.
10177         (map_v4v6_hostent): Likewise.
10178         (addrsort): Likewise.
10179         (ht_sethostent): Likewise.
10180         (ht_gethostbyname): Likewise.
10181         (ht_gethostbyaddr): Likewise.
10182         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
10183         (inet_net_ntop_ipv4): Likewise.
10184         * resolv/inet_neta.c (inet_neta): Likewise.
10185         * resolv/inet_ntop.c (inet_ntop): Likewise.
10186         (inet_ntop4): Likewise.
10187         (inet_ntop6): Likewise.
10188         * resolv/inet_pton.c (__inet_pton): Likewise.
10189         (inet_pton4): Likewise.
10190         (inet_pton6): Likewise.
10191         * resolv/res_debug.c (loc_aton): Likewise.
10192         (loc_ntoa): Likewise.
10193         * resource/getpriority.c (__getpriority): Likewise.
10194         * resource/getrusage.c (__getrusage): Likewise.
10195         * resource/nice.c (nice): Likewise.
10196         * resource/setpriority.c (__setpriority): Likewise.
10197         * resource/setrlimit64.c (setrlimit64): Likewise.
10198         * resource/vlimit.c (vlimit): Likewise.
10199         * resource/vtimes.c (vtimes): Likewise.
10200         * rt/aio_error.c (aio_error): Likewise.
10201         * rt/aio_return.c (aio_return): Likewise.
10202         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
10203         * signal/kill.c (__kill): Likewise.
10204         * signal/killpg.c (killpg): Likewise.
10205         * signal/raise.c (raise): Likewise.
10206         * signal/sigaction.c (__sigaction): Likewise.
10207         * signal/sigaddset.c (sigaddset): Likewise.
10208         * signal/sigaltstack.c (sigaltstack): Likewise.
10209         * signal/sigandset.c (sigandset): Likewise.
10210         * signal/sigblock.c (__sigblock): Likewise.
10211         * signal/sigdelset.c (sigdelset): Likewise.
10212         * signal/sigempty.c (sigemptyset): Likewise.
10213         * signal/sigfillset.c (sigfillset): Likewise.
10214         * signal/sighold.c (sighold): Likewise.
10215         * signal/sigignore.c (sigignore): Likewise.
10216         * signal/sigintr.c (siginterrupt): Likewise.
10217         * signal/sigisempty.c (sigisemptyset): Likewise.
10218         * signal/sigismem.c (sigismember): Likewise.
10219         * signal/signal.c (signal): Likewise.
10220         * signal/sigorset.c (sigorset): Likewise.
10221         * signal/sigpause.c (__sigpause): Likewise.
10222         * signal/sigpending.c (sigpending): Likewise.
10223         * signal/sigprocmask.c (__sigprocmask): Likewise.
10224         * signal/sigrelse.c (sigrelse): Likewise.
10225         * signal/sigreturn.c (__sigreturn): Likewise.
10226         * signal/sigset.c (sigset): Likewise.
10227         * signal/sigsetmask.c (__sigsetmask): Likewise.
10228         * signal/sigstack.c (sigstack): Likewise.
10229         * signal/sigsuspend.c (__sigsuspend): Likewise.
10230         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
10231         * signal/sysv_signal.c (__sysv_signal): Likewise.
10232         * socket/accept.c (accept): Likewise.
10233         * socket/accept4.c (__libc_accept4): Likewise.
10234         * socket/bind.c (__bind): Likewise.
10235         * socket/connect.c (__connect): Likewise.
10236         * socket/getpeername.c (getpeername): Likewise.
10237         * socket/getsockname.c (__getsockname): Likewise.
10238         * socket/getsockopt.c (getsockopt): Likewise.
10239         * socket/listen.c (__listen): Likewise.
10240         * socket/recv.c (__recv): Likewise.
10241         * socket/recvmsg.c (__recvmsg): Likewise.
10242         * socket/send.c (__send): Likewise.
10243         * socket/sendmsg.c (__sendmsg): Likewise.
10244         * socket/shutdown.c (shutdown): Likewise.
10245         * socket/sockatmark.c (sockatmark): Likewise.
10246         * socket/socket.c (__socket): Likewise.
10247         * stdio-common/ctermid.c (ctermid): Likewise.
10248         * stdio-common/cuserid.c (cuserid): Likewise.
10249         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
10250         * stdio-common/remove.c (remove): Likewise.
10251         * stdio-common/rename.c (rename): Likewise.
10252         * stdio-common/renameat.c (renameat): Likewise.
10253         * stdio-common/tempname.c (__gen_tempname): Likewise.
10254         * stdio-common/xbug.c (InitBuffer): Likewise.
10255         (AppendToBuffer): Likewise.
10256         (ReadFile): Likewise.
10257         * stdlib/a64l.c (a64l): Likewise.
10258         * stdlib/drand48_r.c (drand48_r): Likewise.
10259         * stdlib/getcontext.c (getcontext): Likewise.
10260         * stdlib/getenv.c (getenv): Likewise.
10261         * stdlib/l64a.c (l64a): Likewise.
10262         * stdlib/llabs.c (llabs): Likewise.
10263         * stdlib/lldiv.c (lldiv): Likewise.
10264         * stdlib/lrand48_r.c (lrand48_r): Likewise.
10265         * stdlib/mrand48_r.c (mrand48_r): Likewise.
10266         * stdlib/putenv.c (putenv): Likewise.
10267         * stdlib/random.c (__srandom): Likewise.
10268         (__initstate): Likewise.
10269         (__setstate): Likewise.
10270         * stdlib/random_r.c (__srandom_r): Likewise.
10271         (__setstate_r): Likewise.
10272         (__random_r): Likewise.
10273         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
10274         * stdlib/setcontext.c (setcontext): Likewise.
10275         * stdlib/setenv.c (setenv): Likewise.
10276         (unsetenv): Likewise.
10277         * stdlib/srand48.c (srand48): Likewise.
10278         * stdlib/srand48_r.c (__srand48_r): Likewise.
10279         * stdlib/swapcontext.c (swapcontext): Likewise.
10280         * stdlib/system.c (__libc_system): Likewise.
10281         * stdlib/tst-strtod.c (expand): Likewise.
10282         * stdlib/tst-strtol.c (expand): Likewise.
10283         * stdlib/tst-strtoll.c (expand): Likewise.
10284         * streams/fattach.c (fattach): Likewise.
10285         * streams/fdetach.c (fdetach): Likewise.
10286         * streams/getmsg.c (getmsg): Likewise.
10287         * streams/isastream.c (isastream): Likewise.
10288         * string/ffs.c (__ffs): Likewise.
10289         * string/ffsll.c (ffsll): Likewise.
10290         * string/memcmp.c (memcmp_common_alignment): Likewise.
10291         (memcmp_not_common_alignment): Likewise.
10292         (MEMCMP): Likewise.
10293         * string/memcpy.c (memcpy): Likewise.
10294         * string/memmove.c (MEMMOVE): Likewise.
10295         * string/memset.c (memset): Likewise.
10296         * string/rawmemchr.c (RAWMEMCHR): Likewise.
10297         * string/strchrnul.c (STRCHRNUL): Likewise.
10298         * string/strerror.c (strerror): Likewise.
10299         * string/strndup.c (__strndup): Likewise.
10300         * string/strverscmp.c (__strverscmp): Likewise.
10301         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
10302         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
10303         (clnttcp_freeres): Likewise.
10304         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
10305         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
10306         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
10307         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
10308         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
10309         (xdr_callhdr): Likewise.
10310         * sunrpc/rpcinfo.c (udpping): Likewise.
10311         (tcpping): Likewise.
10312         (pstatus): Likewise.
10313         (pmapdump): Likewise.
10314         (brdcst): Likewise.
10315         (deletereg): Likewise.
10316         (getprognum): Likewise.
10317         (getvers): Likewise.
10318         (get_inet_address): Likewise.
10319         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
10320         * sunrpc/svc_udp.c (svcudp_create): Likewise.
10321         (svcudp_stat): Likewise.
10322         (svcudp_recv): Likewise.
10323         (svcudp_reply): Likewise.
10324         (svcudp_getargs): Likewise.
10325         (svcudp_freeargs): Likewise.
10326         (svcudp_destroy): Likewise.
10327         * sunrpc/xdr.c (xdr_bytes): Likewise.
10328         (xdr_netobj): Likewise.
10329         (xdr_string): Likewise.
10330         (xdr_wrapstring): Likewise.
10331         * sunrpc/xdr_float.c (xdr_float): Likewise.
10332         (xdr_double): Likewise.
10333         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
10334         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
10335         * sysvipc/ftok.c (ftok): Likewise.
10336         * sysvipc/msgctl.c (msgctl): Likewise.
10337         * sysvipc/msgget.c (msgget): Likewise.
10338         * sysvipc/msgrcv.c (msgrcv): Likewise.
10339         * sysvipc/msgsnd.c (msgsnd): Likewise.
10340         * sysvipc/semget.c (semget): Likewise.
10341         * sysvipc/semop.c (semop): Likewise.
10342         * sysvipc/shmat.c (shmat): Likewise.
10343         * sysvipc/shmctl.c (shmctl): Likewise.
10344         * sysvipc/shmdt.c (shmdt): Likewise.
10345         * sysvipc/shmget.c (shmget): Likewise.
10346         * termios/cfmakeraw.c (cfmakeraw): Likewise.
10347         * termios/speed.c (cfgetospeed): Likewise.
10348         (cfgetispeed): Likewise.
10349         (cfsetospeed): Likewise.
10350         (cfsetispeed): Likewise.
10351         * termios/tcflow.c (tcflow): Likewise.
10352         * termios/tcflush.c (tcflush): Likewise.
10353         * termios/tcgetattr.c (__tcgetattr): Likewise.
10354         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
10355         * termios/tcgetsid.c (tcgetsid): Likewise.
10356         * termios/tcsendbrk.c (tcsendbreak): Likewise.
10357         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
10358         * time/adjtime.c (__adjtime): Likewise.
10359         * time/dysize.c (dysize): Likewise.
10360         * time/ftime.c (ftime): Likewise.
10361         * time/getitimer.c (__getitimer): Likewise.
10362         * time/gettimeofday.c (__gettimeofday): Likewise.
10363         * time/gmtime.c (__gmtime_r): Likewise.
10364         (gmtime): Likewise.
10365         * time/localtime.c (__localtime_r): Likewise.
10366         (localtime): Likewise.
10367         * time/offtime.c (__offtime): Likewise.
10368         * time/settimeofday.c (__settimeofday): Likewise.
10369         * time/stime.c (stime): Likewise.
10370         * time/strftime_l.c (tm_diff): Likewise.
10371         (iso_week_days): Likewise.
10372         * time/strptime.c (strptime): Likewise.
10373         * time/time.c (time): Likewise.
10374         * time/timespec_get.c (timespec_get): Likewise.
10375         * time/tzset.c (tzset_internal): Likewise.
10376         (compute_change): Likewise.
10377         (__tz_compute): Likewise.
10378         * wcsmbs/btowc.c (__btowc): Likewise.
10379         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
10380         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
10381         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
10382         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
10383         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
10384         * wcsmbs/wcscat.c (__wcscat): Likewise.
10385         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
10386         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
10387         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
10388         * wcsmbs/wcscspn.c (wcscspn): Likewise.
10389         * wcsmbs/wcsdup.c (wcsdup): Likewise.
10390         * wcsmbs/wcslen.c (__wcslen): Likewise.
10391         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
10392         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
10393         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
10394         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
10395         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
10396         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
10397         * wcsmbs/wcsspn.c (wcsspn): Likewise.
10398         * wcsmbs/wcsstr.c (wcsstr): Likewise.
10399         * wcsmbs/wcstok.c (wcstok): Likewise.
10400         * wcsmbs/wctob.c (wctob): Likewise.
10401         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
10402         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10403         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
10404         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
10405         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
10406         * wcsmbs/wmemset.c (__wmemset): Likewise.
10407         * wctype/wcfuncs.c (__towlower): Likewise.
10408         (__towupper): Likewise.
10410         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
10411         (lll_unlock_elision): Add adapt_count parameter.
10413 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10415         * sysdeps/nptl/configure.ac: Do not give errors based on the
10416         results of top-level configure tests.
10417         * sysdeps/nptl/configure: Regenerated.
10419         * configure.ac (libc_cv_Bgroup): Remove configure test.
10420         * configure: Regenerated.
10421         * config.make.in (have-Bgroup): Remove variable.
10423         * configure.ac (sizeof_long_double): Remove configure test.
10424         * configure: Regenerated.
10425         * config.make.in (sizeof-long-double): Remove variable.
10427         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
10428         * configure: Regenerated.
10429         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
10430         variable.
10431         (exceptions): Likewise.
10432         * sysdeps/arm/configure: Regenerated.
10433         * config.make.in (exceptions): Remove variable.
10434         * Makeconfig (uses-callbacks): Use -fexceptions instead of
10435         $(exceptions).
10436         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
10437         (CFLAGS-vdprintf_chk.c): Likewise.
10438         (CFLAGS-printf_chk.c): Likewise.
10439         (CFLAGS-fprintf_chk.c): Likewise.
10440         (CFLAGS-vprintf_chk.c): Likewise.
10441         (CFLAGS-vfprintf_chk.c): Likewise.
10442         (CFLAGS-gets_chk.c): Likewise.
10443         (CFLAGS-fgets_chk.c): Likewise.
10444         (CFLAGS-fgets_u_chk.c): Likewise.
10445         (CFLAGS-fread_chk.c): Likewise.
10446         (CFLAGS-fread_u_chk.c): Likewise.
10447         (CFLAGS-wprintf_chk.c): Likewise.
10448         (CFLAGS-fwprintf_chk.c): Likewise.
10449         (CFLAGS-vwprintf_chk.c): Likewise.
10450         (CFLAGS-vfwprintf_chk.c): Likewise.
10451         (CFLAGS-fgetws_chk.c): Likewise.
10452         (CFLAGS-fgetws_u_chk.c): Likewise.
10453         * libio/Makefile (CFLAGS-fileops.c): Likewise.
10454         (CFLAGS-fputc.c): Likewise.
10455         (CFLAGS-fputwc.c): Likewise.
10456         (CFLAGS-freopen64.c): Likewise.
10457         (CFLAGS-freopen.c): Likewise.
10458         (CFLAGS-fseek.c): Likewise.
10459         (CFLAGS-fseeko64.c): Likewise.
10460         (CFLAGS-fseeko.c): Likewise.
10461         (CFLAGS-ftello64.c): Likewise.
10462         (CFLAGS-ftello.c): Likewise.
10463         (CFLAGS-fwide.c): Likewise.
10464         (CFLAGS-genops.c): Likewise.
10465         (CFLAGS-getc.c): Likewise.
10466         (CFLAGS-getchar.c): Likewise.
10467         (CFLAGS-getwc.c): Likewise.
10468         (CFLAGS-getwchar.c): Likewise.
10469         (CFLAGS-iofclose.c): Likewise.
10470         (CFLAGS-iofflush.c): Likewise.
10471         (CFLAGS-iofgetpos64.c): Likewise.
10472         (CFLAGS-iofgetpos.c): Likewise.
10473         (CFLAGS-iofgets.c): Likewise.
10474         (CFLAGS-iofgetws.c): Likewise.
10475         (CFLAGS-iofputs.c): Likewise.
10476         (CFLAGS-iofputws.c): Likewise.
10477         (CFLAGS-iofread.c): Likewise.
10478         (CFLAGS-iofsetpos64.c): Likewise.
10479         (CFLAGS-iofsetpos.c): Likewise.
10480         (CFLAGS-ioftell.c): Likewise.
10481         (CFLAGS-iofwrite.c): Likewise.
10482         (CFLAGS-iogetdelim.c): Likewise.
10483         (CFLAGS-iogetline.c): Likewise.
10484         (CFLAGS-iogets.c): Likewise.
10485         (CFLAGS-iogetwline.c): Likewise.
10486         (CFLAGS-ioputs.c): Likewise.
10487         (CFLAGS-ioseekoff.c): Likewise.
10488         (CFLAGS-ioseekpos.c): Likewise.
10489         (CFLAGS-iosetbuffer.c): Likewise.
10490         (CFLAGS-iosetvbuf.c): Likewise.
10491         (CFLAGS-ioungetc.c): Likewise.
10492         (CFLAGS-ioungetwc.c): Likewise.
10493         (CFLAGS-oldfileops.c): Likewise.
10494         (CFLAGS-oldiofclose.c): Likewise.
10495         (CFLAGS-oldiofgetpos64.c): Likewise.
10496         (CFLAGS-oldiofgetpos.c): Likewise.
10497         (CFLAGS-oldiofsetpos64.c): Likewise.
10498         (CFLAGS-oldiofsetpos.c): Likewise.
10499         (CFLAGS-peekc.c): Likewise.
10500         (CFLAGS-putc.c): Likewise.
10501         (CFLAGS-putchar.c): Likewise.
10502         (CFLAGS-putwc.c): Likewise.
10503         (CFLAGS-putwchar.c): Likewise.
10504         (CFLAGS-rewind.c): Likewise.
10505         (CFLAGS-wfileops.c): Likewise.
10506         (CFLAGS-wgenops.c): Likewise.
10507         (CFLAGS-oldiofopen.c): Likewise.
10508         (CFLAGS-iofopen.c): Likewise.
10509         (CFLAGS-iofopen64.c): Likewise.
10510         (CFLAGS-oldtmpfile.c): Likewise.
10511         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
10512         (CFLAGS-fprintf.c): Likewise.
10513         (CFLAGS-printf.c): Likewise.
10514         (CFLAGS-vfwprintf.c): Likewise.
10515         (CFLAGS-vfscanf.c): Likewise.
10516         (CFLAGS-vfwscanf.c): Likewise.
10517         (CFLAGS-fscanf.c): Likewise.
10518         (CFLAGS-scanf.c): Likewise.
10519         (CFLAGS-isoc99_vfscanf.c): Likewise.
10520         (CFLAGS-isoc99_vscanf.c): Likewise.
10521         (CFLAGS-isoc99_fscanf.c): Likewise.
10522         (CFLAGS-isoc99_scanf.c): Likewise.
10523         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
10524         (CFLAGS-isoc99_fwscanf.c): Likewise.
10525         (CFLAGS-isoc99_vwscanf.c): Likewise.
10526         (CFLAGS-isoc99_vfwscanf.c): Likewise.
10528         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
10529         after mkstemp64.
10530         * login/tst-utmp.c (do_prepare): Likewise.
10531         * rt/tst-aio.c (do_prepare): Likewise.
10532         * rt/tst-aio64.c (do_prepare): Likewise.
10534 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10536         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10537         (__lll_lock_elision): Remove adapt_count decrement...
10538         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10539         (__lll_trylock_elision): Likewise.
10540         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10541         (__lll_unlock_elision): ... to here. And utilize
10542         new adapt_count parameter.
10543         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10544         (__lll_unlock_elision): Update to include adapt_count
10545         parameter.
10546         (lll_unlock_elision): Pass pointer to adapt_count
10547         variable.
10549 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10551         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
10552         Add elision adapt_count parameter to list of arguments.
10553         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10554         (lll_unlock_elision): Update with new parameter list
10555         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10556         (lll_unlock_elision): Likewise.
10557         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
10558         (lll_unlock_elision): Likewise.
10560 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10562         [BZ #19122]
10563         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
10564         attribute_hidden.
10566         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
10567         attribute_hidden.
10568         [IS_IN (rtld)] (__strdup): Likewise.
10569         [IS_IN (rtld)] (__strerror_r): Likewise.
10570         [IS_IN (rtld)] (__strsep_g): Likewise.
10571         [IS_IN (rtld)] (memchr): Likewise.
10572         [IS_IN (rtld)] (memcmp): Likewise.
10573         [IS_IN (rtld)] (memcpy): Likewise.
10574         [IS_IN (rtld)] (memmove): Likewise.
10575         [IS_IN (rtld)] (memset): Likewise.
10576         [IS_IN (rtld)] (rawmemchr): Likewise.
10577         [IS_IN (rtld)] (stpcpy): Likewise.
10578         [IS_IN (rtld)] (strchr): Likewise.
10579         [IS_IN (rtld)] (strcmp): Likewise.
10580         [IS_IN (rtld)] (strlen): Likewise.
10581         [IS_IN (rtld)] (strnlen): Likewise.
10582         [IS_IN (rtld)] (strsep): Likewise.
10584         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
10585         attribute_hidden.
10586         [IS_IN (rtld)] (__strtoul_internal): Likewise.
10588         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
10589         attribute_hidden.
10590         [IS_IN (rtld)] (__libc_sigaction): Likewise.
10592         * include/setjmp.h (__longjmp): Add attribute_hidden.
10593         [IS_IN (rtld)] (__sigsetjmp): Likewise.
10595         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
10596         Add attribute_hidden.
10598         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
10599         [IS_IN (rtld)] (__open): Likewise.
10600         [IS_IN (rtld)] (__fcntl): Likewise.
10602         * include/dirent.h (__opendirat): Add attribute_hidden.
10603         (__getdents): Likewise.
10604         (__getdents64): Likewise.
10605         (__alloc_dir): Likewise.
10606         [IS_IN (rtld)] (__closedir): Likewise.
10607         [IS_IN (rtld)] (__fdopendir): Likewise.
10608         [IS_IN (rtld)] (__readdir): Likewise.
10609         [IS_IN (rtld)] (__readdir64): Likewise.
10610         [IS_IN (rtld)] (__rewinddir): Likewise.
10612         * include/dlfcn.h (_dl_catch_error): Moved to ...
10613         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
10614         attribute_hidden.
10616         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
10617         (_itoa_word): Likewise.
10619         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
10620         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
10621         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
10622         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
10623         (_dl_higher_prime_number): Likewise.
10624         (_dl_debug_printf_c): Likewise.
10625         (_dl_signal_cerror): Likewise.
10626         (_dl_receive_error): Likewise.
10627         (_dl_reloc_bad_type): Likewise.
10628         (_dl_resolve_conflicts): Likewise.
10629         (_dl_check_all_versions): Likewise.
10630         (_dl_check_map_versions): Likewise.
10631         (_dl_sort_fini): Likewise.
10632         (_dl_debug_initialize): Likewise.
10633         (_dl_init_paths): Likewise.
10634         (_dl_show_auxv): Likewise.
10635         (_dl_next_ld_env_entry): Likewise.
10636         (_dl_important_hwcaps): Likewise.
10637         (_dl_load_cache_lookup): Likewise.
10638         (_dl_update_slotinfo): Likewise.
10639         (_dl_show_scope): Likewise.
10641         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
10642         attribute_hidden.
10643         (_wordcopy_fwd_dest_aligned): Likewise.
10644         (_wordcopy_bwd_aligned): Likewise.
10645         (_wordcopy_bwd_dest_aligned): Likewise.
10647         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10648         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10649         Likewise.
10650         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10651         Likewise.
10652         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
10654 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10656         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
10657         GCC 5 requirement.
10659 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10661         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
10662         test.
10663         * sysdeps/i386/configure: Regenerated.
10664         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
10665         code unconditional.
10667         * configure.ac (libc_cv_asm_previous_directive): Remove configure
10668         test.
10669         (libc_cv_asm_popsection_directive): Likewise.
10670         * configure: Regenerated.
10671         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
10672         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
10673         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
10674         (__make_section_unallocated): Make definition unconditional.
10675         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
10676         Remove conditional definition.
10677         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
10678         (__make_section_unallocated): Likewise.
10680         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
10681         * configure: Regenerated.
10682         * config.make.in (static-libgcc): Remove variable.
10683         * Makerules (build-shlib-helper): Use -static-libgcc instead of
10684         $(static-libgcc).
10685         (build-module-helper): Likewise.
10687         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
10688         * configure: Regenerated.
10690 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10692         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
10693         (struct char_buffer): New type.
10694         (char_buffer_start, char_buffer_size, char_buffer_error)
10695         (char_buffer_rewind, char_buffer_add): New functions.
10696         (ADDW): Remove macro, replaced by the char_buffer_add function.
10697         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
10698         of extend_alloca.  Make control flow more explicit.
10700 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10702         [BZ #19137]
10703         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10704         Add -fomit-frame-pointer.
10705         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
10707 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10709         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
10710         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
10711         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
10712         only if !__GNUC_PREREQ (5,0).
10713         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
10714         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10715         (INTERNAL_SYSCALL_NCS): Likewise.
10716         (LOADREGS_0): New macro for GCC 5.
10717         (ASMARGS_0): Likewise.
10718         (LOADREGS_1): Likewise.
10719         (ASMARGS_1): Likewise.
10720         (LOADREGS_2): Likewise.
10721         (ASMARGS_2): Likewise.
10722         (LOADREGS_3): Likewise.
10723         (ASMARGS_3): Likewise.
10724         (LOADREGS_4): Likewise.
10725         (ASMARGS_4): Likewise.
10726         (LOADREGS_5): Likewise.
10727         (ASMARGS_5): Likewise.
10728         (LOADREGS_6): Likewise.
10729         (ASMARGS_6): Likewise.
10731 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10733         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
10734         -fomit-frame-pointer.
10735         (CFLAGS-mmap64.c): Likewise.
10736         (CFLAGS-semtimedop.c): Likewise.
10737         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
10738         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
10739         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10740         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10742 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10744         [BZ #18928]
10745         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
10746         _dl_pointer_guard member.
10747         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
10748         initializer.
10749         (security_init): Always set up pointer guard.
10750         (process_envvars): Do not process LD_POINTER_GUARD.
10752 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
10754         [BZ #19134]
10755         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
10756         (.LC2): Likewise.
10757         (.LC3): Likewise.
10758         (__lround): Do not add 0.5 to integer or out-of-range arguments.
10760 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10762         [BZ #19129]
10763         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
10764         r0 and r1.
10766 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
10768         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
10770 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
10772         * include/stap-probe.h: Fix macro definition formatting.
10774 2015-10-14  Florian Weimer  <fweimer@redhat.com>
10776         [BZ #19074]
10777         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
10778         load and store num_ifs.
10780 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10782         [BZ #18822]
10783         * sysdeps/unix/sysv/linux/sched_getaffinity.c
10784         (__sched_getaffinity_new): Add libc_hidden_proto and
10785         libc_hidden_def.
10787 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10789         [BZ #19007]
10790         * scripts/localplt.awk: Also allow GOT references.
10791         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
10792         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
10793         with "+ REL R_386_GLOB_DAT".
10794         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
10795         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
10797 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10799         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
10800         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10801         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
10802         Likewise.
10803         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10804         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
10805         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10806         INTERNAL_SYSCALLINTERNAL_SYSCALL and
10807         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10808         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10809         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10810         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10811         Likewise.
10812         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10814 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10816         [BZ #19125]
10817         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
10818         <math_private.h> and <stdint.h>.
10819         (__llround): Avoid conversions to and from long long int, and
10820         subtractions, where those might raise spurious exceptions.
10821         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
10822         <math_private.h> and <stdint.h>.
10823         (__llroundf): Avoid conversions to and from long long int, and
10824         subtractions, where those might raise spurious exceptions.
10826 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10828         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
10829         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10830         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10831         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
10832         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10833         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10834         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
10835         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
10836         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
10837         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10838         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10839         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10840         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
10841         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10842         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10843         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
10844         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
10845         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10846         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
10847         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
10848         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10849         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
10850         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
10851         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10852         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
10853         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10854         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
10855         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10856         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10857         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
10858         (__xstat64_conv): Likewise.
10859         (__xstat32_conv): Likewise.
10861 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10863         * sysdeps/unix/sysv/linux/sysdep.h: New file.
10864         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
10865         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
10866         <sysdeps/unix/sysv/linux/sysdep.h>.
10867         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10868         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
10869         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
10870         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10871         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10872         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
10873         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
10874         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
10875         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
10876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10878         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10879         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10880         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10881         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10882         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10883         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
10884         (sysdep-dl-routines): Add sysdep.
10885         [$(subdir) == nptl] (libpthread-routines): Likewise.
10886         [$(subdir) == rt] (librt-routines): Likewise.
10887         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
10888         PIC when branching to SYSCALL_ERROR_LABEL.
10889         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
10890         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
10891         <sysdeps/unix/sysv/linux/sysdep.h>.
10892         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
10893         (SYSCALL_ERROR_ERRNO): Removed.
10894         (SYSCALL_ERROR_HANDLER): Changed to empty.
10895         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
10896         (__syscall_error): New prototype.
10897         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
10898         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
10900 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10902         [BZ #19124]
10903         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
10904         (_dl_runtime_resolve_avx512): Make it a hidden alias of
10905         _dl_runtime_resolve_avx.
10906         (_dl_runtime_profile_avx512): Make it a hidden alias of
10907         _dl_runtime_profile_avx.
10909 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10911         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
10912         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
10913         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
10914         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
10916         [BZ #16422]
10917         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
10918         New configure test.
10919         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
10920         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
10921         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
10922         <math_private.h> and <stdint.h>.
10923         (__llrint): Avoid conversions to long long int where those might
10924         raise spurious exceptions.
10925         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
10926         <math_private.h> and <stdint.h>.
10927         (__llrintf): Avoid conversions to long long int where those might
10928         raise spurious exceptions.
10930 2015-10-12  Andreas Schwab  <schwab@suse.de>
10932         [BZ #18969]
10933         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
10934         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
10935         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
10936         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
10937         $(gen-locales).
10938         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
10939         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
10940         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
10941         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
10942         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
10943         $(gen-locales).
10944         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
10945         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
10946         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
10947         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
10948         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
10949         ($(objpfx)tst-ftell-active-handler.out)
10950         ($(objpfx)tst-ftell-append.out)
10951         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
10952         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
10953         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
10954         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
10955         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
10956         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
10957         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
10958         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
10959         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
10960         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
10961         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
10962         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
10963         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
10964         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
10965         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
10966         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
10967         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
10968         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
10969         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
10970         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
10971         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
10972         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
10973         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
10974         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
10975         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
10976         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
10977         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
10978         $(gen-locales).
10979         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
10980         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
10981         $(gen-locales).
10982         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
10983         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
10984         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
10985         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
10986         $(gen-locales).
10987         * libio/tst_wprintf2.c (main): Use explicit locale.
10988         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
10990 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10992         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
10993         __msg_sig_post.
10994         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
10996 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10998         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10999         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11001         * sysdeps/arm/libm-test-ulps: Regenerated.
11003         [BZ #15470]
11004         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
11006         [BZ #16399]
11007         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
11008         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
11009         and <fix-fp-int-convert-overflow.h>.
11010         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11011         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11012         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
11013         and <fix-fp-int-convert-overflow.h>.
11014         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
11015         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11016         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
11017         <fix-fp-int-convert-overflow.h>.
11018         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11019         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11020         * sysdeps/ieee754/dbl-64/s_lround.c: Include
11021         <fix-fp-int-convert-overflow.h>.
11022         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
11023         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11024         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
11025         and <fix-fp-int-convert-overflow.h>.
11026         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11027         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11028         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
11029         <limits.h> and <fix-fp-int-convert-overflow.h>.
11030         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11031         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11032         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
11033         and <fix-fp-int-convert-overflow.h>.
11034         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11035         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11036         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
11037         and <fix-fp-int-convert-overflow.h>.
11038         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11039         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11040         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
11042 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
11044         [BZ #18589]
11045         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
11046         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
11047         $(gen-locales).
11049 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11050             Phil Blundell <pb@pbcl.net>
11052         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
11053         * nptl/tst-cancel26.c: New file.
11054         * nptl/tst-cancel27.c: Likewise.
11056 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
11058         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
11059         __ILP32__ isn't defined.
11060         (lrint): Likewise.
11061         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
11062         (lrintf): Likewise.
11063         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
11064         (lrintl): Likewise.
11065         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
11066         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
11067         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
11069 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11071         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11072         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11074         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
11075         file.
11076         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
11077         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
11079 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
11081         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
11082         configure test.
11083         * sysdeps/i386/configure: Regenerated.
11084         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
11085         configure test.
11086         * sysdeps/x86_64/configure: Regenerated.
11087         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
11088         Make code unconditional.
11090         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
11091         test.
11092         * sysdeps/i386/configure: Regenerated.
11093         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
11094         test.
11095         * sysdeps/x86_64/configure: Regenerated.
11096         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
11097         Make code unconditional.
11098         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
11099         Likewise.
11100         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
11101         Likewise.
11102         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11103         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
11104         code unconditional.
11105         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11106         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
11107         code unconditional.
11108         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11109         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
11110         code unconditional.
11111         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
11112         code unconditional.
11113         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11114         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
11115         code unconditional.
11116         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11117         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
11118         code unconditional.
11119         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11120         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
11121         code unconditional.
11122         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11123         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
11124         code unconditional.
11125         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11126         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
11128         [BZ #19095]
11129         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
11130         mantissa to long int before shifting left.
11132 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11134         [BZ #19094]
11135         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
11136         <limits.h>.
11137         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11138         when result overflows but exception would not result from cast.
11139         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
11140         <limits.h>.
11141         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11142         when result overflows but exception would not result from cast.
11143         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
11144         <limits.h>.
11145         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11146         when result overflows but exception would not result from cast.
11147         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
11148         <limits.h>.
11149         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11150         when result overflows but exception would not result from cast.
11151         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
11152         <limits.h>.
11153         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11154         when result overflows but exception would not result from cast.
11155         * math/libm-test.inc (lrint_test_data): Add more tests.
11156         (llrint_test_data): Likewise.
11158 2015-10-08  Roland McGrath  <roland@hack.frob.com>
11160         [BZ #18872]
11161         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
11162         Move out from under [$(run-built-tests) = yes] conditional.
11163         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
11164         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
11166 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
11168         [BZ #18589]
11169         * string/Makefile (tests): Add bug-strcoll2.
11170         (LOCALES): Add cs_CZ.UTF-8.
11171         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
11173         [BZ #18589]
11174         * string/bug-strcoll2.c: New file.
11175         * locale/categories.def: Revert commit
11176         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
11177         * locale/langinfo.h: Likewise.
11178         * locale/localeinfo.h: Likewise.
11179         * locale/C-collate.c: Likewise.
11180         * locale/programs/ld-collate.c (collate_output): Likewise.
11181         * string/strcoll_l.c (STRDIFF): Likewise.
11182         (STRCOLL): Likewise.
11183         * wcsmbs/wcscoll_l.c: Likewise.
11185 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11187         * math/libm-test.inc (lround_test_data): Do not expect the absence
11188         of "inexact" for some tests with non-integer arguments.
11189         (llround_test_data): Likewise.
11191         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
11192         test.
11193         (libc_cv_cc_sse2avx): Likewise.
11194         * sysdeps/i386/configure: Regenerated.
11195         * sysdeps/i386/i686/multiarch/Makefile
11196         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
11197         [$(subdir) = math].
11198         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
11199         code unconditional.
11200         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11201         Likewise.
11202         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
11203         Likewise.
11204         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11205         Likewise.
11206         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
11207         test.
11208         (libc_cv_cc_sse2avx): Likewise.
11209         * sysdeps/x86_64/configure: Regenerated.
11210         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
11211         unconditional.
11212         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
11213         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
11214         unconditional.
11215         (_dl_runtime_profile)
11216         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
11217         conditional code.
11218         * sysdeps/x86_64/fpu/multiarch/Makefile
11219         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
11220         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
11221         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11222         * sysdeps/x86_64/fpu/multiarch/e_exp.c
11223         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11224         * sysdeps/x86_64/fpu/multiarch/e_log.c
11225         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11226         * sysdeps/x86_64/fpu/multiarch/s_atan.c
11227         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11228         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11229         Likewise.
11230         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11231         Likewise.
11232         * sysdeps/x86_64/fpu/multiarch/s_sin.c
11233         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11234         * sysdeps/x86_64/fpu/multiarch/s_tan.c
11235         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11236         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
11237         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
11238         (HAVE_SSE2AVX_SUPPORT): Likewise.
11240 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
11242         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
11243         instead of #pragma optimize.
11245 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11247         [BZ #17195]
11248         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
11249         as is similarly done in systrim and _int_free already.
11251 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11253         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
11255 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11257         [BZ #19088]
11258         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
11259         <limits.h>.
11260         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11261         overflows but exception would not result from cast.
11262         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
11263         and <limits.h>.
11264         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11265         overflows but exception would not result from cast.
11266         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
11267         <limits.h>.
11268         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11269         overflows but exception would not result from cast.
11270         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
11271         <limits.h>.
11272         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11273         overflows but exception would not result from cast.
11274         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
11275         <limits.h>.
11276         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11277         overflows but exception would not result from cast.
11278         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
11279         <limits.h>.
11280         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11281         overflows but exception would not result from cast.
11282         * math/libm-test.inc (lround_test_data): Add more tests.
11283         (llround_test_data): Likewise.
11285 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
11287         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
11288         (CFLAGS-ialloc.c): Ditto.
11289         (CFLAGS-scheck.c): Ditto.
11291 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11293         [BZ #19086]
11294         * manual/filesys.texi (Storage Allocation): Fix argument order for
11295         posix_fallocate64.
11297 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11299         [BZ #19085]
11300         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
11301         exponent below 48 inside case for non-overflowing exponent.
11302         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
11304 2015-10-07  Florian Weimer  <fweimer@redhat.com>
11306         * iconvdata/cp737.h (from_idx): Add const.
11307         * iconvdata/cp775.h (from_idx): Likewise.
11309 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11311         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
11312         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
11313         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
11315         [BZ #19079]
11316         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
11317         file, conditioned on [!_LP64].
11318         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
11319         [!_LP64] (__lround): Do not define as function or alias.
11320         [!_LP64] (lround): Likewise.
11321         [!_LP64] (__lroundl): Likewise.
11322         [!_LP64] (lroundl): Likewise.
11323         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
11324         macro.
11325         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11326         Likewise.
11328 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
11330         * math/libm-test.inc (lrint_test_data): Add more tests.
11331         (llrint_test_data): Likewise.
11332         (lround_test_data): Likewise.
11333         (llround_test_data): Likewise.
11335         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
11336         (llrint_test_data): Add tests used for lrint.
11338         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
11339         test.
11340         * sysdeps/i386/configure: Regenerated.
11341         * sysdeps/i386/i686/multiarch/Makefile
11342         [$(config-cflags-sse4) = yes]: Make code unconditional.
11343         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11344         Likewise.
11345         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
11346         Likewise.
11347         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
11348         test.
11349         * sysdeps/x86_64/configure: Regenerated.
11350         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
11351         Make code unconditional.
11352         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11353         Likewise.
11354         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
11355         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
11357         * scripts/rpm2dynsym.sh: Remove file.
11359 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11361         * configure.ac (libc_cv_cxx_thread_local): Define.
11362         * configure: Regenerate.
11363         * config.make.in (have-cxx-thread_local): Define.
11364         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
11365         (LDLIBS-tst-thread_local1): Define.
11366         (tests): Add tst-thread_local1.
11367         [have-cxx-thread_local != yes] (tests-unsupported): Add
11368         tst-thread_local1.
11369         * nptl/tst-thread_local1.cc: New file.
11371 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
11373         [BZ #19078]
11374         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
11375         (u_thres): Likewise.
11376         (__expl): Determine whether to call __kernel_standard_l based on
11377         value of result, not argument.
11379         * math/libm-test.inc (scalb_test_data): Add more expectations for
11380         the "inexact" exception.
11382         [BZ #19077]
11383         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
11384         0.0L for argument 1.0L.
11386         [BZ #19076]
11387         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
11388         constant 0.0L when computing infinite result.
11390 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11392         [BZ #10432]
11393         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
11394         malloc_usable_size.
11396 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11398         [BZ #19018]
11399         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11400         Mangle function pointer before storing it.
11401         (__call_tls_dtors): Demangle function pointer before calling it.
11403 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11405         [BZ #19012]
11406         * iconv/gconv_db.c (gen_steps): Check for additional errors.
11407         Clean up on failure.
11409 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
11411         [BZ #19071]
11412         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
11413         long int variable to store possibly incremented high part of
11414         mantissa.
11415         * math/libm-test.inc (lround_test_data): Add tests used for
11416         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
11417         for tests requiring 64-bit long.  Do not condition tests on
11418         [TEST_FLOAT] unnecessarily.
11419         (llround_test_data): Add tests used for lround.  Add another
11420         expectation for the "inexact" exception.  Do not condition tests
11421         on [TEST_FLOAT] unnecessarily.
11423         [BZ #887]
11424         [BZ #19049]
11425         [BZ #19050]
11426         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
11427         * sysdeps/ieee754/dbl-64/e_log10.c: Include
11428         <fix-int-fp-convert-zero.h>.
11429         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11430         * sysdeps/ieee754/dbl-64/e_log2.c: Include
11431         <fix-int-fp-convert-zero.h>.
11432         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11433         * sysdeps/ieee754/dbl-64/s_erf.c: Include
11434         <fix-int-fp-convert-zero.h>.
11435         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11436         * sysdeps/ieee754/dbl-64/s_logb.c: Include
11437         <fix-int-fp-convert-zero.h>.
11438         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11439         * sysdeps/ieee754/flt-32/e_log10f.c: Include
11440         <fix-int-fp-convert-zero.h>.
11441         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11442         * sysdeps/ieee754/flt-32/e_log2f.c: Include
11443         <fix-int-fp-convert-zero.h>.
11444         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11445         * sysdeps/ieee754/flt-32/s_erff.c: Include
11446         <fix-int-fp-convert-zero.h>.
11447         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11448         * sysdeps/ieee754/flt-32/s_logbf.c: Include
11449         <fix-int-fp-convert-zero.h>.
11450         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11451         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
11452         <fix-int-fp-convert-zero.h>.
11453         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11454         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
11455         <fix-int-fp-convert-zero.h>.
11456         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11457         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
11458         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
11459         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
11460         file.
11461         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
11463 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
11465         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11467 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
11469         [BZ #19059]
11470         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
11471         overflowing computation.
11472         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11473         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11474         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11475         Likewise.
11476         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11477         Likewise.
11478         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11479         Likewise.
11480         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11481         Likewise.
11482         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11483         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11484         Likewise.
11485         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11486         Likewise.
11487         * math/libm-test.inc (nexttoward_test_data): Add more tests.
11489         * nss/rewrite_field.c (__nss_rewrite_field): Use
11490         internal_function.
11491         * nss/valid_field.c (__nss_valid_field): Likewise.
11492         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
11494 2015-10-02  Florian Weimer  <fweimer@redhat.com>
11496         [BZ #18724]
11497         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
11498         (__nss_invalid_field_characters, __nss_valid_field)
11499         (__nss_valid_list_field, __nss_rewrite_field): Declare.
11500         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
11501         tst-field.c: New file.
11502         * nss/Makefile (routines): Add valid_field, rewrite_field.
11503         (tests-static): Define unconditionally.
11504         (tests): Include tests-static.
11505         [build-static-nss] (tests-static): Use append.
11506         [build-static-nss] (tests): Remove modification.
11507         * nss/getent.c (print_group): Call putgrent.  Report error.
11508         (print_gshadow): Call putsgent.  Report error.
11509         (print_passwd): Call putpwent.  Report error.
11510         (print_shadow): Call putspent.  Report error.
11511         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
11512         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
11513         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
11514         name, password, directory, shell fields for valid syntax.  Rewrite
11515         GECOS field to match syntax.
11516         * pwd/Makefile (tests): Add tst-putpwent.
11517         * pwd/tst-putpwent.c: New file.
11518         * grp/putgrent.c (putgrent): Convert to ISO function definition.
11519         Check grName, grpasswd, gr_mem fields for valid syntax.
11520         Change loop variable i to size_t.
11521         * grp/Makefile (tests): Add tst-putgrent.
11522         * grp/tst-putgrent.c: New file.
11523         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
11524         valid syntax.
11525         * shadow/Makefile (tests): Add tst-putspent.
11526         * shadow/tst-putspent.c: New file.
11527         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
11528         sg_mem fields for valid syntax.
11529         * gshadow/Makefile (tests): Add tst-putsgent.
11530         * gshadow/tst-putsgent.c: New file.
11532 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11534         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
11535         assembly instructions.
11537 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11539         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
11540         prefix from operands.
11542 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
11544         [BZ #16347]
11545         [BZ #19046]
11546         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
11547         <libc-internal.h>.
11548         (MAXLGM): Do not use diagnostic control macros.
11549         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
11550         threshold for ldbl-128ibm.
11551         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
11552         instead of multiplying by log then subtracting.
11553         * math/auto-libm-test-in: Add more tests of lgamma.
11554         * math/auto-libm-test-out: Regenerated.
11556         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
11557         (TYPE_HEX_DIG): Likewise.
11558         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
11559         precisions when printing floating-point numbers.
11560         (check_float_internal): Likewise.
11562 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11564         [BZ #16620]
11565         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
11566         of log (10) rounded downward to 48 bits.
11567         (log10_low): Use corresponding low part of log (10).
11569         [BZ #19032]
11570         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
11571         compute result as (x - x) / (x - x) not as 0 / 0.
11572         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11573         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
11575         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11576         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
11577         and expm1.
11578         * math/auto-libm-test-out: Regenerated.
11579         * math/libm-test.inc (acos_test_data): Add more tests.
11580         (asin_test_data): Likewise.
11581         (asinh_test_data): Likewise.
11582         (atan_test_data): Likewise.
11583         (atanh_test_data): Likewise.
11584         (atan2_test_data): Likewise.
11585         (cbrt_test_data): Likewise.
11586         (ceil_test_data): Likewise.
11587         (copysign_test_data): Likewise.
11588         (cos_test_data): Likewise.
11589         (cosh_test_data): Likewise.
11590         (erf_test_data): Likewise.
11591         (erfc_test_data): Likewise.
11592         (exp_test_data): Likewise.
11593         (exp10_test_data): Likewise.
11594         (exp2_test_data): Likewise.
11595         (expm1_test_data): Likewise.
11596         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11598 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
11600         [BZ #19006]
11601         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
11602         to ...
11603         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
11604         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
11605         to ...
11606         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
11607         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
11608         to ...
11609         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
11610         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
11611         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
11612         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
11613         to ...
11614         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
11615         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11616         Moved to ...
11617         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
11618         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11619         Moved to ...
11620         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
11621         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
11622         to ...
11623         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
11624         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11625         Moved to ...
11626         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
11627         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
11628         to ...
11629         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
11630         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
11631         Removed.
11632         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
11633         Likewise.
11634         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
11635         Likewise.
11636         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
11637         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
11638         Likewise.
11639         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11640         Likewise.
11641         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11642         Likewise.
11643         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11644         Likewise.
11645         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11646         Likewise.
11647         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
11648         Likewise.
11649         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
11650         Likewise.
11651         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
11652         Likewise.
11653         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
11654         Likewise.
11655         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
11656         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
11657         Likewise.
11658         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11659         Likewise.
11660         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11661         Likewise.
11662         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11663         Likewise.
11664         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
11665         Likewise.
11666         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11667         Replace ../i486/pthread_cond_timedwait.S with
11668         ../pthread_cond_timedwait.S.
11670 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11672         * math/libm-test.inc (acos_test_data): Refine expectations for
11673         errno and "inexact" exceptions.
11674         (acosh_test_data): Likewise.
11675         (asin_test_data): Likewise.
11676         (asinh_test_data): Likewise.
11677         (atan_test_data): Likewise.
11678         (atanh_test_data): Likewise.
11679         (atan2_test_data): Likewise.
11680         (cbrt_test_data): Likewise.
11681         (ceil_test_data): Likewise.
11682         (copysign_test_data): Likewise.
11683         (cosh_test_data): Likewise.
11684         (erf_test_data): Likewise.
11685         (erfc_test_data): Likewise.
11686         (exp_test_data): Likewise.
11687         (exp10_test_data): Likewise.
11688         (exp2_test_data): Likewise.
11689         (expm1_test_data): Likewise.
11690         (fabs_test_data): Likewise.
11691         (floor_test_data): Likewise.
11692         (fma_test_data): Likewise.
11693         (fmax_test_data): Likewise.
11694         (fmin_test_data): Likewise.
11695         (fmod_test_data): Likewise.
11696         (fpclassify_test_data): Likewise.
11697         (frexp_test_data): Likewise.
11698         (hypot_test_data): Likewise.
11699         (ilogb_test_data): Likewise.
11700         (isgreater_test_data): Likewise.
11701         (isgreaterequal_test_data): Likewise.
11702         (isinf_test_data): Likewise.
11703         (isless_test_data): Likewise.
11704         (islessequal_test_data): Likewise.
11705         (islessgreater_test_data): Likewise.
11706         (isnan_test_data): Likewise.
11707         (isnormal_test_data): Likewise.
11708         (issignaling_test_data): Likewise.
11709         (isunordered_test_data): Likewise.
11710         (j0_test_data): Likewise.
11711         (j1_test_data): Likewise.
11712         (jn_test_data): Likewise.
11713         (lgamma_test_data): Likewise.
11714         (lrint_test_data): Likewise.
11715         (llrint_test_data): Likewise.
11716         (log_test_data): Likewise.
11717         (log10_test_data): Likewise.
11718         (log1p_test_data): Likewise.
11719         (log2_test_data): Likewise.
11720         (logb_test_data): Likewise.
11721         (lround_test_data): Likewise.
11722         (llround_test_data): Likewise.
11723         (modf_test_data): Likewise.
11724         (nearbyint_test_data): Likewise.
11725         (nextafter_test_data): Likewise.
11726         (nexttoward_test_data): Likewise.
11727         (pow_test_data): Likewise.
11728         (remainder_test_data): Likewise.
11729         (remquo_test_data): Likewise.
11730         (rint_test_data): Likewise.
11731         (round_test_data): Likewise.
11732         (signbit_test_data): Likewise.
11733         (sinh_test_data): Likewise.
11734         (sqrt_test_data): Likewise.
11735         (tanh_test_data): Likewise.
11736         (tgamma_test_data): Likewise.
11737         (trunc_test_data): Likewise.
11738         (y0_test_data): Likewise.
11739         (y1_test_data): Likewise.
11740         (yn_test_data): Likewise.
11741         (significand_test_data): Likewise.
11743 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
11745         * manual/filesys.texi (Storage Allocation): Document that
11746         posix_fallocate emulation fails when fd is open with O_WRONLY.
11748 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
11750         [BZ #19016]
11751         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
11752         allow more cases with X^2 + Y^2 >= 0.5.
11753         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
11754         normal element in sum instead of special-casing based on values of
11755         arguments.
11756         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
11757         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
11758         -1 as normal element in sum instead of special-casing based on
11759         values of arguments.
11760         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
11761         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
11762         (__x2y2m1): Update comment.
11763         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
11764         as normal element in sum instead of special-casing based on values
11765         of arguments.
11766         * math/s_clog.c (__clog): Handle more cases using log1p without
11767         hypot.
11768         * math/s_clog10.c (__clog10): Likewise.
11769         * math/s_clog10f.c (__clog10f): Likewise.
11770         * math/s_clog10l.c (__clog10l): Likewise.
11771         * math/s_clogf.c (__clogf): Likewise.
11772         * math/s_clogl.c (__clogl): Likewise.
11773         * math/auto-libm-test-in: Add more tests of clog and clog10.
11774         * math/auto-libm-test-out: Regenerated.
11775         * sysdeps/i386/fpu/libm-test-ulps: Update.
11776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11778 2015-09-28  Martin Sebor  <msebor@redhat.com>
11780         [BZ #18969]
11781         * string/Makefile (LOCALES): Define.
11782         (gen-locales.mk): Include.
11783         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
11784         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
11785         * string/tst-strxfrm2.c (do_test): Print the name of the locale
11786         on setlocale failure.
11788 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11790         [BZ #18985]
11791         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
11792         (__strftime_internal): Likewise.
11793         * time/tst-strftime.c (do_bz18985): New test.
11794         (do_test): Call it.
11796 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
11798         [BZ #18956]
11799         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
11800         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
11801         extracting high part.
11802         * math/auto-libm-test-in: Add another test of pow.
11803         * math/auto-libm-test-out: Regenerated.
11804         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11806 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11808         [BZ #18825]
11809         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
11810         New macro.
11811         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
11812         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11813         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
11814         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
11815         DBL_NARROW_EVAL, reloading the PIC register as needed.
11816         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
11817         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
11818         FLT_NARROW_EVAL.  Use separate return path for case when first
11819         argument is NaN.
11820         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
11821         DEFINE_LDBL_MIN.
11822         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
11823         PIC register.
11824         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
11825         math_check_force_underflow_nonneg.
11826         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
11827         underflow for subnormal result.
11828         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11829         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
11830         math_check_force_underflow_nonneg.
11831         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
11832         math_check_force_underflow.
11833         * sysdeps/x86_64/fpu/x86_64-math-asm.h
11834         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
11835         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
11836         DEFINE_LDBL_MIN.
11837         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
11838         * math/auto-libm-test-in: Add more tests of pow.
11839         * math/auto-libm-test-out: Regenerated.
11841 2015-09-25  Florian Weimer  <fweimer@redhat.com>
11843         * nss/bug17079.c (init_test_items): Add diagnostic for
11844         inconsistent entries.
11845         (test_buffer_size): Skip inconsistent entries.
11847 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11849         [BZ #13304]
11850         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
11851         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
11852         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
11854         [BZ #13304]
11855         * sysdeps/microblaze/s_fma.c: New file.
11856         * sysdeps/microblaze/s_fmaf.c: Likewise.
11857         * sysdeps/microblaze/sfp-machine.h: Likewise.
11859 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
11861         [BZ #17250]
11862         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
11863         member.
11865 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11867         [BZ #18803]
11868         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
11869         (MO): New macro.
11870         (__ieee754_hypot) [PIC]: Load PIC register.
11871         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
11872         DBL_NARROW_EVAL.
11873         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
11874         math_check_force_underflow_nonneg in case where result might be
11875         tiny.
11876         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11877         Likewise.
11878         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11879         Likewise.
11880         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11881         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
11882         * math/auto-libm-test-in: Add more tests of hypot.
11883         * math/auto-libm-test-out: Regenerated.
11885 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
11887         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
11889 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11891         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
11892         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
11893         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11894         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11895         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
11896         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11897         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11899         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
11900         LOAD_PIC_REG.
11902         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
11903         (FLT_CHECK_FORCE_UFLOW): Likewise.
11904         (DBL_CHECK_FORCE_UFLOW): Likewise.
11905         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
11906         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
11907         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
11908         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11909         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11910         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11911         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11912         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11913         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
11914         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11915         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
11916         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
11917         (flt_min): Replace with use of DEFINE_FLT_MIN.
11918         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
11919         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
11920         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11921         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
11922         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
11923         (flt_min): Replace with use of DEFINE_FLT_MIN.
11924         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
11925         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
11926         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11927         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
11928         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
11929         (flt_min): Replace with use of DEFINE_FLT_MIN.
11930         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
11931         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
11932         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11933         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11934         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
11935         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11936         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11937         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
11938         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11939         (__atan): Use DBL_CHECK_FORCE_UFLOW.
11940         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
11941         (flt_min): Replace with use of DEFINE_FLT_MIN.
11942         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
11943         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
11944         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11945         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
11946         main computation.
11947         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
11948         (flt_min): Replace with use of DEFINE_FLT_MIN.
11949         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
11950         main computation.
11951         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
11952         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11953         (MO): New macro.
11954         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
11955         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
11956         (flt_min): Replace with use of DEFINE_FLT_MIN.
11957         (MO): New macro.
11958         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
11959         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
11960         (__log1pl): Use MO.
11962         [BZ #19003]
11963         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
11964         $(config-cflags-nofma).
11966 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11968         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11970 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
11972         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
11973         (TWO127): Likewise.
11975         * sysdeps/generic/math_private.h (fabs_tg): New macro.
11976         (min_of_type): Likewise.
11977         (math_check_force_underflow): Likewise.
11978         (math_check_force_underflow_nonneg): Likewise.
11979         (math_check_force_underflow_complex): Likewise.
11980         * math/e_exp2l.c (__ieee754_exp2l): Use
11981         math_check_force_underflow_nonneg.
11982         * math/k_casinh.c (__kernel_casinh): Likewise.
11983         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11984         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11985         * math/s_catan.c (__catan): Use
11986         math_check_force_underflow_complex.
11987         * math/s_catanf.c (__catanf): Likewise.
11988         * math/s_catanh.c (__catanh): Likewise.
11989         * math/s_catanhf.c (__catanhf): Likewise.
11990         * math/s_catanhl.c (__catanhl): Likewise.
11991         * math/s_catanl.c (__catanl): Likewise.
11992         * math/s_ccosh.c (__ccosh): Likewise.
11993         * math/s_ccoshf.c (__ccoshf): Likewise.
11994         * math/s_ccoshl.c (__ccoshl): Likewise.
11995         * math/s_cexp.c (__cexp): Likewise.
11996         * math/s_cexpf.c (__cexpf): Likewise.
11997         * math/s_cexpl.c (__cexpl): Likewise.
11998         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
11999         * math/s_clog10.c (__clog10): Likewise.
12000         * math/s_clog10f.c (__clog10f): Likewise.
12001         * math/s_clog10l.c (__clog10l): Likewise.
12002         * math/s_clogf.c (__clogf): Likewise.
12003         * math/s_clogl.c (__clogl): Likewise.
12004         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
12005         * math/s_csinf.c (__csinf): Likewise.
12006         * math/s_csinh.c (__csinh): Likewise.
12007         * math/s_csinhf.c (__csinhf): Likewise.
12008         * math/s_csinhl.c (__csinhl): Likewise.
12009         * math/s_csinl.c (__csinl): Likewise.
12010         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
12011         * math/s_csqrtf.c (__csqrtf): Likewise.
12012         * math/s_csqrtl.c (__csqrtl): Likewise.
12013         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
12014         * math/s_ctanf.c (__ctanf): Likewise.
12015         * math/s_ctanh.c (__ctanh): Likewise.
12016         * math/s_ctanhf.c (__ctanhf): Likewise.
12017         * math/s_ctanhl.c (__ctanhl): Likewise.
12018         * math/s_ctanl.c (__ctanl): Likewise.
12019         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
12020         instead of volatile.
12021         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
12022         math_check_force_underflow.
12023         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12024         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
12025         volatile when forcing underflow.
12026         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12027         math_check_force_underflow_nonneg.
12028         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12029         Likewise.
12030         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
12031         math_check_force_underflow.
12032         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12033         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12034         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12035         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
12036         math_check_force_underflow_nonneg.
12037         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
12038         math_check_force_underflow.
12039         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
12040         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
12041         instead of volatile.
12042         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
12043         math_check_force_underflow.
12044         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12045         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12046         math_check_force_underflow_nonneg.
12047         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
12048         math_check_force_underflow.
12049         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12050         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12051         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
12052         math_check_force_underflow_nonneg.
12053         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12054         Likewise.
12055         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
12056         math_check_force_underflow.
12057         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12058         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12059         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
12060         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
12061         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12062         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
12063         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
12064         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
12065         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12066         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
12067         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
12068         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
12069         Likewise.
12070         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
12071         math_check_force_underflow_nonneg.
12072         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12073         Likewise.
12074         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
12075         math_check_force_underflow.
12076         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12077         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
12078         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12079         Likewise.
12080         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
12081         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
12082         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
12083         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
12084         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
12085         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12086         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
12087         instead of volatile.
12088         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
12089         math_check_force_underflow.
12090         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
12091         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
12092         math_check_force_underflow.
12093         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
12094         Likewise.
12095         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12096         Use math_check_force_underflow_nonneg.
12097         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
12098         math_check_force_underflow.
12099         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12100         Likewise.
12101         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12102         Likewise.
12103         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12104         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12105         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12106         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12107         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
12108         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12109         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
12110         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
12111         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
12112         math_check_force_underflow_nonneg.
12113         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
12114         math_check_force_underflow.
12115         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12116         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
12117         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
12118         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
12119         math_check_force_underflow_nonneg.
12120         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
12121         math_check_force_underflow.
12122         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
12123         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
12124         instead of volatile.
12125         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
12126         math_check_force_underflow.
12128         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
12129         * stdlib/strtod_l.c: Include <math_private.h>.
12130         (overflow_value): Use math_narrow_eval.
12131         (underflow_value): Likewise.
12132         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12133         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12134         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
12135         (__ieee754_gamma_r): Likewise.
12136         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
12137         Likewise.
12138         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12139         Likewise.
12140         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12141         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
12142         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
12143         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
12144         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12145         (__ieee754_gammaf_r): Likewise.
12146         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12147         Likewise.
12148         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12149         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
12150         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
12151         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
12152         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
12153         volatile.
12154         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
12155         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
12156         math_narrow_eval.
12157         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12158         Likewise.
12159         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12160         Likewise.
12161         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
12162         Likewise.
12163         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
12164         volatile.
12165         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
12166         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
12167         math_narrow_eval.
12168         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12169         Likewise.
12170         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12171         Likewise.
12173 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
12175         * nptl/Versions: Remove ignored symbols.
12177 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12179         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
12180         * nss/Makefile (tests): Update.
12182 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12184         * nss/bug18287.c: New file.
12185         * nss/Makefile (tests): Add bug18287.
12187 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12189         * mach/Versions (__mach_host_self_): Add symbol.
12191 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12193         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
12194         vm_page_size.
12196 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12198         Really fix sysdeps/i386/fpu/s_scalbn.S build
12200         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
12201         (libc: GLIBC_2_22): Remove unused version set.
12203 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12205         * config.make.in (enable-timezone-tools): New variable.
12206         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
12207         (enable_timezone_tools): Export to generated files.
12208         * configure: Regenerate.
12209         * INSTALL: Regenerate.
12210         * manual/install.texi (--disable-timezone-tools): Document new flag.
12211         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
12212         ifeq ($(enable-timezone-tools),yes) check.
12214 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12216         * timezone/Makefile: Revert previous change.
12218         [BZ #18980]
12219         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
12220         (DEFINE_DBL_MIN): Likewise.
12221         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12222         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12223         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12224         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12225         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
12226         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12227         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12228         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
12229         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
12230         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12231         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12232         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
12233         (flt_min): Replace with use of DEFINE_FLT_MIN.
12234         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12235         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
12236         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12237         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12238         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
12239         (flt_min): Replace with use of DEFINE_FLT_MIN.
12240         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12241         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
12242         (flt_min): Replace with use of DEFINE_FLT_MIN.
12243         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12244         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
12245         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
12246         (__ieee754_hypot): Use DBL_NARROW_EVAL.
12247         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
12248         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
12249         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
12250         (__ieee754_pow): Use DBL_NARROW_EVAL.
12251         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
12252         (__ieee754_powf): Use FLT_NARROW_EVAL.
12253         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
12254         (__ieee754_expf_sse2): Convert double-precision result to single
12255         precision.
12256         * sysdeps/i386/fpu/libm-test-ulps: Update.
12258 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12260         * timezone/Makefile: Ignore unused variable errors due to private.h
12261         (time_t_min) and (time_t_max).
12262         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
12263         Likewise.
12265 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12267         [BZ #18981]
12268         * sysdeps/i386/fpu/i386-math-asm.h: New file.
12269         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
12270         (__ieee754_scalb): Use DBL_NARROW_EVAL.
12271         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
12272         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
12273         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
12274         (__scalbn): Use DBL_NARROW_EVAL.
12275         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
12276         (__scalbnf): Use FLT_NARROW_EVAL.
12278 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12280         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
12281         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
12282         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
12283         * stdio-common/printf_fp.c (___printf_fp):
12284         Use signbit to get the sign. Use isinf macro to allow inlining.
12285         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
12286         * stdio-common/printf_size.c (__printf_size): Likewise.
12288 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12290         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
12292 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12294         [BZ #18980]
12295         * sysdeps/generic/math_private.h: Include <float.h>.
12296         (math_narrow_eval): New macro.
12297         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12298         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
12299         math_narrow_eval on overflowing return value.
12300         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
12301         Likewise.
12302         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12303         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
12304         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
12305         Likewise.
12306         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12308 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12310         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
12311         * math/Makefile: Remove isinf_ns.c.
12312         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
12313         * math/multc3.c (__multc3): Likewise.
12314         * math/s_casin.c (__casin): Likewise.
12315         * math/s_casinf.c (__casinf): Likewise.
12316         * math/s_casinl.c (__casinl): Likewise.
12317         * math/s_cproj.c (__cproj): Likewise.
12318         * math/s_cprojf.c (__cprojf): Likewise.
12319         * math/s_cprojl.c (__cprofl): Likewise.
12320         * math/s_ctan.c (__ctan): Likewise.
12321         * math/s_ctanf.c (__ctanf): Likewise.
12322         * math/s_ctanh.c (__ctanh): Likewise.
12323         * math/s_ctanhf.c (__ctanhf): Likewise.
12324         * math/s_ctanhl.c (__ctanhl): Likewise.
12325         * math/s_ctanl.c (__ctanl): Likewise.
12326         * math/w_fmod.c (__fmod): Likewise.
12327         * math/w_fmodf.c (__fmodf): Likewise.
12328         * math/w_fmodl.c (_fmodl): Likewise.
12329         * math/w_remainder.c (__remainder): Likewise.
12330         * math/w_remainderf.c (__remainderf): Likewise.
12331         * math/w_remainderl.c (__remainderl): Likewise.
12332         * math/w_scalb.c (__scalb): Likewise.
12333         * math/w_scalbf.c (__scalbf): Likewise.
12334         * math/w_scalbl.c (__scalbl): Likewise.
12335         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
12336         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
12337         with isinf.
12338         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
12339         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
12340         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
12341         __isinf_nsf with isinf.
12342         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
12343         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
12344         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
12345         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
12346         with isinf.
12347         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
12348         __isinf_nsl with isinf.
12349         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
12350         with isinf.
12351         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
12352         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
12353         __isinf_nsl with isinf.
12354         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
12355         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
12356         with isinf.
12358 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12360         * resolv/base64.c (rcsid): Remove unused static.
12361         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
12362         static.  (tqpi1): Likewise.
12363         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
12364         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
12365         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
12366         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
12367         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
12368         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
12369         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
12370         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
12371         Likewise.
12373 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
12375         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
12376         <nptl/pthreadP.h>.
12377         (_longjmp_unwind): Use __libc_ptf_call.
12378         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
12380 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
12382         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
12383         * sysdeps/arm/__longjmp.S: Likewise.
12385 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12387         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
12388         Use __builtin_signbit.
12389         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
12390         Use __builtin_signbitf.
12391         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
12392         Use __builtin_signbitl.
12393         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12394         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
12396 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12398         [BZ #15367]
12399         [BZ #17441]
12401         * math/Makefile: Build test-snan.c with -fsignaling-nans.
12402         * math/math.h (fpclassify): Use __builtin_fpclassify when
12403         available.  (signbit): Use __builtin_signbit(f/l).
12404         (isfinite): Use__builtin_isfinite.  (isnormal): Use
12405         __builtin_isnormal.  (isnan): Use __builtin_isnan.
12406         (isinf): Use __builtin_isinf_sign.
12408 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12410         * benchtests/Makefile: Add bench-math-inlines, link with libm.
12411         * benchtests/bench-math-inlines.c: New benchmark.
12412         * benchtests/bench-util.h: New file.
12413         * benchtests/bench-util.c: New file.
12414         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
12416 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
12418         * elf/tst-dlmopen1.c: Define TEST_SO.
12419         (do_test): Use TEST_SO.
12421         * elf/dl-load.c: Include libc-internal.h.
12422         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
12424 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12426         [BZ #17887]
12427         * time/strptime_l.c (__strptime_internal): Make %z accept
12428         [+-]HH:MM time zones.
12430 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12432         [BZ #17886]
12433         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
12434         valid time zone.
12436 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
12438         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
12439         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
12440         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12441         (__ASSUME_FDATASYNC): Delete.
12443 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12445         * conform/linknamespace.pl: Require weak undefined symbols to be
12446         in the standard namespace.
12447         (%strong_syms): Rename to %seen_syms.
12448         (%strong_seen): Rename to %seen_where.
12450 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
12452         [BZ #18970]
12453         * misc/error.c (error): Replace pthread_setcancelstate with
12454         __pthread_setcancelstate.
12455         (error_at_line): Likewise.
12456         * posix/wordexp.c (parse_comm): Likewise.
12457         * stdlib/fmtmsg.c (fmtmsg): Likewise.
12458         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
12459         (__pthread_setcancelstate): This.
12460         (pthread_setcancelstate): Add an alias.
12461         * nptl/nptl-init.c (pthread_functions): Replace
12462         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
12463         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
12464         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
12465         hidden_proto.
12466         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
12467         it with hidden_def.
12468         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
12469         (pthread_setcancelstate): Renamed to ...
12470         (__pthread_setcancelstate): This.
12471         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
12472         __libc_ptf_call with __pthread_setcancelstate.
12474 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12475             Andreas Schwab  <schwab@suse.de>
12477         [BZ #17118]
12478         * math/s_ctan.c (__ctan): Determine sign of zero real part of
12479         result when imaginary part of argument is infinite using sine and
12480         cosine.
12481         * math/s_ctanf.c (__ctanf): Likewise.
12482         * math/s_ctanl.c (__ctanl): Likewise.
12483         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
12484         of result when real part of argument is infinite using sine and
12485         cosine.
12486         * math/s_ctanhf.c (__ctanhf): Likewise.
12487         * math/s_ctanhl.c (__ctanhl): Likewise.
12488         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
12489         (ctanh_test_data): Add more tests of ctanh.
12491 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12493         [BZ #15384]
12494         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
12495         bit-mask as in subtraction.
12496         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
12497         Likewise.
12498         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
12499         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
12500         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
12502         [BZ #18951]
12503         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
12504         underflow exception for small results.
12505         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12506         Likewise.
12507         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12508         Likewise.
12509         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12510         Likewise.
12511         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12512         Likewise.
12513         * math/auto-libm-test-in: Add more tests of tgamma.
12514         * math/auto-libm-test-out: Regenerated.
12516 2015-09-17  Andreas Schwab  <schwab@suse.de>
12518         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
12520 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12522         [BZ #18977]
12523         * math/bits/mathcalls.h
12524         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
12525         not declare.
12526         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
12527         Likewise.
12528         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
12529         Likewise.
12530         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
12531         Likewise.
12532         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
12533         Likewise.
12534         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
12535         Likewise.
12536         * conform/data/math.h-data
12537         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
12538         function.
12539         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
12540         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
12541         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
12542         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
12543         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
12544         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
12545         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
12546         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
12547         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
12548         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
12549         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
12551         [BZ #6803]
12552         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
12553         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
12554         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
12555         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
12556         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
12557         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
12558         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
12559         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
12560         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12561         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
12562         Likewise.
12563         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12564         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
12565         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
12566         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
12567         long_double_symbol calls.
12568         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
12569         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
12570         strong alias of __ldexpl.
12571         (scalbnl): Define using long_double_symbol.
12572         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
12573         Remove alias.
12574         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
12575         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
12576         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
12577         (scalbln_test_data): Add more errno expectations.
12579 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
12581         Cache the host port like we cache the task port.  This way we do not
12582         need to call the kernel just to get the port.  Furthermore, we no
12583         longer increase the reference count on every invocation of
12584         `mach_host_self'.
12586         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
12587         Protect declarations against the macro expansion.
12588         * mach/mach_init.c (__mach_host_self_): New variable.
12589         (mach_init): Initialize `__mach_host_self_'.
12590         * mach/mach_init.h (__mach_host_self_): New declaration.
12591         (__mach_host_self, mach_host_self): New macros.
12592         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
12593         Release reference.
12595 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12597         [BZ #4404]
12598         * po/de.po: Update from Translation Project.
12600         [BZ #16415]
12601         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
12602         (__expm1l): Remove code to handle positive infinity and overflow.
12603         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
12604         variable.
12605         (__expm1l): Remove code to handle positive infinity and overflow.
12607 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
12608             Paul Pluzhnikov  <ppluzhnikov@google.com>
12610         [BZ #18872]
12611         * stdio-common/Makefile (tst-printf-bz18872): New test.
12612         (tst-printf-bz18872-mem.out): Likewise.
12613         * stdio-common/tst-printf-bz18872.sh: Generate new test.
12614         * stdio-common/vfprintf.c: Fix memory leaks.
12616 2015-09-16  Andreas Schwab  <schwab@suse.de>
12618         [BZ #17244]
12619         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
12620         Remove extra va_start/va_end calls.
12622         [BZ #17243]
12623         * posix/execl.c (execl): Add missing va_end.
12624         * posix/execle.c (execle): Likewise.
12625         * posix/execlp.c (execlp): Likewise.
12627 2015-09-15  Roland McGrath  <roland@hack.frob.com>
12629         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
12630         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
12632 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
12634         [BZ #18967]
12635         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
12636         undefine around includes of <bits/mathcalls.h>.
12637         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
12638         not declare function.
12639         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
12640         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
12641         (scalb): Likewise.
12642         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
12643         not define macro.
12644         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
12645         variable.
12646         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12647         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12648         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12650         [BZ #18857]
12651         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
12652         return non-finite argument without doing ordered comparisons on
12653         it.
12655         [BZ #16296]
12656         * math/fenv.h (fegetround): Use __attribute_pure__.
12657         * include/fenv.h (__fegetround): Likewise.
12659         [BZ #18595]
12660         * math/s_ctan.c (__ctan): Force underflow exception for results
12661         whose real or imaginary part has small absolute value.
12662         * math/s_ctanf.c (__ctanf): Likewise.
12663         * math/s_ctanh.c (__ctanh): Likewise.
12664         * math/s_ctanhf.c (__ctanhf): Likewise.
12665         * math/s_ctanhl.c (__ctanhl): Likewise.
12666         * math/s_ctanl.c (__ctanl): Likewise.
12667         * math/auto-libm-test-in: Do not allow missing underflow for ctan
12668         and ctanh.  Add more tests of ctan and ctanh.
12670         [BZ #15918]
12671         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
12672         handling of cases where one argument is an infinity.
12674         [BZ #18875]
12675         [BZ #18966]
12676         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
12677         (MO): New macro.
12678         (__ieee754_exp10): For small results, force underflow exception
12679         and remove excess range and precision from return value.
12680         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
12681         (MO): New macro.
12682         (__ieee754_exp10f): For small results, force underflow exception
12683         and remove excess range and precision from return value.
12684         * math/auto-libm-test-in: Add more tests of exp10.
12685         * math/auto-libm-test-out: Regenerated.
12687 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
12689         [BZ #18875]
12690         [BZ #18961]
12691         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
12692         (MO): New macro.
12693         (__ieee754_exp): For small results, force underflow exception and
12694         remove excess range and precision from return value.
12695         (__exp_finite): Likewise.
12696         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
12697         (MO): New macro.
12698         (__ieee754_expf): For small results, force underflow exception and
12699         remove excess range and precision from return value.
12700         (__expf_finite): Likewise.
12701         * math/auto-libm-test-in: Add more tests of exp.
12702         * math/auto-libm-test-out: Regenerated.
12704         [BZ #16521]
12705         [BZ #18875]
12706         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
12707         small results.
12708         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
12709         (MO): New macro.
12710         (__ieee754_exp2): For small results, force underflow exception and
12711         remove excess range and precision from return value.
12712         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
12713         (MO): New macro.
12714         (__ieee754_exp2f): For small results, force underflow exception
12715         and remove excess range and precision from return value.
12716         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
12717         (MO): New macro.
12718         (__ieee754_exp2l): Force underflow exception for small results.
12719         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12720         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12721         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
12722         (MO): New macro.
12723         (__ieee754_exp2l): Force underflow exception for small results.
12724         * math/auto-libm-test-in: Add more tests or exp2.
12725         * math/auto-libm-test-out: Regenerated.
12727 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
12729         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
12731         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
12732         /dev/null.
12734 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12736         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12737         io fs process)): Drop spurious backslash.
12739 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12741         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
12742         Use sysinfo system call instead of parsing /proc/meminfo.
12743         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
12744         Likewise.
12746 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
12748         [BZ #16985]
12749         * programs/localedef.c (main): Display argv[remaining] when
12750         output_path is NULL.
12752 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12754         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12755         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
12756         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
12757         tanh.
12758         * math/auto-libm-test-out: Regenerated.
12759         * sysdeps/i386/fpu/libm-test-ulps: Update.
12760         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12761         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12764 2015-09-11  Roland McGrath  <roland@hack.frob.com>
12766         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
12767         Use 'override' keyword to freeze the value here, preventing
12768         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
12770 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12772         [BZ #14912]
12773         * sysdeps/aarch64/bits/atomic.h: Move to ...
12774         * sysdeps/aarch64/atomic-machine.h: ...here.
12775         (_AARCH64_BITS_ATOMIC_H): Rename macro to
12776         _AARCH64_ATOMIC_MACHINE_H.
12777         * sysdeps/alpha/bits/atomic.h: Move to ...
12778         * sysdeps/alpha/atomic-machine.h: ...here.
12779         * sysdeps/arm/bits/atomic.h: Move to ...
12780         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
12781         * bits/atomic.h: Move to ...
12782         * sysdeps/generic/atomic-machine.h: ...here.
12783         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12784         * sysdeps/i386/bits/atomic.h: Move to ...
12785         * sysdeps/i386/atomic-machine.h: ...here.
12786         * sysdeps/ia64/bits/atomic.h: Move to ...
12787         * sysdeps/ia64/atomic-machine.h: ...here.
12788         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
12789         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
12790         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12791         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
12792         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
12793         * sysdeps/microblaze/bits/atomic.h: Move to ...
12794         * sysdeps/microblaze/atomic-machine.h: ...here.
12795         * sysdeps/mips/bits/atomic.h: Move to ...
12796         * sysdeps/mips/atomic-machine.h: ...here.
12797         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
12798         * sysdeps/powerpc/bits/atomic.h: Move to ...
12799         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
12800         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
12801         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
12802         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
12803         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
12804         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
12805         <atomic-machine.h> instead of <bits/atomic.h>.
12806         * sysdeps/s390/bits/atomic.h: Move to ...
12807         * sysdeps/s390/atomic-machine.h: ...here.
12808         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
12809         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
12810         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12811         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
12812         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
12813         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
12814         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
12815         * sysdeps/tile/bits/atomic.h: Move to ...
12816         * sysdeps/tile/atomic-machine.h: ...here.
12817         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
12818         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
12819         <sysdeps/tile/atomic-machine.h> instead of
12820         <sysdeps/tile/bits/atomic.h>.
12821         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12822         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
12823         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
12824         <sysdeps/tile/atomic-machine.h> instead of
12825         <sysdeps/tile/bits/atomic.h>.
12826         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12827         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
12828         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
12829         <sysdeps/arm/atomic-machine.h> instead of
12830         <sysdeps/arm/bits/atomic.h>.
12831         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
12832         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
12833         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12834         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
12835         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
12836         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12837         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
12838         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
12839         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
12840         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
12841         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
12842         * sysdeps/x86_64/bits/atomic.h: Move to ...
12843         * sysdeps/x86_64/atomic-machine.h: ...here.
12844         * include/atomic.h: Include <atomic-machine.h> instead of
12845         <bits/atomic.h>.
12847         * sysdeps/mips/mips32/libm-test-ulps: Update.
12848         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12850         [BZ #18952]
12851         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
12852         not convert non-integer negative arguments to int to determine the
12853         value of signgam.
12854         * math/auto-libm-test-in: Add more tests of lgamma.
12855         * math/auto-libm-test-out: Regenerated.
12857         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
12858         cosh, csqrt, erfc, expm1 and lgamma.
12859         * math/auto-libm-test-out: Regenerated.
12860         * sysdeps/i386/fpu/libm-test-ulps: Update.
12861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12863 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
12865         [BZ #2542]
12866         [BZ #2543]
12867         [BZ #2558]
12868         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
12869         __lgamma_neg for arguments from -28.0 to -2.0.
12870         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
12871         __lgamma_negf for arguments from -15.0 to -2.0.
12872         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12873         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
12874         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
12875         Call __lgamma_negl for arguments from -33.0 to -2.0.
12876         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
12877         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12878         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12879         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
12880         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12881         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12882         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12883         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
12884         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12885         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12886         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
12887         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
12888         (__lgamma_neg): Likewise.
12889         (__lgamma_negl): Likewise.
12890         (__lgamma_product): Likewise.
12891         (__lgamma_productl): Likewise.
12892         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
12893         * math/auto-libm-test-in: Add more tests of lgamma.
12894         * math/auto-libm-test-out: Regenerated.
12895         * sysdeps/i386/fpu/libm-test-ulps: Update.
12896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12898 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
12900         [BZ #18675]
12901         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
12903 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
12905         [BZ #14912]
12906         * bits/libc-lock.h: Move to ...
12907         * sysdeps/generic/libc-lock.h: ...here.
12908         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12909         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
12910         * sysdeps/mach/hurd/libc-lock.h: ...here.
12911         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12912         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
12913         * sysdeps/mach/bits/libc-lock.h: Move to ...
12914         * sysdeps/mach/libc-lock.h: ...here.
12915         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12916         * sysdeps/nptl/bits/libc-lock.h: Move to ...
12917         * sysdeps/nptl/libc-lock.h: ...here.
12918         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12919         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
12920         * sysdeps/nptl/libc-lockP.h: ...here.
12921         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
12922         * crypt/crypt_util.c: Include <libc-lock.h> instead of
12923         <bits/libc-lock.h>.
12924         * dirent/scandir-tail.c: Likewise.
12925         * dlfcn/dlerror.c: Likewise.
12926         * elf/dl-close.c: Likewise.
12927         * elf/dl-iteratephdr.c: Likewise.
12928         * elf/dl-lookup.c: Likewise.
12929         * elf/dl-open.c: Likewise.
12930         * elf/dl-support.c: Likewise.
12931         * elf/dl-writev.h: Likewise.
12932         * elf/rtld.c: Likewise.
12933         * grp/fgetgrent.c: Likewise.
12934         * gshadow/fgetsgent.c: Likewise.
12935         * gshadow/sgetsgent.c: Likewise.
12936         * iconv/gconv_conf.c: Likewise.
12937         * iconv/gconv_db.c: Likewise.
12938         * iconv/gconv_dl.c: Likewise.
12939         * iconv/gconv_int.h: Likewise.
12940         * iconv/gconv_trans.c: Likewise.
12941         * include/link.h: Likewise.
12942         * inet/getnameinfo.c: Likewise.
12943         * inet/getnetgrent.c: Likewise.
12944         * inet/getnetgrent_r.c: Likewise.
12945         * intl/bindtextdom.c: Likewise.
12946         * intl/dcigettext.c: Likewise.
12947         * intl/finddomain.c: Likewise.
12948         * intl/gettextP.h: Likewise.
12949         * intl/loadmsgcat.c: Likewise.
12950         * intl/localealias.c: Likewise.
12951         * intl/textdomain.c: Likewise.
12952         * libidn/idn-stub.c: Likewise.
12953         * libio/libioP.h: Likewise.
12954         * locale/duplocale.c: Likewise.
12955         * locale/freelocale.c: Likewise.
12956         * locale/newlocale.c: Likewise.
12957         * locale/setlocale.c: Likewise.
12958         * login/getutent_r.c: Likewise.
12959         * login/getutid_r.c: Likewise.
12960         * login/getutline_r.c: Likewise.
12961         * login/utmp-private.h: Likewise.
12962         * login/utmpname.c: Likewise.
12963         * malloc/mtrace.c: Likewise.
12964         * misc/efgcvt.c: Likewise.
12965         * misc/error.c: Likewise.
12966         * misc/fstab.c: Likewise.
12967         * misc/getpass.c: Likewise.
12968         * misc/mntent.c: Likewise.
12969         * misc/syslog.c: Likewise.
12970         * nis/nis_call.c: Likewise.
12971         * nis/nis_callback.c: Likewise.
12972         * nis/nss-default.c: Likewise.
12973         * nis/nss_compat/compat-grp.c: Likewise.
12974         * nis/nss_compat/compat-initgroups.c: Likewise.
12975         * nis/nss_compat/compat-pwd.c: Likewise.
12976         * nis/nss_compat/compat-spwd.c: Likewise.
12977         * nis/nss_nis/nis-alias.c: Likewise.
12978         * nis/nss_nis/nis-ethers.c: Likewise.
12979         * nis/nss_nis/nis-grp.c: Likewise.
12980         * nis/nss_nis/nis-hosts.c: Likewise.
12981         * nis/nss_nis/nis-network.c: Likewise.
12982         * nis/nss_nis/nis-proto.c: Likewise.
12983         * nis/nss_nis/nis-pwd.c: Likewise.
12984         * nis/nss_nis/nis-rpc.c: Likewise.
12985         * nis/nss_nis/nis-service.c: Likewise.
12986         * nis/nss_nis/nis-spwd.c: Likewise.
12987         * nis/nss_nisplus/nisplus-alias.c: Likewise.
12988         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
12989         * nis/nss_nisplus/nisplus-grp.c: Likewise.
12990         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
12991         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
12992         * nis/nss_nisplus/nisplus-network.c: Likewise.
12993         * nis/nss_nisplus/nisplus-proto.c: Likewise.
12994         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
12995         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
12996         * nis/nss_nisplus/nisplus-service.c: Likewise.
12997         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
12998         * nis/ypclnt.c: Likewise.
12999         * nptl/libc_pthread_init.c: Likewise.
13000         * nss/getXXbyYY.c: Likewise.
13001         * nss/getXXent.c: Likewise.
13002         * nss/getXXent_r.c: Likewise.
13003         * nss/nss_db/db-XXX.c: Likewise.
13004         * nss/nss_db/db-netgrp.c: Likewise.
13005         * nss/nss_db/nss_db.h: Likewise.
13006         * nss/nss_files/files-XXX.c: Likewise.
13007         * nss/nss_files/files-alias.c: Likewise.
13008         * nss/nsswitch.c: Likewise.
13009         * posix/regex_internal.h: Likewise.
13010         * posix/wordexp.c: Likewise.
13011         * pwd/fgetpwent.c: Likewise.
13012         * resolv/res_hconf.c: Likewise.
13013         * resolv/res_libc.c: Likewise.
13014         * shadow/fgetspent.c: Likewise.
13015         * shadow/lckpwdf.c: Likewise.
13016         * shadow/sgetspent.c: Likewise.
13017         * socket/opensock.c: Likewise.
13018         * stdio-common/reg-modifier.c: Likewise.
13019         * stdio-common/reg-printf.c: Likewise.
13020         * stdio-common/reg-type.c: Likewise.
13021         * stdio-common/vfprintf.c: Likewise.
13022         * stdio-common/vfscanf.c: Likewise.
13023         * stdlib/abort.c: Likewise.
13024         * stdlib/cxa_atexit.c: Likewise.
13025         * stdlib/fmtmsg.c: Likewise.
13026         * stdlib/random.c: Likewise.
13027         * stdlib/setenv.c: Likewise.
13028         * string/strsignal.c: Likewise.
13029         * sunrpc/auth_none.c: Likewise.
13030         * sunrpc/bindrsvprt.c: Likewise.
13031         * sunrpc/create_xid.c: Likewise.
13032         * sunrpc/key_call.c: Likewise.
13033         * sunrpc/rpc_thread.c: Likewise.
13034         * sysdeps/arm/backtrace.c: Likewise.
13035         * sysdeps/generic/ldsodefs.h: Likewise.
13036         * sysdeps/generic/stdio-lock.h: Likewise.
13037         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
13038         * sysdeps/i386/backtrace.c: Likewise.
13039         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13040         * sysdeps/m68k/backtrace.c: Likewise.
13041         * sysdeps/mach/hurd/cthreads.c: Likewise.
13042         * sysdeps/mach/hurd/dirstream.h: Likewise.
13043         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13044         * sysdeps/nptl/malloc-machine.h: Likewise.
13045         * sysdeps/nptl/stdio-lock.h: Likewise.
13046         * sysdeps/posix/dirstream.h: Likewise.
13047         * sysdeps/posix/getaddrinfo.c: Likewise.
13048         * sysdeps/posix/system.c: Likewise.
13049         * sysdeps/pthread/aio_suspend.c: Likewise.
13050         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13051         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13052         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13053         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13054         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
13055         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
13056         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
13057         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
13058         * sysdeps/unix/sysv/linux/system.c: Likewise.
13059         * sysdeps/x86_64/backtrace.c: Likewise.
13060         * time/alt_digit.c: Likewise.
13061         * time/era.c: Likewise.
13062         * time/tzset.c: Likewise.
13063         * wcsmbs/wcsmbsload.c: Likewise.
13064         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
13065         instead of <bits/libc-lock.h> in comment.
13067 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
13069         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
13070         Only use .set mips2 if the current ISA is below mips2.
13071         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
13072         Likewise.
13073         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
13074         mips32r2 if the current ISA is below mips32r2.
13075         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
13076         (TLS_IE): Updated to use the TLD_RDHWR macro.
13077         (TLS_LE): Likewise.
13078         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
13079         __ASSEMBLER__ condition.
13081 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13083         Fix parallel build of before-compile targets.
13085         * sysdeps/mach/Makefile ($(patsubst
13086         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
13087         mach-before-compile target.
13088         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13089         io fs process)): Move rule to dedicated hurd-before-compile target.
13091 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13093         Fix rules generating headers in hurd/ and mach/ when initial make call
13094         has subdir= explicitly set.
13096         * sysdeps/mach/Makefile ($(patsubst
13097         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
13098         calling $(MAKE).
13099         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13100         io fs process)): Force subdir to hurd when calling $(MAKE).
13101         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
13102         subdir to mach when calling $(MAKE).
13104 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
13106         Check sysheaders when looking for Mach and Hurd headers
13108         * sysdeps/mach/configure.ac: Add sysheaders check.
13109         * sysdeps/mach/configure: Regenerate.
13110         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
13111         * sysdeps/mach/hurd/configure: Regenerate.
13113 2015-09-04  Roland McGrath  <roland@hack.frob.com>
13115         [BZ #18921]
13116         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
13117         Fix inverted sense of test of 'o_directory_works' value.
13118         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
13119         Bernhard Voelker <mail@bernhard-voelker.de>.
13121 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
13123         [BZ #14912]
13124         * bits/linkmap.h: Move to ...
13125         * sysdeps/generic/linkmap.h: ...here.
13126         * sysdeps/aarch64/bits/linkmap.h: Move to ...
13127         * sysdeps/aarch64/linkmap.h: ...here.
13128         * sysdeps/arm/bits/linkmap.h: Move to ...
13129         * sysdeps/arm/linkmap.h: ...here.
13130         * sysdeps/hppa/bits/linkmap.h: Move to ...
13131         * sysdeps/hppa/linkmap.h: ...here.
13132         * sysdeps/ia64/bits/linkmap.h: Move to ...
13133         * sysdeps/ia64/linkmap.h: ...here.
13134         * sysdeps/mips/bits/linkmap.h: Move to ...
13135         * sysdeps/mips/linkmap.h: ...here.
13136         * sysdeps/s390/bits/linkmap.h: Move to ...
13137         * sysdeps/s390/linkmap.h: ...here.
13138         * sysdeps/sh/bits/linkmap.h: Move to ...
13139         * sysdeps/sh/linkmap.h: ...here.
13140         * sysdeps/x86/bits/linkmap.h: Move to ...
13141         * sysdeps/x86/linkmap.h: ...here.
13142         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
13144 2015-09-04  Andreas Schwab  <schwab@suse.de>
13146         [BZ #18635]
13147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
13148         (__makecontext): Terminate FDE before return label.
13149         (__novec_makecontext): Likewise.
13151 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13153         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
13154         first member of struct sv in syscall macro.
13156 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
13158         [BZ #14912]
13159         * bits/stdio-lock.h: Move to ...
13160         * sysdeps/generic/stdio-lock.h: ...here.
13161         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13162         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
13163         * sysdeps/nptl/stdio-lock.h: ...here.
13164         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13165         * include/libio.h: Include <stdio-lock.h> instead of
13166         <bits/stdio-lock.h>.
13167         * sysdeps/nptl/fork.c: Likewise.
13168         * sysdeps/pthread/flockfile.c: Likewise.
13169         * sysdeps/pthread/ftrylockfile.c: Likewise.
13170         * sysdeps/pthread/funlockfile.c: Likewise.
13172         [BZ #14912]
13173         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
13174         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
13175         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
13176         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
13177         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
13178         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13179         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
13181 2015-09-03  Roland McGrath  <roland@hack.frob.com>
13183         * elf/Makefile (test-xfail-tst-protected1a): New variable.
13184         (test-xfail-tst-protected1b): New variable.
13186 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
13188         [BZ #14912]
13189         * bits/libc-tsd.h: Move to ...
13190         * sysdeps/generic/libc-tsd.h: ...here.
13191         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
13192         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
13193         * sysdeps/mach/hurd/libc-tsd.h: ...here.
13194         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
13195         * include/ctype.h: Include <libc-tsd.h> instead of
13196         <bits/libc-tsd.h>.
13197         * include/rpc/rpc.h: Likewise.
13198         * locale/localeinfo.h: Likewise.
13199         * sunrpc/rpc_thread.c: Likewise.
13200         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13201         * sysdeps/nptl/malloc-machine.h: Likewise.
13203         * Makefile (headers): Remove bits/libc-lock.h.
13204         * libio/Makefile (headers): Remove bits/stdio-lock.h.
13206         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
13207         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
13208         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
13209         <bits/stdio-lock.h>.
13210         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
13211         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
13213 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13215         [BZ #18757]
13216         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
13217         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
13218         BZ #18757.
13220 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13222         * malloc/mtrace.pl: Filter out NULL entries.
13224 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
13226         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
13227         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
13228         macro.
13230         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
13231         (TCP_CC_INFO): Likewise.
13232         (TCP_SAVE_SYN): Likewise.
13233         (TCP_SAVED_SYN): Likewise.
13235 2015-08-31  Brett Neumeier <brett@neumeier.us>
13237         [BZ #18870]
13238         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
13240 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
13242         [BZ #18873]
13243         Fix broken overflow check in posix_fallocate
13244         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
13245         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13246         Fix parenthesization typo.
13248 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
13250         [BZ #18887]
13251         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
13252         tst-mntent-blank-passno.
13253         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
13254         * misc/tst-mntent-blank-corrupt.c: New test.
13255         * misc/tst-mntent-blank-passno.c: New test ripped from ...
13256         * misc/tst-mntent.c (do_test): ... here.
13258 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
13260         [BZ #4404]
13261         * po/de.po: Fix SIGALRM typo.
13263 2015-08-28  James Perkins  <james@loowit.net>
13265         * time/tst-strptime2.c (tests): Replace short list of test
13266         strings for strptime %z specifier with code which exhaustively
13267         tests every combination of sign and 0 to 5 digits. Tests for
13268         rejection of invalid strings.
13270 2015-08-28  James Perkins  <james@loowit.net>
13272         [BZ #16141]
13273         * time/strptime_l.c (__strptime_internal): Fix %z minutes
13274         calculation, removing incorrect decimal time rounding, so that
13275         all minute values result in a valid seconds value.
13276         * time/strptime_l.c (__strptime_internal): Extend %z time zone
13277         offset range limits to UTC-99:59 through UTC+99:59 to parse
13278         current and historical use cases.
13279         * time/tst-strptime2.c (tests): Modify and add tests for the
13280         strptime %z input field descriptor, specifically conversion of
13281         minutes to seconds and validating an offset range of -9959 to
13282         +9959.
13284 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13285             Dmitry V. Levin  <ldv@altlinux.org>
13287         [BZ #18877]
13288         * posix/Makefile (tests): Add tst-mmap-offset.
13289         * posix/tst-mmap.c: New file.
13290         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
13291         offset calculation for negative values.
13293 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13295         * sysdeps/i386/init-arch.h: New file.
13296         * sysdeps/i386/i586/init-arch.h: Likewise.
13297         * sysdeps/i386/i686/init-arch.h: Likewise.
13298         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
13299         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
13300         * sysdeps/x86/cpu-features.h (bit_I586): New.
13301         (bit_I686): Likewise.
13302         (bit_CX8): Likewise.
13303         (bit_CMOV): Likewise.
13304         (index_CX8): Likewise.
13305         (index_CMOV): Likewise.
13306         (index_I586): Likewise.
13307         (index_I686): Likewise.
13308         (reg_CX8): Likewise.
13309         (reg_CMOV): Likewise.
13310         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
13311         available at compile-time.
13312         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
13313         available at compile-time.
13314         * sysdeps/x86/init-arch.h (USE_I586): New macro.
13315         (USE_I686): Likewise.
13317 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13319         * sysdeps/i386/bcopy.S: New file.
13320         * sysdeps/i386/bzero.S: Likewise.
13321         * sysdeps/i386/memcpy.S: Likewise.
13322         * sysdeps/i386/memmove.S: Likewise.
13323         * sysdeps/i386/mempcpy.S: Likewise.
13324         * sysdeps/i386/memset.S: Likewise.
13325         * sysdeps/i386/bzero.c: Removed.
13326         * sysdeps/i386/memset.c: Likewise.
13327         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
13328         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
13329         * sysdeps/i386/i586/memset_chk.S: Likewise.
13330         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
13331         * sysdeps/i386/memcpy_chk.S: Here.
13332         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
13333         * sysdeps/i386/memmove_chk.S: Here.
13334         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
13335         * sysdeps/i386/mempcpy_chk.S: Likewise.
13336         * sysdeps/i386/i686/memset_chk.S: Moved to ...
13337         * sysdeps/i386/memset_chk.S: Likewise.
13339 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
13341         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
13342         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
13343         file, move DIAG_POP_NEEDS_COMMENT to end of file.
13344         * soft-fp/fmadf4.c: Ditto.
13345         * soft-fp/fmatf4.c: Ditto.
13347 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13349         * sysdeps/i386/i586/Implies: Removed.
13350         * sysdeps/i386/i686/Implies: Likewise.
13352 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13354         * sysdeps/i386/i486/strlen.S: Moved to ...
13355         * sysdeps/i386/strlen.S: Here.
13357 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13359         * sysdeps/i386/i486/strcat.S: Moved to ...
13360         * sysdeps/i386/strcat.S: Here.
13362 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13364         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
13365         * sysdeps/i386/pthread_spin_trylock.S: Here.
13366         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
13367         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
13369 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13371         * sysdeps/i386/i486/string-inlines.c: Moved to ...
13372         * sysdeps/i386/string-inlines.c: Here.
13374 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13376         * sysdeps/i386/i486/htonl.S: Moved ...
13377         * sysdeps/i386/htonl.S: here.
13379 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13381         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
13382         * sysdeps/i386/bits/atomic.h: Here.
13384 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13386         * sysdeps/i386/i486/Versions: Removed.
13388 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13390         [BZ #2898]
13391         * misc/mktemp.c: Add mkdtemp to the link_warning message.
13392         Based on patch by Aurelien Jarno.
13394 2015-08-26  Stan Shebs  <stanshebs@google.com>
13396         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
13397         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13399 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13401         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
13402         * sysdeps/powerpc/dl-procinfo.c:
13403         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
13404         feature so it shows when LD_SHOW_AUXV=1.
13406 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13408         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13409         (__arch_compare_and_exchange_val_32_acq): Remove and use common
13410         definition.  ISA 2.07B no longer requires full sync.
13412 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
13414         [BZ #18863]
13415         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
13416         (si_call_addr): Define.
13417         (si_syscall): Define.
13418         (si_arch): Define.
13420 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13422         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
13423         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
13424         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
13425         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13426         (__memset_zero_constant_len_parameter): New.
13427         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
13428         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13429         (__memset_zero_constant_len_parameter): Don't define if
13430         __memset_chk or USE_AS_BZERO are defined.
13432         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
13433         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
13434         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
13436         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
13437         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
13438         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
13439         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
13440         comments.
13441         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
13442         -mno-mmx for $(all-rtld-routines).
13443         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
13444         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
13445         i386.
13447 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13449         * sysdeps/generic/unwind.h
13450         (_Unwind_Word): Use __mode__(__unwind_word__)
13451         instead of __mode__(__word__).
13452         (_Unwind_Sword): Likewise.
13454         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13455         (MAX_NEEDED_INPUT): New define.
13456         (MAX_NEEDED_OUTPUT): New define.
13458         * NEWS: New item for IBM z13 string optimizations.
13460         * sysdeps/s390/multiarch/memrchr-c.c: New File.
13461         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
13462         * sysdeps/s390/multiarch/memrchr.c: Likewise.
13463         * sysdeps/s390/multiarch/Makefile
13464         (sysdep_routines): Add memrchr functions.
13465         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13466         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
13468         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
13469         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
13470         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
13471         * sysdeps/s390/multiarch/Makefile
13472         (sysdep_routines): Add wmemcmp functions.
13473         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13474         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
13475         * benchtests/bench-wmemcmp.c: New File.
13476         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
13478         * sysdeps/s390/multiarch/wmemset-c.c: New File.
13479         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
13480         * sysdeps/s390/multiarch/wmemset.c: Likewise.
13481         * sysdeps/s390/multiarch/Makefile
13482         (sysdep_routines): Add wmemset functions.
13483         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13484         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
13485         * wcsmbs/wmemset.c: Use WMEMSET if defined.
13486         * string/test-memset.c: Add wmemset support.
13487         * wcsmbs/test-wmemset.c: New File.
13488         * wcsmbs/Makefile (strop-tests): Add wmemset.
13489         * benchtests/bench-memset.c: Add wmemset support.
13490         * benchtests/bench-wmemset.c: New File.
13491         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
13493         * sysdeps/s390/multiarch/memccpy-c.c: New File.
13494         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
13495         * sysdeps/s390/multiarch/memccpy.c: Likewise.
13496         * sysdeps/s390/multiarch/Makefile
13497         (sysdep_routines): Add memccpy functions.
13498         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13499         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
13500         * string/memccpy.c: Use MEMCCPY if defined.
13502         * sysdeps/s390/multiarch/memchr-vx.S: New File.
13503         * sysdeps/s390/multiarch/memchr.c: Likewise.
13504         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
13505         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
13506         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13507         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
13508         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
13509         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13510         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
13511         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
13512         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
13513         and rawmemchr functions.
13514         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13515         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
13516         and wmemchr.
13517         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
13518         * string/test-memchr.c: Add wmemchr support.
13519         * wcsmbs/test-wmemchr.c: New File.
13520         * wcsmbs/Makefile (strop-tests): Add wmemchr.
13521         * benchtests/bench-memchr.c: Add wmemchr support.
13522         * benchtests/bench-wmemchr.c: New File.
13523         * benchtests/Makefile (wcsmbs-bench): wmemchr.
13525         * sysdeps/s390/multiarch/strcspn-c.c: New File.
13526         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
13527         * sysdeps/s390/multiarch/strcspn.c: Likewise.
13528         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
13529         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
13530         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
13531         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
13532         wcscspn functions.
13533         * sysdeps/s390/multiarch/ifunc-impl-list.c
13534         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
13535         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
13536         * string/test-strcspn.c: Add wcscspn support.
13537         * wcsmbs/test-wcscspn.c: New File.
13538         * wcsmbs/Makefile (strop-tests): Add wcscspn.
13539         * benchtests/bench-strcspn.c: Add wcscspn support.
13540         * benchtests/bench-wcscspn.c: New File.
13541         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
13543         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
13544         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
13545         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13546         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
13547         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
13548         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13549         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
13550         wcspbrk functions.
13551         * sysdeps/s390/multiarch/ifunc-impl-list.c
13552         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
13553         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
13554         * string/test-strpbrk.c: Add wcspbrk support.
13555         * wcsmbs/test-wcspbrk.c: New File.
13556         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
13557         * benchtests/bench-strpbrk.c: Add wcspbrk support.
13558         * benchtests/bench-wcspbrk.c: New File.
13559         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
13561         * sysdeps/s390/multiarch/strspn-c.c: New File.
13562         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
13563         * sysdeps/s390/multiarch/strspn.c: Likewise.
13564         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
13565         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
13566         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13567         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
13568         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
13569         wcsspn functions.
13570         * sysdeps/s390/multiarch/ifunc-impl-list.c
13571         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
13572         * string/test-strspn.c: Add wcsspn support.
13573         * wcsmbs/test-wcsspn.c: New File.
13574         * wcsmbs/Makefile (strop-tests): Add wcsspn.
13575         * benchtests/bench-strspn.c: Add wcsspn support.
13576         * benchtests/bench-wcsspn.c: New File.
13577         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
13579         * sysdeps/s390/multiarch/strrchr-c.c: New File.
13580         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
13581         * sysdeps/s390/multiarch/strrchr.c: Likewise.
13582         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
13583         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
13584         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
13585         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
13586         wcsrchr functions.
13587         * sysdeps/s390/multiarch/ifunc-impl-list.c
13588         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
13589         * benchtests/bench-wcsrchr.c: New File.
13590         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
13592         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
13593         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
13594         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
13595         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
13596         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
13597         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
13598         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
13599         wcschrnul functions.
13600         * sysdeps/s390/multiarch/ifunc-impl-list.c
13601         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
13602         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
13603         * string/test-strchr.c: Add wcschrnul support.
13604         * wcsmbs/test-wcschrnul.c: New File.
13605         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
13606         * benchtests/bench-strchr.c: Add wcschrnul support.
13607         * benchtests/bench-wcschrnul.c: New File.
13608         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
13610         * sysdeps/s390/multiarch/strchr-c.c: New File.
13611         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
13612         * sysdeps/s390/multiarch/strchr.c: Likewise.
13613         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
13614         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
13615         * sysdeps/s390/multiarch/wcschr.c: Likewise.
13616         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
13617         wcschr functions.
13618         * sysdeps/s390/multiarch/ifunc-impl-list.c
13619         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
13620         * string/strchr.c (STRCHR): Define and use macro.
13621         * benchtests/bench-wcschr.c: New File.
13622         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
13624         * sysdeps/s390/multiarch/strncmp-c.c: New File.
13625         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
13626         * sysdeps/s390/multiarch/strncmp.c: Likewise.
13627         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
13628         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
13629         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
13630         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
13631         wcsncmp functions.
13632         * sysdeps/s390/multiarch/ifunc-impl-list.c
13633         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
13634         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
13635         * benchtests/bench-strncmp.c: Add wcsncmp support.
13636         * benchtests/bench-wcsncmp.c: New File.
13637         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
13639         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
13640         * sysdeps/s390/multiarch/strcmp.c: Likewise.
13641         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
13642         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
13643         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13644         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
13645         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
13646         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
13647         wcscmp functions.
13648         * sysdeps/s390/multiarch/ifunc-impl-list.c
13649         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
13650         * string/strcmp.c (STRCMP): Define and use macro.
13651         * benchtests/bench-wcscmp.c: New File.
13652         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
13653         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
13654         instead of _HAVE_STRING_ARCH_memchr.
13656         * sysdeps/s390/multiarch/strncat-c.c: New File.
13657         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
13658         * sysdeps/s390/multiarch/strncat.c: Likewise.
13659         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
13660         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
13661         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
13662         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
13663         wcsncat functions.
13664         * sysdeps/s390/multiarch/ifunc-impl-list.c
13665         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
13666         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
13667         * string/test-strncat.c: Add wcsncat support.
13668         * wcsmbs/test-wcsncat.c: New File.
13669         * wcsmbs/Makefile (strop-tests): Add wcsncat.
13670         * benchtests/bench-strncat.c: Add wcsncat support.
13671         * benchtests/bench-wcsncat.c: New File.
13672         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
13674         * sysdeps/s390/multiarch/strcat-c.c: New File.
13675         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
13676         * sysdeps/s390/multiarch/strcat.c: Likewise.
13677         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
13678         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
13679         * sysdeps/s390/multiarch/wcscat.c: Likewise.
13680         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
13681         wcscat functions.
13682         * sysdeps/s390/multiarch/ifunc-impl-list.c
13683         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
13684         * string/strcat.c (STRCAT): Define and use macro.
13685         * wcsmbs/wcscat.c: Use WCSCAT if defined.
13686         * string/test-strcat.c: Add wcscat support.
13687         * wcsmbs/test-wcscat.c: New File.
13688         * wcsmbs/Makefile (strop-tests): Add wcscat.
13689         * benchtests/bench-strcat.c: Add wcscat support.
13690         * benchtests/bench-wcscat.c: New File.
13691         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
13693         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
13694         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
13695         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13696         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
13697         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
13698         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
13699         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
13700         wcpncpy functions.
13701         * sysdeps/s390/multiarch/ifunc-impl-list.c
13702         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
13703         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
13704         * string/test-stpncpy.c: Add wcpncpy support.
13705         * wcsmbs/test-wcpncpy.c: New File.
13706         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
13707         * benchtests/bench-stpncpy.c: Add wcpncpy support.
13708         * benchtests/bench-wcpncpy.c: New File.
13709         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
13711         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
13712         * sysdeps/s390/multiarch/strncpy.c: Likewise.
13713         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
13714         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
13715         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
13716         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
13717         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
13718         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
13719         wcsncpy functions.
13720         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
13721         * sysdeps/s390/multiarch/ifunc-impl-list.c
13722         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
13723         * string/test-strncpy.c: Add wcsncpy support.
13724         * wcsmbs/test-wcsncpy.c: New File.
13725         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
13726         * benchtests/bench-strncpy.c: Add wcsncpy support.
13727         * benchtests/bench-wcsncpy.c: New File.
13728         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
13730         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
13731         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
13732         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13733         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
13734         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
13735         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
13736         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
13737         wcpcpy functions.
13738         * string/stpcpy.c: Use STPCPY if defined.
13739         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
13740         * sysdeps/s390/multiarch/ifunc-impl-list.c
13741         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
13742         * string/test-stpcpy.c: Add wcpcpy support.
13743         * wcsmbs/test-wcpcpy.c: New File.
13744         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
13745         * benchtests/bench-stpcpy.c: Add wcpcpy support.
13746         * benchtests/bench-wcpcpy.c: New File.
13747         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
13749         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
13750         * sysdeps/s390/multiarch/strcpy.c: Likewise.
13751         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
13752         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
13753         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
13754         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
13755         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
13756         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
13757         wcscpy functions.
13758         * sysdeps/s390/multiarch/ifunc-impl-list.c
13759         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
13760         * benchtests/bench-wcscpy.c: New File.
13761         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
13763         * sysdeps/s390/multiarch/strnlen-c.c: New File.
13764         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
13765         * sysdeps/s390/multiarch/strnlen.c: Likewise.
13766         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
13767         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
13768         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
13769         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
13770         wcsnlen functions.
13771         * sysdeps/s390/multiarch/ifunc-impl-list.c
13772         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
13773         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
13774         * string/test-strnlen.c: Add wcsnlen support.
13775         * wcsmbs/test-wcsnlen.c: New File.
13776         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
13777         * benchtests/bench-strnlen.c: Add wcsnlen support.
13778         * benchtests/bench-wcsnlen.c: New File.
13779         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
13781         * sysdeps/s390/multiarch/Makefile: New File.
13782         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
13783         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
13784         * sysdeps/s390/multiarch/strlen.c: Likewise.
13785         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
13786         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
13787         * sysdeps/s390/multiarch/wcslen.c: Likewise.
13788         * string/strlen.c (STRLEN): Define and use macro.
13789         * sysdeps/s390/multiarch/ifunc-impl-list.c
13790         (IFUNC_VX_IMPL): New macro function.
13791         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
13792         * benchtests/Makefile (wcsmbs-bench): New variable.
13793         (string-bench-all): Added wcsmbs-bench.
13794         * benchtests/bench-wcslen.c: New File.
13796         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
13797         s390_vx_libc_ifunc2): New macro function.
13799         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
13800         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
13801         assembler support.
13802         * sysdeps/s390/configure: Regenerated.
13804         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
13805         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
13807         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
13808         * sysdeps/s390/dl-procinfo.h: Add vector capability.
13809         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
13811         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
13812         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
13813         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
13814         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
13815         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
13816         (memcmp, bcmp): Use __memcmp_default as alias source.
13817         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
13818         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
13819         Rename to __memcmp_default.
13820         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
13821         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
13822         (memcpy): Use __memcpy_default as alias source.
13823         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
13824         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
13825         Rename to __memcpy_default.
13826         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
13827         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
13828         (memset): Use __memset_default as alias source.
13829         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
13830         * sysdeps/s390/s390-32/memset.S (__memset_g5):
13831         Rename to __memset_default.
13832         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
13833         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
13834         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
13835         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
13836         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
13837         (memcmp, bcmp): Use __memcmp_default as alias source.
13838         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
13839         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
13840         Rename to __memcmp_default.
13841         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
13842         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
13843         (memcpy): Use __memcpy_default as alias source.
13844         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
13845         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
13846         Rename to __memcpy_default.
13847         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
13848         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
13849         (memset): Use __memset_default as alias source.
13850         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
13851         * sysdeps/s390/s390-64/memset.S (__memset_z900):
13852         Rename to __memset_default.
13853         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
13854         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
13856         [BZ #18610]
13857         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
13858         __ieee_instruction_pointer to __unused.
13859         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
13860         __ieee_instruction_pointer.
13861         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
13862         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
13863         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13864         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13865         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
13866         Mark dxc-field as reserved.
13868 2015-08-25  Roland McGrath  <roland@hack.frob.com>
13870         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
13871         if the weak reference is not null.
13873 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13875         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
13877         [BZ #11214]
13878         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
13880 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13882         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
13883         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
13884         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
13885         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
13886         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
13887         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
13888         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
13889         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
13890         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
13891         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
13892         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
13893         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
13894         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
13895         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
13896         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
13897         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
13898         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
13899         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
13901 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13903         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
13904         register other than r0 for tabort, it has special meaning.
13905         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
13906         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
13907         transaction before starting syscall.
13909 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13911         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
13913 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13915         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
13917         * sysdeps/x86_64/rtld-memcmp.c: Removed.
13918         * sysdeps/x86_64/rtld-memset.S: Likewise.
13919         * sysdeps/x86_64/rtld-strchr.S: Likewise.
13920         * sysdeps/x86_64/rtld-strlen.S: Likewise.
13921         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
13922         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13924         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
13926 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
13928         * debug/strcpy_chk.c: Improve performance.
13929         * debug/stpcpy_chk.c: Likewise.
13930         * sysdeps/x86_64/strcpy_chk.S: Remove.
13931         * sysdeps/x86_64/stpcpy_chk.S: Remove.
13933         [BZ #18240]
13934         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
13936 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13938         [BZ #15128]
13939         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
13940         ifuncmain8.
13941         (modules-names): Add ifuncmod8.
13942         ($(objpfx)ifuncmain8): New rule.
13943         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
13944         <cpuid.h>.
13945         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
13946         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
13947         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
13948         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
13949         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
13950         * sysdeps/x86_64/dl-trampoline.h: Likewise.
13951         * sysdeps/x86_64/ifuncmain8.c: New file.
13952         * sysdeps/x86_64/ifuncmod8.c: Likewise.
13953         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
13954         Removed.
13955         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
13956         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
13957         Change rtld_savespace_sse to __glibc_unused2.
13958         (RTLD_CHECK_FOREIGN_CALL): Removed.
13959         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
13960         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
13961         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
13963 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13965         * sysdeps/aarch64/bzero.S (__bzero): Remove.
13967 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13969         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
13970         Unconditionally set __fpcr to avoid uninialized warning.
13971         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
13973 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13975         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
13976         is corrupt.
13978         * malloc/arena.c (arena_get2): Drop unused argument.
13979         (arena_lock): Adjust.
13980         (arena_get_retry): Likewise.
13982 2015-08-24  Andreas Schwab  <schwab@suse.de>
13984         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
13985         Don't define.
13986         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13987         (__ASSUME_IPC64): Don't undef.
13988         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
13989         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13990         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13991         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
13992         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
13993         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
13994         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
13995         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
13996         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
13997         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
13998         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
13999         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
14000         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
14001         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
14002         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
14003         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
14004         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
14005         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
14006         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
14007         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
14008         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
14010 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
14012         * manual/Makefile (install): Only build manual when perl is available.
14014 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14016         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
14017         '#undef memcpy' by '#undef memchr'.
14019 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14021         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
14022         memchr not point to the internal __GI_memchr implementation.
14024 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14026         * timezone/Makefile (CFLAGS-zdump.c): Remove
14027         -Wno-strict-prototypes.
14028         (CFLAGS-zic.c): Likewise.
14029         (CFLAGS-ialloc.c): Likewise.
14030         (CFLAGS-scheck.c): Likewise.
14032         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
14033         -Wno-error=undef.
14035 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14037         * i386/i686/multiarch/strcasestr-c.c: Removed.
14038         * x86_64/multiarch/strcasestr.c: Likewise.
14039         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14040         Remove strcasestr.
14042 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14044         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
14046         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
14047         variables for high and low parts before possibly modifying them.
14049 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14051         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
14052         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
14053         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
14054         of "multiarch/init-arch.h".
14055         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
14056         * sysdeps/x86/init-arch.h: This.
14058 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14060         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
14061         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
14063 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
14065         [BZ #17787]
14066         * manual/macros.texi: Add twoexp macro.
14067         * manual/filesys.texi: Fix exponents.
14068         * manual/llio.texi: Likewise.
14069         * manual/stdio.texi: Likewise.
14071 2015-08-20  Florian Weimer  <fweimer@redhat.com>
14073         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
14074         incorrect use.
14076 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
14078         [BZ #18370]
14079         * math/s_csqrt.c (__csqrt): Force underflow exception for results
14080         whose real or imaginary part has small absolute value.
14081         * math/s_csqrtf.c (__csqrtf): Likewise.
14082         * math/s_csqrtl.c (__csqrtl): Likewise.
14083         * math/auto-libm-test-in: Add more tests of csqrt.
14084         * math/auto-libm-test-out: Regenerated.
14085         * sysdeps/i386/fpu/libm-test-ulps: Update.
14087 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14089         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
14090         __ppc_set_ppr_very_low): New functions.
14091         * manual/platform.texi: Add documentation about
14092         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
14094 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
14096         * string/stpncpy.c (stpncpy): Improve performance using
14097         __strnlen/memcpy/memset.
14099 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14101         [BZ #18796]
14102         * scripts/test-installation.pl: Don't add -lmvec to build options if
14103         libmvec wasn't built.
14105 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
14107         [BZ #14341]
14108         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
14109         case when there is a gap between DT_REL and DT_JMPREL sections.
14110         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
14111         (LDFLAGS-tst-split-dynreloc): New.
14112         (tst-split-dynreloc-ENV): Likewise.
14113         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
14114         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
14116 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14118         [BZ #18822]
14119         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
14120         attribute_hidden.
14121         (__xstat64_conv): Likewise.
14122         (__xstat32_conv): Likewise.
14124 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14126         [BZ #18822]
14127         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
14128         Don't load %ebx when calling __setcontext.  Call __setcontext
14129         with HIDDEN_JUMPTARGET.
14130         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
14131         libc_hidden_def.
14133 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14135         * sysdeps/i386/i686/Makefile
14136         [$(subdir) == string] (sysdep_routines): Moved to ...
14137         * sysdeps/i386/Makefile: Here.
14138         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
14139         * sysdeps/i386/cacheinfo.c: Here.
14140         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
14141         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
14142         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
14143         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
14145 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14147         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
14148         __i586__ is defined.
14149         (HAS_I686): Defined to 1 if __i686__ is defined.
14151 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
14153         * elf/Makefile [$(have-z-execstack) = yes]
14154         (CPPFLAGS-tst-execstack.c): New variable.
14156         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
14157         conditional to [defined UTMPX || _HAVE_UT_TYPE].
14158         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
14159         UTMPX || _HAVE_UT_TV].
14160         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
14161         UTMPX || _HAVE_UT_TV - 0].
14163 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
14165         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
14166         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
14167         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
14169 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14171         * sysdeps/powerpc/dl-procinfo.c:
14172         (_dl_powerpc_cap_flags): Added missing strings for some
14173         hwcap features.
14174         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
14176 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
14178         Port the 0x7efe...feff pattern to GCC 6.
14179         See Steve Ellcey's bug report in:
14180         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
14181         * string/memrchr.c (MEMRCHR):
14182         * string/rawmemchr.c (RAWMEMCHR):
14183         * string/strchr.c (strchr):
14184         * string/strchrnul.c (STRCHRNUL):
14185         Rewrite code to avoid issues with signed shift overflow.
14187 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
14189         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
14190         whether cpuid is available only if HAS_CPUID is 0.
14191         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
14192         (HAS_I586): Likewise.
14193         (HAS_I686): Likewise.
14195 2015-08-18  Zack Weinberg  <zackw@panix.com>
14197         * misc/Versions (libc): Add GLIBC_2.23.
14199 2015-08-18  Alan Modra  <amodra@gmail.com>
14201         [BZ #18421]
14202         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
14203         .Lp__global.
14204         (_start): Load %dp via .Lp__global.
14205         [!SHARED]: Use .section .rodata.
14207 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14209         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
14210         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
14212 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14214         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
14215         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
14217 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14219         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
14220         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
14222 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14224         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
14225         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
14227 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14229         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
14230         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
14232 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14234         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
14235         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
14237 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14239         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
14241 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14243         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
14244         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
14245         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14246         (__ASSUME_LWS_CAS): Delete.
14248 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14250         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
14251         * sysdeps/hppa/configure: Regenerated.
14252         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
14253         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
14254         * sysdeps/hppa/nptl/tls.h: Likewise.
14256 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
14258         [BZ #18823]
14259         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
14260         for scaling up small arguments.
14261         * math/s_csqrtf.c (__csqrtf): Likewise.
14262         * math/s_csqrtl.c (__csqrtl): Likewise.
14263         * math/auto-libm-test-in: Add more tests of csqrt.
14264         * math/auto-libm-test-out: Regenerated.
14266 2015-08-17  Andreas Schwab  <schwab@suse.de>
14268         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
14269         version set GLIBC_2.19.
14271 2015-08-16  Zack Weinberg  <zackw@panix.com>
14273         [BZ #18681]
14274         * misc/regexp.h: This interface is no longer supported.
14275         Remove all contents, leaving only an #error directive.
14276         * misc/regexp.c (loc1, loc2, locs, step, advance):
14277         Demote to compatibility symbols.
14279 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
14281         [BZ #18084]
14282         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
14283         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
14284         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14285         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
14286         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
14287         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
14288         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
14289         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
14290         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14292 2015-08-15  Zack Weinberg  <zackw@panix.com>
14294         [BZ #18795]
14295         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
14296         buffer length is known to be too large, not if it's known to be
14297         small enough.
14298         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
14299         overflow at runtime, involving a length parameter, twice: once
14300         with a compile-time constant length parameter, once without.
14302 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
14304         [BZ #18824]
14305         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
14306         scaling x * y up instead of down.
14307         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14308         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14309         * math/auto-libm-test-in: Add more tests of fma.
14310         * math/auto-libm-test-out: Regenerated.
14312 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
14314         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14316 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14318         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
14319         unnecessary movq.
14320         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
14321         Likewise.
14323 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
14325         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14326         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
14327         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
14328         and tgamma.
14329         * math/auto-libm-test-out: Regenerated.
14330         * sysdeps/i386/fpu/libm-test-ulps: Update.
14331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14333         [BZ #16520]
14334         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
14335         (__tanh): Force underflow exception for arguments with small
14336         absolute value.
14337         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
14338         (__tanhf): Force underflow exception for arguments with small
14339         absolute value.
14340         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
14341         (__tanhl): Force underflow exception for arguments with small
14342         absolute value.
14343         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
14344         (__tanhl): Force underflow exception for arguments with small
14345         absolute value.
14346         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
14347         (__tanhl): Force underflow exception for arguments with small
14348         absolute value.
14349         * math/auto-libm-test-in: Add more tests of tanh.
14350         * math/auto-libm-test-out: Regenerated.
14351         * sysdeps/i386/fpu/libm-test-ulps: Update.
14353 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14355         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
14356         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
14358 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14360         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
14361         <cpuid.h>.
14363 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14365         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
14366         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
14368 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14370         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
14371         Remove $(objpfx)init-arch.o.
14372         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
14373         init-arch.
14374         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
14375         (INIT_ARCH_EXT): Defined as empty.
14376         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
14377         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
14378         __init_cpu_features call.  Replace HAS_XXX with
14379         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14380         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
14381         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
14382         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
14383         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
14384         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14385         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
14386         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
14387         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14388         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
14389         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
14390         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14391         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
14392         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
14393         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14394         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
14395         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
14396         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14397         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14398         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
14399         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
14400         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14401         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
14402         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
14403         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14404         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
14405         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
14406         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14407         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
14408         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
14409         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14410         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
14411         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
14412         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14413         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
14414         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
14416 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14418         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
14419         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14420         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14421         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14422         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
14423         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
14424         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
14425         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
14426         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
14427         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
14428         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
14429         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
14430         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14431         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14432         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14433         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14434         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14435         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14436         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14437         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14438         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14439         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14440         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14441         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14442         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14443         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14444         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14445         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14446         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14447         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14448         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14449         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14450         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14451         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14452         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14453         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14454         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14455         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14456         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14457         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14458         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14459         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14460         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14462 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14464         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
14465         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14466         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14467         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14468         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14469         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
14470         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14471         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
14472         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14473         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14474         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14475         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
14476         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
14477         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
14478         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
14479         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
14480         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
14481         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
14482         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
14483         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
14484         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
14485         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
14486         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
14487         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14488         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14489         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
14490         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
14491         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
14492         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14493         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14494         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14495         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14496         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14497         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14498         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14499         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14500         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14501         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14502         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14503         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14504         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14505         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14506         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14508 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14510         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
14511         (dl_platform_init): Call init_cpu_features.
14512         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
14513         * sysdeps/i386/i686/cacheinfo.c
14514         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
14515         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
14516         * sysdeps/i386/i686/multiarch/Versions: Removed.
14517         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
14518         Removed.
14519         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
14520         * sysdeps/unix/sysv/linux/x86/Makefile
14521         (libpthread-sysdep_routines): Remove init-arch.
14522         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
14523         <sysdeps/x86_64/dl-procinfo.c> instead of
14524         sysdeps/generic/dl-procinfo.c>.
14525         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
14526         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
14527         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
14528         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
14529         [$(subdir) == elf] (tests-static): Add
14530         tst-get-cpu-features-static.
14531         * sysdeps/x86/Versions: New file.
14532         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
14533         * sysdeps/x86/cpu-features.c: Likewise.
14534         * sysdeps/x86/cpu-features.h: Likewise.
14535         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
14536         * sysdeps/x86/libc-start.c: Likewise.
14537         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14538         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
14539         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
14540         * sysdeps/x86_64/dl-procinfo.c: Likewise.
14541         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
14542         Assume USE_MULTIARCH is defined and don't check it.
14543         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
14544         (is_amd): Likewise.
14545         (max_cpuid): Likewise.
14546         (intel_check_word): Likewise.
14547         (__cache_sysconf): Don't call __init_cpu_features.
14548         (__x86_preferred_memory_instruction): Removed.
14549         (init_cacheinfo): Don't call __init_cpu_features. Replace
14550         __cpu_features with GLRO(dl_x86_cpu_features).
14551         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
14552         (dl_platform_init): Call init_cpu_features.
14553         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
14554         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
14555         * sysdeps/x86_64/multiarch/Versions: Removed.
14556         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
14557         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
14558         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
14559         Removed.
14560         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
14562 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14564         [BZ #18820]
14565         * libio/Makefile (test-fmemopen-mem): New test.
14566         * libio/test-fmemopen.c (do_bz18820): New test.
14567         * libio/fmemopen.c (__fmemopen): Fix memory leak.
14568         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
14570 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14572         [BZ #16734]
14573         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
14574         (FREE_BUF): Delete.
14575         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
14576         * libio/genops.c (_IO_setb): Use malloc and free directly.
14577         (_IO_default_doallocate, _IO_default_finish): Likewise.
14578         ( _IO_unbuffer_all): Likewise.
14579         ( libc_freeres_fn): Likewise.
14580         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14581         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14582         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
14583         (_IO_wdefault_doallocate): Likewise.
14585 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14587         [BZ #18086]
14588         * sysdeps/posix/nice.c (nice): Restore old errno.
14589         * posix/tst-nice.c (do_test): Add test for BZ #18086.
14591 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
14593         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
14595 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14597         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
14598         __bcopy and add a weak_alias to bcopy.
14599         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
14600         for static build.
14602         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
14603         cleanup macro usage.
14604         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
14605         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
14606         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
14607         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
14608         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
14609         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
14610         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
14611         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14612         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14613         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
14614         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14615         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
14616         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14617         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
14618         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14619         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
14620         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
14621         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
14622         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14624         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
14625         libc_hidden_def.
14626         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
14628         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
14629         (sysdep_routines): Add strstr-ppc64.
14630         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
14632 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
14634         [BZ #18778]
14635         * elf/Makefile (tests): Add Add tst-nodelete2.
14636         (modules-names): Add tst-nodelete2mod.
14637         (tst-nodelete2mod.so-no-z-defs): New.
14638         ($(objpfx)tst-nodelete2): Likewise.
14639         ($(objpfx)tst-nodelete2.out): Likewise.
14640         (LDFLAGS-tst-nodelete2): Likewise.
14641         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
14642         out of loop through all loaded libraries.
14643         * elf/tst-nodelete2.c: New file.
14644         * elf/tst-nodelete2mod.c: Likewise.
14645         * elf/tst-znodelete-zlib.cc: Delete.
14647 2015-08-11  Andreas Schwab  <schwab@suse.de>
14649         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
14650         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
14651         (__openat64_nocancel): Likewise.
14653 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
14655         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
14656         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
14657         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
14658         * math/auto-libm-test-out: Regenerated.
14659         * sysdeps/i386/fpu/libm-test-ulps: Update.
14660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14662 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14664         [BZ #18790]
14665         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
14666         threshold for returning +/- 1.
14667         * math/auto-libm-test-in: Add more tests of tanh.
14668         * math/auto-libm-test-out: Regenerated.
14669         * sysdeps/i386/fpu/libm-test-ulps: Update.
14671 2015-08-10  Andreas Schwab  <schwab@suse.de>
14673         [BZ #18781]
14674         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
14675         MORE_OFLAGS to oflag.
14676         * io/test-lfs.c (do_test): Test openat64.
14678 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14680         [BZ #18789]
14681         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
14682         smaller threshold for returning the argument.
14683         * math/auto-libm-test-in: Add more tests of sinh.
14684         * math/auto-libm-test-out: Regenerated.
14685         * sysdeps/i386/fpu/libm-test-ulps: Update.
14687 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
14689         [BZ #18674]
14690         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
14691         break.
14693 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
14695         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
14696         (generated): Don't add $(addprefix z.,$(tzfiles)).
14698 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14700         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
14701         * scripts/sysd-rules.awk: Likewise.
14703 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14705         * iconvdata/tst-tables.sh: Change echo -n to printf.
14706         * nss/db-Makefile: Likewise.
14707         * posix/tst-getconf.sh: Likewise.
14708         * stdio-common/tst-unbputc.sh: Likewise.
14710 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14712         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
14713         MADV_*_PAGES defines behind this feature check.
14715 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
14717         [BZ #18480]
14718         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
14719         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
14720         Define.
14721         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
14722         LOAD_REGS_5, LOAD_REGS_6): Update.
14723         (INTERNAL_SYSCALL): Update using new LOAD defines.
14724         (INTERNAL_SYSCALL_NCS): Likewise.
14725         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
14727 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14729         [BZ #16734]
14730         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
14732 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14734         [BZ #17905]
14735         * catgets/Makefile (tst-catgets-mem): New test.
14736         * catgets/catgets.c (catopen): Don't use unbounded alloca.
14737         * catgets/open_catalog.c (__open_catalog): Likewise.
14738         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
14740 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
14742         [BZ #18787]
14743         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
14744         clobber registers.
14745         (atomic_compare_and_exchange_val_acq): Use register asms to assign
14746         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
14747         Cast return to __typeof (oldval).
14749 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
14751         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
14752         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
14753         and delete sys/syscall.h include.
14755 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
14757         [BZ #16517]
14758         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
14759         (tan): Force underflow exception for arguments with small absolute
14760         value.
14761         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
14762         (__kernel_tanf): Force underflow exception for arguments with
14763         small absolute value.
14764         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
14765         (__kernel_tanl): Force underflow exception for arguments with
14766         small absolute value.
14767         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
14768         (__kernel_tanl): Force underflow exception for arguments with
14769         small absolute value.
14770         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
14771         (__kernel_tanl): Force underflow exception for arguments with
14772         small absolute value.
14773         * math/auto-libm-test-in: Add more tests of tan.
14774         * math/auto-libm-test-out: Regenerated.
14776 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14778         Fix sysdeps/i386/fpu/s_scalbn.S build
14780         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
14782 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
14784         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14786 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14788         Fix gcrt0.o compilation
14790         When static-start-installed-name is different from
14791         start-installed-name, we must not use the shared objects.
14793         * csu/Makefile
14794         (extra-objs): Add gmon-start.o when building shared library and
14795         $(static-start-installed-name) is different from
14796         $(start-installed-name).
14797         $(objpfx)g$(static-start-installed-name): When building shared
14798         library and $(static-start-installed-name) is different from
14799         $(static-start-installed-name), revert to non-shared rule,
14800         i.e. using $(objpfx)% and gmon-start.o.
14802 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
14804         [BZ #16519]
14805         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
14806         (__ieee754_sinh): Force underflow exception for arguments with
14807         small absolute value.
14808         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
14809         (__ieee754_sinhf): Force underflow exception for arguments with
14810         small absolute value.
14811         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
14812         (__ieee754_sinhl): Force underflow exception for arguments with
14813         small absolute value.
14814         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
14815         (__ieee754_sinhl): Force underflow exception for arguments with
14816         small absolute value.
14817         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
14818         (__ieee754_sinhl): Force underflow exception for arguments with
14819         small absolute value.
14820         * math/auto-libm-test-in: Add more tests of sinh.
14821         * math/auto-libm-test-out: Regenerated.
14822         * sysdeps/i386/fpu/libm-test-ulps: Update.
14824 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14826         * libio/oldfileops.c: Include unistd.h.
14828 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
14830         * stdlib/isomac.c: Include ctype.h.
14832 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
14834         * dirent/tst-seekdir.c (main): Converted to ...
14835         (do_test): ... this.
14836         (TEST_FUNCTION): New macro.
14837         Include test-skeleton.c.
14838         * elf/tst-dlmodcount.c (main): Converted to ...
14839         (do_test): ... this.
14840         (TEST_FUNCTION): New macro.
14841         Include test-skeleton.c.
14842         * elf/tst-order-main.c (main): Converted to ...
14843         (do_test): ... this.
14844         (TEST_FUNCTION): New macro.
14845         Include test-skeleton.c.
14846         * elf/tst-pie2.c (main): Converted to ...
14847         (do_test): ... this.
14848         (TEST_FUNCTION): New macro.
14849         Include test-skeleton.c.
14850         * inet/tst-ether_aton.c (main): Converted to ...
14851         (do_test): ... this.
14852         (TEST_FUNCTION): New macro.
14853         Include test-skeleton.c.
14854         * misc/tst-mntent.c (main): Converted to ...
14855         (do_test): ... this.
14856         (TEST_FUNCTION): New macro.
14857         Include test-skeleton.c.
14858         * misc/tst-tsearch.c (main): Converted to ...
14859         (do_test): ... this.
14860         (TEST_FUNCTION): New macro.
14861         Include test-skeleton.c.
14862         * posix/tst-regexloc.c (main): Converted to ...
14863         (do_test): ... this.
14864         (TEST_FUNCTION): New macro.
14865         Include test-skeleton.c.
14866         * resolv/tst-aton.c (main): Converted to ...
14867         (do_test): ... this.
14868         (TEST_FUNCTION): New macro.
14869         Include test-skeleton.c.
14870         * stdio-common/test-fwrite.c (main): Converted to ...
14871         (do_test): ... this.
14872         (TEST_FUNCTION): New macro.
14873         Include test-skeleton.c.
14874         * stdio-common/tst-ferror.c (main): Converted to ...
14875         (do_test): ... this.
14876         (TEST_FUNCTION): New macro.
14877         Include test-skeleton.c.
14878         * stdio-common/tst-printf.c (main): Converted to ...
14879         (do_test): ... this.
14880         (TEST_FUNCTION): New macro.
14881         Include test-skeleton.c.
14882         * stdio-common/tst-printfsz.c (main): Converted to ...
14883         (do_test): ... this.
14884         (TEST_FUNCTION): New macro.
14885         Include test-skeleton.c.
14886         * stdlib/tst-strtod.c (main): Converted to ...
14887         (do_test): ... this.
14888         (TEST_FUNCTION): New macro.
14889         Include test-skeleton.c.
14890         * string/tst-strlen.c (main): Converted to ...
14891         (do_test): ... this.
14892         (TEST_FUNCTION): New macro.
14893         Include test-skeleton.c.
14894         * string/tst-svc.c (main): Converted to ...
14895         (do_test): ... this.
14896         (TEST_FUNCTION): New macro.
14897         Include test-skeleton.c.
14898         * time/tst-strptime.c (main): Converted to ...
14899         (do_test): ... this.
14900         (TEST_FUNCTION): New macro.
14901         Include test-skeleton.c.
14902         * timezone/tst-timezone.c (main): Converted to ...
14903         (do_test): ... this.
14904         (TEST_FUNCTION): New macro.
14905         Include test-skeleton.c.
14907 2015-08-05  Zack Weinberg  <zackw@panix.com>
14909         * misc/regexp.h: Update comments.
14911 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
14913         [BZ #18635]
14914         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
14915         before return label.
14917 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14919         [BZ #18661]
14920         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
14921         when calling __errno_location.
14922         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
14923         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
14925 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14927         [BZ #18661]
14928         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
14929         (__lll_timedwait_tid): Align stack to 16 bytes when calling
14930         __gettimeofday.
14932 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14934         [BZ #18661]
14935         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14936         (__start_context): Don't use pop to restore %rdi so that stack
14937         is aligned to 16 bytes when calling __setcontext.
14939 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14941         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
14942         only for libc.
14943         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14945 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14947         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
14948         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
14949         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
14951 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14953         * string/memccpy.c (memccpy):
14954         Improve performance by using memchr/memcpy/__mempcpy.
14956 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14958         * string/strncpy.c (strncpy):
14959         Improve performance by using __strnlen/memcpy.
14961 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14963         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14964         Optimize to avoid an unnecessary FPCR read.
14966 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14968         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14969         Optimize to reduce FPCR/FPSR accesses.
14971 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14973         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
14974         dead->data[category] != NULL.
14976 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
14978         [BZ #18647]
14979         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
14980         and |x| close to 1, use absolute value of x when computing log.
14981         * math/auto-libm-test-in: Add more tests of pow.
14982         * math/auto-libm-test-out: Regenerated.
14984 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14986         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
14987         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
14988         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
14990 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
14992         [BZ #18525]
14993         * locales/km_KH: Remove timezone definition.
14994         * locales/lo_LA: Likewise.
14995         * locales/my_MM: Likewise.
14996         * locales/nan_TW@latin: Likewise.
14997         * locales/th_TH: Likewise.
14998         * locales/uk_UA: Likewise.
15000 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
15002         [BZ #18265]
15003         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
15004         (wcsncat): Likewise.
15005         (wcscmp): Likewise.
15006         (wcsncmp): Likewise.
15008 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15010         * test-skeleton.c (usage): New function.
15011         (main): Call usage when opt is '?'.
15013 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15015         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
15016         before first use.
15018 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15020         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
15021         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
15022         in there too.
15024 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
15026         * version.h (RELEASE): Set to "development".
15027         (VERSION): Set to "2.22.90"
15029         * version.h (RELEASE): Set to "stable".
15030         (VERSION): Set to "2.22"
15031         * include/features.h (__GLIBC_MINOR__): Set to 22.
15033 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
15035         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
15036         Restructure macro to avoid "value computed is not used" warning.
15037         (atomic_compare_and_exchange_val_acq): Likewise.
15039 2015-08-04  Andreas Schwab  <schwab@suse.de>
15041         [BZ #18635]
15042         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
15043         ret.
15044         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
15046 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
15048         * po/pl.po: Updated translation.
15049         * po/uk.po: Likewise.
15050         * po/fi.po: Likewise.
15051         * po/ko.po: Likewise.
15052         * po/ru.po: Likewise.
15053         * po/vi.po: Likewise.
15055 2015-07-31  Zack Weinberg  <zackw@panix.com>
15057         [BZ #18681]
15058         * regexp.h: Add unconditional #warning stating that this header
15059         will be removed soon.  Revise banner comment to match.
15060         (compile): Consistently use ERROR instead of RETURN to report
15061         errors (partial fix for bz#18681).
15062         * regexp.c: Don't include regexp.h. Remove some unnecessary
15063         declarations.
15065 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
15067         * po/libc.pot: Regenerated.
15069 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15071         [BZ #18740]
15072         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
15073         float-vlen4-arch-ext-cflags): Removed.
15074         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
15075         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
15077 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15079         [BZ #14113]
15080         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
15081         aligned to __aligned__.
15082         (pthread_cond_t, pthread_rwlock_t): Likewise.
15084 2015-07-30  Torvald Riegel  <triegel@redhat.com>
15086         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
15088 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15090         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
15091         (struct sigaction): Change sa_flags from a long to an int, and add
15092         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
15094 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15096         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
15097         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
15098         sysdeps/generic/sysdep.h include.
15099         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
15100         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
15101         sysdeps/hppa/sysdep.h.
15102         (ENTRY, PSEUDO): Undefine before defining.
15104 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15106         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
15107         from scratch to use INTERNAL_SYSCALL.
15109 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
15111         [BZ #18078]
15112         * scripts/check-localplt.awk: Support alternate relocations.
15113         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
15114         sections.
15115         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
15116         malloc entries with + REL R_386_GLOB_DAT.
15117         * sysdeps/x86_64/localplt.data: New file.
15119 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
15121         [BZ #18731]
15122         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
15123         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15124         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15126 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15128         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
15130 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15132         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
15133         directly in terms of __sync_fetch_and_add and delete (int) cast.
15135 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15137         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
15138         the -D_ASM_IA64_CURRENT_H flag.
15140 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15142         [BZ #18641]
15143         * pwd/pwd.h (putpwent): Delete __nonnull markings.
15145 2015-07-27  Andreas Schwab  <schwab@suse.de>
15147         * conform/conformtest.pl (checknamespace): Filter out string
15148         literals while tokenizing.
15150 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
15152         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15153         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
15154         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15156 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
15158         * nptl/tst-join7mod.c: Add #include <string.h>.
15160 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
15162         * sysdeps/nios2/libm-test-ulps: Update.
15164 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
15166         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
15167         Fix order of arguments to the rt_sigprocmask syscall.
15168         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
15169         Likewise.
15171 2015-07-24  Roland McGrath  <roland@hack.frob.com>
15173         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
15175 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15177         [BZ #18457]
15178         * nptl/Makefile (tests): New test case tst-join7.
15179         (modules-names): New test case module tst-join7mod.
15180         * nptl/tst-join7.c: New file.
15181         * nptl/tst-join7mod.c: New file.
15182         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
15183         all translation units in libc.so, libpthread.so and rtld.
15185 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15189 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15191         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
15192         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15193         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15194         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15195         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15196         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15197         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15198         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15199         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15200         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15201         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15202         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15203         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
15204         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
15205         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
15206         implementation.
15208 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15210         [BZ #17711]
15211         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15212         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
15213         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15214         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15215         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
15216         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15218 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15220         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
15221         instead of just saying load lock in the comments.
15223 2015-07-23  Roland McGrath  <roland@hack.frob.com>
15225         * sysdeps/unix/Subdirs: Moved ...
15226         * sysdeps/posix/Subdirs: ... here.
15227         * login/pty.h (struct termios, struct winsize): Add forward decls.
15228         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
15229         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
15230         * sysdeps/arm/nacl/libc.abilist: Updated.
15231         * sysdeps/nacl/libutil.abilist: New file.
15233         * bits/signum.h: Update comments to mention 1003.1-2013 too.
15234         (SIGWINCH): New macro.
15236         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
15237         * sysdeps/arm/nacl/libc.abilist: Add it.
15239 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15241         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
15243 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15245         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15246         Swap __glibc_reserved0 and sa_flags order.
15248 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15250         [BZ #18657]
15251         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
15252         are pending TLS destructor calls.
15253         * include/link.h (struct link_map): Add concurrency note for
15254         L_TLS_DTOR_COUNT.
15255         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15256         Don't touch the link map flag.  Atomically increment
15257         l_tls_dtor_count.
15258         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
15259         Avoid taking the load lock and don't touch the link map flag.
15260         * stdlib/tst-tls-atexit-nodelete.c: New test case.
15261         * stdlib/Makefile (tests): Use it.
15262         * stdlib/tst-tls-atexit.c (do_test): dlopen
15263         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
15264         to allow tst-tls-atexit-nodelete test case to use it.
15266 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15268         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
15269         to bits/types.h.
15270         (msgqnum_t): New typedef.
15271         (msglen_t): Likewise.
15272         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
15273         and msg_qbytes type to msglen_t.
15275 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15277         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
15278         pad0 to __glibc_reserved0.
15279         (struct stat64): Likewise.
15281 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15283         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15284         Change sa_flags from a long to an int and add __glibc_reserved0 before
15285         it for padding.
15287 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15289         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
15290         anonymous by deleting "siginfo" name.
15292 2015-07-21  Roland McGrath  <roland@hack.frob.com>
15294         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
15295         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
15296         rather than __nacl_irt_filename.
15297         * sysdeps/nacl/xstat.c (__xstat): Likewise.
15299         * NEWS: New item for arm-nacl port.
15300         * sysdeps/arm/nacl/libc.abilist: New file.
15301         * sysdeps/nacl/ld.abilist: New file.
15302         * sysdeps/nacl/libBrokenLocale.abilist: New file.
15303         * sysdeps/nacl/libanl.abilist: New file.
15304         * sysdeps/nacl/libcrypt.abilist: New file.
15305         * sysdeps/nacl/libdl.abilist: New file.
15306         * sysdeps/nacl/libm.abilist: New file.
15307         * sysdeps/nacl/libpthread.abilist: New file.
15308         * sysdeps/nacl/libresolv.abilist: New file.
15309         * sysdeps/nacl/librt.abilist: New file.
15311 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
15313         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
15314         __startcontext to initialize the new context.
15315         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
15316         up CFI directive to forbid further backtracing.
15318 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
15320         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
15321         reference.
15322         * charmaps/ANSI_X3.4-1968: Likewise.
15323         * charmaps/BS_4730: Likewise.
15324         * charmaps/BS_VIEWDATA: Likewise.
15325         * charmaps/CP1250: Likewise.
15326         * charmaps/CP1251: Likewise.
15327         * charmaps/CP1252: Likewise.
15328         * charmaps/CP1253: Likewise.
15329         * charmaps/CP1254: Likewise.
15330         * charmaps/CP1255: Likewise.
15331         * charmaps/CP1256: Likewise.
15332         * charmaps/CSN_369103: Likewise.
15333         * charmaps/EBCDIC-DK-NO: Likewise.
15334         * charmaps/GB_1988-80: Likewise.
15335         * charmaps/GREEK-CCITT: Likewise.
15336         * charmaps/GREEK7: Likewise.
15337         * charmaps/INIS-8: Likewise.
15338         * charmaps/ISIRI-3342: Likewise.
15339         * charmaps/ISO_2033-1983: Likewise.
15340         * charmaps/ISO_5427-EXT: Likewise.
15341         * locales/POSIX: Likewise.
15342         * locales/ar_SA: Likewise.
15343         * locales/be_BY: Likewise.
15344         * locales/be_BY@latin: Likewise.
15345         * locales/ca_ES: Likewise.
15346         * locales/cs_CZ: Likewise.
15347         * locales/da_DK: Likewise.
15348         * locales/de_BE: Likewise.
15349         * locales/de_CH: Likewise.
15350         * locales/de_LU: Likewise.
15351         * locales/en_AU: Likewise.
15352         * locales/en_BW: Likewise.
15353         * locales/en_CA: Likewise.
15354         * locales/en_DK: Likewise.
15355         * locales/en_GB: Likewise.
15356         * locales/en_IE: Likewise.
15357         * locales/en_NZ: Likewise.
15358         * locales/en_ZA: Likewise.
15359         * locales/en_ZW: Likewise.
15360         * locales/es_AR: Likewise.
15361         * locales/es_BO: Likewise.
15362         * locales/es_CL: Likewise.
15363         * locales/es_CO: Likewise.
15364         * locales/es_DO: Likewise.
15365         * locales/es_EC: Likewise.
15366         * locales/es_ES: Likewise.
15367         * locales/es_HN: Likewise.
15368         * locales/es_MX: Likewise.
15369         * locales/es_PA: Likewise.
15370         * locales/es_PE: Likewise.
15371         * locales/es_PY: Likewise.
15372         * locales/es_SV: Likewise.
15373         * locales/es_US: Likewise.
15374         * locales/es_UY: Likewise.
15375         * locales/es_VE: Likewise.
15376         * locales/et_EE: Likewise.
15377         * locales/fa_IR: Likewise.
15378         * locales/fo_FO: Likewise.
15379         * locales/fr_CA: Likewise.
15380         * locales/fr_CH: Likewise.
15381         * locales/gv_GB: Likewise.
15382         * locales/he_IL: Likewise.
15383         * locales/hr_HR: Likewise.
15384         * locales/id_ID: Likewise.
15385         * locales/is_IS: Likewise.
15386         * locales/it_CH: Likewise.
15387         * locales/iw_IL: Likewise.
15388         * locales/kl_GL: Likewise.
15389         * locales/ko_KR: Likewise.
15390         * locales/kw_GB: Likewise.
15391         * locales/lg_UG: Likewise.
15392         * locales/lt_LT: Likewise.
15393         * locales/lv_LV: Likewise.
15394         * locales/mi_NZ: Likewise.
15395         * locales/nhn_MX: Likewise.
15396         * locales/nl_BE: Likewise.
15397         * locales/pl_PL: Likewise.
15398         * locales/sk_SK: Likewise.
15399         * locales/sl_SI: Likewise.
15400         * locales/sv_FI: Likewise.
15401         * locales/tl_PH: Likewise.
15402         * locales/tr_TR: Likewise.
15403         * locales/vi_VN: Likewise.
15405 2015-07-21  Khem Raj  <raj.khem@gmail.com>
15407         [BZ #17475]
15408         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
15409         of tu_IN and bh_IN.
15411 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
15413         [BZ #18694]
15414         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
15415         bits/wordsize.h.
15416         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
15418 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15420         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
15421         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
15422         (spawn_thread): New function.
15423         (load): Rename to reg_dtor_and_close.  Move dlopen to...
15424         (do_test): ... here.  Use IS_LOADED to test for its
15425         availability.
15427 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
15429         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15431 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
15433         [BZ #18696]
15434         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
15435         si_addr_bnd.
15436         (si_lower): New.
15437         (si_upper): Likewise.
15439 2015-07-16  David S. Miller  <davem@davemloft.net>
15441         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
15443 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15445         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
15446         buffer.
15447         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
15448         fail output information.
15450 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15452         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
15453         and strstr-ppc64..
15454         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15455         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
15456         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
15457         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
15458         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
15460 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15462         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15463         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15464         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15465         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15467 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15469         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15470         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
15471         rtld_hidden_proto.
15472         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
15474 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15476         * tst-nodelete-opened.c (do_test): Add comment to clarify how
15477         the test can fail.
15479         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
15481         [BZ #18676]
15482         * elf/tst-nodelete-opened.c: New test case.
15483         * elf/tst-nodelete-opened-lib.c: New test case module.
15484         * elf/Makefile (tests, modules-names): Use them.
15485         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
15486         early.
15488 2015-07-15  David S. Miller  <davem@davemloft.net>
15490         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
15491         futex-intenal.h
15492         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
15493         * sysdeps/sparc/sparc64/Makefile: Likewise.
15494         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15495         Remove space from macro define.
15496         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
15498 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
15500         [BZ #17475]
15501         * locale/iso-639.def: Update Bhili and Tulu language codes as
15502         per iso639-3.
15504 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
15506         * elf/tst-leaks1.c (main): Converted to ...
15507         (do_test): ... this.
15508         (TEST_FUNCTION): New macro.
15509         Include test-skeleton.c.
15510         * localedata/tst-langinfo.c (main): Converted to ...
15511         (do_test): ... this.
15512         (TEST_FUNCTION): New macro.
15513         Include test-skeleton.c.
15514         * math/test-fpucw.c (main): Converted to ...
15515         (do_test): ... this.
15516         (TEST_FUNCTION): New macro.
15517         Include test-skeleton.c.
15518         * math/test-tgmath.c (main): Converted to ...
15519         (do_test): ... this.
15520         (TEST_FUNCTION): New macro.
15521         Include test-skeleton.c.
15522         * math/test-tgmath2.c (main): Converted to ...
15523         (do_test): ... this.
15524         (TEST_FUNCTION): New macro.
15525         Include test-skeleton.c.
15526         * setjmp/tst-setjmp.c (main): Converted to ...
15527         (do_test): ... this.
15528         (TEST_FUNCTION): New macro.
15529         Include test-skeleton.c.
15530         * stdio-common/tst-sscanf.c (main): Converted to ...
15531         (do_test): ... this.
15532         (TEST_FUNCTION): New macro.
15533         Include test-skeleton.c.
15534         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
15535         (do_test): ... this.
15536         (TEST_FUNCTION): New macro.
15537         Include test-skeleton.c.
15539         * elf/tst-audit9.c (main): Converted to ...
15540         (do_test): ... this.
15541         (TEST_FUNCTION): New macro.
15542         Include test-skeleton.c.
15544 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
15546         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
15548 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15550         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
15551         New variable.
15553 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15555         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15557 2015-07-14  Roland McGrath  <roland@hack.frob.com>
15559         * sysdeps/generic/dl-fileid.h: New file.
15560         * sysdeps/posix/dl-fileid.h: New file.
15561         * sysdeps/nacl/dl-fileid.h: New file.
15562         * include/link.h: Include <dl-fileid.h>.
15563         (struct link_map): Replace l_dev and l_ino with l_file_id.
15564         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
15565         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
15566         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
15568 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15570         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
15572 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15574         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
15575         Add iff $CXX is set.
15576         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
15577         Likewise.
15578         (tst-nodelete-zmodiff): Likewise.
15579         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
15581 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15583         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
15585 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15587         * sysdeps/aarch64/fpu/math_private.h
15588         (define math_opt_barrier): Add AArch64 version.
15589         (math_force_eval): Likewise.
15591 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15593         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
15595 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
15597         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
15598         %ld with %jd and cast to intmax_t.
15599         (do_test_length_zero): Likewise.
15601 2015-07-10  Roland McGrath  <roland@hack.frob.com>
15603         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
15605 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
15607         * sysdeps/tile/libm-test-ulps: Regenerated.
15609         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
15610         Comment out the whole function, not just its body.
15612 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15614         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
15615         locks.
15617         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
15619 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15621         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
15622         (sem_assume_only_signals_cause_futex_EINTR): Remove.
15624 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15626         * sysdeps/nptl/futex-internal.h: New file.
15627         * sysdeps/nacl/futex-internal.h: New file.
15628         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
15629         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
15630         error checking.
15631         (setxid_unmark_thread): Likewise.
15632         (__nptl_setxid): Likewise.
15633         (__wait_lookup_done): Likewise.
15634         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
15635         * nptl/nptl-init.c (sighandler_setxid): Likewise.
15636         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
15637         * nptl/pthread_once.c (clear_once_control): Likewise.
15638         (__pthread_once_slow): Likewise.
15639         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15640         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
15641         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
15642         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15643         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
15644         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
15645         Likewise.
15646         (__pthread_rwlock_rdlock): Likewise.
15647         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15648         Likewise.
15649         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15650         Likewise.
15651         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15652         Likewise.
15653         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
15654         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
15655         Likewise.
15656         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
15657         __ASSUME_PRIVATE_FUTEX check.
15658         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
15659         Check that shared futexes are supported.
15660         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
15661         wrappers with error checking.
15662         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
15663         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
15664         * nptl/pthread_barrierattr_setpshared.c
15665         (pthread_barrierattr_setpshared): Check that shared futexes are
15666         supported.
15667         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
15668         Likewise.
15669         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
15670         Likewise.
15671         * nptl/sem_init.c (futex_private_if_supported): Remove.
15672         (__new_sem_init): Adapt and check that shared futexes are supported.
15673         * nptl/sem_open.c (sem_open): Likewise.
15674         * nptl/sem_post.c (futex_wake): Remove.
15675         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
15676         (do_futex_wait): Use futex wrappers with error checking.
15677         * nptl/sem_wait.c: Include lowlevellock.h.
15678         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
15679         Use futex_supports_pshared.
15680         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
15681         Use futex wrappers with error checking.
15682         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
15683         Likewise.
15684         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
15685         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
15686         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
15687         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
15688         (futex_wake): Likewise.
15689         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
15690         (do_futex_wait): Use futex wrappers with error checking.
15691         (__new_sem_wait_slow): Update EINTR handling.
15692         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
15694 2015-07-09  Martin Sebor  <msebor@redhat.com>
15696         [BZ #18435]
15697         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15698         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
15699         * nptl/Makefile (test-xfail-tst-once5): Define.
15701 2015-07-09  Roland McGrath  <roland@hack.frob.com>
15703         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
15704         * elf/dl-minimal.c: For readability, reorder some definitions and
15705         introduce more page breaks.  Include <stdio.h>.
15706         (__libc_fatal): New function.
15708         * include/unistd.h: Add rtld_hidden_proto for _exit.
15709         * posix/_exit.c: Add rtld_hidden_def.
15710         * sysdeps/mach/hurd/_exit.c: Likewise.
15711         * sysdeps/nacl/_exit.c: Likewise.
15712         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
15713         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
15715 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
15717         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
15718         bndmov encoding with zero displacement.
15720 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15721             H.J. Lu  <hongjiu.lu@intel.com>
15723         [BZ #18134]
15724         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
15725         * sysdeps/i386/configure: Regenerated.
15726         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15727         (_dl_runtime_profile): Save and restore Intel MPX return bound
15728         registers when calling _dl_call_pltexit.  Add
15729         PRESERVE_BND_REGS_PREFIX before return.
15730         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
15731         (LRV_BND1_OFFSET): Likewise.
15732         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
15733         lrv_bnd1.
15734         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
15735         typo in bndmov encoding.
15736         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
15737         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
15738         branch instructions to preserve bounds.
15740 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15743         [GLIBC_2.22]: Add fmemopen.
15745 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15747         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
15748         returns an error, also try to use host port from __mach_host_self for
15749         the __vm_wire call.
15750         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
15752 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15754         [BZ #18400]
15755         [BZ #18648]
15756         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
15757         Fix pr_uid and pr_gid members.
15758         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
15759         definition to elf_greg_t.
15761 2015-07-08  Roland McGrath  <roland@hack.frob.com>
15763         [BZ #18383]
15764         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
15765         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
15766         * sysdeps/arm/configure: Regenerated.
15767         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
15768         (test-xfail-tst-tlsalign-static): Variable removed.
15770         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
15771         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
15772         rather than explicit 'ln -s'.
15774         * resolv/rpc/netdb.h: New file.
15775         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
15777 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15779         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
15780         length buffers.
15781         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15782         test-skeleton.c.
15784         [BZ #6544]
15785         [BZ #11216]
15786         [BZ #12836]
15787         [BZ #13151]
15788         [BZ #13152]
15789         [BZ #14292]
15790         * include/stdio.h (fmemopen): Remove hidden prototype.
15791         (__fmemopen): Add new hidden prototype.
15792         * libio/Makefile: Add oldfmemopen object.
15793         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
15794         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
15795         compliance.
15796         * libio/oldfmemopen.c: New file: old fmemopen implementation for
15797         symbol compatibility.
15798         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
15799         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
15800         fmemopen.
15801         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
15802         on append and read mode.
15803         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
15804         fmemopen.
15805         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
15806         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
15807         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
15808         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
15809         Likewise.
15810         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15811         [GLIBC_2.22]: Likewise.
15812         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
15813         Likewise.
15814         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
15815         Likewise.
15816         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15817         [GLIBC_2.22]: Likewise.
15818         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15819         [GLIBC_2.22]: Likewise.
15820         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15821         [GLIBC_2.22]: Likewise.
15822         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15823         [GLIBC_2.22]: Likewise.
15824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15825         [GLIBC_2.22]: Likewise.
15826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15827         [GLIBC_2.22]: Likewise.
15828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15829         [GLIBC_2.22]: Likewise.
15830         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
15831         Likewise.
15832         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
15833         Likewise.
15834         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
15835         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15836         [GLIBC_2.22]: Likewise.
15837         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15838         [GLIBC_2.22]: Likewise.
15839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15840         [GLIBC_2.22]: Likewise.
15841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15842         [GLIBC_2.22]: Likewise.
15843         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
15844         Likewise.
15845         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
15846         Likewise.
15847         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
15848         Likewise.
15849         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
15850         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
15852 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15854         [BZ #18643]
15855         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
15856         IPV6_PATHMTU, and IPV6_DONTFRAG.
15858 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
15860         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
15861         and _IO_UNBUFFERED.
15862         * libio/oldfileops.c: Likewise.
15863         * libio/wfileops.c: Likewise.
15865 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15867         * nscd/selinux.c: Delete selinux/flask.h include.
15869 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15871         [BZ #18641]
15872         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
15873         (putpwent): Likewise.
15874         (getpwnam): Likewise.
15875         (getpwent_r): Likewise.
15876         (getpwuid_r): Likewise.
15877         (getpwnam_r): Likewise.
15878         (fgetpwent_r): Likewise.
15880 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15882         [BZ #18557]
15883         * inet/rcmd.c (__validuser2_sa): Check user first to
15884         short-circuit host check.
15886 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
15887             Mikhail Ilin  <m.ilin@samsung.com>
15889         [BZ #17833]
15890         * elf/Makefile (tests): Add tst-nodelete.
15891         (modules-names): Add tst-nodelete-uniquemod.
15892         (tst-nodelete-uniquemod.so-no-z-defs): New.
15893         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
15894         (tst-nodelete-zmod.so-no-z-defs): Likewise.
15895         ($(objpfx)tst-nodelete): Likewise.
15896         ($(objpfx)tst-nodelete.out): Likewise.
15897         (LDFLAGS-tst-nodelete): Likewise.
15898         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
15899         * elf/dl-close.c (_dl_close_worker): Add a parameter to
15900         implement forced object deletion.
15901         (_dl_close): Pass false to _dl_close_worker.
15902         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
15903         * elf/tst-nodelete.cc: New file.
15904         * elf/tst-nodeletelib.cc: Likewise.
15905         * elf/tst-znodeletelib.cc: Likewise.
15906         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
15908 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15910         [BZ #18508]
15911         * stdlib/Makefile ($(objpfx)tst-makecontext3):
15912         Depend on $(libdl).
15913         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
15914         is not called infinitely times.
15915         (backtrace_helper): New function.
15916         (trace_arg): New struct.
15917         (st1): Enlarge stack size.
15918         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15919         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
15920         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15921         Likewise.
15923 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15925         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15927 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15929         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
15930         Include sys/types.h instead of bits/types.h.
15931         Remove inclusion of bits/wordsize.h.
15933 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15935         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
15936         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
15937         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
15938         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
15939         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
15940         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
15942 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15944         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
15945         link-defines.sym.
15946         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
15947         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
15948         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
15949         and LR_SIZE.
15950         * sysdeps/i386/link-defines.sym: New file.
15952 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15954         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
15955         (modules-names): Add tst-auditmod3a tst-auditmod3b.
15956         ($(objpfx)tst-audit3): New rule.
15957         ($(objpfx)tst-audit3.out): Likewise.
15958         * sysdeps/i386/tst-audit3.c: New file.
15959         * sysdeps/i386/tst-audit3.h: Likewise.
15960         * sysdeps/i386/tst-auditmod3a.c: Likewise.
15961         * sysdeps/i386/tst-auditmod3b.c: Likewise.
15963 2015-07-07  Torvald Riegel  <triegel@redhat.com>
15965         [BZ #18633]
15966         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
15967         pointer in C code.
15968         (__strcat_c): Likewise.
15969         (__strcat_g): Likewise.
15971 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
15973         [BZ #18592]
15974         * misc/sbrk.c: Set errno to ENOMEM on overflow.
15976 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15978         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
15979         New function.  (__ieee754_sqrtf): New function.
15980         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
15981         New function.
15982         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
15983         New function.
15985 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15987         * sysdeps/ieee754/support.c: Remove unused file.
15989 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15991         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
15992         registers instead of d ones so the layout is kernel abi compatible.
15993         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
15994         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
15995         Likewise.
15997 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15999         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16001 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16003         [BZ #18619]
16004         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
16005         and return argument in case of subnormal argument.
16007 2015-07-01  Martin Sebor  <msebor@redhat.com>
16009         [BZ #18435]
16010         * nptl/Makefile: Add tst-once5.cc.
16011         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16012         Remove macro redefinitions.
16013         * nptl/tst-once5.cc: New test.
16015 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16017         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16019         * sysdeps/arm/libm-test-ulps: Regenerated.
16021         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16022         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16024 2015-06-30  Torvald Riegel  <triegel@redhat.com>
16026         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
16027         lll_lock_wait_private and lll_futex_wake probes.
16029         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16030         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
16031         Likewise.
16032         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
16033         atomic_spin_nop.
16034         * sysdeps/x86_64/bits/atomic.h: Likewise.
16035         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
16036         to atomic_spin_nop and move ...
16037         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16038         ... here and ...
16039         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
16040         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
16041         atomic_spin_nop instead of BUSY_WAIT_NOP.
16042         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
16043         Likewise.
16044         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
16045         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16046         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
16047         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
16048         instead of atomic_delay.
16050 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
16052         [BZ #18613]
16053         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
16054         X_ADJ not X when adjusting exponent.
16055         (__ieee754_gamma_r): Do intermediate computations in
16056         round-to-nearest then adjust overflowing and underflowing results
16057         as needed.
16058         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
16059         of X_ADJ not X when adjusting exponent.
16060         (__ieee754_gammaf_r): Do intermediate computations in
16061         round-to-nearest then adjust overflowing and underflowing results
16062         as needed.
16063         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
16064         log of X_ADJ not X when adjusting exponent.
16065         (__ieee754_gammal_r): Do intermediate computations in
16066         round-to-nearest then adjust overflowing and underflowing results
16067         as needed.  Use 1.0L not 1.0f as numerator of division.
16068         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
16069         log of X_ADJ not X when adjusting exponent.
16070         (__ieee754_gammal_r): Do intermediate computations in
16071         round-to-nearest then adjust overflowing and underflowing results
16072         as needed.  Use 1.0L not 1.0f as numerator of division.
16073         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
16074         of X_ADJ not X when adjusting exponent.
16075         (__ieee754_gammal_r): Do intermediate computations in
16076         round-to-nearest then adjust overflowing and underflowing results
16077         as needed.  Use 1.0L not 1.0f as numerator of division.
16078         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
16079         to auto-libm-test-in.
16080         (tgamma_test): Use ALL_RM_TEST.
16081         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
16082         tests of tgamma with spurious-overflow.
16083         * math/auto-libm-test-out: Regenerated.
16084         * math/gen-libm-have-vector-test.sh: Do not check for START.
16085         * sysdeps/i386/fpu/libm-test-ulps: Update.
16086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16088         [BZ #18612]
16089         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
16090         arguments, just return 0.5 times the argument, with underflow
16091         forced as needed.
16092         * math/auto-libm-test-in: Add more tests of j1.
16093         * math/auto-libm-test-out: Regenerated.
16095         [BZ #16559]
16096         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
16097         (__ieee754_j1): Force underflow exception for small results.
16098         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16099         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
16100         (__ieee754_j1f): Force underflow exception for small results.
16101         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16102         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16103         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16104         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
16105         (__ieee754_j1l): Force underflow exception for small results.
16106         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16107         * math/auto-libm-test-in: Add more tests of j1 and jn.
16108         * math/auto-libm-test-out: Regenerated.
16110         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
16111         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
16112         (PF_MPLS): Likewise.
16113         (AF_IB): Likewise.
16114         (AF_MPLS): Likewise.
16115         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
16116         value and macro.
16117         (MS_RMT_MASK): Include MS_LAZYTIME.
16119 2015-06-26  Mel Gorman  <mgorman@suse.de>
16121         [BZ #18502]
16122         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
16123         already minimal.
16125 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
16127         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
16128         (DT_MIPS_NUM): Update.
16129         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
16130         DT_MIPS_RLD_MAP_REL.
16132 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
16134         [BZ #16559]
16135         [BZ #18602]
16136         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
16137         round-to-nearest internally then recompute results that
16138         underflowed to zero in the original rounding mode.
16139         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16140         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16141         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16142         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16143         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
16144         * sysdeps/i386/fpu/libm-test-ulps: Update.
16145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16147 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
16149         * NEWS: Fixed description of link with vector math library.
16151 2015-06-25  Andreas Schwab  <schwab@suse.de>
16153         [BZ #18549]
16154         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
16155         * libio/test-fmemopen.c (do_test): Add test for it.
16157 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
16159         [BZ #17841]
16160         * Makeconfig (no-pie-ldflag): New.
16161         (+link): Set to $(+link-pie) if default to PIE.
16162         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
16163         * config.make.in (build-pie-default): New.
16164         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
16165         is default.  AC_SUBST.
16166         * configure: Regenerated.
16167         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
16169 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16171         * nptl/descr.h (struct pthread): Change type of field setxid_futex
16172         to 'unsigned int'.
16174         * resolv/gai_misc.h (struct waitlist): Change type of field
16175         counterp to 'volatile unsigned int *'.
16176         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
16177         FUTEXADDR and OLDVAL.
16178         * resolv/getaddrinfo_a.c (getaddrinfo_a):
16179         Give local variable TOTAL type 'volatile unsigned int'.
16180         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16181         * resolv/gai_suspend.c (gai_suspend):
16182         Give local variable CNTR type 'unsigned int'.
16184         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
16185         counterp to 'volatile unsigned int *'.
16186         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
16187         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
16188         (aio_suspend): Give local variable CNTR type 'unsigned int'.
16189         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
16190         Give local variable TOTAL type 'volatile unsigned int'.
16191         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16193 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16195         [BZ #18383]
16196         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
16197         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
16198         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
16199         comment for i386/x86-64.
16200         (test-xfail-tst-tlsalign-extern-static): Removed.
16202 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16204         * math/test-double.h: New file.
16205         * math/test-float.h: Likewise.
16206         * math/test-ldouble.h: Likewise.
16207         * math/test-math-inline.h: Likewise.
16208         * math/test-math-no-inline.h: Likewise.
16209         * math/test-math-scalar.h: Likewise.
16210         * math/test-math-vector.h: Likewise.
16211         * math/test-vec-loop.h: Remove file.  Contents moved into
16212         test-math-vector.h.
16213         * math/libm-test.inc (MATHCONST): Do not document macro.
16214         * math/test-double.c: Include test-double.h, test-math-no-inline.h
16215         and test-math-scalar.h.
16216         (FUNC): Remove macro.
16217         (FUNC_TEST): Likewise.
16218         (FLOAT): Likewise.
16219         (MATHCONST): Likewise.
16220         (PRINTF_EXPR): Likewise.
16221         (PRINTF_XEXPR): Likewise.
16222         (PRINTF_NEXPR): Likewise.
16223         (TEST_DOUBLE): Likewise.
16224         (TEST_MATHVEC): Likewise.
16225         (__NO_MATH_INLINES): Likewise.
16226         * math/test-float.c: Include test-float.h, test-math-no-inline.h
16227         and test-math-scalar.h.
16228         (FUNC): Remove macro.
16229         (FUNC_TEST): Likewise.
16230         (FLOAT): Likewise.
16231         (MATHCONST): Likewise.
16232         (PRINTF_EXPR): Likewise.
16233         (PRINTF_XEXPR): Likewise.
16234         (PRINTF_NEXPR): Likewise.
16235         (TEST_FLOAT): Likewise.
16236         (TEST_MATHVEC): Likewise.
16237         (__NO_MATH_INLINES): Likewise.
16238         * math/test-idouble.c: Include test-double.h, test-math-inline.h
16239         and test-math-scalar.h.
16240         (FUNC): Remove macro.
16241         (FUNC_TEST): Likewise.
16242         (FLOAT): Likewise.
16243         (MATHCONST): Likewise.
16244         (PRINTF_EXPR): Likewise.
16245         (PRINTF_XEXPR): Likewise.
16246         (PRINTF_NEXPR): Likewise.
16247         (TEST_DOUBLE): Likewise.
16248         (TEST_MATHVEC): Likewise.
16249         (TEST_INLINE): Likewise.
16250         (__NO_MATH_INLINES): Likewise.
16251         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
16252         test-math-scalar.h.
16253         (FUNC): Remove macro.
16254         (FUNC_TEST): Likewise.
16255         (FLOAT): Likewise.
16256         (MATHCONST): Likewise.
16257         (PRINTF_EXPR): Likewise.
16258         (PRINTF_XEXPR): Likewise.
16259         (PRINTF_NEXPR): Likewise.
16260         (TEST_FLOAT): Likewise.
16261         (TEST_MATHVEC): Likewise.
16262         (TEST_INLINE): Likewise.
16263         (__NO_MATH_INLINES): Likewise.
16264         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
16265         and test-math-scalar.h.
16266         (FUNC): Remove macro.
16267         (FUNC_TEST): Likewise.
16268         (FLOAT): Likewise.
16269         (MATHCONST): Likewise.
16270         (PRINTF_EXPR): Likewise.
16271         (PRINTF_XEXPR): Likewise.
16272         (PRINTF_NEXPR): Likewise.
16273         (TEST_LDOUBLE): Likewise.
16274         (TEST_MATHVEC): Likewise.
16275         (TEST_INLINE): Likewise.
16276         (__NO_MATH_INLINES): Likewise.
16277         * math/test-ldouble.c: Include test-ldouble.h,
16278         test-math-no-inline.h and test-math-scalar.h.
16279         (FUNC): Remove macro.
16280         (FUNC_TEST): Likewise.
16281         (FLOAT): Likewise.
16282         (MATHCONST): Likewise.
16283         (PRINTF_EXPR): Likewise.
16284         (PRINTF_XEXPR): Likewise.
16285         (PRINTF_NEXPR): Likewise.
16286         (TEST_LDOUBLE): Likewise.
16287         (TEST_MATHVEC): Likewise.
16288         (__NO_MATH_INLINES): Likewise.
16289         * math/test-double-vlen2.h: Include test-double.h,
16290         test-math-no-inline.h and test-math-vector.h.
16291         (FLOAT): Remove macro.
16292         (FUNC): Likewise.
16293         (MATHCONST): Likewise.
16294         (PRINTF_EXPR): Likewise.
16295         (PRINTF_XEXPR): Likewise.
16296         (PRINTF_NEXPR): Likewise.
16297         (TEST_DOUBLE): Likewise.
16298         (TEST_MATHVEC): Likewise.
16299         (__NO_MATH_INLINES): Likewise.
16300         (CNCT): Likewise.
16301         (CONCAT): Likewise.
16302         (WRAPPER_NAME): Likewise.
16303         (WRAPPER_DECL): Likewise.
16304         (WRAPPER_DECL_ff): Likewise.
16305         (WRAPPER_DECL_fFF): Likewise.
16306         (VECTOR_WRAPPER): Likewise.
16307         (VECTOR_WRAPPER_ff): Likewise.
16308         (VECTOR_WRAPPER_fFF): Likewise.
16309         (VEC_LEN): New macro.
16310         * math/test-double-vlen4.h: Include test-double.h,
16311         test-math-no-inline.h and test-math-vector.h.
16312         (FLOAT): Remove macro.
16313         (FUNC): Likewise.
16314         (MATHCONST): Likewise.
16315         (PRINTF_EXPR): Likewise.
16316         (PRINTF_XEXPR): Likewise.
16317         (PRINTF_NEXPR): Likewise.
16318         (TEST_DOUBLE): Likewise.
16319         (TEST_MATHVEC): Likewise.
16320         (__NO_MATH_INLINES): Likewise.
16321         (CNCT): Likewise.
16322         (CONCAT): Likewise.
16323         (WRAPPER_NAME): Likewise.
16324         (WRAPPER_DECL): Likewise.
16325         (WRAPPER_DECL_ff): Likewise.
16326         (WRAPPER_DECL_fFF): Likewise.
16327         (VECTOR_WRAPPER): Likewise.
16328         (VECTOR_WRAPPER_ff): Likewise.
16329         (VECTOR_WRAPPER_fFF): Likewise.
16330         (VEC_LEN): New macro.
16331         * math/test-double-vlen8.h: Include test-double.h,
16332         test-math-no-inline.h and test-math-vector.h.
16333         (FLOAT): Remove macro.
16334         (FUNC): Likewise.
16335         (MATHCONST): Likewise.
16336         (PRINTF_EXPR): Likewise.
16337         (PRINTF_XEXPR): Likewise.
16338         (PRINTF_NEXPR): Likewise.
16339         (TEST_DOUBLE): Likewise.
16340         (TEST_MATHVEC): Likewise.
16341         (__NO_MATH_INLINES): Likewise.
16342         (CNCT): Likewise.
16343         (CONCAT): Likewise.
16344         (WRAPPER_NAME): Likewise.
16345         (WRAPPER_DECL): Likewise.
16346         (WRAPPER_DECL_ff): Likewise.
16347         (WRAPPER_DECL_fFF): Likewise.
16348         (VECTOR_WRAPPER): Likewise.
16349         (VECTOR_WRAPPER_ff): Likewise.
16350         (VECTOR_WRAPPER_fFF): Likewise.
16351         (VEC_LEN): New macro.
16352         * math/test-float-vlen4.h: Include test-float.h,
16353         test-math-no-inline.h and test-math-vector.h.
16354         (FLOAT): Remove macro.
16355         (FUNC): Likewise.
16356         (MATHCONST): Likewise.
16357         (PRINTF_EXPR): Likewise.
16358         (PRINTF_XEXPR): Likewise.
16359         (PRINTF_NEXPR): Likewise.
16360         (TEST_FLOAT): Likewise.
16361         (TEST_MATHVEC): Likewise.
16362         (__NO_MATH_INLINES): Likewise.
16363         (CNCT): Likewise.
16364         (CONCAT): Likewise.
16365         (WRAPPER_NAME): Likewise.
16366         (WRAPPER_DECL): Likewise.
16367         (WRAPPER_DECL_ff): Likewise.
16368         (WRAPPER_DECL_fFF): Likewise.
16369         (VECTOR_WRAPPER): Likewise.
16370         (VECTOR_WRAPPER_ff): Likewise.
16371         (VECTOR_WRAPPER_fFF): Likewise.
16372         (VEC_LEN): New macro.
16373         * math/test-float-vlen8.h: Include test-float.h,
16374         test-math-no-inline.h and test-math-vector.h.
16375         (FLOAT): Remove macro.
16376         (FUNC): Likewise.
16377         (MATHCONST): Likewise.
16378         (PRINTF_EXPR): Likewise.
16379         (PRINTF_XEXPR): Likewise.
16380         (PRINTF_NEXPR): Likewise.
16381         (TEST_FLOAT): Likewise.
16382         (TEST_MATHVEC): Likewise.
16383         (__NO_MATH_INLINES): Likewise.
16384         (CNCT): Likewise.
16385         (CONCAT): Likewise.
16386         (WRAPPER_NAME): Likewise.
16387         (WRAPPER_DECL): Likewise.
16388         (WRAPPER_DECL_ff): Likewise.
16389         (WRAPPER_DECL_fFF): Likewise.
16390         (VECTOR_WRAPPER): Likewise.
16391         (VECTOR_WRAPPER_ff): Likewise.
16392         (VECTOR_WRAPPER_fFF): Likewise.
16393         (VEC_LEN): New macro.
16394         * math/test-float-vlen16.h: Include test-float.h,
16395         test-math-no-inline.h and test-math-vector.h.
16396         (FLOAT): Remove macro.
16397         (FUNC): Likewise.
16398         (MATHCONST): Likewise.
16399         (PRINTF_EXPR): Likewise.
16400         (PRINTF_XEXPR): Likewise.
16401         (PRINTF_NEXPR): Likewise.
16402         (TEST_FLOAT): Likewise.
16403         (TEST_MATHVEC): Likewise.
16404         (__NO_MATH_INLINES): Likewise.
16405         (CNCT): Likewise.
16406         (CONCAT): Likewise.
16407         (WRAPPER_NAME): Likewise.
16408         (WRAPPER_DECL): Likewise.
16409         (WRAPPER_DECL_ff): Likewise.
16410         (WRAPPER_DECL_fFF): Likewise.
16411         (VECTOR_WRAPPER): Likewise.
16412         (VECTOR_WRAPPER_ff): Likewise.
16413         (VECTOR_WRAPPER_fFF): Likewise.
16414         (VEC_LEN): New macro.
16415         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
16416         test-vec-loop.h.
16417         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16418         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16419         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16420         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16421         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16422         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16423         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16425 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16427         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
16428         (__getlogin_r): ... this.
16430 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16432         [BZ #18594]
16433         * math/s_ccosh.c (__ccosh): Compare with least normal value
16434         instead of comparing class with FP_SUBNORMAL.
16435         * math/s_ccoshf.c (__ccoshf): Likewise.
16436         * math/s_ccoshl.c (__ccoshl): Likewise.
16437         * math/s_cexp.c (__cexp): Likewise.
16438         * math/s_cexpf.c (__cexpf): Likewise.
16439         * math/s_cexpl.c (__cexpl): Likewise.
16440         * math/s_csin.c (__csin): Likewise.
16441         * math/s_csinf.c (__csinf): Likewise.
16442         * math/s_csinh.c (__csinh): Likewise.
16443         * math/s_csinhf.c (__csinhf): Likewise.
16444         * math/s_csinhl.c (__csinhl): Likewise.
16445         * math/s_csinl.c (__csinl): Likewise.
16446         * math/s_ctan.c (__ctan): Likewise.
16447         * math/s_ctanf.c (__ctanf): Likewise.
16448         * math/s_ctanh.c (__ctanh): Likewise.
16449         * math/s_ctanhf.c (__ctanhf): Likewise.
16450         * math/s_ctanhl.c (__ctanhl): Likewise.
16451         * math/s_ctanl.c (__ctanl): Likewise.
16452         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
16453         csin, csinh, ctan and ctanh.
16454         * math/auto-libm-test-out: Regenerated.
16455         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
16456         * sysdeps/i386/fpu/libm-test-ulps: Update.
16457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16459 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16461         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
16462         return value is wrong, print the expected value too.
16464 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16466         [BZ #18585]
16467         * elf/readlib.c (is_gdb_python_file): New.
16468         (process_file): Don't issue errors on filenames with -gdb.py
16469         suffix.
16471 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16473         * math/auto-libm-test-in: Add more tests of csin and csinh.
16474         * math/auto-libm-test-out: Regenerated.
16475         * math/libm-test.inc (csin_test_data): Remove tests moved to
16476         auto-libm-test-in.
16477         (csinh_test_data): Likewise.
16479         [BZ #18593]
16480         * math/s_csin.c (__csin): Negate before rather than after possibly
16481         overflowing multiplication.
16482         * math/s_csinf.c (__csinf): Likewise.
16483         * math/s_csinh.c (__csinh): Likewise.
16484         * math/s_csinhf.c (__csinhf): Likewise.
16485         * math/s_csinhl.c (__csinhl): Likewise.
16486         * math/s_csinl.c (__csinl): Likewise.
16487         * math/auto-libm-test-in: Add some tests of csin and csinh.
16488         * math/auto-libm-test-out: Regenerated.
16489         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
16490         (csinh_test_data): Likewise.
16491         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16493         [BZ #18586]
16494         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
16495         underflow exception for small results.
16497 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16499         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16500         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
16501         variable and included header.
16502         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
16503         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
16504         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
16505         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
16506         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
16507         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16508         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16509         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
16510         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
16511         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
16512         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
16513         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
16514         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
16515         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
16516         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
16517         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
16519 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16521         [BZ #16526]
16522         [BZ #16538]
16523         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
16524         (__sin): Force underflow exception for arguments with small
16525         absolute value.
16526         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
16527         (__kernel_sinf): Force underflow exception for arguments with
16528         small absolute value.
16529         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
16530         (__kernel_sincosl): Force underflow exception for arguments with
16531         small absolute value.
16532         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
16533         (__kernel_sinl): Force underflow exception for arguments with
16534         small absolute value.
16535         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
16536         (__kernel_sincosl): Force underflow exception for arguments with
16537         small absolute value.
16538         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
16539         (__kernel_sinl): Force underflow exception for arguments with
16540         small absolute value.
16541         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
16542         (__kernel_sinl): Force underflow exception for arguments with
16543         small absolute value.
16544         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
16545         (__kernel_sinf): Force underflow exception for arguments with
16546         small absolute value.
16547         * math/auto-libm-test-in: Add more tests of sin and sincos.
16548         * math/auto-libm-test-out: Regenerated.
16550         [BZ #18245]
16551         [BZ #18583]
16552         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
16553         (__kernel_standard_l): Use feholdexcept and fesetenv around
16554         conversion to double instead of special-casing overflow and
16555         underflow.
16556         * math/libm-test.inc (fmod_test_data): Add more tests.
16557         (remainder_test_data): Likewise.
16558         (sqrt_test_data): Likewise.
16560 2015-06-23  Torvald Riegel  <triegel@redhat.com>
16562         [BZ #17403]
16563         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
16564         atomic_read_barrier, atomic_write_barrier): Define.
16565         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
16566         atomic_read_barrier, atomic_write_barrier): Define.
16568 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16570         * math/Makefile [$(PERL) != no]
16571         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
16572         dependency on libm-test.stmp below the inclusion of Rules.
16574 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
16576         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16577         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
16578         and included header.
16579         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
16580         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
16581         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
16582         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
16583         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
16584         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
16585         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16586         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16587         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
16588         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
16589         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
16590         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
16591         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
16592         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
16593         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
16594         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
16595         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
16596         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
16597         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
16599 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16601         [BZ #18371]
16602         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
16603         intermediate but not final result might underflow.
16604         * math/s_csqrtf.c (__csqrtf): Likewise.
16605         * math/s_csqrtl.c (__csqrtl): Likewise.
16606         * math/auto-libm-test-in: Add more tests of csqrt.
16607         * math/auto-libm-test-out: Regenerated.
16608         * sysdeps/i386/fpu/libm-test-ulps: Update.
16610         [BZ #18219]
16611         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
16612         threshold on absolute value of exponent for which scaling is used.
16613         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16614         * math/auto-libm-test-in: Add more tests of exp2.
16615         * math/auto-libm-test-out: Regenerated.
16617 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
16619         [BZ #17977]
16620         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
16621         when initializing interface list, based on the bug analysis
16622         and the patch proposed by Eric Newton.
16623         * resolv/tst-res_hconf_reorder.c: New test.
16624         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
16625         tst-res_hconf_reorder.
16626         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
16627         and $(shared-thread-library).
16628         (tst-res_hconf_reorder-ENV): New variable.
16630         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
16631         in comment.
16633 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
16635         [BZ #16353]
16636         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
16637         (__expm1): Force underflow exception for arguments with small
16638         absolute value.
16639         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
16640         (__expm1f): Force underflow exception for arguments with small
16641         absolute value.
16642         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
16643         (__expm1): Force underflow exception for arguments with small
16644         absolute value.
16645         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
16646         (__expm1f): Force underflow exception for arguments with small
16647         absolute value.
16648         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16649         Check for small arguments before calling __expm1.
16650         * math/auto-libm-test-in: Do not mark underflow exceptions as
16651         possibly missing for bug 16353.
16652         * math/auto-libm-test-out: Regenerated.
16654 2015-06-22  Andreas Schwab  <schwab@suse.de>
16656         [BZ #18513]
16657         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
16658         PTR queries.
16660 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
16662         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
16664         * string/strcoll_l.c: Remove unused struct element idxnow.
16666 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
16668         [BZ #18569]
16669         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
16670         underflow and return argument in case of subnormal argument.
16671         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16672         Likewise.
16673         * math/auto-libm-test-in: Add more tests of expm1.
16674         * math/auto-libm-test-out: Regenerated.
16676         [BZ #16361]
16677         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16678         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16679         tiny results.
16680         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16681         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16682         tiny results.
16683         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
16684         mark underflow exceptions as possibly missing for bug 16361.
16685         * math/auto-libm-test-out: Regenerated.
16687 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
16689         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
16690         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
16691         Remove variable.
16692         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16693         (test-xfail-XOPEN2K8/utmpx.h/conform).
16695         * conform/conformtest.pl ($xerrors): New variable.
16696         (note_error): New function.
16697         (compiletest): New argument $xfail.  Use not_error.
16698         (runtest): Likewise.
16699         (top level): Handle xfail- lines.  Update calls to compiletest and
16700         runtest.  Handle xfail- and optional- in headers listed with
16701         allow-header.
16702         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
16703         (O_EXEC): Likewise.
16704         (O_SEARCH): Likewise.
16705         * conform/data/stropts.h-data (ioctl): Likewise.
16706         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
16707         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
16708         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
16709         (msghdr.msg_controllen): Likewise.
16710         (cmsghdr.cmsg_len): Likewise.
16711         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
16712         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
16713         variable.
16714         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16715         (test-xfail-XPG4/stropts.h/conform): Likewise.
16716         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16717         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16718         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16719         (test-xfail-UNIX98/stropts.h/conform): Likewise.
16720         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16721         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16722         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16723         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16724         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16725         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16726         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16727         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16728         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16729         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16730         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16731         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16732         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16733         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16734         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16736 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16738         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
16739         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
16740         definitions for proper unfolding of __MATHDECL_VEC.
16742 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16744         * benchtests/bench-strcoll.c:
16745         Include string.h.
16746         (main): Remove unused variable res.
16748 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16750         * timezone/Makefile (%/UTC %/Universal):
16751         Generate test-result files for UTC and Universal.
16753 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16755         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16757 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
16759         [BZ #16350]
16760         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
16761         for arguments with small absolute value.
16762         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
16763         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
16764         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
16765         (__asinh): Force underflow exception for arguments with small
16766         absolute value.
16767         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
16768         (__asinhf): Force underflow exception for arguments with small
16769         absolute value.
16770         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
16771         (__asinhl): Force underflow exception for arguments with small
16772         absolute value.
16773         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
16774         (__asinhl): Force underflow exception for arguments with small
16775         absolute value.
16776         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
16777         (__asinhl): Force underflow exception for arguments with small
16778         absolute value.
16779         * math/auto-libm-test-in: Do not mark underflow exceptions as
16780         possibly missing for bug 16350.
16781         * math/auto-libm-test-out: Regenerated.
16783         * include/bits/ipc.h: Remove file.
16784         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
16785         variable.
16786         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16787         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16788         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16789         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16790         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16791         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16792         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16793         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16794         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16796         * math/auto-libm-test-in: Remove spurious underflow allowance for
16797         tests of cexp.
16798         * math/auto-libm-test-out: Regenerated.
16800         [BZ #18558]
16801         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
16802         unconditional definition.
16803         (MCAST_BLOCK_SOURCE): Likewise.
16804         (MCAST_UNBLOCK_SOURCE): Likewise.
16805         (MCAST_LEAVE_GROUP): Likewise.
16806         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16807         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16808         (MCAST_MSFILTER): Likewise.
16809         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
16810         Remove variable.
16811         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16812         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16813         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16814         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16815         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16817 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
16819         * NEWS: Mention addition of x86_64 vector sincosf.
16820         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
16821         * math/test-float-vlen4.h: Likewise.
16822         * math/test-float-vlen8.h: Likewise.
16823         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16824         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
16825         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16826         * sysdeps/x86_64/fpu/Versions: New versions added.
16827         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16828         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16829         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16830         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
16831         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16832         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
16833         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16834         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
16835         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16836         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
16837         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
16838         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
16839         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
16840         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
16841         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
16842         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
16843         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
16844         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16845         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16846         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16847         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16848         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16849         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16850         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16852         * NEWS: Mention addition of x86_64 vector sincos.
16853         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
16854         * math/math.h (__MATHDECL_VEC): New macro.
16855         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
16856         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
16857         declaration under condition.
16858         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
16859         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
16860         TEST_VEC_LOOP change.
16861         * math/test-double-vlen4.h: Likewise.
16862         * math/test-double-vlen8.h: Likewise.
16863         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
16864         * math/test-float-vlen4.h: Likewise.
16865         * math/test-float-vlen8.h: Likewise.
16866         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16867         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
16868         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16869         * sysdeps/x86_64/fpu/Versions: New versions added.
16870         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16871         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16872         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16873         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
16874         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
16875         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
16876         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
16877         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
16878         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
16879         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
16880         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
16881         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
16882         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
16883         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
16884         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
16885         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
16886         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
16887         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16888         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16889         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16890         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16891         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16892         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16893         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16895         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16896         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16897         redirections for powf.
16898         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16899         * sysdeps/x86_64/fpu/Versions: New versions added.
16900         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16901         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16902         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16903         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
16904         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
16905         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
16906         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
16907         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
16908         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
16909         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
16910         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
16911         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
16912         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
16913         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
16914         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
16915         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
16916         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
16917         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16918         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16919         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16920         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16921         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16922         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16923         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16924         * math/test-float-vlen16.h: Fixed 2 argument macro.
16925         * math/test-float-vlen4.h: Likewise.
16926         * math/test-float-vlen8.h: Likewise.
16927         * NEWS: Mention addition of x86_64 vector powf.
16929 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
16931         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16932         and redefine.
16933         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16934         and redefine.
16935         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
16936         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16937         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16939         [BZ #18553]
16940         * resource/getpriority.c (getpriority): Rename to __getpriority
16941         and define as weak alias of __getpriority.
16942         * resource/setpriority.c (setpriority): Rename to __setpriority
16943         and define as weak alias of __setpriority.
16944         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
16945         __getpriority and define as weak alias of __getpriority.
16946         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
16947         __setpriority and define as weak alias of __setpriority.
16948         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
16949         strong name.
16950         (setpriority): Use __setpriority as strong name.
16951         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
16952         __getpriority and define as weak alias of __getpriority.
16953         * include/sys/resource.h (__getpriority): Declare.  Use
16954         libc_hidden_proto.
16955         (__setpriority): Likewise.
16956         (getpriority): Don't use libc_hidden_proto.
16957         (setpriority): Likewise.
16958         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
16959         getpriority.  Call __setpriority instead of setpriority.
16960         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
16961         Remove variable.
16963         [BZ #18547]
16964         * misc/getttyent.c (getttynam): Rename to __getttynam and define
16965         as weak alias of __getttynam.  Use prototype function definition.
16966         Call __setttyent, __getttyent and __endttyent instead of
16967         setttyent, getttyent and endttyent.
16968         (getttyent): Rename to __getttyent and define as weak alias of
16969         __getttyent.  Call __setttyent instead of setttyent.  Call
16970         __fgets_unlocked instead of fgets_unlocked.
16971         (setttyent): Rename to __setttyent and define as weak alias of
16972         __setttyent.
16973         (endttyent): Rename to __endttyent and define as weak alias of
16974         __endttyent.
16975         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
16976         (__setttyent): Likewise.
16977         (__endttyent): Likewise.
16978         (getttyent): Don't use libc_hidden_proto.
16979         (setttyent): Likewise.
16980         (endttyent): Likewise.
16981         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
16982         __endttyent instead of setttyent, getttyent and endttyent.
16983         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
16984         Remove variable.
16986         [BZ #18546]
16987         * socket/recv.c (__recv): Use libc_hidden_def.
16988         * socket/socket.c (__socket): Likewise.
16989         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16990         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16991         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
16992         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
16993         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
16994         libc_hidden_def.
16995         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
16996         libc_hidden_weak.
16997         * include/sys/socket.h (__socket): Do not use attribute_hidden.
16998         Use libc_hidden_proto.
16999         (__recv): Likewise.
17000         * socket/Versions (libc): Export __recv and __socket at version
17001         GLIBC_PRIVATE.
17002         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
17003         instead of recv.
17004         (init_mq_netlink): Call __socket instead of socket.
17005         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
17006         Remove variable.
17008         [BZ #18545]
17009         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
17010         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
17011         hidden_weak.
17012         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
17013         define as alias of __mq_timedsend.  Use hidden_weak.
17014         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
17015         __mq_timedsend as strong name.
17016         (mq_timedreceive): Use __mq_timedreceive as strong name.
17017         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
17018         (__mq_timedreceive): Likewise.
17019         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
17020         __mq_timedreceive instead of mq_timedreceive.
17021         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
17022         instead of mq_timedsend.
17023         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
17024         Remove variable.
17026         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
17027         hidden_def and hidden_weak instead of libc_hidden_def and
17028         libc_hidden_weak.
17029         (top level): Refer to hidden_def in comment.
17030         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
17031         macro.  Use it instead of libc_hidden_def.
17032         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
17033         specify __GI_* name explicitly.
17034         (mq_timedreceive): Likewise.
17035         (mq_setattr): Likewise.
17037         [BZ #18544]
17038         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
17039         __pthread_barrier_init and define as weak alias of
17040         __pthread_barrier_init.
17041         * sysdeps/sparc/nptl/pthread_barrier_init.c
17042         (pthread_barrier_init): Likewise.
17043         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
17044         __pthread_barrier_wait and define as weak alias of
17045         __pthread_barrier_wait.
17046         * sysdeps/sparc/nptl/pthread_barrier_wait.c
17047         (pthread_barrier_wait): Likewise.
17048         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17049         (pthread_barrier_wait): Likewise.
17050         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
17051         (pthread_barrier_wait): Likewise.
17052         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
17053         (pthread_barrier_wait): Likewise.
17054         * nptl/Versions (libpthread): Export __pthread_barrier_init and
17055         __pthread_barrier_wait at version GLIBC_PRIVATE.
17056         * include/pthread.h (__pthread_barrier_init): Declare.
17057         (__pthread_barrier_wait): Likewise.
17058         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
17059         Call __pthread_barrier_wait instead of pthread_barrier_wait.
17060         (helper_thread): Likewise.
17061         (init_mq_netlink): Call __pthread_barrier_init instead of
17062         pthread_barrier_init.
17064         [BZ #18542]
17065         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
17066         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
17067         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
17068         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
17069         vswscanf.
17070         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
17071         Remove variable.
17073         [BZ #18540]
17074         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
17075         strong alias of _IO_fflush.  Use libc_hidden_def.
17076         * libio/iofflush_u.c (fflush_unlocked): Rename to
17077         __fflush_unlocked and define as weak alias of __fflush_unlocked.
17078         Use libc_hidden_weak.
17079         * include/stdio.h (__fflush_unlocked): Declare.  Use
17080         libc_hidden_proto.
17081         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
17082         fflush_unlocked.
17083         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
17084         Remove variable.
17086         [BZ #18539]
17087         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
17088         define as weak alias of __addseverity.
17089         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
17090         Remove variable.
17091         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
17092         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
17093         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
17095         [BZ #18536]
17096         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
17097         (__tfind): Likewise.
17098         (__tdelete): Likewise.
17099         (__twalk): Likewise.
17100         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
17101         __twalk to GLIBC_PRIVATE.
17102         * include/search.h (__tsearch): Use libc_hidden_proto.
17103         (__tfind): Likewise.
17104         (__tdelete): Likewise.
17105         (__twalk): Likewise.
17106         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
17107         Call __tdelete instead of tdelete.
17108         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
17109         tfind.  Call __tsearch instead of tsearch.
17110         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
17111         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
17112         Remove variable.
17113         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
17115         [BZ #18534]
17116         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
17117         (dprintf): Define as a weak alias of __dprintf, not a strong
17118         alias.
17119         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
17120         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
17121         dprintf.
17122         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
17123         Remove variable.
17124         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
17125         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
17127         [BZ #18533]
17128         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
17129         not a strong alias.
17130         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
17131         Remove variable.
17133         [BZ #18532]
17134         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
17135         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
17136         (in6addr_loopback): Rename to __in6addr_loopback and define as
17137         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
17138         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
17139         libc_hidden_proto.
17140         (__in6addr_any): Likewise.
17141         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
17142         in6addr_any.
17143         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
17144         variable.
17145         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
17147 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
17149         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
17150         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
17151         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17152         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17153         redirections for pow.
17154         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17155         * sysdeps/x86_64/fpu/Versions: New versions added.
17156         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17157         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17158         build of SSE, AVX2 and AVX512 IFUNC versions.
17159         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
17160         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
17161         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
17162         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
17163         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
17164         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
17165         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
17166         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
17167         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
17168         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
17169         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
17170         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
17171         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
17172         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
17173         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17174         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17175         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17176         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17177         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17178         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17179         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17180         * NEWS: Mention addition of x86_64 vector pow.
17182         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17183         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17184         redirections for expf.
17185         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17186         * sysdeps/x86_64/fpu/Versions: New versions added.
17187         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17188         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17189         build of SSE, AVX2 and AVX512 IFUNC versions.
17190         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
17191         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
17192         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
17193         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
17194         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
17195         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
17196         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
17197         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
17198         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
17199         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
17200         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
17201         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
17202         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
17203         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17204         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17205         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17206         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17207         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17208         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17209         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17210         * NEWS: Mention addition of x86_64 vector expf.
17212         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
17213         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
17214         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17215         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17216         redirections for exp.
17217         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17218         * sysdeps/x86_64/fpu/Versions: New versions added.
17219         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17220         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17221         build of SSE, AVX2 and AVX512 IFUNC versions.
17222         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
17223         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
17224         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
17225         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
17226         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
17227         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
17228         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
17229         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
17230         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
17231         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
17232         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
17233         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
17234         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
17235         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17236         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17237         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17238         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17239         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17240         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17241         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17242         * NEWS: Mention addition of x86_64 vector exp.
17244         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17245         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17246         redirections for logf.
17247         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17248         * sysdeps/x86_64/fpu/Versions: New versions added.
17249         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17250         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17251         build of SSE, AVX2 and AVX512 IFUNC versions.
17252         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
17253         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
17254         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
17255         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
17256         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
17257         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
17258         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
17259         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
17260         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
17261         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
17262         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
17263         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
17264         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
17265         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17266         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17267         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17268         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17269         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17270         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17271         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17272         * NEWS: Mention addition of x86_64 vector logf.
17274         * bits/libm-simd-decl-stubs.h: Added stubs for log.
17275         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
17276         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17277         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17278         redirections for log.
17279         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17280         * sysdeps/x86_64/fpu/Versions: New versions added.
17281         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17282         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17283         build of SSE, AVX2 and AVX512 IFUNC versions.
17284         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
17285         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
17286         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
17287         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
17288         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
17289         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
17290         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
17291         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
17292         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
17293         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
17294         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
17295         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
17296         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
17297         test.
17298         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17299         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17300         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17301         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17302         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17303         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17304         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17305         * NEWS: Mention addition of x86_64 vector log.
17307 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17309         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
17310         cfi_adjust_cfa_offset argument.
17311         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
17312         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
17314         [BZ #18034]
17315         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
17316         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
17317         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
17318         ordering using ldar.
17319         (_dl_tlsdesc_dynamic): Likewise.
17320         (_dl_tlsdesc_return_lazy): Likewise.
17321         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
17322         relaxed atomics instead of volatile and synchronize with release store.
17323         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
17324         volatile.
17325         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17327 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
17329         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17330         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
17331         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17332         * sysdeps/x86_64/fpu/Versions: New versions added.
17333         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17334         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17335         build of SSE, AVX2 and AVX512 IFUNC versions.
17336         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
17337         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
17338         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
17339         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
17340         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
17341         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
17342         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
17343         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
17344         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
17345         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
17346         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
17347         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
17348         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
17349         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17350         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17351         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17352         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17353         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17354         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17355         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17356         * NEWS: Mention addition of x86_64 vector sinf.
17358 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
17360         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
17361         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
17362         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
17363         Remove variable.
17364         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
17365         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
17367 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17369         [BZ #18530]
17370         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
17371         strong alias of _IO_fputs.  Use libc_hidden_def.
17372         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
17373         and define as weak alias of __fputs_unlocked.  Use
17374         libc_hidden_weak.
17375         * include/stdio.h (__fputs_unlocked): Declare.  Use
17376         libc_hidden_proto.
17377         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
17378         fputs_unlocked.
17380         [BZ #18529]
17381         * resolv/netdb.h [__USE_POSIX]: Change condition to
17382         [__USE_XOPEN2K].
17383         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
17384         not expect.
17385         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
17386         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
17387         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
17388         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
17389         [XPG4 || UNIX98] (AI_ALL): Likewise.
17390         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
17391         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
17392         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
17393         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
17394         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
17395         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
17396         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
17397         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
17398         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
17399         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
17400         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
17401         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
17402         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
17403         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
17404         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
17405         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17406         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17407         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
17408         [XPG4 || UNIX98] (gai_strerror): Likewise.
17409         [XPG4 || UNIX98] (getaddrinfo): Likewise.
17410         [XPG4 || UNIX98] (getnameinfo): Likewise.
17412         [BZ #18528]
17413         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
17414         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
17415         __USE_XOPEN2K8].
17416         (getgrent): Likewise.
17417         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
17418         expect.
17419         [XPG3 || POSIX2008] (endgrent): Likewise.
17420         [XPG3] (setgrent): Likewise.
17421         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
17422         variable.
17423         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17425         [BZ #18527]
17426         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
17427         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
17428         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
17429         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
17430         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
17431         * include/unistd.h (__getlogin_r): Declare.  Use
17432         libc_hidden_proto.
17433         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
17434         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
17435         variable.
17436         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17437         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17438         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17440 2015-06-12  Martin Sebor  <msebor@redhat.com>
17442         [BZ #18512]
17443         * Makerules (check-install-supported): New target.
17444         (install): Add check-install-supported as a dependency.
17445         * manual/install.texi (Installing the C Library): Document
17446         that overriding prefix and exec_prefix is not supported.
17447         Mention DESTDIR.
17448         * INSTALL: Regenerate from the above.
17450 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17452         [BZ #18519]
17453         * posix/Versions (libc): Export __libc_pread at version
17454         GLIBC_PRIVATE.
17455         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
17456         instead of pread.
17457         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
17458         variable.
17460         [BZ #18522]
17461         * misc/efgcvt_r.c
17462         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
17463         (cvt_symbol): Use weak_alias instead of strong_alias.
17464         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
17465         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
17466         Remove variable.
17467         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17468         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17470         [BZ #18520]
17471         * inet/herrno.c (h_errno): Rename to __h_errno.
17472         (__libc_h_errno): Define as alias of __h_errno not h_errno.
17473         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
17474         to __h_errno instead of h_errno.
17475         * nptl/herrno.c (h_errno): Rename to __h_errno.
17476         (__h_errno_location): Refer to __h_errno not h_errno.
17477         * resolv/Versions (h_errno): Rename to __h_errno.
17478         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
17479         Remove variable.
17480         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17482 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
17484         * configure.ac: More strict check for AVX512 assembler support.
17485         * configure: Regenerated.
17487         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
17488         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
17489         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17490         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
17491         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17492         * sysdeps/x86_64/fpu/Versions: New versions added.
17493         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17494         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17495         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17496         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
17497         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
17498         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
17499         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
17500         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
17501         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
17502         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
17503         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
17504         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
17505         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
17506         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
17507         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
17508         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
17509         test.
17510         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17511         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17512         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17513         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17514         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17515         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17516         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17517         * NEWS: Mention addition of x86_64 vector sin.
17519 2015-06-11  Florian Weimer  <fweimer@redhat.com>
17521         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
17522         comment.
17524 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17526         [BZ #18479]
17527         * nptl/pt-interp.c: New file.
17528         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
17529         Add pt-interp.
17530         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
17531         $(common-objpfx)runtime-linker.h.
17533 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
17535         * Makeconfig (+interp): Remove unused variable.
17536         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
17537         only.  Depend on $(common-objpfx)runtime-linker.h instead of
17538         $(elf-objpfx)runtime-linker.h.
17539         ($(elf-objpfx)runtime-linker.h): Rename to
17540         $(common-objpfx)runtime-linker.h and move ...
17541         * Makerules [$(build-shared) = yes]: ... here.
17542         * elf/interp.c: Include <runtime-linker.h> instead of
17543         <elf/runtime-linker.h>.
17545 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17547         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
17548         (__gettimeofday_syscall): Remove vsyscall fallback.
17549         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
17550         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
17551         Add syscall fallback function.
17552         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
17553         if vDSO is not present.
17554         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
17555         fallback function.
17556         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
17557         present.
17558         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
17559         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17561 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
17563         [BZ #18497]
17564         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
17565         of wcscmp.
17566         (wcscmp): Define as weak alias of WCSCMP.
17567         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
17568         wcscoll.
17569         (USE_HIDDEN_DEF): Define.
17570         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
17571         __wcscoll.  Don't use libc_hidden_weak.
17572         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
17573         wcscmp.
17574         * sysdeps/i386/i686/multiarch/wcscmp-c.c
17575         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
17576         __GI_wcscmp.
17577         (weak_alias): Undefine and redefine.
17578         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
17579         __wcscmp and define as weak alias of __wcscmp.
17580         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
17581         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
17582         (__wcscoll): Likewise.
17583         (wcscmp): Don't use libc_hidden_proto.
17584         (wcscoll): Likewise.
17585         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
17586         wcscoll.
17587         * posix/regexec.c (check_node_accept_bytes): Likewise.
17588         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
17589         variable.
17590         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17591         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17593         [BZ #18507]
17594         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
17595         __fstatvfs and define as weak alias of __fstatvfs.  Use
17596         libc_hidden_weak.
17597         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
17598         and define as weak alias of __statvfs.  Use libc_hidden_weak.
17599         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
17600         Define as alias of __fstatvfs, not fstatvfs.
17601         (fstatvfs64): Likewise.
17602         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
17603         Define as alias of __statvfs, not statvfs.
17604         (statvfs64): Likewise.
17605         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
17606         Remove variable.
17608 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17611         (HAVE_GETCPU_VSYSCALL): Define.
17612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17613         (HAVE_GETCPU_VSYSCALL): Likewise.
17614         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
17615         * sysdeps/unix/sysv/linux/sched_getcpu.c
17616         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
17617         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
17618         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
17619         prototype.
17620         * sysdeps/unix/sysv/linux/x86_64/init-first.c
17621         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
17622         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
17623         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
17624         Define.
17625         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
17626         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17627         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
17628         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17630 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
17632         * sysdeps/x86_64/fpu/Makefile: New file.
17633         * sysdeps/x86_64/fpu/Versions: New file.
17634         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
17635         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
17636         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
17637         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
17638         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
17639         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
17640         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
17641         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
17642         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
17643         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
17644         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
17645         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
17646         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
17647         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17648         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17649         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
17650         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
17651         * sysdeps/x86_64/configure.ac: Options for libmvec build.
17652         * sysdeps/x86_64/configure: Regenerated.
17653         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
17654         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
17655         * manual/install.texi (Configuring and compiling): Document
17656         --disable-mathvec.
17657         * INSTALL: Regenerated.
17658         * NEWS: Mention addition of libmvec and x86_64 vector cos.
17660         * math/Makefile: Added rules for vector tests.
17661         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
17662         declaration under condition.
17663         * math/test-double-vlen2.h: New file.
17664         * math/test-double-vlen4.h: New file.
17665         * math/test-double-vlen8.h: New file.
17666         * math/test-vec-loop.h: Added initialization macro.
17667         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
17668         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
17669         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
17670         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
17671         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
17672         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
17673         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
17674         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
17675         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
17676         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
17677         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
17679         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17680         * sysdeps/x86_64/fpu/Versions: New versions added.
17681         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
17682         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
17683         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
17684         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
17685         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
17686         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
17687         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
17688         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
17689         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
17690         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
17691         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
17692         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
17693         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
17694         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17695         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17696         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17697         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
17698         * NEWS: Mention addition of x86_64 vector cosf.
17700         * math/Makefile: Added CFLAGS for new tests.
17701         * math/test-float-vlen16.h: New file.
17702         * math/test-float-vlen4.h: New file.
17703         * math/test-float-vlen8.h: New file.
17704         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
17705         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
17706         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17707         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
17708         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
17709         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
17710         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
17711         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
17712         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
17713         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
17714         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
17716 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
17718         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
17719         * locale/programs/ld-ctype.c: Likewise.
17721 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
17723         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
17724         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
17725         bit_ZMM16_31_state): New macro.
17726         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17727         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
17729 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
17731         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
17733 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
17735         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
17737 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
17739         [BZ #18498]
17740         * libio/memstream.c (open_memstream): Rename to __open_memstream
17741         and define as weak alias of __open_memstream.
17742         * include/stdio.h (__open_memstream): Declare.  Use
17743         libc_hidden_proto.
17744         (open_memstream): Don't use libc_hidden_proto.
17745         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
17746         open_memstream.
17747         * posix/getopt.c (_getopt_internal_r): Likewise.
17748         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
17749         variable.
17750         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17751         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17752         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17754         [BZ #18496]
17755         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
17756         instead of wcrtomb.
17758         [BZ #18483]
17759         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
17760         [__USE_XOPEN2K8].  Remove redundant #endif.
17761         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
17762         Remove redundant #if.
17763         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
17764         Remove variable.
17765         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17766         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17768         [BZ #18495]
17769         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
17770         (__iswlower): Likewise.
17771         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
17772         (__iswlower): Likewise.
17773         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
17774         instead of towlower.
17775         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
17776         instead of iswlower.  Call __towupper instead of towupper.
17777         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
17778         instead of iswalnum.
17780 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17782         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
17783         errors to stderr.
17785 2015-06-05  Florian Weimer  <fweimer@redhat.com>
17787         [BZ #15661]
17788         [BZ #17322]
17789         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17790         Check for overflow properly.  Check for O_APPEND.  Ignore large
17791         file system block sizes.  Add comments about problems.
17792         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
17793         * manual/filesys.texi (Storage Allocation): New node.
17795 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17797         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
17798         cancellable syscalls.
17799         (SYS_ify): Add guard to no redefine it.
17800         (INLINE_SYSCALL): Likewise.
17801         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
17802         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
17803         SYSCALL_CANCEL instead.
17804         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
17805         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17806         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17807         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17808         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17809         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
17810         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
17811         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
17812         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17813         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17814         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
17815         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
17816         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
17817         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
17818         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
17819         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17820         Likewise.
17821         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17822         (__libc_pread64): Likewise.
17823         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
17824         (__libc_preadv): Likewise.
17825         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
17826         (__libc_readv64): Likewise.
17827         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17828         (__libc_pwrite): Likewise.
17829         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17830         (__libc_pwrite64): Likewise.
17831         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
17832         (__libc_pwritev): Likewise.
17833         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
17834         (__libc_pwritev64): Likewise.
17835         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
17836         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17837         (sync_file_range): Likewise.
17838         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
17839         Likewise.
17840         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
17841         Likewise.
17842         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17843         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17844         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17845         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17846         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17847         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17848         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17849         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
17850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17851         Likewise.
17852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17853         (__libc_read64): Likewise.
17854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
17855         Likewise.
17856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
17857         Likewise.
17858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
17859         Likewise.
17860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
17861         Likewise.
17862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17863         (__libc_pread64): Likewise.
17864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
17865         Likewise.
17866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17867         (__libc_pwrite64): Likewise.
17868         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
17869         (sync_file_range): Likewise.
17870         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
17871         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17872         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17873         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
17874         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
17875         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17876         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17877         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
17878         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
17879         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17880         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17881         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17882         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17883         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17884         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
17885         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17886         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17887         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17888         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17889         Likewise.
17890         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
17891         Likewise.
17892         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
17893         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
17894         Likewise.
17895         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
17896         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
17897         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
17898         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
17899         Likewise.
17900         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
17901         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
17902         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
17903         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
17904         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
17906 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
17908         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
17909         Include dl-vdso.
17910         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
17911         Use VDSO routines for gettimeofday, clock_gettime if
17912         available.
17913         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
17914         Declare VDSO symbols.
17915         * sysdeps/unix/sysv/linux/arm/sysdep.h:
17916         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
17917         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17918         * sysdeps/unix/sysv/linux/arm/Versions: Add
17919         __vdso_clock_gettime.
17921 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17923         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
17924         be an inline implementation regardless of library is built within.
17925         (open_not_cancel_2): Likewise.
17926         (__read_nocancel): Likewise.
17927         (__write_nocancel): Likewise.
17928         (openat_not_cancel): Likewise.
17929         (openat_not_cancel_3): Likewise.
17930         (openat64_not_cancel): Likewise.
17931         (openat64_not_cancel_3): Likewise.
17932         (__close_nocancel): Likewise.
17933         (pause_not_cancel): Likewise.
17934         (nanosleep_not_cancel): Likewise.
17935         (sigsuspend_not_cancel): Likewise.
17937 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17939         [BZ #14958]
17940         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
17941         wake-up.
17942         (__pthread_rwlock_rdlock_slow): Likewise.
17943         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17944         Likewise.
17945         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17946         Likewise.
17947         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
17948         * nptl/tst-rwlock16.c: New file.
17949         * nptl/Makefile (tests): Add new test.
17951 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17953         [BZ #18324]
17954         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
17955         missing wake-up of readers.
17956         * nptl/tst-rwlock15.c: New file.
17957         * nptl/Makefile (tests): Add new test.
17959 2015-06-03  Roland McGrath  <roland@hack.frob.com>
17961         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
17962         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
17963         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
17964         and __nacl_supply_interface_rtld.
17965         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
17966         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
17967         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
17968         Add __nacl_supply_interface_rtld.
17969         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
17971 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17973         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
17974         isfinite.
17975         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17976         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
17978 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17980         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
17981         __signbit* with standard C99 macros.
17982         * math/e_exp10l.c: Likewise.
17983         * math/e_exp2l.c: Likewise.
17984         * math/e_scalb.c: Likewise.
17985         * math/e_scalbf.c: Likewise.
17986         * math/e_scalbl.c: Likewise.
17987         * math/s_ldexp.c: Likewise.
17988         * math/s_ldexpf.c: Likewise.
17989         * math/s_ldexpl.c: Likewise.
17990         * math/w_atan2.c: Likewise.
17991         * math/w_atan2f.c: Likewise.
17992         * math/w_atan2l.c: Likewise.
17993         * math/w_cosh.c: Likewise.
17994         * math/w_coshf.c: Likewise.
17995         * math/w_coshl.c: Likewise.
17996         * math/w_exp10.c: Likewise.
17997         * math/w_exp10f.c: Likewise.
17998         * math/w_exp10l.c: Likewise.
17999         * math/w_exp2.c: Likewise.
18000         * math/w_exp2f.c: Likewise.
18001         * math/w_exp2l.c: Likewise.
18002         * math/w_fmod.c: Likewise.
18003         * math/w_fmodf.c: Likewise.
18004         * math/w_fmodl.c: Likewise.
18005         * math/w_hypot.c: Likewise.
18006         * math/w_hypotf.c: Likewise.
18007         * math/w_hypotl.c: Likewise.
18008         * math/w_jnl.c: Likewise.
18009         * math/w_lgamma.c: Likewise.
18010         * math/w_lgamma_r.c: Likewise.
18011         * math/w_lgammaf.c: Likewise.
18012         * math/w_lgammaf_r.c: Likewise.
18013         * math/w_lgammal.c: Likewise.
18014         * math/w_lgammal_r.c: Likewise.
18015         * math/w_pow.c: Likewise.
18016         * math/w_powf.c: Likewise.
18017         * math/w_powl.c: Likewise.
18018         * math/w_remainder.c: Likewise.
18019         * math/w_remainderf.c: Likewise.
18020         * math/w_remainderl.c: Likewise.
18021         * math/w_scalb.c: Likewise.
18022         * math/w_scalbf.c: Likewise.
18023         * math/w_scalbl.c: Likewise.
18024         * math/w_scalbln.c: Likewise.
18025         * math/w_scalblnf.c: Likewise.
18026         * math/w_scalblnl.c: Likewise.
18027         * math/w_sinh.c: Likewise.
18028         * math/w_sinhf.c: Likewise.
18029         * math/w_sinhl.c: Likewise.
18030         * math/w_tgamma.c: Likewise.
18031         * math/w_tgammaf.c: Likewise.
18032         * math/w_tgammal.c: Likewise.
18033         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18034         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
18035         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18036         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18037         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18038         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18039         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18040         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18041         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18042         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18043         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18044         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18045         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18046         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18047         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18048         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18049         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18050         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18051         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18052         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18053         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18054         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18055         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18056         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18057         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18058         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18059         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
18060         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18061         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18062         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18063         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
18064         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
18065         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
18066         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
18067         * stdio-common/printf_fp.c: Likewise.
18068         * stdio-common/printf_fphex.c: Likewise.
18069         * stdio-common/printf_size.c: Likewise.
18071 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
18073         [BZ #18470]
18074         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
18075         strnlen.
18076         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
18077         Remove variable.
18078         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18079         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18080         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18081         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18082         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18083         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18084         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18085         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18086         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18087         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18089         [BZ #18468]
18090         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
18091         weak alias of __wmemchr.  Use libc_hidden_weak.
18092         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
18093         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
18094         instead of wmemchr.
18096 2015-06-02  Roland McGrath  <roland@hack.frob.com>
18098         [BZ #18383]
18099         * elf/tst-tlsalign-extern.c: New file.
18100         * elf/tst-tlsalign-extern-static.c: New file.
18101         * elf/tst-tlsalign-vars.c: New file.
18102         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
18103         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
18104         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
18105         ($(objpfx)tst-tlsalign-extern-static): Likewise.
18106         (test-xfail-tst-tlsalign-extern-static): New variable.
18108 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
18110         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
18111         Use variable name _sc_err instead of err.
18112         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
18113         instead of ret.
18114         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
18115         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
18116         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
18117         (INLINE_SYSCALL): Likewise.
18119         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
18120         * include/string.h (__strnlen): Use libc_hidden_proto.
18121         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
18122         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
18123         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
18124         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
18125         (libc_hidden_def): Undefine and redefine.
18126         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
18127         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
18128         __GI_strnlen.
18129         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
18130         libc_hidden_def.
18131         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
18133         [BZ #18469]
18134         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
18135         weak alias of __towlower.  Use libc_hidden_weak.
18136         (towupper): Rename to __towupper and define as weak alias of
18137         __towupper.  Use libc_hidden_weak.
18138         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
18139         (__towupper): Likewise.
18140         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
18141         __towlower instead of towlower.
18143 2015-06-02  Roland McGrath  <roland@hack.frob.com>
18145         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
18146         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
18148 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18150         * sysdeps/aarch64/libm-test-ulps: Update.
18152 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18154         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
18155         Define.
18156         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18157         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18158         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18159         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18160         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
18161         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
18162         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
18164 2015-06-01  Martin Sebor  <msebor@redhat.com>
18166         [BZ #18116]
18167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18168         (__setcontext): Use extended four-operand version of mtsf whenever
18169         possible.
18170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18171         (__novec_swapcontext): Likewise.
18173 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18175         * benchtests/scripts/compare_bench.py: New file.
18176         * benchtests/scripts/import_bench.py (mean): New function.
18177         (split_list): Likewise.
18178         (do_for_all_timings): Likewise.
18179         (compress_timings): Likewise.
18181         * benchtests/scripts/import_bench.py: New file.
18182         * benchtests/scripts/validate_benchout.py: Import import_bench
18183         instead of jsonschema.
18184         (validate_bench): Remove function.
18185         (main): Use import_bench.
18187 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
18189         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
18190         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
18192 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18196 2015-05-28  Roland McGrath  <roland@hack.frob.com>
18198         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
18199         set THREAD_SELF->tid to a magic value and futex-wake it.
18200         Pass its address to the thread_exit system call.
18201         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
18202         bit is clear.
18203         * sysdeps/nacl/lowlevellock.h: New file.
18204         * sysdeps/nacl/lll_timedwait_tid.c: New file.
18206         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
18207         Add TIMEOUT to current time, don't subtract it.
18209 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
18211         [BZ #2981]
18212         [BZ #18422]
18213         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
18214         ($(objpfx)tst-audit2.out): Also depend on
18215         $(objpfx)tst-auditmod9b.so.
18216         * elf/tst-audit2.c: Include <dlfcn.h>.
18217         (calloc_called): New.
18218         (calloc): Allow to be called more than once.
18219         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
18221 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
18223         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
18224         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
18226 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
18228         * stdlib/monetary.h: Fix comment.
18230 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
18232         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
18233         Avoid using variables in #defines that might cause shadowing.
18234         (INTERNAL_VSYSCALL_CALL): Likewise.
18236 2015-05-26  Roland McGrath  <roland@hack.frob.com>
18238         * sysdeps/nacl/lll_timedlock_wait.c: New file.
18240         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
18241         * nptl/lll_timedlock_wait.c: ... to this new file.
18242         * nptl/Makefile (libpthread-routines): Add it.
18243         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
18244         * nptl/lll_timedwait_tid.c: ... to this new file.
18245         * nptl/Makefile (libpthread-routines): Add it.
18246         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
18247         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
18248         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
18249         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
18250         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
18251         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
18252         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
18253         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
18254         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
18255         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
18257 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18259         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
18260         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18261         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18262         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
18263         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
18264         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18265         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18266         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18267         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18268         * sysdeps/unix/sysv/linux/tile/sysdep.h
18269         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18270         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
18271         using vDSO syscall macro.
18273 2015-05-26  Andriy Rysin  <arysin@gmail.com>
18275         [BZ #17293]
18276         * uk_UA: Fix sorting order for Ukrainian locale
18278 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
18280         * stdlib/monetary.h: Fix comment.
18282 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18284         [BZ #18234]
18285         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
18286         st_mtim and st_ctim members.
18287         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
18288         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
18289         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
18290         (struct stat64): Likewise.
18291         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
18292         (struct stat64): Likewise.
18293         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
18294         (struct stat64): Likewise.
18296 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18298         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
18299         Define and include sysdep-vdso.h.
18300         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
18301         Likewise.
18302         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
18303         Likewise.
18304         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
18305         Define with VDSO_SYMBOL and use PTR_MANGLE.
18306         (__vdso_clock_gettime): Likewise.
18307         (__vdso_clock_getres): Likewise.
18308         (_libc_vdso_platform_setup): Likewise.
18309         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18310         Likewise.
18311         (_libc_vdso_platform_setup): Likewise.
18312         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
18313         Likewise.
18314         (__vdso_clock_gettime): Likewise.
18315         (__vdso_clock_getres): Likewise.
18316         (__vdso_get_tbfreq): Likewise.
18317         (__vdso_getcpu): Likewise.
18318         (__vdso_time): Likewise.
18319         (__vdso_sigtramp_rt64): Likewise.
18320         (__vdso_signtramp32): Likewise.
18321         (__vdso_sigtramp_rt32): Likewise.
18322         (_libc_vdso_platform_setup): Likewise.
18323         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
18324         Likewise.
18325         (__vdso_clock_gettime): Likewise.
18326         (__vdso_clock_getres): Likewise.
18327         (_libc_vdso_platform_setup): Likewise.
18328         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
18329         Likewise.
18330         (__vdso_clock_gettime): Likewise.
18331         (_libc_vdso_platform_setup): Likewise.
18332         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
18333         Likewise.
18334         (__vdso_getcpu): Likewise.
18335         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
18336         Use VDSO_SYMBOL macro to define.
18337         (__vdso_clock_gettime): Likewise.
18338         (__vdso_clock_getres): Likewise.
18339         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
18340         Likewise.
18341         (__vdso_clock_gettime): Likewise.
18342         (__vdso_clock_getres): Likewise.
18343         (__vdso_get_tbfreq): Likewise.
18344         (__vdso_getcpu): Likewise.
18345         (__vdso_time): Likewise.
18346         (__vdso_sigtramp_rt64): Likewise.
18347         (__vdso_signtramp32): Likewise.
18348         (__vdso_sigtramp_rt32): Likewise.
18349         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
18350         Likewise.
18351         (__vdso_clock_gettime): Likewise.
18352         (__vdso_clock_getres): Likewise.
18353         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
18354         Likewise.
18355         (__vdso_clock_gettime): Likewise.
18356         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
18357         Likewise.
18358         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
18359         macro.
18360         (INTERNAL_VSYSCALL): Likewise.
18361         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
18362         Remove macro.
18363         (INTERNAL_VSYSCALL): Likewise.
18364         (INTERNAL_VSYSCALL_NCS): Likewise.
18365         (INTERNAL_VSYSCALL_CALL): New macro.
18366         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18367         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
18368         Likewise.
18369         (INTERNAL_VSYSCALL): Likewise.
18370         (INTERNAL_VSYSCALL_NCS): Likewise.
18371         (INTERNAL_VSYSCALL_CALL): New macro.
18372         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18374         (INLINE_VSYSCALL): Remove macro.
18375         (INTERNAL_VSYSCALL): Remove macro.
18376         (INTERNAL_VSYSCALL_NCS): Remove macro.
18377         (INTERNAL_VSYSCALL_CALL): New macro.
18378         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
18379         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
18380         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18381         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
18382         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18384         (INLINE_VSYSCALL): Remove macro.
18385         (INTERNAL_VSYSCALL): Likewise.
18386         (INTERNAL_VSYSCALL_NCS): Likewise.
18387         (INTERNAL_VSYSCALL_CALL): New macro.
18388         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
18389         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
18390         PTR_DEMANGLE on vDSO pointer.
18391         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18392         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
18393         macro.
18394         (INTERNAL_SYSCALL): Likewise.
18395         (INTERNAL_VSYSCALL_NCS): Remove macro.
18396         (INTERNAL_VSYSCALL_CALL): New macro.
18397         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
18398         Remove macro.
18399         (INTERNAL_VSYSCALL): Likewise.
18400         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
18401         sysdep-vdso.h instead of libc-vdso.h.
18402         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
18403         definition.
18404         (INLINE_VSYSCALL): Likewise.
18405         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
18406         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
18407         definition.
18408         (INLINE_VSYSCALL): Likewise.
18409         (INTERNAL_VSYSCALL): Likewise.
18410         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18411         * sysdeps/unix/sysv/linux/timespec_get.c
18412         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18413         (timespec_get): Use ANSI prototype.
18414         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
18415         and definition for Linux.
18417 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18419         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
18420         * include/libc-symbols.h: libmvec_hidden_* macro series added.
18422 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18424         [BZ #2981]
18425         [BZ #18410]
18426         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
18427         for missing DT_PLTRELSZ.
18429 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
18431         Remove obsolete aliases that broke 'locale -a'
18432         [BZ #18412]
18433         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
18434         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
18435         breaking some applications that use 'locale -a' output.
18436         Change the encoding of this file from Latin-1 to ASCII to avoid
18437         other potential problems with people grepping this file.
18439 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18441         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
18442         -fasynchronous-unwind-tables.
18443         (CFLAGS-sendto.c): Likewise.
18444         (CFLAGS-sendmsg.c): Likewise.
18445         (CFLAGS-connect.c): Likewise.
18446         (CFLAGS-recvmsg.c): Likewise.
18447         (CFLAGS-recvfrom.c): Likewise.
18448         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
18449         (SOCKETCALL): New macro: non-cancellable socketcall.
18450         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
18451         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
18452         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
18453         * sysdeps/unix/sysv/linux/accept.c: New file.
18454         * sysdeps/unix/sysv/linux/bind.c: Likewise.
18455         * sysdeps/unix/sysv/linux/connect.c: Likewise.
18456         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
18457         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
18458         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
18459         * sysdeps/unix/sysv/linux/listen.c: Likewise.
18460         * sysdeps/unix/sysv/linux/recv.c: Likewise.
18461         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
18462         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18463         * sysdeps/unix/sysv/linux/send.c: Likewise.
18464         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18465         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
18466         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
18467         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
18468         * sysdeps/unix/sysv/linux/socket.c: Likewise.
18469         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
18470         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
18471         prototype.
18472         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
18473         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18474         instead of __internal_xxx function.
18475         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
18476         prototype.
18477         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
18478         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18479         instead of __internal_xxx function.
18480         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
18481         prototype.
18482         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
18483         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18484         instead of __internal_xxx function.
18485         * sysdeps/unix/sysv/linux/accept.S: Remove file.
18486         * sysdeps/unix/sysv/linux/bind.S: Likewise.
18487         * sysdeps/unix/sysv/linux/connect.S: Likewise.
18488         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
18489         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
18490         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
18491         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
18492         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
18493         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
18494         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
18495         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
18496         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18497         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
18498         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
18499         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
18500         * sysdeps/unix/sysv/linux/listen.S: Likewise.
18501         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
18502         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
18503         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
18504         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
18505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
18506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
18507         * sysdeps/unix/sysv/linux/recv.S: Likewise.
18508         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
18509         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
18510         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
18511         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18512         * sysdeps/unix/sysv/linux/send.S: Likewise.
18513         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
18514         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
18515         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
18516         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
18517         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
18518         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
18519         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
18520         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
18521         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
18522         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
18523         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
18524         socketcall is implemented in GLIBC.
18526 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18528         * soft-fp/fmadf4.c: Include <libc-internal.h>.
18529         (__fma): Ignore uninitialized warnings around packing.
18530         * soft-fp/fmasf4.c: Include <libc-internal.h>.
18531         (__fmaf): Ignore uninitialized warnings around packing.
18532         * soft-fp/fmatf4.c: Include <libc-internal.h>.
18533         (__fmal): Ignore uninitialized warnings around packing.
18535         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
18536         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18537         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
18538         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18540         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
18541         switch statement into default case.
18542         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
18544         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
18545         a conditional in forcing "inexact".
18546         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18547         Likewise.
18549 2015-05-22  Roland McGrath  <roland@hack.frob.com>
18551         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18552         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
18553         for each INTERNAL_SYSCALL use.
18555 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18557         [BZ #438]
18558         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
18559         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
18560         variable.
18562         [BZ #18444]
18563         * string/basename.c (basename): Rename to __basename and define as
18564         weak alias of __basename.  Use libc_hidden_weak.
18565         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
18566         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
18567         __basename instead of basename.
18568         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
18569         Remove variable.
18570         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18572 2015-05-18  Florian Weimer  <fweimer@redhat.com>
18574         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
18575         (_IO_JUMPS_FILE_plus): New.
18576         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
18577         _IO_CAST_FIELD_ACCESS.
18578         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
18579         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
18580         * libio/freopen.c (freopen): Likewise.
18581         * libio/freopen64.c (freopen64): Likewise.
18582         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
18583         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
18584         * libio/iofwide.c (_IO_fwide): Likewise.
18585         * libio/memstream.c (open_memstream): Likewise.
18586         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18587         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18588         * libio/oldiopopen.c (_IO_old_popen): Likewise.
18590 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
18592         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
18593         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
18594         NADJ.
18595         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
18596         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
18597         NADJ.
18598         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
18599         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
18600         NADJ.
18602         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
18603         (p == 4) case.
18605         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
18606         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
18607         Remove variable.
18608         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18609         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18610         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18612 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18614         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
18615         Adjust jump table label generation macros.
18617 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18619         * stdio-common/vfprintf.c (vfprintf): Move local variables
18620         args_malloced, specs, specs_malloced, and the code after
18621         do_positional to the printf_positional function.
18622         (printf_positional): New function.
18624 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18626         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
18627         function.
18628         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
18629         STEP4_TABLE, process_arg): Move macro definitions
18630         out of the vfprintf function.  (Cosmetic change only.)
18632 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
18634         * benchtests/Makefile (stdio-common-bench): Define.
18635         (benchset): Add stdio-common-bench.
18636         * sprintf-inputs: New file.
18637         * sprintf-source.c: New file.
18639 2015-05-21  Andreas Schwab  <schwab@suse.de>
18641         [BZ #13028]
18642         [BZ #17053]
18643         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
18644         of struct __res_state.
18645         * resolv/res_send.c (__libc_res_nsend): Likewise.
18646         (get_nsaddr): New function.
18647         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
18648         statp directly.
18650 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
18652         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
18653         -D_POSIX_C_SOURCE=199506L.
18655         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
18657         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
18658         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
18659         Do not mention otherwise.
18660         [POSIX] (_XOPEN_VERSION): Do not expect.
18661         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
18662         [POSIX] (_POSIX2_C_BIND): Likewise.
18663         [POSIX] (_POSIX2_VERSION): Likewise.
18664         [POSIX] (_XOPEN_XPG2): Likewise.
18665         [POSIX] (_XOPEN_XPG3): Likewise.
18666         [POSIX] (_XOPEN_XPG4): Likewise.
18667         [POSIX] (_XOPEN_UNIX): Likewise.
18668         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
18669         [POSIX] (_POSIX_BARRIERS): Likewise.
18670         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
18671         [POSIX] (_POSIX_CPUTIME): Likewise.
18672         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
18673         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
18674         [POSIX] (_POSIX_SHELL): Likewise.
18675         [POSIX] (_POSIX_SPAWN): Likewise.
18676         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
18677         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
18678         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
18679         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
18680         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
18681         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
18682         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
18683         [POSIX] (_XBS5_LP64_OFF64): Likewise.
18684         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
18685         [POSIX] (_POSIX_TIMEOUTS): Likewise.
18686         [POSIX] (_POSIX2_PBS): Likewise.
18687         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
18688         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
18689         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
18690         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
18691         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
18692         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
18693         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
18694         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
18695         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
18696         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
18697         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
18698         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
18699         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
18700         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
18701         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
18702         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
18703         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
18704         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
18705         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
18706         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
18707         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
18708         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
18709         [POSIX] (_SC_2_C_BIND): Likewise.
18710         [POSIX] (_SC_2_C_VERSION): Likewise.
18711         [POSIX] (_SC_2_PBS): Likewise.
18712         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
18713         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
18714         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
18715         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
18716         [POSIX] (_SC_2_PBS_TRACK): Likewise.
18717         [POSIX] (_SC_ATEXIT_MAX): Likewise.
18718         [POSIX] (_SC_BARRIERS): Likewise.
18719         [POSIX] (_SC_BASE): Likewise.
18720         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
18721         [POSIX] (_SC_DEVICE_IO): Likewise.
18722         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
18723         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
18724         [POSIX] (_SC_FD_MGMT): Likewise.
18725         [POSIX] (_SC_FIFO): Likewise.
18726         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
18727         [POSIX] (_SC_FILE_LOCKING): Likewise.
18728         [POSIX] (_SC_FILE_SYSTEM): Likewise.
18729         [POSIX] (_SC_IOV_MAX): Likewise.
18730         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
18731         [POSIX] (_SC_NETWORKING): Likewise.
18732         [POSIX] (_SC_PAGE_SIZE): Likewise.
18733         [POSIX] (_SC_PASS_MAX): Likewise.
18734         [POSIX] (_SC_PIPE): Likewise.
18735         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
18736         [POSIX] (_SC_REGEXP): Likewise.
18737         [POSIX] (_SC_SHELL): Likewise.
18738         [POSIX] (_SC_SIGNALS): Likewise.
18739         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
18740         [POSIX] (_SC_SPIN_LOCKS): Likewise.
18741         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
18742         [POSIX] (_SC_USER_GROUPS): Likewise.
18743         [POSIX] (_SC_USER_GROUPS_R): Likewise.
18744         [POSIX] (_SC_STREAMS): Likewise.
18745         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
18746         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
18747         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
18748         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
18749         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
18750         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
18751         [POSIX] (_PC_FILESIZEBITS): Likewise.
18752         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
18753         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
18754         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
18755         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
18756         [POSIX] (uid_t): Likewise.
18757         [POSIX] (gid_t): Likewise.
18758         [POSIX] (off_t): Likewise.
18759         [POSIX] (pid_t): Likewise.
18760         [POSIX] (cuserid): Allow.
18761         (_SC_2_CHAR_TERM): Require constant.
18762         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
18763         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
18764         variable.
18766 2015-05-20  Roland McGrath  <roland@hack.frob.com>
18768         * sysdeps/nacl/pthread-pids.h: New file.
18769         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
18770         (create_thread): Use __nacl_get_tid to initialize PD->tid.
18772         * nptl/pthread-pids.h: New file.
18773         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
18774         * nptl/nptl-init.c: Include <pthread-pids.h>.
18775         (__pthread_initialize_minimal_internal):
18776         Call __pthread_initialize_pids instead of set_tid_address syscall.
18778         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
18779         * sysdeps/posix/usleep.c: ... here.
18781 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18783         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
18784         call_pselect6 object.
18785         [$(subdir) = io]: Remove call_sync_file_range object.
18786         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
18787         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
18788         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
18789         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
18791 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
18793         * math/s_cproj.c: Add include "math_private.h".
18794         * math/s_cprojf.c: Likewise.
18795         * math/s_cprojl.c: Likewise.
18797 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
18799         [BZ #18244]
18800         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
18801         high mantissa bit when testing whether P is a NaN.
18802         * math/libm-test.inc (remainder_test_data): Add more tests.
18803         (remquo_test_data): Likewise.
18805         [BZ #18049]
18806         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
18807         below -32, return the argument, with underflow if subnormal.
18808         * math/auto-libm-test-in: Add more tests of atanh.
18809         * math/auto-libm-test-out: Regenerated.
18811 2015-05-19  Roland McGrath  <roland@hack.frob.com>
18813         [BZ #18434]
18814         * nptl/tst-sem15.c: New file.
18815         * nptl/Makefile (tests): Add it.
18816         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
18817         s/<</>>/ to fix typo in EOVERFLOW check.
18818         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
18820 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18822         * manual/strings.texi (envz_remove): Fix typo in safety
18823         annotations.
18825 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
18826             Steve Ellcey  <sellcey@imgtec.com>
18828         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
18829         in order to avoid strict alias warnings.
18830         (iruserok_af): Ditto for ra.
18832 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
18834         [BZ #17581]
18835         * malloc/hooks.c
18836         (magicbyte): Convert to a function and avoid returning 0x01.
18837         (mem2mem_check): Avoid using a length byte equal to the magic byte.
18838         (mem2chunk_check): Fix unsigned comparisons to zero.
18839         Hoist defs of sz and magic.
18841 2015-05-19  Richard Henderson  <rth@redhat.com>
18843         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
18845         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18847 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18849         [BZ #16159]
18850         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
18851         * malloc/arena.c (arena_lock): Check if arena is corrupt.
18852         (reused_arena): Find a non-corrupt arena.
18853         (heap_trim): Pass arena to unlink.
18854         * malloc/hooks.c (malloc_check_get_size): Pass arena to
18855         malloc_printerr.
18856         (top_check): Likewise.
18857         (free_check): Likewise.
18858         (realloc_check): Likewise.
18859         * malloc/malloc.c (malloc_printerr): Add arena argument.
18860         (unlink): Likewise.
18861         (munmap_chunk): Adjust.
18862         (ARENA_CORRUPTION_BIT): New macro.
18863         (arena_is_corrupt): Likewise.
18864         (set_arena_corrupt): Likewise.
18865         (sysmalloc): Use mmap if there are no usable arenas.
18866         (_int_malloc): Likewise.
18867         (__libc_malloc): Don't fail if arena_get returns NULL.
18868         (_mid_memalign): Likewise.
18869         (__libc_calloc): Likewise.
18870         (__libc_realloc): Adjust for additional argument to
18871         malloc_printerr.
18872         (_int_free): Likewise.
18873         (malloc_consolidate): Likewise.
18874         (_int_realloc): Likewise.
18875         (_int_memalign): Don't touch corrupt arenas.
18876         * malloc/tst-malloc-backtrace.c: New test case.
18878         * Makefile (summarize-tests): Fix return value on success.
18880         * manual/string.texi (Envz Functions): Add envz_remove.
18882 2015-05-18  Roland McGrath  <roland@hack.frob.com>
18884         * sysdeps/posix/opendir.c: Include <stdbool.h>.
18885         (invalid_name): New function, broken out of ...
18886         (__opendirat): ... here.  Call it.
18887         (need_isdir_precheck): New function, broken out of ...
18888         (__opendirat): ... here.  Call it.
18889         Use __fxstatat64, not __xstatat64.
18890         (opendir_oflags): New function, broken out of ...
18891         (__opendirat): ... here.  Call it.
18892         (opendir_tail): New function, broken out of ...
18893         (__opendirat): ... here.  Call it.
18894         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
18895         opendir_tail, rather than punting to __opendirat.
18896         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
18898 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18900         * .gitignore: Ignore generated *.pyc.
18902 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
18904         * include/stdio.h: Define __need_wint_t.
18905         * test-skeleton.c: Avoid `for' loop initial declaration.
18906         * nptl/tst-initializers1.c: Use test-skeleton.c.
18908 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18910         [BZ #18418]
18911         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
18913 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18915         [BZ #16352]
18916         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
18917         (__ieee754_atanh): Force underflow exception for results with
18918         small absolute value.
18919         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
18920         (__ieee754_atanhf): Force underflow exception for results with
18921         small absolute value.
18922         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
18923         (__ieee754_atanh): Force underflow exception for results with
18924         small absolute value.
18925         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
18926         (__ieee754_atanhf): Force underflow exception for results with
18927         small absolute value.
18928         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
18929         (__ieee754_atanhl): Force underflow exception for results with
18930         small absolute value.
18931         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
18932         (__ieee754_atanhl): Force underflow exception for results with
18933         small absolute value.
18934         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
18935         (__ieee754_atanhl): Force underflow exception for results with
18936         small absolute value.
18937         * math/auto-libm-test-in: Do not allow missing underflow
18938         exceptions from atanh.
18939         * math/auto-libm-test-out: Regenerated.
18941         [BZ #18221]
18942         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
18943         2**-28 as threshold for returning x or +/- 1/x.
18944         * math/auto-libm-test-in: Add more tests of tan.
18945         * math/auto-libm-test-out: Regenerated.
18947         [BZ #18220]
18948         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18949         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
18950         * math/auto-libm-test-in: Add another test of lgamma.
18951         * math/auto-libm-test-out: Regenerated.
18953 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
18955         * stdio-common/printf_fp.c (___printf_fp): Use abs.
18956         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
18957         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
18958         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
18959         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
18960         (ADD2A): Use fabs.  (SUB2A): Use fabs.
18961         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
18962         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
18963         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
18964         (log1): Use fabs.  (my_log2): Use fabs.
18965         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
18966         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
18967         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
18968         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
18969         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
18970         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
18971         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
18972         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
18973         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
18974         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
18975         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
18977 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18979         [BZ #18217]
18980         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
18981         as threshold for returning 1 - x.
18982         * math/auto-libm-test-in: Add more tests of erfc.
18983         * math/auto-libm-test-out: Regenerated.
18985 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
18987         [BZ #18196]
18988         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
18989         threshold for large arguments.
18990         * math/auto-libm-test-in: Add another test of atan.
18991         * math/auto-libm-test-out: Regenerated.
18993         [BZ #16339]
18994         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
18995         (__log1p): Force underflow exception for results with small
18996         absolute value.
18997         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
18998         (__log1pf): Force underflow exception for results with small
18999         absolute value.
19000         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
19001         (__log1p): Force underflow exception for results with small
19002         absolute value.
19003         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
19004         (__log1pf): Force underflow exception for results with small
19005         absolute value.
19006         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
19007         (__log1pl): Force underflow exception for results with small
19008         absolute value.
19009         * math/auto-libm-test-in: Do not allow missing underflow
19010         exceptions from log1p.
19011         * math/auto-libm-test-out: Regenerated.
19013 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
19014             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19016         [BZ #16704]
19017         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
19019 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
19021         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
19022         (libmvec): New variable.
19023         * configure.ac: Added option for mathvec build.
19024         * configure: Regenerated.
19025         * mathvec/Depend: New file.
19026         * mathvec/Makefile: New file.
19027         * shlib-versions: Added libmvec.
19028         * math/Makefile: Added rule for libm.so installation.
19030         * bits/math-vector.h: New file.
19031         * bits/libm-simd-decl-stubs.h: New header.
19032         * math/Makefile (headers): Added new header
19033         libm-simd-decl-stubs.h.
19034         * math/math.h (__MATHCALL_VEC): New macro.
19036         * math/gen-libm-have-vector-test.sh: Script generates series of macros
19037         for conditions in testing functions.
19038         * math/Makefile: Added call of libm-have-vector-test.sh.
19039         * math/libm-test.inc (HAVE_VECTOR): New macros.
19041         * math/libm-test.inc: START refactored.
19042         * math/test-double.c (TEST_MATHVEC): Add define.
19043         * math/test-float.c: Likewise.
19044         * math/test-idouble.c: Likewise.
19045         * math/test-ifloat.c: Likewise.
19046         * math/test-ildoubl.c: Likewise.
19047         * math/test-ldouble.c: Likewise.
19048         * sysdeps/generic/math-tests-arch.h
19049         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
19050         architecture check.
19052         * math/test-double.c (FUNC_TEST): New macro.
19053         * math/test-float.c: Likewise.
19054         * math/test-idouble.c: Likewise.
19055         * math/test-ifloat.c: Likewise.
19056         * math/test-ildoubl.c: Likewise.
19057         * math/test-ldouble.c: Likewise.
19058         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
19060 2015-05-13  Roland McGrath  <roland@hack.frob.com>
19062         * sysdeps/nacl/fdopendir.c: New file.
19064         * dirent/scandir-tail.c: New file.
19065         * dirent/scandir64-tail.c: New file.
19066         * dirent/Makefile (routines): Add them.
19067         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
19068         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
19069         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
19070         [!SCANDIR] (SCANDIR_TAIL): New macro.
19071         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
19072         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
19073         (SCANDIRAT): Macro removed.
19074         (SCANDIR_TAIL): New macro.
19075         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
19076         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
19077         (SCANDIRAT): Just call __opendirat and __scandir_tail.
19078         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
19079         (READDIR): Macro removed.
19080         (SCANDIR_TAIL): New macro.
19081         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
19082         (SCANDIR_TAIL): New macro.
19084         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
19085         * dirent/scandir-cancel.c: ... to this new file.
19086         * dirent/Makefile (routines): Add it.
19087         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
19088         * sysdeps/unix/sysv/linux/i386/scandir64.c
19089         (SKIP_SCANDIR_CANCEL): Macro removed.
19090         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
19092         * dirent/tst-scandir.c: New file.
19093         * dirent/tst-scandir64.c: New file.
19094         * dirent/Makefile (tests): Add them.
19096 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
19098         [BZ #18409]
19099         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
19101 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19103         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
19104         list.
19106 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
19108         * benchtests/bench-strcoll.c: New benchmark.
19109         * benchtests/Makefile: Generate locales and run benchmark.
19110         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
19111         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19112         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
19113         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
19114         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
19115         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
19116         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
19117         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
19118         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
19119         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
19120         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
19121         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
19122         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
19123         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
19124         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
19125         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
19126         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
19127         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
19128         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
19129         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
19130         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
19131         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
19132         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
19133         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
19135 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
19137         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
19138         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19140 2015-05-12  Roland McGrath  <roland@hack.frob.com>
19142         * posix/uname-values.h: New file.
19143         * posix/uname.c: Include that instead of <config-name.h>.
19144         * sysdeps/nacl/uname-values.h: New file.
19145         * sysdeps/arm/nacl/uname-values.h: New file.
19147 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
19149         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
19150         splitting into fields.
19152 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
19154         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
19155         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
19156         * locale/localeinfo.h: Add enum collation_encoding_type.
19157         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
19158         * programs/ld-collate.c (collate_output): Add encoding type info.
19159         * string/strcoll_l.c (STRDIFF): New function.
19160         * (STRCOLL): Use STRDIFF to skip over equal prefix.
19161         * wcsmbs/wcscoll_l.c: Define STRDIFF.
19163 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
19165         [BZ #18397]
19166         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
19167         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
19168         <fpu_control.h> instead of <math/fpu_control.c>.
19169         * sysdeps/mips/mips32/fpu/Makefile: New file.
19171 2015-05-11  Andreas Schwab  <schwab@suse.de>
19173         [BZ #18007]
19174         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
19175         nss_endgrent.
19176         (_nss_compat_endgrent): Call nss_endgrent.
19177         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
19178         nss_endpwent.
19179         (_nss_compat_endpwent): Call nss_endpwent.
19180         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
19181         needent, call nss_setspent only if non-zero.
19182         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
19183         (internal_endspent): Don't call nss_endspent.
19184         (_nss_compat_endspent): Call nss_endspent.
19185         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
19186         Remove.  All uses removed.
19187         (internal_setent): Remove parameter stayopen, add parameter
19188         stream.  Use it instead of global variable.
19189         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
19190         (internal_endent, internal_getent): Add parameter stream.  Use it
19191         instead of global variable.
19192         (CONCAT(_nss_files_end,ENTNAME))
19193         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
19194         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
19195         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
19196         uses removed.
19197         (internal_setent, internal_endent): Add parameter stream.  Use it
19198         instead of global variable.
19199         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
19200         stream.
19201         (get_next_alias): Add parameter stream.
19202         (_nss_files_getaliasent_r): Pass global stream.
19203         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
19204         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
19205         (_nss_files_gethostbyname4_r): Pass local stream to
19206         internal_setent, internal_getent and internal_endent.  Remove
19207         locking.
19209 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19211         * tst-strfmon1.c (tests): Update expected currency symbol.
19213 2015-05-08  Roland McGrath  <roland@hack.frob.com>
19215         * sysdeps/nacl/gethostname.c: New file.
19217 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
19219         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
19220         and sinh.
19221         * math/auto-libm-test-out: Regenerated.
19222         * sysdeps/i386/fpu/libm-test-ulps: Update.
19223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19225 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
19227         [BZ #18125]
19228         * stdlib/tst-setcontext3.c: New file.
19229         * stdlib/tst-setcontext3.sh: New file.
19230         * stdlib/Makefile (tests): Add tst-setcontext3.
19231         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
19232         to verify test program created output file.
19233         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
19234         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
19235         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
19236         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
19238 2015-05-06  Roland McGrath  <roland@hack.frob.com>
19240         [BZ #18383]
19241         * elf/tst-tlsalign.c: New file.
19242         * elf/tst-tlsalign-static.c: New file.
19243         * elf/tst-tlsalign-lib.c: New file.
19244         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
19245         (tests-static): Add tst-tlsalign-static.
19246         (modules-names): Add tst-tlsalign-lib.
19247         (test-xfail-tst-tlsalign): New variable.
19248         (test-xfail-tst-tlsalign-static): New variable.
19250         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
19251         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
19253 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
19255         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
19256         csqrt, erfc, sin and sincos.
19257         * math/auto-libm-test-out: Regenerated.
19258         * sysdeps/i386/fpu/libm-test-ulps: Update.
19259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19261 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19263         * sysdeps/aarch64/libm-test-ulps: Update.
19265 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
19267         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
19268         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
19269         * math/auto-libm-test-out: Regenerated.
19270         * sysdeps/i386/fpu/libm-test-ulps: Update.
19271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19273 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
19275         [BZ #18265]
19276         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
19277         (wcsncpy): Likewise.
19279 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19281         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19282         Assume __ASSUME_FALLOCATE is always true.
19283         * sysdeps/unix/sysv/linux/posix_fallocate64.c
19284         (__posix_fallocate64_l64): Likweise.
19285         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
19286         (posix_fallocate): Likewise.
19287         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
19288         (__posix_fallocate64_l64): Likewise.
19289         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19290         [!__ASSUME_FALLOCATE]: Add comment.
19292 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19294         * sysdeps/unix/sysv/linux/i386/Makefile
19295         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
19296         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
19297         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
19298         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19299         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19300         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
19301         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
19303 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
19305         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
19306         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
19307         tgamma.
19308         * math/auto-libm-test-out: Regenerated.
19309         * sysdeps/i386/fpu/libm-test-ulps: Update.
19310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19312 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19314         * math/auto-libm-test-in: Add more tests of tgamma.
19315         * math/auto-libm-test-out: Regenerated.
19316         * sysdeps/i386/fpu/libm-test-ulps: Update.
19317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19319         * math/auto-libm-test-in: Add more tests of tanh.
19320         * math/auto-libm-test-out: Regenerated.
19321         * sysdeps/i386/fpu/libm-test-ulps: Update.
19322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19324         * math/auto-libm-test-in: Add more tests of tan.
19325         * math/auto-libm-test-out: Regenerated.
19326         * sysdeps/i386/fpu/libm-test-ulps: Update.
19327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19329         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
19330         * math/auto-libm-test-out: Regenerated.
19331         * sysdeps/i386/fpu/libm-test-ulps: Update.
19332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19334         * math/auto-libm-test-in: Add another test of pow.
19335         * math/auto-libm-test-out: Regenerated.
19336         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19338         * math/auto-libm-test-in: Add more tests of lgamma.
19339         * math/auto-libm-test-out: Regenerated.
19340         * sysdeps/i386/fpu/libm-test-ulps: Update.
19341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19343         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
19344         log1p.
19345         * math/auto-libm-test-out: Regenerated.
19346         * sysdeps/i386/fpu/libm-test-ulps: Update.
19347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19349 2015-05-01  Mark Wielaard  <mjw@redhat.com>
19351         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
19352         Elf64_Chdr structs and ELFCOMPRESS constants.
19354 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19356         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
19357         expm1.
19358         * math/auto-libm-test-out: Regenerated.
19359         * sysdeps/i386/fpu/libm-test-ulps: Update.
19360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19362         * math/auto-libm-test-in: Add more tests of erf and erfc.
19363         * math/auto-libm-test-out: Regenerated.
19364         * sysdeps/i386/fpu/libm-test-ulps: Update.
19365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19367 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19369         * config.h.in (HAVE_AARCH64_BE): Add.
19371 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
19373         * math/auto-libm-test-in: Add more tests of csqrt.
19374         * math/auto-libm-test-out: Regenerated.
19375         * sysdeps/i386/fpu/libm-test-ulps: Update.
19376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19378         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19379         * math/auto-libm-test-out: Regenerated.
19380         * sysdeps/i386/fpu/libm-test-ulps: Update.
19381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19383         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
19385 2015-04-29  Roland McGrath  <roland@hack.frob.com>
19387         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
19388         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
19390         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
19391         (euidaccess, eaccess): Define as weak aliases.
19393         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
19394         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
19395         but __suseconds_t is often 'long int' so some sources assume that
19396         type is being used (e.g. they use %ld to print tv_usec).
19398 2015-04-29  Florian Weimer  <fweimer@redhat.com>
19400         [BZ #18007]
19401         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
19402         (CVE-2014-8121)
19403         * nss/tst-nss-getpwent.c: New file.
19404         * nss/Makefile (tests): Add new test.
19406 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
19408         [BZ #18346]
19409         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
19410         exponents less than 48 as cases where high part of mantissa needs
19411         examining to determine whether argument is integral.
19412         * math/libm-test.inc (round_test_data): Add more tests.
19414 2015-04-28  Mark Wielaard  <mjw@redhat.com>
19416         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
19418 2015-04-27  David S. Miller  <davem@davemloft.net>
19420         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
19421         __tls_get_addr.
19422         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19424 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
19426         [BZ#18333]
19427         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
19429 2015-04-27  Florian Weimer  <fweimer@redhat.com>
19431         [BZ#18333]
19432         * time/tzset.c (parse_tzname): Return error on memory allocation
19433         failure.
19434         * test-skeleton.c (struct temp_name_list): Change type of name
19435         member to non-const.
19436         (add_temp_file): Create a copy of the file name.
19437         (delete_temp_files): Deallocate memory.
19438         (create_temp_file): Add comment.
19440 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19442         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
19443         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
19445 2015-04-24  Roland McGrath  <roland@hack.frob.com>
19447         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
19448         * sysdeps/arm/configure: Regenerated.
19450 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19452         [BZ #17715]
19453         * time/tzfile.c (__tzfile_read): Check for large values of
19454         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
19455         * time/tzset.c (__tzstring_len): New function, based on the old
19456         __tzstring function.
19457         (__tzstring): Call __tzstring_len.
19458         (parse_tzname): New helper function extracted from
19459         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
19460         the input string.
19461         (parse_offset): New helper function extracted from
19462         __tzset_parse_tz.  Replace switch with fallthrough with
19463         initialization before sscanf.
19464         (parse_rule): Likewise.
19465         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
19466         new-style function definition.
19467         * timezone/Makefile (tests): Add tst-tzset.
19468         (tst-tzset.out): Dependencies on time zone files.
19469         (tst-tzset-ENV): Set TZDIR.
19470         (testdata/XT%): Copy crafted time zone files.
19471         * timezone/README: Mention crafted time zone files.
19472         * timezone/testdata/XT1, timezone/testdata/XT2,
19473         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
19474         files.
19475         * timezone/tst-tzset.c: New test.
19477 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19479         * Makeconfig (+gccwarn): Remove -Winline.
19481 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19483         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
19485 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19487         * NEWS: Mention sysconf() cache information support for s390.
19488         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
19490 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
19492         * math/k_casinh.c (__kernel_casinh): Use __copysign.
19493         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
19494         (__nearbyint): Likewise.
19495         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
19496         (copysignl): Likewise.
19498 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
19500         [BZ #18287]
19501         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
19502         based on padding.  (CVE-2015-1781)
19504 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19506         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
19507         libc-vdso.h.
19508         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
19509         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
19510         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
19511         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19512         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19513         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
19514         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
19515         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19516         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19517         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
19518         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19519         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19520         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19521         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
19522         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19523         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
19524         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
19525         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
19526         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
19527         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
19528         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
19529         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
19530         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
19532 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
19534         * stdlib/setenv.c (__add_to_environ):
19535         Dump core quickly if setenv (..., NULL, ...) is called.
19536         This time, do it the right way, and pacify GCC with a pragma.
19538 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19540         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
19541         IMAP->l_prev cannot be null, and #if out the code for the contrary
19542         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
19543         believe that NS (&_dl_ns[NSID]) could point outside the array.
19545         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
19546         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
19547         before using NSID as an index.
19549 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
19551         [BZ #17825]
19552         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
19553         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
19554         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19556 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19558         Add preliminary port to Google Native Client on ARM.
19559         * abi-tags (.*-.*-nacl.*): New entry.
19560         * sysdeps/arm/nacl: New directory.
19561         * sysdeps/nacl: New directory.
19563 2015-04-16  David S. Miller  <davem@davemloft.net>
19565         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
19566         lowlevellock-futex.h
19568 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
19570         * sysdeps/tile/configure.ac: New file.
19571         * sysdeps/tile/configure: Regenerated.
19573 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19575         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
19576         conditionals for weak_alias and libc_hidden_weak.
19577         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
19578         libc_hidden_weak and weak_alias.
19579         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
19580         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
19581         and weak_alias for static one.
19583 2015-04-15  David S. Miller  <davem@davemloft.net>
19585         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19587 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19589         [BZ #18206]
19590         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
19591           Use signed comparision instead of substraction to avoid
19592           overflow bug.
19593         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
19594           Take the sign of ret.
19595         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
19596           Do not expect precise return values. Only the sign matters.
19597         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
19598         * wcsmbs/test-wcsncmp.c: New File.
19599         * string/test-strncmp.c: Add wcsncmp support.
19601 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19603         [BZ #6792]
19604         * math/w_log1p.c: New file.
19605         * math/w_log1pf.c: Likewise.
19606         * math/w_log1pl.c: Likewise.
19607         * math/Makefile (libm-calls): Add w_log1p.
19608         * math/s_log1pl.c (log1pl): Remove weak_alias.
19609         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
19610         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
19611         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
19612         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
19613         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
19614         [NO_LONG_DOUBLE] (log1pl): Likewise.
19615         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
19616         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
19617         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
19618         (log1p): Remove long_double_symbol.
19619         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
19620         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
19621         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
19622         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
19623         remove weak_alias for corresponding log1p function.
19624         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
19625         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
19626         * sysdeps/ia64/fpu/w_log1p.c: New file.
19627         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
19628         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
19629         * math/libm-test.inc (log1p_test_data): Add errno expectations.
19631 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
19633         [BZ #18247]
19634         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
19635         decimal exponent by 1.
19636         * stdlib/tst-strtod-round-data: Add more tests.
19637         * stdlib/tst-strtod-round.c (tests): Regenerated.
19639 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
19641         * math/auto-libm-test-in: Add more tests of clog and clog10.
19642         * math/auto-libm-test-out: Regenerated.
19643         * sysdeps/i386/fpu/libm-test-ulps: Update.
19644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19646 2015-04-09  Roland McGrath  <roland@hack.frob.com>
19648         * Makeconfig (module-cppflags): Exclude all .v.i files.
19649         (skip-module-cppflags): Variable removed.
19651         * configure.ac (libc_config_ok): Initialize before reading
19652         preconfigure scripts, not after.
19653         * configure: Regenerated.
19655         * test-skeleton.c (TIMEOUT): Move #define to top level.
19656         (main): Grok environment variable TEST_DIRECT.  If set, print
19657         test expectation details into that file and then behave as if
19658         given --direct.
19660 2015-04-09  Florian Weimer  <fweimer@redhat.com>
19662         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
19663         warning on 32-bit.
19665 2015-04-08  David S. Miller  <davem@davemloft.net>
19667         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19669 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19671         * math/auto-libm-test-in: Add more tests of atanh.
19672         * math/auto-libm-test-out: Regenerated.
19673         * sysdeps/i386/fpu/libm-test-ulps: Update.
19674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19676         * math/auto-libm-test-in: Add more tests of atan.
19677         * math/auto-libm-test-out: Regenerated.
19678         * sysdeps/i386/fpu/libm-test-ulps: Update.
19679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19681 2015-04-08  Florian Weimer  <fweimer@redhat.com>
19683         * elf/pldd.c (main): Rewrite to use struct
19684         scratch_buffer instead of extend_alloca.
19685         * elf/pldd-xx.c (find_maps): Likewise.
19686         * grp/initgroups.c: Include <scratch_buffer.h> instead of
19687         <alloca.h>.
19688         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
19689         scratch_buffer instead of extend_alloca.
19690         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
19691         grp/compat-initgroups.c.
19692         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
19693         Rewrite to use struct scratch_buffer instead of extend_alloca.
19694         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
19695         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19697 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19699         * math/auto-libm-test-in: Add more tests of cbrt.
19700         * math/auto-libm-test-out: Regenerated.
19701         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19703         * math/auto-libm-test-in: Add more tests of cabs.
19704         * math/auto-libm-test-out: Regenerated.
19705         * sysdeps/i386/fpu/libm-test-ulps: Update.
19706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19708         [BZ #18210]
19709         [BZ #18211]
19710         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
19711         (__ieee754_atan2): Set FE_TONEAREST mode for internal
19712         computations.
19713         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
19714         clog10.
19715         * math/auto-libm-test-out: Regenerated.
19716         * sysdeps/i386/fpu/libm-test-ulps: Update.
19717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19719         [BZ #18197]
19720         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
19721         (atan): Set FE_TONEAREST mode for internal computations.
19722         * math/auto-libm-test-in: Add more tests of atan.
19723         * math/auto-libm-test-out: Regenerated.
19725 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
19727         [BZ #17930]
19728         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
19730 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19732         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
19734 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19736         * include/scratch_buffer.h: New file.
19737         * malloc/scratch_buffer_grow.c: Likewise.
19738         * malloc/scratch_buffer_grow_preserve.c: Likewise.
19739         * malloc/scratch_buffer_set_array_size.c: Likewise.
19740         * malloc/tst-scratch_buffer.c: Likewise.
19741         * malloc/Makefile (routines): Add scratch_buffer_grow.
19742         (tests): Add test case.
19743         * malloc/Versions (GLIBC_PRIVATE): Export
19744         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
19745         __libc_scratch_buffer_set_array_size.
19747 2015-04-06  Richard Henderson  <rth@redhat.com>
19749         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
19750         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19752         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
19753         unsigned int before printing.
19755 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19757         [BZ #17596]
19758         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
19759         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19761 2015-04-02  Florian Weimer  <fweimer@redhat.com>
19763         * include/libc-internal.h (libc_max_align_t): Define.
19765 2015-04-02  Andreas Schwab  <schwab@suse.de>
19767         [BZ #16850]
19768         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
19770 2015-04-02  Mel Gorman  <mgorman@suse.de>
19772         [BZ #17195]
19773         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
19774         as well as the main arena.
19776 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19778         [BZ #18185]
19779         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
19780         sharing L2 cache to 2 for Silvermont/Knights Landing.
19782 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19784         [BZ #17711]
19785         * config.make.in (have-protected-data): New.
19786         * configure.ac: Check linker support for protected data symbol.
19787         * configure: Regenerated.
19788         * elf/Makefile (modules-names): Add tst-protected1moda and
19789         tst-protected1modb if $(have-protected-data) is yes.
19790         (tests): Add tst-protected1a and tst-protected1b if
19791         $(have-protected-data) is yes.
19792         ($(objpfx)tst-protected1a): New.
19793         ($(objpfx)tst-protected1b): Likewise.
19794         (tst-protected1modb.so-no-z-defs): Likewise.
19795         * elf/tst-protected1a.c: New file.
19796         * elf/tst-protected1b.c: Likewise.
19797         * elf/tst-protected1mod.h: Likewise.
19798         * elf/tst-protected1moda.c: Likewise.
19799         * elf/tst-protected1modb.c: Likewise.
19801 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19803         [BZ #17711]
19804         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
19805         indicates it is called from do_lookup_x on relocation against
19806         protected data, skip the data definion in the executable from
19807         copy reloc.
19808         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
19809         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
19810         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
19811         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
19812         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
19813         otherwise to 0.
19814         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19815         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
19816         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
19817         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19818         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
19819         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
19821 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
19823         * sysdeps/nptl/pthread.h: Remove duplicate definition of
19824         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
19826 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
19828         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
19829         THREAD_SETMEM_NC.
19830         * sysdeps/x86_64/nptl/tls.h: Ditto.
19832 2015-03-27  Roland McGrath  <roland@hack.frob.com>
19834         * dlfcn/tststatic.c (main): Converted to ...
19835         (do_test): ... this.
19836         (TEST_FUNCTION): New macro.
19837         Include test-skeleton.c.
19839 2015-03-26  Alan Modra  <amodra@gmail.com>
19841         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
19842         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
19843         zero for undefined weak.
19844         (elf_machine_plt_conflict): Similarly.
19846 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19848         * math/auto-libm-test-in: Add more tests of acosh, asinh and
19849         atanh.
19850         * math/auto-libm-test-out: Regenerated.
19851         * sysdeps/i386/fpu/libm-test-ulps: Update.
19852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19854         * math/auto-libm-test-in: Add another test of asin.
19855         * math/auto-libm-test-out: Regenerated.
19856         * sysdeps/i386/fpu/libm-test-ulps: Update.
19857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19859         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
19860         Remove macro.
19861         (LLL_EBX_REG): Likewise.
19862         (LLL_ENTER_KERNEL): Likewise.
19864         * math/auto-libm-test-in: Add more tests of asin.
19865         * math/auto-libm-test-out: Regenerated.
19866         * sysdeps/i386/fpu/libm-test-ulps: Update.
19867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19869         [BZ #18138]
19870         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
19871         libc_do_syscall_args): New structure.
19872         (INTERNAL_SYSCALL_MAIN_0): New macro.
19873         (INTERNAL_SYSCALL_MAIN_1): Likewise.
19874         (INTERNAL_SYSCALL_MAIN_2): Likewise.
19875         (INTERNAL_SYSCALL_MAIN_3): Likewise.
19876         (INTERNAL_SYSCALL_MAIN_4): Likewise.
19877         (INTERNAL_SYSCALL_MAIN_5): Likewise.
19878         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
19879         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
19880         Replace conditional definitions by conditional definitions of ....
19881         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
19882         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
19883         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
19884         (libpthread-sysdep_routines): Add libc-do-syscall.
19885         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
19886         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
19887         to __NR_futex not 240.
19889 2015-03-25  Alan Modra  <amodra@gmail.com>
19891         * NEWS: Advertise TLS optimization.
19892         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
19893         (DT_PPC_NUM): Increment.
19894         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
19895         (CHECK_STATIC_TLS): Use here.
19896         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
19897         TLS descriptors.
19898         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19899         * sysdeps/powerpc/dl-tls.c: New file.
19900         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
19901         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
19902         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
19903         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
19904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
19905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
19906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
19908 2015-03-25  Alan Modra  <amodra@gmail.com>
19910         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
19911         for overlapping .opd entries" to "support...".
19912         * sysdeps/powerpc/powerpc64/configure: Regenerate
19914 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19916         * math/auto-libm-test-in: Add more tests of acos.
19917         * math/auto-libm-test-out: Regenerated.
19918         * sysdeps/i386/fpu/libm-test-ulps: Update.
19919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19921         * math/auto-libm-test-in: Add more tests of expm1.
19922         * math/auto-libm-test-out: Regenerated.
19923         * sysdeps/i386/fpu/libm-test-ulps: Update.
19924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19926 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
19928         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19929         * math/auto-libm-test-out: Regenerated.
19930         * sysdeps/i386/fpu/libm-test-ulps: Update.
19931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19933         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19936         * math/auto-libm-test-in: Add more tests of log2.
19937         * math/auto-libm-test-out: Regenerated.
19938         * sysdeps/i386/fpu/libm-test-ulps: Update.
19939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19941 2015-03-23  Roland McGrath  <roland@hack.frob.com>
19943         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
19944         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
19945         _IO_IS_APPENDING bit in READ_WRITE instead.
19947 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19949         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19950         (__determine_cpumask_size): Replace extend_alloca with a
19951         variable-length array.  Do not treat res == 0 as an error.
19953 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19955         [BZ #18100]
19956         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
19957         and integer overflow.
19958         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
19959         (main): Add integer overflow tests.
19960         * manual/pattern.texi (Calling Wordexp): Document additional use
19961         for WRDE_SYNTAX.
19963 2015-03-23  Alan Modra  <amodra@gmail.com>
19965         * config.h.in: Remove HAVE_ASM_PPC_REL16.
19966         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
19967         and false branch of conditional.
19968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19969         Likewise.
19971 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
19973         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
19974         libc-modules.h
19975         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
19976         unused declaration of _hurd_intr_rpc_msg_in_trap.
19977         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
19978         defined instead of whether it is non-zero.
19979         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
19980         input constraint instead of both input and output constraint.  Use ecx
19981         clobber instead of %ecx.
19982         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
19983         mutex_unlock): Use a statement expression instead of an expression list.
19984         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
19985         type to vm_size_t instead of vm_address_t.
19986         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
19987         defined instead of whether it is non-zero.
19988         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
19989         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
19990         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
19991         comparisons with mapaddr.
19992         * nscd/nscd-client.h: Include <time.h>.
19993         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
19994         9th parameter to __vm_region instead of int.
19995         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
19996         * scripts/check-local-headers.sh (exclude): Add device/,
19997         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
19998         cthreads.h.
20000 2015-03-19  Roland McGrath  <roland@hack.frob.com>
20002         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
20003         to account for alignment padding.
20004         * sysdeps/arm/memmove.S: Likewise.
20006 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
20008         * sysdeps/unix/sysv/linux/generic/README: New file.
20010 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
20012         [BZ #18138]
20013         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
20014         (futex_abstimed_wait)
20015         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
20016         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
20017         of lll_futex_timed_wait.
20019 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
20021         [BZ #17542]
20022         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
20024 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
20026         [BZ #17090]
20027         [BZ #17620]
20028         [BZ #17621]
20029         [BZ #17628]
20030         * NEWS: Update.
20031         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
20032         entries with Static TLS too.  Skip entries past the end of the
20033         allocated DTV, from Alan Modra.
20034         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
20035         Static TLS DTV entry set up from...
20036         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
20037         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
20038         * nptl/allocatestack.c (init_one_static_tls): ... and here...
20039         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
20040         for Static TLS.
20041         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
20042         that the slot we find is associated with the given map before
20043         using its generation count.
20044         * nptl_db/db_info.c: Include ldsodefs.h.
20045         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
20046         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
20047         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
20048         (link_map::l_tls_offset): New struct field.
20049         (dtv_t::counter): Likewise.
20050         (rtld_global): New struct.
20051         (_rtld_global): New rtld variable.
20052         (dl_tls_dtv_slotinfo_list): New rtld global field.
20053         (dtv_slotinfo_list): New struct.
20054         (dtv_slotinfo): Likewise.
20055         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
20056         (td_lookup): Rename to...
20057         (td_mod_lookup): ... this.  Use new mod parameter instead of
20058         LIBPTHREAD_SO.
20059         * nptl_db/td_thr_tlsbase.c: Include link.h.
20060         (dtv_slotinfo_list, dtv_slotinfo): New functions.
20061         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
20062         addresses even if the DTV is out of date or missing them.
20063         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
20064         index zero-length arrays.
20065         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
20066         (td_lookup): Make it a macro implemented in terms of...
20067         (td_mod_lookup): ... this declaration.
20068         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
20069         (DB_MAIN_VARIABLE): Likewise.
20071 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20073         [BZ #18134]
20074         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20076 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
20078         * stdlib/setenv.c (__add_to_environ): Revert previous change.
20080 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
20082         [BZ #18128]
20083         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
20084         (atomic_add, atomic_increment_and_test)
20085         (atomic_decrement_and_test): Fix 64-bit arithmetic.
20087 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
20089         * stdlib/setenv.c (__add_to_environ):
20090         Dump core quickly if setenv (..., NULL, ...) is called.
20092 2015-03-13  Roland McGrath  <roland@hack.frob.com>
20094         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
20095         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
20096         all the necessary asm magic in one place.
20097         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
20098         using those.
20100 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
20102         [BZ #14906]
20103         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
20104         traced file mtime. Use consistent log message.
20105         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
20106         (register_traced_file): Call install_watches. Always set mtime.
20107         (invalidate_cache): Iterate over all trace files. Call install_watches.
20108         (inotify_check_files): Don't inline. Handle watching parent
20109         directories and configuration file movement in and out.
20110         (handle_inotify_events): New function.
20111         (main_loop_poll): Call handle_inotify_events.
20112         (main_loop_epoll): Likewise.
20113         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
20114         (struct traced_file): Use array of inotify fds. Add parent directory,
20115         and basename.
20116         (struct database_dyn): Remove unused file_mtime.
20117         (init_traced_file): New inline function.
20118         (define_traced_file): New macro.
20119         * nss/nss_db/db-init.c: Use define_traced_file.
20120         (_nss_db_init): Use init_traced_file.
20121         * nss/nss_files/files-init.c: Use define_traced_file.
20122         (_nss_files_init): Use init_traced_file.
20124 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
20126         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
20127         [_LIBC]: Do not include <stdlib.h>.
20128         [!_LIBC] (abort): Remove declaration.
20129         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
20130         _FP_STATIC_ASSERT instead of conditionally calling abort.
20131         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
20132         (_FP_EXTEND_CNAN): Likewise.
20133         (FP_TRUNC): Likewise.
20134         (__FP_CLZ): Likewise.
20135         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
20137 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
20139         * manual/string.texi (XPG basename): Fix prototype.
20141 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20143         [BZ #18080]
20144         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
20145         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20146         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
20147         (__setcontext): Likewise.
20148         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
20149         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20150         Call rt_sigprocmask syscall one time to set new signal mask
20151         and retrieve the current signal mask instead of two calls.
20152         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
20153         (__swapcontext): Likewise.
20154         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
20155         * stdlib/tst-setcontext2.c: New file.
20157 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20159         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20161 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
20163         [BZ #18093]
20164         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
20165         the wrong size.
20167 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20169         [BZ #18043]
20170         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
20172 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20174         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
20175         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
20176         Remove define.
20177         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
20178         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
20179         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
20180         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
20181         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
20182         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
20183         define.
20184         * nptl_db/td_symbol_list.c (td_lookup): Remove
20185         HAVE_ASM_GLOBAL_DOT_NAME code.
20186         * sysdeps/powerpc/powerpc64/configure.ac: Remove
20187         HAVE_ASM_GLOBAL_DOT_NAME check.
20188         * sysdeps/powerpc/powerpc64/configure: Regenerate.
20189         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
20190         (DOT_LABEL): Remove define.
20191         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
20192         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
20193         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
20194         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
20195         (__TLS_GET_ADDR): Likewise.
20196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
20197         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
20199 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
20201         [BZ #18111]
20202         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
20203         (_FPU_SETCW): Initialize cw from fpsr before storing.
20204         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
20205         (fesetexceptflag): Rewrite using fpu_control.h.
20206         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
20208 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
20210         [BZ #18110]
20211         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
20212         asms.
20213         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20215 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
20217         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
20218         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
20219         abort.
20220         (_FP_FMA): Likewise.
20221         (_FP_DIV): Likewise.
20223 2015-03-10  Roland McGrath  <roland@hack.frob.com>
20225         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
20226         with 0 in that case.
20227         * Makefile (summarize-tests): New canned sequence, factored out of
20228         commands for targets tests and xtests.  Display summary lines that
20229         don't start with PASS: or XFAIL: rather than ones that do start with
20230         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
20231         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
20232         do start with ERROR: or FAIL:.
20233         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
20234         (except for [$(build-shared) = yes]).
20235         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
20236         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
20237         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
20238         * nptl/Makefile: Revert 2015-03-04 changes.
20239         [$(CXX) empty] (tests-unsupported): New variable.
20240         * debug/Makefile: Likewise.
20242         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
20243         gnulib file.  Replace __attribute with __attribute__ throughout.
20245 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
20247         * sysdeps/hppa/fpu/libm-test-ulps: Update.
20249 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20251         [BZ #18104]
20252         * math/auto-libm-test-in: Add another test of pow.
20253         * math/auto-libm-test-out: Regenerated.
20255 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20257         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
20258         $(config-cflags-nofma).
20260 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20262         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
20263         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
20264         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
20265         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
20266         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
20267         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
20268         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
20269         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
20270         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
20271         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
20272         Add comment on closing #endif.
20274 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20276         * posix/wordexp.c (CHAR_IN_SET): New macro.
20277         (parse_param): Use it.
20279 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20281         * sysdeps/powerpc/fpu/libm-test-ulps: update.
20283 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20285         [BZ #18043]
20286         * posix/wordexp.c (parse_param): Fix buffer overflow.
20287         * posix/wordexp-test.c (test_case): Add test case.
20289 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20291         [BZ #18042]
20292         * posix/wordexp.c (parse_backtick): Fix off-by-one.
20293         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
20295 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20297         [BZ #18043]
20298         * posix/wordexp-test.c (test_case): Add test for BZ #18043
20299         (do_bz18043): Delete.
20300         (at_page_end): New.
20301         (testit): Refactor to have words at the edge of unreadable page.
20303 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20305         [BZ #16734]
20306         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
20307         Cleanup read-only streams as well.
20308         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
20310 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20312         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
20313         <bits/libc-lockP.h>
20315 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
20317         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
20318         on [__KERNEL__].
20319         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
20320         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
20321         * soft-fp/op-common.h (_FP_DECL): Likewise.
20323 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
20325         * elf/ifuncdep2.c (global): Replace
20326         __attribute__((visibility("protected"))) with
20327         asm (".protected global").
20328         * elf/ifuncmod1.c (global): Likewise.
20329         * elf/ifuncmod5.c (global): Likewise.
20331 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
20333         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
20334         <asm/sfp-machine.h> instead of <sfp-machine.h>.
20336 2015-03-06  Roland McGrath  <roland@hack.frob.com>
20338         * manual/install.texi (Configuring and compiling):
20339         Document test-wrapper-env-only.
20340         * INSTALL: Regenerated.
20342 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20344         [BZ #18043]
20345         * posix/wordexp.c (parse_param): Fix buffer overflow.
20346         * posix/wordexp-test.c (do_bz18043): Add test case.
20348 2015-03-06  Vincent Bernat  <vincent@bernat.im>
20350         * time/tst-strptime2.c (do_test): Ensure failing tests are
20351         reported correctly.
20352         * time/tst-strptime3.c (do_test): Likewise.
20354 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
20356         Fix aio_error thread-safety.
20357         * sysdeps/pthread/aio_error.c: New file
20358         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
20359         synchronization.
20361 2015-03-06  Florian Weimer  <fweimer@redhat.com>
20363         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
20364         (group_number, vfprintf): Use it.
20365         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
20366         (JUMP, REF): Use it.
20367         (WORK_BUFFER_SIZE): New enum constant.
20368         (process_arg, vfprintf): Use it.
20370 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
20372         * manual/errno.texi (Error Messages): Complete example function
20373         by adding missing #define.
20374         (program_invocation_name): Add statement indicating GNU
20375         extension and reference which header file declares the variable.
20376         (program_invocation_short_name): Likewise.
20378 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
20380         * manual/errno.texi (Error Messages): Delete strerror ISO C89
20381         compatibility note.
20383 2015-03-05  Roland McGrath  <roland@hack.frob.com>
20385         * Makeconfig (test-wrapper-env-only): New variable.
20386         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
20387         then use that with $(test-wrapper-env-only) rather than using
20388         $(test-wrapper-env) $(run-program-env) $($*-ENV).
20390 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
20392         [BZ #18082]
20393         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
20394         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
20395         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
20396         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
20397         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
20398         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
20399         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
20400         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
20401         Likewise.
20402         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
20403         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
20404         Likewise.
20405         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
20406         Likewise.
20407         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
20408         Likewise.
20409         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
20410         Likewise.
20411         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
20412         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
20413         Likewise.
20414         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
20415         Likewise.
20416         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
20417         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
20419 2015-03-04  Roland McGrath  <roland@hack.frob.com>
20421         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
20422         (ETH_ALEN): New macro.
20423         (struct ether_addr): Use it for length of ether_addr_octet.
20425         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
20426         (setdb): Don't call __nss_configure_lookup for "rpc".
20427         (do_test): Don't call test_rpc.
20428         (output_rpcent, test_rpc): Functions moved ...
20429         * sunrpc/test-rpcent.c: ... to this new file.
20430         * sunrpc/Makefile (tests): Add it.
20432         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
20433         __xpg_sigpause.
20434         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
20435         * nptl/tst-signal6.c: Likewise.
20436         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
20437         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
20439         * configure.ac (libc_cv_cxx_link_ok): New check.
20440         Reset CXX to empty if it fails to link.
20441         * configure: Regenerated.
20442         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
20443         bug-atexit3-lib only if $(CXX) is nonempty.
20444         * nptl/Makefile (tests): Likewise for tst-cancel24.
20445         (tests, tests-static): Likewise for tst-cancel24-static.
20446         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
20447         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
20448         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
20449         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
20451 2015-03-04  Andreas Schwab  <schwab@suse.de>
20453         [BZ #17631]
20454         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
20455         for non-GCC compilers.
20456         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20457         Likewise.
20459 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20461         [BZ #17776]
20462         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
20463         integer before bitwise and assembly operations.
20464         (feclearexcept): Likewise.
20465         * math/test-fenvinline.c: New file.
20466         * math/Makefile: Add test-fenvinline test.
20468 2015-03-03  Alan Modra  <amodra@gmail.com>
20470         [BZ #16512]
20471         * scripts/localplt.awk: Strip off symbol version.
20472         * NEWS: Mention bug fix.
20474 2015-03-02  Roland McGrath  <roland@hack.frob.com>
20476         * sysdeps/pthread/timer_routines.c
20477         (timer_free_list, thread_free_list, thread_active_list): Make static.
20479 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
20481         [BZ #17779]
20482         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20483         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20484         Undefine.
20485         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20486         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20487         Likewise.
20488         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20489         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20490         Likewise.
20492 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
20494         [BZ #18036]
20495         * posix/fnmatch_loop.c (END): Detect invalid pattern.
20496         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
20498 2015-03-02  Andreas Schwab  <schwab@suse.de>
20500         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
20501         variable name.
20503 2015-03-02  Florian Weimer  <fweimer@redhat.com>
20505         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
20506         Return error status.
20508 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
20510         [BZ #15969]
20511         * locale/findlocale.c (_nl_find_locale): Introduce const
20512         version of loc_name and drop unsafe type casts.
20514 2015-02-27  Roland McGrath  <roland@hack.frob.com>
20516         * dlfcn/tststatic2.c (main): Converted to ...
20517         (do_test): ... this.
20518         (TEST_FUNCTION): New macro.
20519         Include test-skeleton.c.
20521 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
20523         [BZ #17711]
20524         * elf/Makefile (tests): Add vismain only if PIE is enabled.
20525         (tests-pie): Add vismain.
20526         (CFLAGS-vismain.c): New.
20527         * elf/vismain.c: Add comments for PIE requirement.
20529 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20531         [BZ #18046]
20532         [BZ #18047]
20533         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
20534         0x1p-56L as threshold for just returning the argument.
20535         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
20536         0x1p-32L as threshold for just returning the argument.
20537         * math/auto-libm-test-in: Add more tests of atanh.
20538         * math/auto-libm-test-out: Regenerated.
20539         * sysdeps/i386/fpu/libm-test-ulps: Update.
20540         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
20542 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20544         * string/bcopy.c (bcopy): Call memmove for performance.
20546 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20548         * string/bzero.c (__bzero): Call memset for performance.
20550 2015-02-27  John David Anglin  <dave.anglin@bell.net>
20552         [BZ #18068]
20553         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
20554         to 00100000.
20556 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20558         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
20560 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20562         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
20563         (__kernel_standard): Use CSTR macro when setting exc.name.
20564         * sysdeps/ieee754/Makefile [$(subdir) = math]
20565         (CFLAGS-k_standard.c): Remove variable.
20567         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
20568         setting p and q from "else if" to "else".
20569         (qzero): Likewise.
20570         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
20571         (qone): Likewise.
20572         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
20573         (qzerof): Likewise.
20574         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
20575         (qonef): Likewise.
20576         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
20577         (qzero): Likewise.
20578         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
20579         (qone): Likewise.
20581         [BZ #18038]
20582         [BZ #18039]
20583         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
20584         return pi/2 for arguments below 0x1p-113L.
20585         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
20586         return pi/2 for arguments below 0x1p-106L.
20587         * math/auto-libm-test-in: Add more tests of acos.
20588         * math/auto-libm-test-out: Regenerated.
20590         [BZ #16351]
20591         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
20592         (MO): New macro.
20593         (__ieee754_asin): Force underflow exception for results with small
20594         absolute value.
20595         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
20596         (MO): New macro.
20597         (__ieee754_asinf): Force underflow exception for results with
20598         small absolute value.
20599         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
20600         (__ieee754_asin): Force underflow exception for results with small
20601         absolute value.
20602         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
20603         (__ieee754_asinf): Force underflow exception for results with
20604         small absolute value.
20605         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
20606         (__ieee754_asinl): Force underflow exception for results with
20607         small absolute value.
20608         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
20609         (__ieee754_asinl): Force underflow exception for results with
20610         small absolute value.
20611         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
20612         (__ieee754_asinl): Force underflow exception for results with
20613         small absolute value.
20614         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20615         Include <math.h>.
20616         * math/auto-libm-test-in: Do not mark underflow exceptions as
20617         possibly missing for bug 16351.
20618         * math/auto-libm-test-out: Regenerated.
20620         [BZ #18030]
20621         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
20622         of power of 2 down when low part has opposite sign.
20623         * math/libm-test.inc (logb_test_data): Add more tests.
20625 2015-02-26  Andreas Schwab  <schwab@suse.de>
20627         [BZ #18032]
20628         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
20629         over collating symbol inside a bracket expression.  Minor cleanup.
20630         * posix/tst-fnmatch3.c (do_test): Add test case.
20632 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20634         [BZ #18029]
20635         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
20636         Adjust exponent of power of 2 down when low part has opposite
20637         sign.
20638         * math/libm-test.inc (ilogb_test_data): Add more tests.
20640 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
20642         [BZ #15969]
20643         * locale/findlocale.c (_nl_find_locale): Fix constness error in
20644         the previous change.
20646         [BZ #15969]
20647         * locale/findlocale.c (_nl_find_locale): Retry archive search
20648         after alias expansion.
20650 2015-02-25  Roland McGrath  <roland@hack.frob.com>
20652         * iconv/tst-iconv3.c (main): Converted to ...
20653         (do_test): ... this.
20654         (TEST_FUNCTION): New macro.
20655         Include test-skeleton.c.
20657         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
20658         (convert): Make function static.
20659         (test_unalign): Likewise.  Add const to argument pointee types.
20660         (main): Replace with static function do_test.
20661         Print "Succeeded." only if RET is zero.
20662         (TEST_FUNCTION): New macro.
20663         Include test-skeleton.c.
20665         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
20666         returns a null pointer.
20668 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20670         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
20671         to __memcpy_ppc only for static builds.
20673 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
20675         [BZ #18020]
20676         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
20677         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
20678         * math/auto-libm-test-in: Add more tests of asinh.
20679         * math/auto-libm-test-out: Regenerated.
20680         * sysdeps/i386/fpu/libm-test-ulps: Update.
20681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20683 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
20685         [BZ #15850]
20686         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
20687         and ip6_mtuinfo definitions here.
20688         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
20689         in this define too.  Update comment.
20691 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
20693         * elf/sprof.c (load_shobj): Tweak error message to match others.
20695 2015-02-24  Kevin Easton  <kevin@guarana.org>
20697         [BZ #16145] (partial fix)
20698         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
20699         to reduce lock contention.
20701 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
20703         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
20704         (struct timex): Update time comment.
20705         (ADJ_SETOFFSET): Define.
20707 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20709         [BZ #18019]
20710         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20711         2**56 not 2**28 as threshold for log (2x) formula.
20712         * math/auto-libm-test-in: Add more tests of acosh.
20713         * math/auto-libm-test-out: Regenerated.
20714         * sysdeps/i386/fpu/libm-test-ulps: Update.
20715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20717 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20719         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
20720         parenthesis around the buf assignment.
20721         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
20723 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20725         [BZ #16783]
20726         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
20727         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
20728         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
20729         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20730         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20731         * math/libm-test.inc (scalb_test_data): Add more tests.
20733 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20735         [BZ #17916]
20736         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
20737         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
20739 2015-02-24  Eric Rannaud  <e@nanocritical.com>
20741         [BZ #17523]
20742         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
20743         * io/bits/fcntl2.h (open): Use it.
20744         (openat): Likewise.
20745         * io/open.c (__libc_open): Likewise.
20746         * io/open64.c (__libc_open64): Likewise.
20747         * io/open64_2.c (__open64_2): Likewise.
20748         * io/open_2.c (__open_2): Likewise.
20749         * io/openat.c (__openat): Likewise.
20750         * io/openat64.c (__openat64): Likewise.
20751         * io/openat64_2.c (__openat64_2): Likewise.
20752         * io/openat_2.c (__openat_2): Likewise.
20753         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
20754         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20755         * sysdeps/posix/open64.c (__libc_open64): Likewise.
20756         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20757         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20758         (__open_nocancel): Likewise.
20759         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20760         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20761         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
20763 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20765         [BZ #14841]
20766         * resolv/gethnamaddr.c (getanswer): Skip logging if
20767         RES_USE_DNSSEC is set.
20768         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20770 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20772         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
20774 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
20776         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20777         201304L, for Unicode 7.
20779 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
20781         [BZ #17836]
20782         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
20783         shared library.  Add gmon-start.os otherwise.
20784         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
20785         $(objpfx)gmon-start.os if builing shared library.
20786         ($(objpfx)g$(static-start-installed-name)): Likewise.
20788 2015-02-23  Andreas Schwab  <schwab@suse.de>
20790         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
20792 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20794         [BZ #17269]
20795         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
20796         (enlarge_userbuf): Likewise.
20798 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
20800         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
20801         * math/atest-exp.c (TIMEOUT): Adjust to 200.
20802         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
20803         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
20805 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
20807         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
20808         expression inside statement expression.
20810 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20812         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
20813         <sysdeps/nptl/lowlevellock.h> and remove macros and
20814         functions that are now defined there.
20815         (SYS_futex): Remove.
20816         (lll_compare_and_swap): Remove.
20817         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
20819 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
20821         [BZ #17999]
20822         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
20823         instead of scandirat.
20824         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
20825         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
20826         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
20827         __scandirat.
20828         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
20829         (__scandirat): Declare.  Use libc_hidden_proto.
20830         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
20831         Remove variable.
20832         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20834 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20836         [BZ #15319]
20837         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
20838         (MO): New macro.
20839         (__ieee754_atan2): For results with small absolute value, force
20840         underflow exception and remove excess range and precision from
20841         return value.
20842         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
20843         (MO): New macro.
20844         (__ieee754_atan2f): For results with small absolute value, force
20845         underflow exception and remove excess range and precision from
20846         return value.
20847         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
20848         (MO): New macro.
20849         (__atan): For results with small absolute value, force underflow
20850         exception and remove excess range and precision from return value.
20851         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
20852         (MO): New macro.
20853         (__atanf): For results with small absolute value, force underflow
20854         exception and remove excess range and precision from return value.
20855         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
20856         <math.h>.
20857         (__ieee754_atan2): Force underflow exception for results with
20858         small absolute value.
20859         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
20860         <math_private.h>.
20861         (atan): Force underflow exception for results with small absolute
20862         value.
20863         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
20864         (__atanf): Force underflow exception for results with small
20865         absolute value.
20866         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
20867         <math.h>.
20868         (__atanl): Force underflow exception for results with small
20869         absolute value.
20870         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
20871         (__atanl): Force underflow exception for results with small
20872         absolute value.
20873         * sysdeps/x86/fpu/bits/mathinline.h
20874         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
20875         (__ieee754_atan2): Only define inline for long double.
20876         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
20877         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
20878         * math/auto-libm-test-in: Do not mark underflow exceptions as
20879         possibly missing for bug 15319.  Add more tests of atan2.
20880         * math/auto-libm-test-out: Regenerated.
20881         * math/libm-test.inc (casin_test_data): Do not mark underflow
20882         exceptions as possibly missing for bug 15319.
20883         (casinh_test_data): Likewise.
20884         * sysdeps/i386/fpu/libm-test-ulps: Update.
20886 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
20888         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
20889         * sysdeps/mips/bits/endian.h: Fix comments.
20891 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20893         [BZ #17996]
20894         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
20895         (hdestroy_r): Likewise.
20896         (hsearch_r): Likewise.
20897         (__hcreate_r): Declare and use libc_hidden_proto.
20898         (__hdestroy_r): Likewise.
20899         (__hsearch_r): Likewise.
20900         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
20901         (hcreate): Call __hcreate_r instead of hcreate_r.
20902         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
20903         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
20904         as weak alias of __hcreate_r.
20905         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
20906         __hdestroy_r.
20907         (hsearch_r): Rename to __hsearch_r and define as weak alias of
20908         __hsearch_r.
20909         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
20910         Remove variable.
20911         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20912         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20913         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20914         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20916 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20918         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
20919         arena_lock into a single arena_get.
20921 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
20923         * dl-reloc.c: Inlucde libc-internal.h.
20924         (_dl_try_allocate_static_tls): Call ALIGN_UP.
20925         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
20926         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
20927         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
20928         (grow_heap): Likewise.
20929         * malloc/malloc.c: Include libc-internal.h.
20930         (do_check_malloc): Call powerof2.
20931         (sysmalloc): Use pagesize. Call ALIGN_UP.
20932         (systrim): Use pagesize.
20933         (mremap_chunk): Use pagesize. Call ALIGN_UP.
20934         (__libc_valloc): Use pagesize.
20935         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
20937 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20939         [BZ #17991]
20940         * include/sys/resource.h (__getrlimit64): Declare.  Use
20941         libc_hidden_proto.
20942         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
20943         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
20944         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
20945         getrlimit64.
20946         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
20947         __getrlimit64.
20948         [!getrlimit64] (getrlimit64): Define as weak alias of
20949         __getrlimit64.  Use libc_hidden_weak.
20950         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
20951         using __getrlimit64 not __new_getrlimit64.
20952         (__GI_getrlimit64): Likewise.
20953         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
20954         Likewise.
20955         (__GI_getrlimit64): Likewise.
20956         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
20957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
20958         (getrlimit): Add __getrlimit64 alias.
20959         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
20960         Likewise.
20961         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
20962         Remove variable.
20963         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20964         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20966 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
20968         * libio/fileops.c: Add missing sys/mman.h
20969         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
20971 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20973         * manual/math.texi (Errors in Math Functions): Clarify goals
20974         regarding inexact and underflow exceptions.
20976 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20978         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
20979         * sysdeps/mips/memset.S: Ditto.
20981 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20983         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
20985 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20987         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
20988         (__v1longjmp): Remove versioned symbol.
20989         (__v1siglongjmp): Remove alias and versioned symbol.
20990         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
20991         (__v2siglongjmp): Likewise.
20993 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20995         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
20997 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
20999         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
21001 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21003         [BZ #17987]
21004         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
21005         zero result does not depend on the sign resulting from
21006         subtraction.
21007         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21008         Likewise.
21009         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21010         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21011         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21012         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21013         * math/libm-test.inc (remquo_test_data): Add more tests.
21015 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
21017         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
21018         Problem reported by J William Piggott.
21020 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21022         [BZ #17978]
21023         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
21024         products 4 * y and 2 * y where those would overflow.
21025         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21026         Likewise.
21027         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21028         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21029         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21030         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21031         * math/libm-test.inc (remquo_test_data): Add more tests.
21033         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
21035         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
21036         [defined _COMPILING_NEWLIB].
21037         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
21038         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
21040         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
21041         [!defined __mips_isa_rev || __mips_isa_rev < 6].
21043 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21045         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
21046         acquired.
21048 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
21050         [BZ #17792]
21051         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
21052         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
21053         HOST_STACK_END_ADDR): Likewise.
21055 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
21057         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
21058         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
21059         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
21061 2015-02-13  Roland McGrath  <roland@hack.frob.com>
21063         * sysdeps/generic/c++-types.data: New file.
21064         * sysdeps/generic/ld.abilist: New file.
21065         * sysdeps/generic/libBrokenLocale.abilist: New file.
21066         * sysdeps/generic/libanl.abilist: New file.
21067         * sysdeps/generic/libc.abilist: New file.
21068         * sysdeps/generic/libcrypt.abilist: New file.
21069         * sysdeps/generic/libdl.abilist: New file.
21070         * sysdeps/generic/libm.abilist: New file.
21071         * sysdeps/generic/libpthread.abilist: New file.
21072         * sysdeps/generic/libresolv.abilist: New file.
21073         * sysdeps/generic/librt.abilist: New file.
21075 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
21077         [BZ #17569]
21078         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21079         Compute absolute value of x as modified by fmod, not original
21080         value of x.
21081         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
21082         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
21083         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
21084         RUN_TEST_ffI_f1_mod8.
21085         (remquo_test_data): Add more tests.
21087 2015-02-13  Roland McGrath  <roland@hack.frob.com>
21089         * sysdeps/init_array/pt-crti.S: New file.
21091 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
21093         [BZ #17967]
21094         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
21095         __builtin_fmaf instead of relying on contraction of a * b + c.
21097 2015-02-12  J William Piggott  <elseifthen@gmx.com>
21099         [BZ #17969]
21100         * manual/time.texi: correct the zoneinfo path in the TZ Variable
21101         node.
21103 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
21105         [BZ #17964]
21106         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
21107         __builtin_fma instead of relying on contraction of a * b + c.
21109 2015-02-12  Roland McGrath  <roland@hack.frob.com>
21111         * Makeconfig (ASFLAGS): Add -Werror=undef.
21112         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
21113         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
21114         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
21116         * Makeconfig (after-link): New variable.
21117         (+link-pie, +link-pie-tests): Use it.
21118         (+link-static, +link-static-tests): Likewise.
21119         (+link, +link-tests): Likewise.
21120         * Makerules (build-module, build-module-asneeded): Likewise.
21121         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
21122         Likewise.
21123         * elf/Makefile ($(objpfx)ld.so): Likewise.
21125 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
21127         [BZ #17965]
21128         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
21129         both struct timeval and struct timespec.
21131 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
21133         [BZ #16560]
21134         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21135         and redefine.
21136         (__ieee754_exp2l): Do not multiply small fractional parts by
21137         M_LN2l.
21138         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
21139         small argument.
21140         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21141         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21142         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
21143         * math/auto-libm-test-in: Add more tests of exp2.
21144         * math/auto-libm-test-out: Regenerated.
21146 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21148         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
21149         unaligned path.
21151 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21153         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
21154         little endian.
21156 2015-02-12  Andreas Schwab  <schwab@suse.de>
21158         [BZ #15790]
21159         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21160         Filter out elision flags from value returned in kind.
21161         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
21162         * nptl/tst-pthread-mutexattr.c: New file.
21164 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21166         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
21167         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
21168         into gnu-gnu, and update comment to refer to abi-tags.
21170 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
21172         [BZ #15467]
21173         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
21174         (__sincos): Set errno to EDOM for infinite argument.
21175         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
21176         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
21177         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
21178         (__sincosl): Set errno to EDOM for infinite argument.
21179         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
21180         (__sincosl): Set errno to EDOM for infinite argument.
21181         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
21182         (__sincosl): Set errno to EDOM for infinite argument.
21183         * math/libm-test.inc (sincos_test_data): Test errno setting.
21185 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
21187         * string/strxfrm_l.c: Remove #define STRCMP.
21188         * string/strcoll_l.c: Remove #define STRLEN.
21189         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
21190         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
21192 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
21194         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
21195         * sysdeps/mips/mips32/sfp-machine.h: ... here.
21196         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
21197         * sysdeps/mips/mips64/Makefile: ... here.
21198         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
21199         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
21200         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
21201         * sysdeps/mips/mips64/sfp-machine.h: ... here.
21202         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
21203         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
21204         * sysdeps/mips/mips64/n64/Implies: Likewise.
21206 2015-02-10  Roland McGrath  <roland@hack.frob.com>
21208         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
21209         <sys/time.h>, <string.h>, and <errno.h>.
21210         (dest_offset, dest_address, value, zero): Remove unused variables.
21211         (ldouble): Remove typedef.
21212         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
21213         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
21214         1).  Fix code style.
21215         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
21216         (check): Function removed.
21217         (CHECK): New macro.
21218         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
21219         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
21220         Don't call set_sigaction_FP and remove_sigaction_FP here.
21221         (ldouble_test): Just use 'long double' as macro argument, no need for
21222         the 'ldouble' typedef.
21223         (do_test): Set up SIGFPE handler at start, using plain signal rather
21224         than sigaction.  Fix code style.
21226 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
21228         [BZ #17949]
21229         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
21230         jump label.
21232 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21234         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
21235         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21237         * sysdeps/powerpc/configure.ac: Remove file.
21238         * sysdeps/powerpc/configure: Likewise.
21240         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21241         [sysdep_routines]: Remove wordcopy-power6 object.
21242         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21243         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
21244         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
21245         (__memmove_ppc32): Likewise.
21246         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
21247         file.
21248         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
21249         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
21250         Remove preprocessor.
21252         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21253         [sysdep_routines]: Remove wide chars objects.
21254         [wcsmbs]: New rule for wide char objects.
21256         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21257         Remove wordcopy-power6 obejct.
21258         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
21259         Use local call for wordcopy and memcpy symbols.
21260         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
21261         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
21262         implementation for loader.
21263         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
21265         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21266         Remove wordcopy-power7 object.
21267         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
21268         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
21269         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
21270         (_wordcopy_fwd_dest_aligned): Likewise.
21271         (_wordcopy_bwd_aligned): Likewise.
21272         (_wordcopy_bwd_dest_aligned): Likewise.
21274         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
21275         Rewrite to call __memmove_ppc instead of include default
21276         implementation.
21278         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21279         Remove wide chars objects.
21280         [wcsmbs]: New rule for wide char objects.
21282 2015-02-09  Andreas Schwab  <schwab@suse.de>
21284         [BZ #17912]
21285         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21286         in terms of __O_DIRECTORY.
21288 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21290         * time/getdate.c: Include <stdbool.h>.
21291         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
21292         call PTR_MANGLE.
21293         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
21294         PTR_DEMANGLE.
21296 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
21298         Add ersatz _Static_assert on older C hosts
21299         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
21300         pre-C11 C platform that is not known to support _Static_assert.
21302 2015-02-07  Richard Braun  <rbraun@sceen.net>
21304         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
21305         sigstate.
21306         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
21308 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21310         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
21311         priority against unexistent AIO_PRIO_DELTA_MAX.
21312         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
21313         instead of int.
21314         * misc/fchflags.c (fchflags): Likewise.
21315         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
21316         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
21317         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
21318         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
21319         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
21320         Declare macros.
21321         [__USE_MISC] (chflags, fchflags): Declare functions.
21322         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
21323         EINVAL when nfds is greater than FD_SETSIZE.
21324         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
21325         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
21326         45.
21327         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
21328         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
21329         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
21330         MACH_RCV_TIMED_OUT.
21331         * hurd/hurd/signal.h (_hurd_self_sigstate,
21332         _hurd_critical_section_lock, _hurd_critical_section_unlock):
21333         Explicit casts from void *.
21334         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
21335         * abi-tags: Rename gnu-gnu os into gnu.
21337         [BZ #4719]
21338         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
21339         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
21340         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
21341         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
21342         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
21343         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
21345         [BZ #17944]
21346         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
21347         duplicates ADDR->sun_path with sockaddr LEN limitation.
21348         * sysdeps/mach/hurd/connect.c: Include <string.h>
21349         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
21350         * sysdeps/mach/hurd/sendmsg.c: Likewise.
21351         * sysdeps/mach/hurd/sendto.c: Likewise.
21352         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
21353         implementing it by hand.
21355 2015-02-06  Roland McGrath  <roland@hack.frob.com>
21357         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
21358         Use sfi_breg on ldr.
21359         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
21360         Likewise.
21362         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
21363         it's defined.
21364         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
21365         Test SIGSETXID only if it's defined.
21367         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
21369         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
21370         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
21372         * nptl/tst-align2.c: Moved ...
21373         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
21374         * nptl/Makefile (tests): Remove tst-align2.
21375         * sysdeps/unix/sysv/linux/Makefile
21376         [$(subdir) = nptl] (tests): Add tst-align-clone.
21377         * nptl/tst-getpid1.c: Moved ...
21378         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
21379         * nptl/tst-getpid2.c: Moved ...
21380         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
21381         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
21382         * sysdeps/unix/sysv/linux/Makefile
21383         [$(subdir) = nptl] (tests): ... here.
21384         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
21385         * sysdeps/unix/sysv/linux/Makefile
21386         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
21388         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
21389         Drop trailing \n from perror argument.  Use return rather than exit.
21391         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
21392         on [SA_SIGINFO].
21393         * nptl/tst-cancel21.c (do_test): Likewise.
21394         * debug/tst-backtrace6.c: Include <signal.h> first thing.
21395         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
21396         [!SA_SIGINFO]: Make it a stub test.
21398         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
21399         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
21401         * posix/tst-getlogin.c: Move to ...
21402         * login/tst-getlogin.c: ... here.
21403         * posix/Makefile (tests): Move tst-getlogin to ...
21404         * login/Makefile (tests): ... here.
21406         * libio/tst-atime.c (do_test): Move local variables SV and E
21407         inside [ST_NOATIME] conditional.
21409         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
21411         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
21413         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
21414         (wait_code): New function replaces macro.
21415         Call nanosleep rather than syscall.
21417         * nptl/pt-system.c: Rewritten.  Put everything under
21418         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21419         Use IFUNC to redirect when possible.
21421         * nptl/pt-longjmp.c: Rewritten.  Put everything under
21422         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21423         Use IFUNC to redirect when possible.
21425         * nptl/pt-fork.c: Rewritten.  Put everything under
21426         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21427         Use IFUNC to redirect when possible.
21428         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
21430         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
21431         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
21432         unconditionally nowadays.  This included the only reference to
21433         __vdso_clock_gettime that appears outside libc proper.
21434         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
21435         Remove version set (containing only __vdso_clock_gettime).
21436         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21437         Add attribute_hidden.
21438         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21439         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
21440         libc_hidden_data_def.
21441         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
21442         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21444         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
21445         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
21446         setrpcent, and getrpcport to ...
21447         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
21448         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
21449         getrpcbynumber_r, and getrpcent_r to ...
21450         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
21451         * inet/getrpcbyname.c: Moved ...
21452         * sunrpc/getrpcbyname.c: ... here.
21453         * inet/getrpcbyname_r.c: Moved ...
21454         * sunrpc/getrpcbyname_r.c: ... here.
21455         * inet/getrpcbynumber.c: Moved ...
21456         * sunrpc/getrpcbynumber.c: ... here.
21457         * inet/getrpcbynumber_r.c: Moved ...
21458         * sunrpc/getrpcbynumber_r.c: ... here.
21459         * inet/getrpcent.c: Moved ...
21460         * sunrpc/getrpcent.c: ... here.
21461         * inet/getrpcent_r.c: Moved ...
21462         * sunrpc/getrpcent_r.c: ... here.
21463         * inet/Makefile (routines): Move those to ...
21464         * sunrpc/Makefile (routines): ... here.
21465         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
21466         the $(subdirs) list.
21467         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
21468         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
21469         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
21470         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
21472         * elf/Makefile (routines): Include $(all-dl-routines), not just
21473         $(dl-routines).
21474         (rtld-routines): Likewise.  Use = rather than :=.
21475         * sysdeps/aarch64/Makefile [$(subdir) = elf]
21476         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
21477         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
21478         * sysdeps/arm/Makefile: Likewise.
21479         * sysdeps/i386/Makefile: Likewise.
21480         * sysdeps/x86_64/Makefile: Likewise.
21481         * sysdeps/hppa/Makefile [$(subdir) = elf]
21482         (sysdep_routines, sysdep-rtld-routines): Don't add
21483         $(sysdep-dl-routines) to these.
21484         * sysdeps/ia64/Makefile: Likewise.
21485         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
21486         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
21487         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
21488         Don't add dl-static to these; sysdep-dl-routines alone is enough.
21489         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
21490         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
21491         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
21492         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
21493         * sysdeps/powerpc/Makefile [$(subdir) = elf]
21494         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
21495         these; sysdep-dl-routines alone is enough.
21497 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
21499         [BZ #17932]
21500         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
21501         where multiplication results in zero and third argument is finite
21502         and nonzero.
21503         * math/auto-libm-test-in: Add more tests of fma.
21504         * math/auto-libm-test-out: Regenerated.
21506         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
21507         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
21508         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
21509         (_FP_CMP_EQ): Likewise.
21510         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
21512         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
21513         extra argument CHECK_NAN.  Redefine as wrapper around
21514         _FP_EXTEND_CNAN.
21516 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
21518         * version.h (RELEASE): Set to "stable".
21519         (VERSION): Set to "2.21"
21520         * include/features.h (__GLIBC_MINOR__): Set to 21.
21522         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
21524 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21525             Paul Eggert  <eggert@cs.ucla.edu>
21527         [BZ #16618]
21528         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
21529         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
21530         size in bytes. Store needed elements in wpmax. Use needed size
21531         in bytes for extend_alloca.
21533 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
21535         * manual/install.texi: Latest tested versions are GCC 4.9.2,
21536         binutls 2.25, and texinfo 5.2.
21537         * INSTALL: Regenerate.
21538         * sysdeps/nios2/configure: Regenerate.
21539         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
21540         * manual/contrib.texi: Update.
21541         * po/be.po: Update.
21542         * po/bg.po: Update.
21543         * po/ca.po: Update.
21544         * po/cs.po: Update.
21545         * po/da.po: Update.
21546         * po/de.po: Update.
21547         * po/el.po: Update.
21548         * po/eo.po: Update.
21549         * po/es.po: Update.
21550         * po/fi.po: Update.
21551         * po/fr.po: Update.
21552         * po/gl.po: Update.
21553         * po/hr.po: Update.
21554         * po/hu.po: Update.
21555         * po/ia.po: Update.
21556         * po/id.po: Update.
21557         * po/it.po: Update.
21558         * po/ja.po: Update.
21559         * po/ko.po: Update.
21560         * po/lt.po: Update.
21561         * po/nb.po: Update.
21562         * po/nl.po: Update.
21563         * po/pl.po: Update.
21564         * po/pt_BR.po: Update.
21565         * po/ru.po: Update.
21566         * po/rw.po: Update.
21567         * po/sk.po: Update.
21568         * po/sl.po: Update.
21569         * po/sv.po: Update.
21570         * po/tr.po: Update.
21571         * po/uk.po: Update.
21572         * po/vi.po: Update.
21573         * po/zh_CN.po: Update.
21574         * po/zh_TW.po: Update.
21576         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
21577         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
21578         * sysdeps/hppa/dl-irel.h: Remove #warning.
21579         * sysdeps/hppa/entry.h: Provide prototype for
21580         __canonicalize_funcptr_for_compare and cast argument.
21581         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
21582         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
21583         * sysdeps/hppa/sotruss-lib.c: New file.
21584         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
21585         (atomic_compare_and_exchange_val_acq): Use __typeof__.
21586         (atomic_compare_and_exchange_bool_acq): Likewise.
21587         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
21588         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
21590         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
21591         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
21592         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
21594 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
21596         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
21597         called function in non-PIC case.
21599 2015-01-31  David S. Miller  <davem@davemloft.net>
21601         * sysdeps/sparc/sparc32/bits/atomic.h
21602         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
21603         unlock not after it.
21604         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
21605         volatile register usage warnings from the compiler.
21607         * sysdeps/sparc/nptl/sem_init.c: Delete.
21608         * sysdeps/sparc/nptl/sem_post.c: Delete.
21609         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
21610         * sysdeps/sparc/nptl/sem_wait.c: Delete.
21611         * sysdeps/sparc/sparc32/sem_init.c: New file.
21612         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
21613         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
21614         padding explicitly initialized.
21615         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
21616         padding for in-semaphore spinlock.
21617         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
21618         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
21619         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
21620         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
21621         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
21622         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
21623         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
21624         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
21625         version.
21626         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
21627         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
21629 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
21631         [BZ #17801]
21632         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21633         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
21634         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
21635         New.
21636         (index_AVX_Fast_Unaligned_Load): Likewise.
21637         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
21638         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
21639         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
21640         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
21641         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
21642         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
21643         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
21644         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
21645         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
21647 2015-01-29  Andreas Schwab  <schwab@suse.de>
21649         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
21651 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
21653         [BZ #17892]
21654         * nscd/nscd_stat.c (send_stats): Initialize DATA.
21656 2015-01-28  Martin Sebor  <msebor@redhat.com>
21658         * math/README.libm-test: Clarify. Add "How to read the test output."
21660 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
21662         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
21663         Define to 0.
21665 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
21667         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
21668         (__HAVE_64B_ATOMICS): Define to 0.
21670 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21672         [BZ #17885]
21673         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
21674         value to set as new flag.
21676         [BZ #16576]
21677         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
21678         and use _ARCH_PPCSQ instead.
21679         (__ieee754_sqrt): Likewise.
21680         (__ieee754_sqrtf): Likewise.
21681         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
21682         _ARCH_PPCSQ is defined.
21683         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
21684         fsqrt instruction.
21685         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
21686         _ARCH_PPCSQ is defined.
21687         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
21688         fsqrts instruction.
21689         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
21691 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21693         * iconv/loop.c: Suppress array out of bound warning caused by GCC
21694         bug (GCC BZ #64739).
21696 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
21698         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
21699         Mark _retval as used.
21700         (lll_futex_wake_unlock): Likewise.
21701         (lll_futex_timed_wait_requeue_pi): Likewise.
21703         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21704         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
21705         register variables.
21707         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
21708         libm_hidden_def.
21710         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
21711         (__bswap_64): Mark as __always_inline.
21713 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
21715         [BZ #15378]
21716         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
21717         when none of the search directories exist.
21719 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21721         [BZ #17869]
21722         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
21723         power8 in .machine directive.
21725         [BZ #17868]
21726         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
21727         set dependency from opd value.
21729 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21731         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21732         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
21733         architecture.
21735 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21737         [BZ #17870]
21738         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
21739         with uint64_t.
21740         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
21741         (uint64_t) 1.
21742         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
21743         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
21744         Replace 1UL with (uint64_t) 1.
21745         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
21746         int with uint64_t.
21748 2015-01-23  Roland McGrath  <roland@hack.frob.com>
21750         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
21751         (if_freenameindex): Likewise.
21753         * resource/getrlimit64.c: Add missing libc_hidden_def.
21755 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
21757         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
21758         __label__.
21759         (_FP_FMA): Likewise.
21760         (_FP_TO_INT_ROUND): Likewise.
21761         (_FP_FROM_INT): Likewise.
21763 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21765         [BZ #16418]
21766         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
21767         Make code racy and cancel safe.
21769 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
21771         * sysdeps/arm/unwind-resume.h: Fix copyright year.
21772         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
21773         attribution.
21775         * pwd/tst-getpw.c: Rewrite.
21777         [BZ #17702]
21778         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
21779         (modules-names): Add moddummy1 and moddummy2.
21780         ($(objpfx)tst-rec-dlopen): Define.
21781         * dlfcn/moddummy1.c: New file.
21782         * dlfcn/moddummy2.c: New file.
21783         * dlfcn/tst-rec-dlopen.c: New file.
21784         * elf/dl-cache.c (_dl_load_cache_lookup):
21785         Return char*. Copy result with alloca/strcpy/strdup.
21786         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
21787         returns char*. Free cached. If not saving realname
21788         free cached.
21789         * elf/dl-open.c (dl_open_worker): Do not assert that
21790         _r_debug->r_state is RT_CONSISTENT.
21791         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
21792         returns char*.
21794 2015-01-21  Torvald Riegel  <triegel@redhat.com>
21795             Carlos O'Donell  <carlos@redhat.com>
21797         [BZ #12674]
21798         * nptl/sem_waitcommon.c: New file.
21799         * nptl/sem_wait.c: Include sem_waitcommon.c.
21800         (__sem_wait_cleanup, do_futex_wait): Remove.
21801         (__new_sem_wait): Adapt.
21802         (__new_sem_trywait): New function.
21803         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
21804         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
21805         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
21806         (sem_timedwait): Adapt.
21807         * nptl/sem_post.c (__new_sem_post): Adapt.
21808         (futex_wake): New function.
21809         (__old_sem_post): Add release MO fence.
21810         * nptl/sem_open.c (sem_open): Adapt.
21811         * nptl/sem_init.c (__new_sem_init): Adapt.
21812         (futex_private_if_supported): New function.
21813         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
21814         (__old_sem_getvalue): Add using previous code.
21815         * sysdeps/nptl/internaltypes.h: Adapt.
21816         * nptl/tst-sem13.c (do_test): Adapt.
21817         * nptl/tst-sem11.c (main): Adapt.
21818         * nptl/sem_trywait.c: Remove.
21819         * nptl/DESIGN-sem.txt: Remove.
21820         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
21821         (gen-as-const-headers): Remove structsem.sym.
21822         * nptl/structsem.sym: Remove.
21823         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
21824         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
21825         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
21826         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
21827         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
21828         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
21829         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
21830         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
21831         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
21832         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
21833         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
21834         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
21835         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
21836         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
21837         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
21838         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
21839         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
21840         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
21841         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
21842         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
21843         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
21844         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
21846 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
21848         * INSTALL: Regenerated.
21850         * po/libc.pot: Regenerated.
21852 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
21853             Sandra Loosemore  <sandra@codesourcery.com>
21854             Andrew Jenner  <andrew@codesourcery.com>
21855             Joseph Myers  <joseph@codesourcery.com>
21856             Nathan Sidwell  <nathan@codesourcery.com>
21858         * NEWS: Mention new Nios II port.
21859         * sysdeps/nios2/Implies: New file.
21860         * sysdeps/nios2/Makefile: New file.
21861         * sysdeps/nios2/Subdirs: New file.
21862         * sysdeps/nios2/Versions: New file.
21863         * sysdeps/nios2/__longjmp.S: New file.
21864         * sysdeps/nios2/abort-instr.h: New file.
21865         * sysdeps/nios2/backtrace.c: New file.
21866         * sysdeps/nios2/bits/endian.h: New file.
21867         * sysdeps/nios2/bits/fenv.h: New file.
21868         * sysdeps/nios2/bits/link.h: New file.
21869         * sysdeps/nios2/bits/setjmp.h: New file.
21870         * sysdeps/nios2/bsd-_setjmp.S: New file.
21871         * sysdeps/nios2/bsd-setjmp.S: New file.
21872         * sysdeps/nios2/configure: New generated file.
21873         * sysdeps/nios2/configure.ac: New file.
21874         * sysdeps/nios2/crti.S: New file.
21875         * sysdeps/nios2/crtn.S: New file.
21876         * sysdeps/nios2/dl-init.c: New file.
21877         * sysdeps/nios2/dl-machine.h: New file.
21878         * sysdeps/nios2/dl-sysdep.h: New file.
21879         * sysdeps/nios2/dl-tls.h: New file.
21880         * sysdeps/nios2/dl-trampoline.S: New file.
21881         * sysdeps/nios2/gccframe.h: New file.
21882         * sysdeps/nios2/gmp-mparam.h: New file.
21883         * sysdeps/nios2/jmpbuf-offsets.h: New file.
21884         * sysdeps/nios2/jmpbuf-unwind.h: New file.
21885         * sysdeps/nios2/ldsodefs.h: New file.
21886         * sysdeps/nios2/libc-tls.c: New file.
21887         * sysdeps/nios2/libm-test-ulps: New file.
21888         * sysdeps/nios2/machine-gmon.h: New file.
21889         * sysdeps/nios2/math-tests.h: New file.
21890         * sysdeps/nios2/math_private.h: New file.
21891         * sysdeps/nios2/memusage.h: New file.
21892         * sysdeps/nios2/nptl/Makefile: New file.
21893         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
21894         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
21895         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
21896         * sysdeps/nios2/nptl/pthreaddef.h: New file.
21897         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
21898         * sysdeps/nios2/nptl/tls.h: New file.
21899         * sysdeps/nios2/preconfigure: New file.
21900         * sysdeps/nios2/s_fma.c: New file.
21901         * sysdeps/nios2/s_fmaf.c: New file.
21902         * sysdeps/nios2/setjmp.S: New file.
21903         * sysdeps/nios2/sfp-machine.h: New file.
21904         * sysdeps/nios2/sotruss-lib.c: New file.
21905         * sysdeps/nios2/stackguard-macros.h: New file.
21906         * sysdeps/nios2/stackinfo.h: New file.
21907         * sysdeps/nios2/start.S: New file.
21908         * sysdeps/nios2/sysdep.h: New file.
21909         * sysdeps/nios2/tls-macros.h: New file.
21910         * sysdeps/nios2/tst-audit.h: New file.
21911         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
21912         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
21913         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
21914         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
21915         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
21916         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
21917         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
21918         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
21919         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
21920         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
21921         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
21922         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
21923         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
21924         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
21925         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
21926         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
21927         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
21928         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
21929         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
21930         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
21931         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
21932         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
21933         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
21934         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
21935         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
21936         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
21937         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
21938         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
21939         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
21940         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
21941         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
21942         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
21943         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
21944         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
21945         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
21946         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
21947         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
21948         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
21949         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
21950         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
21951         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
21952         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
21953         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
21954         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
21956 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21958         [BZ #17844]
21959         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
21960         (getutent): Use weak_alias in non SHARED case
21961         and default_symbol_version in SHARED case.
21962         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
21963         (getutent_r, pututline): Likewise.
21964         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
21965         (getutid): Likewise.
21966         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
21967         (getutid_r): Likewise.
21968         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
21969         (getutline): Likewise.
21970         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
21971         (getutline_r): Likewise.
21972         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
21973         (updwtmp): Likewise.
21975 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21977         [BZ #17848]
21978         * sysdeps/s390/s390-32/memcmp.S
21979         (memcmp_g5): Rename to __memcmp_g5.
21980         * sysdeps/s390/s390-32/memcpy.S
21981         (memcpy_g5): Rename to __memcpy_g5.
21982         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21983         (memcpy_mvcle) Rename to __memcpy_mvcle.
21984         * sysdeps/s390/s390-32/memset.S
21985         (memset_g5): Rename to __memset_g5.
21986         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21987         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21988         and use prefixed functions.
21989         * sysdeps/s390/s390-32/multiarch/memcmp.S
21990         (memcmp_z196): Rename to __memcmp_z196.
21991         (memcmp_z10): Rename to __memcmp_z10.
21992         (memcmp): Set alias to __memcmp_g5.
21993         (bcmp): Set alias to __memcmp_g5.
21994         * sysdeps/s390/s390-32/multiarch/memcpy.S
21995         (memcpy_z196): Rename to __memcpy_z196.
21996         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21997         (memcpy_z10): Rename to __memcpy_z10.
21998         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21999         (memcpy): Set alias to __memcpy_g5.
22000         * sysdeps/s390/s390-32/multiarch/memset.S
22001         (memset_z196): Rename to __memset_z196.
22002         Jump to __memset_mvcle instead of memset_mvcle.
22003         (memset_z10): Rename to __memset_z10.
22004         Jump to __memset_mvcle instead of memset_mvcle.
22005         (memset_mvcle) Rename to __memset_mvcle.
22006         (memset): Set alias to __memset_g5.
22007         * sysdeps/s390/s390-64/memcmp.S
22008         (memcmp_z900): Rename to __memcmp_z900.
22009         * sysdeps/s390/s390-64/memcpy.S
22010         (memcpy_z900): Rename to __memcpy_z900.
22011         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22012         (memcpy_mvcle) Rename to __memcpy_mvcle.
22013         * sysdeps/s390/s390-64/memset.S
22014         (memset_z900): Rename to __memset_z900.
22015         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
22016         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22017         and use prefixed functions.
22018         * sysdeps/s390/s390-64/multiarch/memcmp.S
22019         (memcmp_z196): Rename to __memcmp_z196.
22020         (memcmp_z10): Rename to __memcmp_z10.
22021         (memcmp): Set alias to __memcmp_z900.
22022         (bcmp): Set alias to __memcmp_z900.
22023         * sysdeps/s390/s390-64/multiarch/memcpy.S
22024         (memcpy_z196): Rename to __memcpy_z196.
22025         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22026         (memcpy_z10): Rename to __memcpy_z10.
22027         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22028         (memcpy): Set alias to __memcpy_z900.
22029         * sysdeps/s390/s390-64/multiarch/memset.S
22030         (memset_z196): Rename to __memset_z196.
22031         Jump to __memset_mvcle instead of memset_mvcle.
22032         (memset_z10): Rename to __memset_z10.
22033         Jump to __memset_mvcle instead of memset_mvcle.
22034         (memset_mvcle) Rename to __memset_mvcle.
22035         (memset): Set alias to __memset_z900.
22037 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
22039         [BZ #17748]
22040         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
22041         __fesetenv instead of fesetenv.
22043 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22045         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
22046         macro.
22048 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22050         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
22051         regression on LE.
22053         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
22054         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
22055         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22056         strncmp-power8 object.
22057         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22058         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
22059         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
22060         * NEWS: Update.
22062 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22063             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22065         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
22066         trailing byte check.
22068 2015-01-13  David S. Miller  <davem@davemloft.net>
22070         * include/signal.h (__sigreturn): Guard with __USE_MISC.
22072 2015-01-13  Roland McGrath  <roland@hack.frob.com>
22074         * login/logout.c (logout): Use memset rather than bzero.
22075         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
22076         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
22077         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
22078         (_gethtbyaddr): Likewise.
22079         * locale/programs/simple-hash.c (bcopy): Macro removed.
22081 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22083         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22084         Add strcmp-power8 object.
22085         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22086         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
22087         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
22088         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
22089         __strcmp_power8 implementation.
22090         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
22091         * NEWS: Update.
22093         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22094         Add strncpy-power8 and stpncpy-power8 objects.
22095         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22096         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
22097         implementations.
22098         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
22099         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
22100         __stpncpy_power8 implementation.
22101         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
22102         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
22103         __strncpy_power8 implementation.
22104         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
22105         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
22106         * NEWS: Update.
22108         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
22109         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
22110         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
22112         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22113         strncat-power8 object.
22114         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
22115         __strcat_power8 implementation.
22116         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22117         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
22118         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
22119         optimized strcat for power8.
22121         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22122         strcpy-power8 and stpcpy-power8 objects.
22123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22124         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
22125         implementations.
22126         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
22127         multiarch stpcpy implementation for POWER8.
22128         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
22129         multiarch strcpy implementation for POWER8.
22130         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
22131         __strcpy_power8 function.
22132         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
22133         stpcpy for POWER8.
22134         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
22135         strcpy for POWER8.
22136         * NEWS: Update.
22138 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
22140         [BZ #16009]
22141         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
22142         weights and rules. Use do_xfrm_cached if data fits in cache,
22143         do_xfrm otherwise.  Moved former main loop to...
22144         * (do_xfrm_cached): New function.
22145         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
22146         find_idx, find_position and stack_push.
22147         * (find_idx): New function.
22148         * (find_position): Likewise.
22149         * localedata/sort-test.sh: Added test run for do_xfrm.
22150         * localedata/xfrm-test.c (main): Added command line option
22151         -nocache to run the test with strings that are too large for
22152         the STRXFRM cache.
22154 2015-01-13  Torvald Riegel  <triegel@redhat.com>
22156         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
22157         variable to lll_futex_wake call, not the value itself.
22159 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
22161         [BZ #17803]
22162         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
22163         twom64.  Adjust value to 0x1p-64L.
22164         (__scalblnl): Only return standard underflowing result for K <=
22165         -64 not K <= -63; adjust exponent for underflowing result by 64
22166         not 63.
22167         * math/libm-test.inc (scalbn_test_data): Add more tests.
22168         (scalbln_test_data): Likewise.
22170         [BZ #17834]
22171         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
22172         0x1p63L.
22173         (__scalblnl): Get new exponent of adjusted subnormal value from ES
22174         not HX.
22175         * math/libm-test.inc (scalbn_test_data): Add more tests.
22176         (scalbln_test_data): Likewise.
22178 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22179             Stefani Seibold  <stefani@seibold.net>
22181         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
22182         (sysdep_routines): Add dl-vdso here, ...
22183         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
22184         (sysdep_routines): ... not here.
22185         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
22186         fallback when vDSO is not presented.
22187         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22188         Define with libc_hidden_proto/libc_hidden_data_def definitions.
22189         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
22190         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
22191         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
22192         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
22193         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
22194         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
22195         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
22196         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
22197         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
22198         fallback configurable symbol when vDSO is not available.
22199         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
22200         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
22201         be able to redefine fallback symbol when vDSO is not available.
22202         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
22203         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
22205 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22207         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
22208         (TLS_INIT_TP): Add tm_capable initialization.
22209         (TLS_DEFINE_INIT_TP): Likewise.
22210         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
22211         TCB.
22212         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
22213         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
22214         calculation.
22215         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
22216         transactoion is lock elision is built and TCB tm_capable is set.
22217         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
22218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22219         (INTERNAL_SYSCALL_NCS): Likewise.
22220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22221         (INTERNAL_SYSCALL_NCS): Likewise.
22222         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
22224         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
22225         for powerpc.
22226         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22227         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
22228         and remove it for 32 bits case.
22229         [pthread_rwlock_t] (__rwelision): New field for lock elision.
22230         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
22231         initialization.
22232         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
22233         Disable lock elision with rdlocks if elision is not available.
22235         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
22236         (sysdep_routines): Add lock elision objects.
22237         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22238         [pthread_mutex_t] (__spins): Rework to add lock elision field.
22239         [pthread_mutex_t] (__elision): Add field.
22240         [__PTHREAD_SPINS]: Adjust to init lock elision field.
22241         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
22242         elision definitions for powerpc.
22243         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
22244         implementation of lock elision for powerpc.
22245         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
22246         implementation of timed lock elision for powerpc.
22247         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
22248         implementation of trylock with lock elision for powerpc.
22249         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
22250         implementaion of unlock for lock elision for powerpc.
22251         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
22252         automatic enable lock elision for mutexes.
22253         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
22254         transaction execution definitions for powerpc.
22255         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
22256         definitions.
22257         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
22258         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
22259         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
22260         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
22261         * NEWS: Update.
22263 2015-01-09  Roland McGrath  <roland@hack.frob.com>
22265         * sysdeps/posix/shm-directory.c: Use <> rather than ""
22266         for #include of <shm-directory.h>.
22268 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
22270         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
22271         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
22273 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
22275         [BZ #17791]
22276         * NEWS: Mention bug fix.
22277         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
22278         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
22279         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
22281 2015-01-09  Torvald Riegel <triegel@redhat.com>
22283         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
22285 2015-01-09  Torvald Riegel <triegel@redhat.com>
22287         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
22289 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22291         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
22292         pointer and cast to uintptr_t.
22294 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22296         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
22297         removed.
22298         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
22300 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22302         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
22303         of 0.
22305 2015-01-08  Roland McGrath  <roland@hack.frob.com>
22307         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
22308         <nptl/pthreadP.h> instead.
22309         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
22311         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
22312         already defined.
22313         [__SIGRTMIN] (init): Function removed.
22314         [__SIGRTMIN] (initialized): Variable removed.
22315         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
22316         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
22317         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
22318         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
22319         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
22320         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
22321         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
22322         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
22323         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
22324         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
22325         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
22326         * sysdeps/nptl/allocrtsig.c: New file.
22327         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
22328         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
22329         * sysdeps/generic/testrtsig.h: File removed.
22331         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
22332         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
22334         * nptl/nptl-init.c (pthread_functions): Conditionalize
22335         .ptr__nptl_setxid initialization on [SIGSETXID].
22337         * sysdeps/nptl/sys/procfs.h: New file.
22338         * nptl_db/Makefile (headers): Add it.
22339         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
22341         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
22342         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
22343         * nptl/pthread_attr_setaffinity.c: Include it.
22344         * nptl/pthread_setattr_default_np.c: Likewise.
22345         * nptl/check-cpuset.h: New file.
22347 2015-01-08  Richard Henderson  <rth@redhat.com>
22349         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
22350         (CFLAGS-tst-execstack-prog.c): Likewise.
22351         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
22353 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
22354             Sandra Loosemore  <sandra@codesourcery.com>
22355             Andrew Jenner  <andrew@codesourcery.com>
22356             Joseph Myers  <joseph@codesourcery.com>
22357             Nathan Sidwell  <nathan@codesourcery.com>
22359         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
22360         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
22361         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
22362         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
22363         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
22364         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
22365         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
22366         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
22367         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
22368         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
22369         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
22370         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
22371         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
22372         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
22373         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
22374         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
22375         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
22377 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22379         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
22380         timespec struct member in syscall macro.
22381         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22382         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
22383         first timeval struct member in syscall macro.
22384         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
22386 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
22388         [BZ #17748]
22389         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
22390         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
22391         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
22392         __feupdateenv and define as weak alias of __feupdateenv.  Use
22393         libm_hidden_weak.
22394         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
22395         libm_hidden_def.
22396         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
22397         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
22398         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22399         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
22400         libm_hidden_def.
22401         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
22402         __feupdateenv and define as weak alias of __feupdateenv.  Use
22403         libm_hidden_weak.
22404         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
22405         libm_hidden_def.
22406         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
22407         __feupdateenv and define as weak alias of __feupdateenv.  Use
22408         libm_hidden_weak.
22409         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
22410         libm_hidden_def.
22411         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22412         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22413         (__feupdateenv): Likewise.
22414         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
22415         __feupdateenv and define as weak alias of __feupdateenv.  Use
22416         libm_hidden_weak.
22417         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22418         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
22419         libm_hidden_def.
22420         * sysdeps/tile/math_private.h (__feupdateenv): New inline
22421         function.
22422         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
22423         libm_hidden_def.
22424         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
22425         __feupdateenv instead of feupdateenv.
22426         (default_libc_feupdateenv_test): Likewise.
22427         (libc_feresetround_ctx): Likewise.
22429 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22431         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
22432         prototype.
22434 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
22436         * posix/regcomp.c (parse_bracket_exp): Initialize type to
22437         COLL_SYM in a couple of places to avoid uninitialized variable
22438         wanings on tilegx gcc 4.8.2.
22440 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22442         * sysdeps/aarch64/strcpy.S: New file.
22443         * sysdeps/aarch64/stpcpy.S: New file.
22444         * NEWS: Updated.
22446 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22448         * sysdeps/aarch64/strrchr.S: New file.
22449         * NEWS: Updated.
22451 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
22453         [BZ #17658]
22454         * stdlib/setenv.c: Fix memory leak when setting large,
22455         duplicate string.
22457 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
22459         [BZ #17273]
22460         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
22461         and tabs from buffer before parsing fstab entry.
22462         * misc/tst-mntent.c (main): Add test for mount entry with
22463         trailing spaces and tabs.
22465 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
22467         [BZ #17748]
22468         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
22469         * math/fesetround.c (fesetround): Rename to __fesetround and
22470         define as weak alias of __fesetround.  Use libm_hidden_weak.
22471         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
22472         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
22473         * sysdeps/arm/fesetround.c (fesetround): Likewise.
22474         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
22475         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
22476         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
22477         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
22478         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
22479         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
22480         __fesetround_inline.
22481         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
22482         __fesetround_inline instead of __fesetround.
22483         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
22484         __fesetround and define as weak alias of __fesetround.  Use
22485         libm_hidden_weak.  Call __fesetround_inline instead of
22486         __fesetround.
22487         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
22488         __fesetround and define as weak alias of __fesetround.  Use
22489         libm_hidden_weak.
22490         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
22491         Likewise.
22492         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
22493         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22494         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
22495         * sysdeps/tile/math_private.h (__fesetround): New inline function.
22496         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
22497         __fesetround and define as weak alias of __fesetround.  Use
22498         libm_hidden_weak.
22499         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
22500         __fesetround instead of fesetround.
22501         (default_libc_feholdexcept_setround): Likewise.
22502         (libc_feholdsetround_ctx): Likewise.
22503         (libc_feholdsetround_noex_ctx): Likewise.
22505         [BZ #17748]
22506         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
22507         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
22508         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22509         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22510         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22511         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
22512         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22513         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22514         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22515         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22516         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22517         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22518         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22519         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22520         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
22521         libm_hidden_def.
22522         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
22523         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
22524         Likewise.
22525         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22526         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22527         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22528         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22529         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
22530         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22531         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22532         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
22533         __fesetenv instead of fesetenv.
22534         (libc_feresetround_noex_ctx): Likewise.
22535         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22536         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22537         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
22538         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22539         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22540         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22541         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22542         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22543         (__feupdateenv): Likewise.
22544         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22545         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22546         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22547         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
22549 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22551         [BZ #17806]
22552         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
22553         addresses have been freed.
22555 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22557         * resolv/res_init.c (__res_vinit): Improve comments about nserv
22558         and nservall.
22560 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
22562         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
22563         Clean up check_pf allocation pattern. addresses
22565 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22567         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
22568         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
22569         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
22570         * nptl/pthread_exit.c (__pthread_exit): Likewise.
22571         * nptl/pthread_join.c (pthread_join): Likewise.
22572         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22573         * sysdeps/posix/waitid.c (__waitid): Likewise.
22574         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22575         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22576         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22577         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22578         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22579         Likewise.
22580         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22581         (__libc_pread64): Likewise.
22582         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22583         (__libc_pwrite): Likewise.
22584         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22585         (__libc_pwrite64): Likewsie.
22586         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22587         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22588         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22589         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22590         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22591         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22592         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22594         Likewise.
22595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22596         (__libc_pread64): Likewise.
22597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
22598         Likewise.
22599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22600         (__libc_pwrite64): Likewise.
22601         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22602         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22603         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
22604         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
22605         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22606         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22607         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
22608         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22609         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22610         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22611         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
22612         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22613         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22614         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
22615         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22616         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22617         Likewise.
22619 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
22621         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
22622         (CFLAGS-test-double.c): Likewise.
22623         (CFLAGS-test-ldouble.c): Likewise.
22624         (CPPFLAGS-test-ifloat.c): Likewise.
22625         (CPPFLAGS-test-idouble.c): Likewise.
22626         (CPPFLAGS-test-ildoubl.c): Likewise.
22627         (CFLAGS-test-test-fenv.c): Remove variable.
22628         (CFLAGS-test-misc.c): Likewise.
22630 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
22632         [BZ #17797]
22633         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
22634         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
22635         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
22636         CLOCKS_PER_SEC == 1000000.
22637         * time/clocktest.c (main): Replace %ld with %jd and cast to
22638         intmax_t.
22640 2015-01-05  Roland McGrath  <roland@hack.frob.com>
22642         * sysdeps/generic/unwind-resume.h: New file.
22643         * sysdeps/gnu/unwind-resume.c: Include it.
22644         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
22645         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
22646         argument list.
22647         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
22648         global rather than static.
22649         (_Unwind_Resume): Update user.
22650         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
22651         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
22652         rather than static.  Add __attribute__ ((cold)).
22653         (_Unwind_Resume, __gcc_personality_v0): Update callers.
22654         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
22655         * sysdeps/arm/arm-unwind-resume.S: New file.
22656         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
22657         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
22658         * sysdeps/arm/Makefile [$(subdir) = csu]
22659         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
22660         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22661         Add rt-arm-unwind-resume.
22662         [$(subdir) = nptl]
22663         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22664         Add pt-arm-unwind-resume.
22665         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
22666         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
22668 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22670         [BZ #17748]
22671         * include/fenv.h (__feholdexcept): Declare.  Use
22672         libm_hidden_proto.
22673         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
22674         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
22675         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22676         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
22677         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
22678         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
22679         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
22680         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22681         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
22682         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
22683         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22684         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
22685         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
22686         (feholdexcept): Likewise.
22687         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22688         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22689         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22690         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22691         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
22692         __feholdexcept instead of feholdexcept.
22693         (default_libc_feholdexcept_setround): Likewise.
22695 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22697         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
22698         to avoid using stl/str to align destination.
22700 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22702         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
22704 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22706         [BZ #17796]
22707         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
22708         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
22709         Define as weak alias not strong alias.
22711 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22713         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
22714         bltzal with addiupc.
22715         (RTLD_START): Ditto.
22717 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
22719         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
22720         for __vdso_* functions in declarations.
22721         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
22722         definitions.
22723         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
22724         INTERNAL_VSYSCALL): Use struct return types to check for error.
22726         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
22727         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
22728         function with cast from llround().
22729         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
22730         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22731         Define.
22733 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22735         [BZ #17793]
22736         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
22737         Define as weak alias not strong alias.
22739         [BZ #17635]
22740         * ctype/ctype-c99.c: New file.  isblank implementation moved from
22741         ...
22742         * ctype/ctype-extn.c: ... here.
22743         (__isblank_l): Move to ...
22744         * ctype/ctype-c99_l.c: ... here.  New file.
22745         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
22746         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
22747         Remove variable.
22748         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22749         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22750         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22751         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22752         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22754         [BZ #17777]
22755         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
22756         (posix_fadvise64): Define as weak alias not strong alias.
22757         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22758         (posix_fallocate64): Likewise.
22759         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
22760         Remove variable.
22761         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22762         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22763         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22764         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22765         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22767 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
22769         [BZ #16191]
22770         * NEWS: Mention bug fix.
22771         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
22772         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
22773         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
22774         (HOST_STACK_END_ADDR): Likewise.
22776 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22778         [BZ #17748]
22779         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
22780         * math/fegetround.c (fegetround): Rename to __fegetround and
22781         define as weak alias of __fegetround.  Use libm_hidden_weak.
22782         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
22783         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
22784         * sysdeps/arm/fegetround.c (fegetround): Likewise.
22785         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
22786         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22787         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
22788         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
22789         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
22790         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22791         Undefine after rather than before function definition; use
22792         parentheses around function name in definition.
22793         (__fegetround): Also undefine macro after function definition.
22794         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
22795         __fegetround and define as weak alias of __fegetround.  Use
22796         libm_hidden_weak.  Do not undefine as macro.
22797         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22798         Likewise.
22799         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
22800         __fegetround and define as weak alias of __fegetround.  Use
22801         libm_hidden_weak.
22802         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22803         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22804         * sysdeps/tile/math_private.h (__fegetround): New inline function.
22805         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
22806         __fegetround and define as weak alias of __fegetround.  Use
22807         libm_hidden_weak.
22808         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
22809         __fegetround instead of fegetround.
22811         [BZ #17782]
22812         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
22813         Condition macro definition on [__USE_MISC].
22815         [BZ #17781]
22816         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
22817         (struct sigaction): Change type of sa_flags field to int.
22819         [BZ #17780]
22820         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
22821         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
22822         __glibc_reserved0.
22824         * nptl/version.c (banner): Use single year in copyright notice.
22826         * NEWS: Update copyright dates.
22827         * catgets/gencat.c (print_version): Likewise.
22828         * csu/version.c (banner): Likewise.
22829         * debug/catchsegv.sh: Likewise.
22830         * debug/pcprofiledump.c (print_version): Likewise.
22831         * debug/xtrace.sh (do_version): Likewise.
22832         * elf/ldconfig.c (print_version): Likewise.
22833         * elf/ldd.bash.in: Likewise.
22834         * elf/pldd.c (print_version): Likewise.
22835         * elf/sotruss.sh: Likewise.
22836         * elf/sprof.c (print_version): Likewise.
22837         * iconv/iconv_prog.c (print_version): Likewise.
22838         * iconv/iconvconfig.c (print_version): Likewise.
22839         * locale/programs/locale.c (print_version): Likewise.
22840         * locale/programs/localedef.c (print_version): Likewise.
22841         * login/programs/pt_chown.c (print_version): Likewise.
22842         * malloc/memusage.sh (do_version): Likewise.
22843         * malloc/memusagestat.c (print_version): Likewise.
22844         * malloc/mtrace.pl: Likewise.
22845         * manual/libc.texinfo: Likewise.
22846         * nptl/version.c (banner): Likewise.
22847         * nscd/nscd.c (print_version): Likewise.
22848         * nss/getent.c (print_version): Likewise.
22849         * nss/makedb.c (print_version): Likewise.
22850         * posix/getconf.c (main): Likewise.
22851         * scripts/test-installation.pl: Likewise.
22852         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22854 2015-01-02  Will Newton  <will.newton@linaro.org>
22856         * sysdeps/arm/armv7/configure: Removed.
22857         * sysdeps/arm/armv7/configure.ac: Likewise.
22859 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22861         * All files with FSF copyright notices: Update copyright dates
22862         using scripts/update-copyrights.
22863         * intl/plural.c: Regenerated.
22864         * locale/programs/charmap-kw.h: Likewise.
22865         * locale/programs/locfile-kw.h: Likewise.
22867 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22869         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
22871 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22873         [BZ #17748]
22874         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
22875         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
22876         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22877         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22878         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22879         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
22880         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22881         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
22882         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22883         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22884         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22885         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22886         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22887         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22888         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
22889         libm_hidden_def.
22890         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
22891         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
22892         Likewise.
22893         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22894         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22895         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22896         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22897         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
22898         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22899         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22900         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
22901         __fegetenv instead of fegetenv.
22902         (libc_feholdsetround_noex_ctx): Likewise.
22904 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
22906         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
22907         (Elf_MIPS_ABIFlags_v0): New structure.
22908         (EF_MIPS_FP64): Define.
22909         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
22910         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
22911         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
22912         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
22913         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
22914         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
22915         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
22916         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
22917         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
22918         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
22919         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
22920         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
22921         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
22922         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
22923         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
22924         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
22925         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
22926         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
22927         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
22928         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
22929         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
22930         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
22931         field.
22932         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
22933         EF_MIPS_FP64.
22934         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
22935         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
22936         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
22937         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
22938         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
22939         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
22940         * sysdeps/mips/tst-abi-interlink.c: Likewise.
22941         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
22942         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
22943         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
22944         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
22945         record the current FP ABI extension.
22946         (mips-mode-switch): Define to show if kernel headers support mode
22947         switching.
22948         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22949         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
22950         supported SYSV ABI version to 3.
22951         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
22952         feature.
22954 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22955             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22957         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
22958         path.
22959         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
22961 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22963         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
22964         __fegetround and redefine to call __fegetround.  Remove condition
22965         on [!__NO_MATH_INLINES].
22966         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
22967         function.
22968         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
22969         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22970         Remove macro.
22971         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
22972         instead of <fenv_libc.h>.
22973         (__llrintl): Call fegetround instead of __fegetround.
22974         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
22975         instead of <fenv_libc.h>.
22976         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22977         (__lrintl): Call fegetround instead of __fegetround.
22978         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
22979         instead of <fenv_libc.h>.
22980         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22981         (__rintl): Call fegetround instead of __fegetround.
22983 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22985         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
22986         arrays.
22988 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22990         [BZ #17775]
22991         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
22992         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
22993         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
22995 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22997         * sysdeps/i386/tls-macros.h: Include <features.h>.
22998         (TLS_LE): Use non-PIC version for GCC >= 5.0.
22999         (TLS_IE): Likewise.
23000         (TLS_LD): Likewise.
23001         (TLS_GD): Likewise.
23002         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
23003         define for GCC >= 5.0.
23005 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
23007         * math/test-fenv.c (test_single_exception, set_single_exc,
23008         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
23009         feexcp_mask_test, feenable_test, fe_single_test): Add
23010         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
23011         case where they are not used.
23012         * math/libm-test.inc: Likewise.
23013         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
23014         unused in the absence of FP rounding/exception support.
23015         * stdio-common/tst-printf-round.c: Likewise.
23016         * stdlib/tst-strtod-round.c: Likewise.
23017         * stdlib/tst-strtod-underflow.c: Likewise.
23019 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
23021         [BZ #17723]
23022         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
23023         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
23024         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23025         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23026         libm_hidden_weak.
23027         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
23028         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23029         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
23030         libm_hidden_def.
23031         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23032         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23033         libm_hidden_weak.
23034         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
23035         Likewise.
23036         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
23037         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23038         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23039         libm_hidden_weak.
23040         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23041         libm_hidden_def.
23042         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23043         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
23044         (__feraiseexcept): Likewise.
23045         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23046         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23047         libm_hidden_weak.
23048         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23049         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23050         libm_hidden_def.
23051         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
23052         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
23053         Use libm_hidden_def.
23054         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
23055         libm_hidden_def.
23056         (feraiseexcept): Define as weak not strong alias.  Use
23057         libm_hidden_weak.
23058         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
23059         New inline function.  Factored out of ...
23060         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
23061         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
23062         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
23063         feraiseexcept.
23064         * math/w_acos.c (__acos): Likewise.
23065         * math/w_asin.c (__asin): Likewise.
23066         * math/w_ilogb.c (__ilogb): Likewise.
23067         * math/w_j0.c (y0): Likewise.
23068         * math/w_j1.c (y1): Likewise.
23069         * math/w_jn.c (yn): Likewise.
23070         * math/w_log.c (__log): Likewise.
23071         * math/w_log10.c (__log10): Likewise.
23072         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
23073         * sysdeps/aarch64/fpu/math_private.h
23074         (libc_feupdateenv_test_aarch64): Likewise.
23075         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23076         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
23077         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
23078         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23079         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23080         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23081         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
23082         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23083         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23084         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23086 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
23088         [BZ #17732]
23089         * io/test-utime.c (main): Replace %ld with %jd and cast to
23090         intmax_t.
23091         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
23092         * nptl/tst-mutex5.c: Include <stdint.h>.
23093         (do_test): Replace %ld with %jd and cast to intmax_t.
23094         * posix/tst-regex.c (run_test): Likewise.
23095         (run_test_backwards): Likewise.
23096         * rt/tst-clock.c: Include <stdint.h>.
23097         (clock_test): Replace %ld with %jd and cast to intmax_t.
23098         * rt/tst-cpuclock1.c: Include <stdint.h>.
23099         (do_test): Replace %lu with %ju and cast to uintmax_t.
23100         * rt/tst-cpuclock2.c: Include <stdint.h>.
23101         (do_test): Replace %lu with %ju and cast to uintmax_t.
23102         * rt/tst-mqueue1.c: Include <stdint.h>.
23103         (check_attrs): Replace %ld with %jd and cast to intmax_t.
23104         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
23105         intmax_t.
23106         * rt/tst-mqueue4.c (do_test): Likewise.
23107         * rt/tst-timer4.c: Include <stdint.h>.
23108         (check_ts): Replace %ld with %jd and cast to intmax_t.
23109         (do_test): Likewise.
23110         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
23111         and cast to intmax_t.
23112         * sysdeps/pthread/tst-timer.c (main): Likewise.
23113         * time/clocktest.c (main): Likewise.
23114         * time/tst-posixtz.c (do_test): Likewise.
23115         * timezone/tst-timezone.c (main): Likewise.
23117 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23118             H.J. Lu  <hongjiu.lu@intel.com>
23120         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
23121         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
23122         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
23123         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
23124         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
23125         version if bit_Fast_Unaligned_Load is set.
23126         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23127         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23128         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23129         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23130         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23131         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23132         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23133         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
23134         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
23135         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
23136         to 4.
23137         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
23138         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
23139         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
23140         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
23142 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
23144         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
23145         instead of #if to avoid a Wundef warning.
23146         * stdlib/tst-limits.c (do_test): Likewise.
23148         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
23149         parallel other exception macros.
23150         (fegetenv): Convert from macro to extern inline so that it applies
23151         retroactively to inline functions already seen by the compiler.
23152         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
23154         * posix/Makefile (before-compile): Use $(objpfx) for
23155         posix-conf-vars-def.h.
23157 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23159         * posix/getconf.c (main): Use size_t for type of I.
23160         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
23161         NSPEC.
23163         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
23164         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
23165         * posix/posix-envs.def: Likewise.
23166         * sysdeps/posix/sysconf.c: Likewise.
23167         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
23168         (specs): Remove array.
23169         * scripts/gen-posix-conf-vars.awk: Support generation of specs
23170         array.
23172         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
23173         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
23174         (__sysconf): Use CONF_IS_* macros.
23176         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
23177         ($(objpfx)posix-conf-vars-def.h): New target.
23178         * posix/posix-conf-vars.list: New file.
23179         * posix/posix-conf-vars.h: New file.
23180         * posix/confstr.c: Include posix-conf-vars.h.
23181         (confstr): Use CONF_IS_* macros.
23182         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
23183         CONF_IS_* macros.
23184         * scripts/gen-posix-conf-vars.awk: New file.
23186 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
23188         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
23189         fegetround): Add no-op macros to avoid linknamespace issues.
23191         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
23192         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
23194         * sysdeps/unix/sysv/linux/tile/sysdep.h
23195         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
23196         assembly-specific section to avoid a redefinition warning.
23198         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
23199         long before casting to pointer to avoid a cast warning.
23201 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
23203         * sysdeps/tile/tilegx/Implies: New file.
23205 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
23207         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
23209 2014-12-23  Florian Weimer  <fweimer@redhat.com>
23211         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
23213 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23215         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
23216         not define.
23217         * sysdeps/unix/sysv/linux/utimes.c: Do not include
23218         <kernel-features.h>.
23219         (__utimes) [__NR_utimes]: Make code unconditional.
23220         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
23221         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23222         (__ASSUME_UTIMES): Do not undefine.
23223         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23224         (__ASSUME_UTIMES): Likewise.
23225         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23226         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
23227         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
23228         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
23230 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23232         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
23234 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
23236         [BZ #17747]
23237         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
23238         alias to weak alias for j0l, y0l.
23239         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
23240         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
23242         [BZ #17746]
23243         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
23244         conversion.
23246 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23248         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
23249         to zero if not already defined.
23251 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23253         [BZ #17724]
23254         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
23255         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
23256         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
23257         (char *) casts added.
23258         * sysdeps/ieee754/k_standardf.c: New file.
23259         * sysdeps/ieee754/k_standardl.c: Likewise.
23260         * math/Makefile (libm-support): Remove k_standard.
23261         (libm-calls): Add k_standard.
23263 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23265         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23266         Optimize to avoid an unnecessary FPCR read.
23268 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23270         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23271         Optimize to reduce FPCR/FPSR accesses.
23273 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23275         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
23276         Call libc_fetestexcept_aarch64.
23278 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23280         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
23281         Call libc_fesetround_aarch64.
23283 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23285         [BZ #17733]
23286         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
23287         (__bind): Do not define as weak alias.
23288         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
23289         define.
23290         (__getsockname): Do not define as weak alias.
23292 2014-12-22  Will Newton  <will.newton@linaro.org>
23294         * manual/install.texi: Document that we require bison 2.7
23295         or above.
23296         * INSTALL: Regenerate.
23297         * configure.ac: Use AC_CHECK_PROG_VER instead of
23298         AC_PATH_PROG when checking for bison and check for
23299         version 2.7 or above.
23300         * configure: Regenerate.
23302 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
23304         [BZ #17745]
23305         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
23306         * sysdeps/tile/ffsll.c (ffsll): To here.
23308         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
23310 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23312         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
23313         if not defined.
23314         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
23315         definition.
23316         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23317         hidden ___tls_get_addr.
23318         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23319         hidden __tls_get_addr.
23320         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
23321         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
23322         Likewise.
23324 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
23326         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
23327         _dl_init call.
23329 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23331         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
23332         from "call _dl_init@PLT".
23333         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
23335 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
23337         * manual/search.texi: (Array Sort Function): Clarify stable sorting
23338         guarantees.
23340 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
23342         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
23344 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
23346         [BZ #17744]
23347         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
23348         strnlen.
23350 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
23352         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
23353         of multu on MIPSr6.
23354         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
23355         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
23356         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
23357         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
23358         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
23360 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
23362         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
23363         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
23364         (PTR_SUBU): Use subu for mips32r6/mips64r6.
23365         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
23366         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
23367         mips32r6/mips64r6.
23368         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
23370 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
23372         * string/strncat.c (STRNCAT): Simplify implementation.
23374 2014-12-19  David S. Miller  <davem@davemloft.net>
23376         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
23377         access the quad as both a long double and as a series of 4 words.
23379         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
23380         link_map->l_info array access.
23382 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
23384         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
23386         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
23387         * math/atest-exp2.c (TIMEOUT): Likewise.
23388         * math/atest-sincos.c (TIMEOUT): Likewise.
23390 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23392         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
23393         -Wno-error with -fno-builtin-lround.
23395 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23397         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
23398         Contains futex constants and functions moved over from ...
23399         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
23400         <lowlevellock-futex.h>.
23401         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23402         (lll_timedwait_tid): Add comments and parentheses around macro
23403         arguments.
23405 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23407         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
23408         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
23409         (__lll_private_flag): Remove.
23410         (lll_futex_wait): Likewise.
23411         (lll_futex_timed_wait): Likewise.
23412         (lll_futex_wake): Likewise.
23413         (lll_futex_requeue): Likewise.
23414         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23415         (__lll_timedwait_tid): Spell out argument names.
23416         (lll_timedwait_tid): Add comments and parentheses around macro
23417         arguments.
23418         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
23419         LLL_SHARED and LLL_PRIVATE usable from assembly code.
23421 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23423         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
23424         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23425         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23426         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
23427         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
23428         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
23429         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
23430         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
23431         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
23432         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
23433         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
23434         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
23435         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
23436         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
23437         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
23438         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
23439         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
23440         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
23441         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
23443 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23445         * sysdeps/x86_64/x32/Makefile: New file.
23447 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23449         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
23450         1L with (mp_limb_t) 1.
23452 2014-12-17  Roland McGrath  <roland@hack.frob.com>
23454         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
23455         * nptl/libc_pthread_init.c: ... here.
23456         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
23457         * nptl/register-atfork.c: ... here.
23459         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
23460         Use pthread_sigmask rather than INTERNAL_SYSCALL.
23461         Use assert_perror to check its return value.
23462         (__gai_create_helper_thread): Likewise.
23464         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
23466         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
23468 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
23470         [BZ #17725]
23471         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
23472         __profil_counter.
23473         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
23474         Likewise.
23475         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
23476         Likewise.
23477         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
23478         Likewise.
23479         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
23480         (profil_counter): Likewise.
23481         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
23482         (profil_counter): Likewise.
23483         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
23484         Likewise.
23485         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
23486         Likewise.
23487         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
23488         (profil_counter): Likewise.
23489         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
23490         Likewise.
23491         [!__profil_counter] (profil_counter): Define as weak alias of
23492         __profil_counter.
23493         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
23494         (profil_counter): Rename to __profil_counter.
23495         [!__profil_counter] (profil_counter): Define as weak alias of
23496         __profil_counter.
23497         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
23498         (profil_counter): Rename to __profil_counter.
23499         [!__profil_counter] (profil_counter): Define as weak alias of
23500         __profil_counter.
23501         * sysdeps/posix/profil.c: Update comment referring to
23502         profil_counter.
23503         (__profil): Use __profil_counter instead of profil_counter.
23504         * sysdeps/posix/sprofil.c (profil_counter): Rename to
23505         __profil_counter.  Use __profil_counter_ushort and
23506         __profil_counter_uint in definitions.
23507         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
23508         instead of profil_counter_uint and profil_counter_ushort.
23510         [BZ #17722]
23511         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
23512         define as weak alias of __inet_makeaddr.
23513         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
23514         as weak alias of __inet_addr.
23515         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
23516         as weak alias of __inet_pton.  Use libc_hidden_weak.
23517         * include/arpa/inet.h (__inet_pton): Declare.  Use
23518         libc_hidden_proto.
23519         (inet_makeaddr): Don't use libc_hidden_proto.
23520         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
23521         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
23522         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
23523         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
23524         Remove variable.
23525         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23526         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23528 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
23530         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
23532 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23534         * stdio-common/bug-vfprintf-nargs.c (do_test):
23535         Cast value to intptr_t to avoid format warning
23536         for usage with PRIdPTR printing macro.
23538 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23540         * libio/tst-widetext.c (do_test):
23541         Use format type %td instead of %Zd for ptrdiff_t
23542         in order to avoid format warning.
23544 2014-12-17  Andreas Schwab  <schwab@suse.de>
23546         * nscd/mem.c (gc): Add size_t cast to match printf format.
23548 2014-12-16  Roland McGrath  <roland@hack.frob.com>
23550         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
23551         (init): Apply PTR_MANGLE to pointers before storing them.
23552         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
23553         before using them.
23555 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
23557         [BZ #17719]
23558         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
23559         define as weak alias of __memrchr.
23560         (__memrchr): Do not define as strong alias of memrchr.
23561         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
23562         Remove variable.
23563         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23564         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23565         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23567         [BZ #17717]
23568         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
23569         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
23570         (if_indextoname): Rename to __if_indextoname and define as weak
23571         alias of __if_indextoname.  Use libc_hidden_weak.
23572         (if_freenameindex): Rename to __if_freenameindex and define as
23573         weak alias of __if_freenameindex.
23574         (if_nameindex): Rename to __if_nameindex and define as weak alias
23575         of __if_nameindex.
23576         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
23577         __if_nametoindex and define as weak alias of __if_nametoindex.
23578         Use libc_hidden_weak.
23579         (if_freenameindex): Rename to __if_freenameindex and define as
23580         weak alias of __if_freenameindex.
23581         (if_nameindex): Rename to __if_nameindex and define as weak alias
23582         of __if_nameindex.
23583         (if_indextoname): Rename to __if_indextoname and define as weak
23584         alias of __if_indextoname.  Use libc_hidden_weak.
23585         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
23586         __if_nametoindex and define as weak alias of __if_nametoindex.
23587         Use libc_hidden_weak.
23588         (if_freenameindex): Rename to __if_freenameindex and define as
23589         weak alias of __if_freenameindex.  Use libc_hidden_weak.
23590         (if_nameindex_netlink): Use __if_freenameindex instead of
23591         if_freenameindex.
23592         (if_nameindex): Rename to __if_nameindex and define as weak alias
23593         of __if_nameindex.  Use libc_hidden_weak.
23594         (if_indextoname): Rename to __if_indextoname and define as weak
23595         alias of __if_indextoname.  Use libc_hidden_weak.
23596         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
23597         libc_hidden_proto.
23598         [!_ISOMAC] (__if_freenameindex): Likewise.
23599         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
23600         if_nametoindex.
23601         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
23602         variable.
23603         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23604         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23605         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23606         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23607         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23608         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23609         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23611         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
23612         Remove variable.
23613         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23614         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23616 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23618         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
23619         subscript above bounds'
23621         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
23622         bounds.
23624 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
23626         * libio/tst-fopenloc.c: Use test-skeleton.c.
23628         * stdlib/tst-bsearch.c: Use test-skeleton.c.
23629         (entry): Rename to ITEM.
23630         (do_test, comp): Adjust.
23632         * stdio-common/tst-fseek.c: Use test-skeleton.c.
23634 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23636         * string/tester.c: Include <libc-internal.h>.
23637         (test_memset): Ignore -Wmemset-transposed-args.
23639 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23641         * misc/tst-mntent2.c (do_test): Fix warning.
23643 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23645         * elf/tst-unique4lib.cc(a): Mark as used.
23647 2014-12-16  Florian Weimer  <fweimer@redhat.com>
23649         [BZ #17630]
23650         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
23651         names.
23653 2014-12-16  Allan McRae  <allan@archlinux.org>
23655         * stdio-common/Makefile (tests): Re-add bug26.
23657 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
23659         [BZ #17657]
23660         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
23661         static array.
23663 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
23665         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
23666         (__lll_lock_wait): Likewise.
23667         (__lll_timedlock_wait): Likewise.
23668         (__lll_timedwait_tid): Likewise.
23669         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
23670         (__lll_robust_timedlock_wait): Likewise.
23671         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
23672         (lll_cond_trylock): Likewise.
23673         (__lll_lock): Likewise.
23674         (__lll_robust_lock): Likewise.
23675         (__lll_cond_lock): Likewise.
23676         (lll_robust_cond_lock): Likewise.
23677         (__lll_timedlock): Likewise.
23678         (__lll_robust_timedlock): Likewise.
23679         (__lll_unlock): Likewise.
23680         (__lll_robust_unlock): Likewise.
23681         (lll_wait_tid): Likewise.
23682         (lll_timedwait_tid): Likewise.
23684 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23686         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
23688 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23690         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
23692 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23694         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
23695         * stdio-common/tst-sprintf.c: Likewise.
23697 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23699         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
23701 2014-12-15  Jeff Law  <law@redhat.com>
23703         [BZ #16617]
23704         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
23705         on the heap.  (CVE-2012-3406)
23706         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
23707         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
23708         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
23710 2014-12-15  Will Newton  <will.newton@linaro.org>
23712         * manual/install.texi: Bump required version of texinfo
23713         to 4.7 from 4.5.
23714         * INSTALL: Regenerated.
23715         * configure.ac: Check for makeinfo version 4.7 and above.
23716         * configure: Regenerated.
23718 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23720         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
23721         PREFIX, string constant to insert between directory and name.
23722         * sysdeps/posix/shm_open.c: Update caller.
23723         * sysdeps/posix/shm_unlink.c: Likewise.
23724         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
23725         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
23726         (SEM_SHM_PREFIX): New macro.
23727         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
23728         [$(have-thread-library) = no].
23729         * nptl/Makefile (libpthread-routines): Add shm-directory.
23730         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
23731         * sysdeps/nptl/shm-directory.h: New file.
23732         * sysdeps/posix/shm-directory.c
23733         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
23734         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23735         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
23736         INTERNAL_SYSCALL.
23737         (__where_is_shmfs): Function removed.
23738         (mountpoint, defaultmount, defaultdir, __namedsem_once):
23739         Variables removed.
23740         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
23741         Use SHM_GET_NAME.
23742         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
23744         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
23745         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
23746         unconditional for use inside libpthread.
23747         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
23749 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23751         * nptl/pthread_getaffinity.c: New file.
23752         * nptl/pthread_setaffinity.c: New file.
23753         * nptl/pthread_getname.c: New file.
23754         * nptl/pthread_setname.c: New file.
23756         * nptl/pthread_create.c (START_THREAD_DEFN)
23757         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
23759 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23760             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23762         * resolv/res_send.c (send_vc): Disable warning resplen may
23763         be used uninitialized.
23765 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23767         * nptl/tst-mutex6.c
23768         (ATTR_NULL): New define checks ATTR against NULL.
23769         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
23770         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
23772 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
23774         [BZ #17581]
23775         * malloc/hooks.c
23776         (mem2mem_check): Revert my previous change.
23777         (malloc_check_get_size): Revert my previous change.
23778         (mem2chunk_check): Revert my previous change.
23780 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23782         * sysdeps/posix/shm-directory.c: New file.
23783         * sysdeps/posix/shm-directory.h: New file.
23784         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
23785         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
23786         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
23787         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
23788         Transmute EPERM to EACCES.
23789         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
23790         from ...
23791         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
23792         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
23794 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23796         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
23797         pointer and cast to uintptr_t.
23798         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
23799         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
23800         Add cast to avoid warning.
23801         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
23803 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23805         * nptl/semaphore.h: Move to ...
23806         * sysdeps/pthread/semaphore.h: ... here.
23807         * Makefile (installed-headers): Change nptl/semaphore.h to
23808         sysdeps/pthread/semaphore.h.
23810 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23812         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
23813         generated error format strings.
23815         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
23816         -Wformat-extra-args warnings for scanf formats.
23817         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
23818         test of zero-length format (duh).
23819         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
23820         corner-case scanf format test.
23821         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
23822         generated fprintf format string.
23823         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
23824         corner-case sprintf format tests.
23825         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
23826         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
23827         -Wformat-extra-args warnings throughout.
23828         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
23829         (CFLAGS-scanf4.c): Likewise.
23830         (CFLAGS-scanf7.c): Likewise.
23831         (CFLAGS-tst-sprintf.c): Likewise.
23832         (CFLAGS-tst-printf.c): Likewise.
23833         (CFLAGS-tst-printfsz.c): Likewise.
23835 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23837         * include/cpio.h: New file.
23838         * include/fmtmsg.h: Likewise.
23840         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
23841         corresponding format argument to size_t.
23842         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
23843         arguments.
23844         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
23845         corresponding format argument to size_t.
23846         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
23847         arguments.
23848         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
23849         corresponding format argument to size_t.
23850         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
23851         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
23852         (CFLAGS-tst-mbswcs2.c): Likewise.
23853         (CFLAGS-tst-mbswcs3.c): Likewise.
23854         (CFLAGS-tst-mbswcs4.c): Likewise.
23855         (CFLAGS-tst-mbswcs5.c): Likewise.
23856         (CFLAGS-tst-trans.c): Likewise.
23858 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23860         * posix/regexbug1.c (main): Use "%s" format with regerror results,
23861         rather than assuming they won't contain any '%'s.
23863 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
23865         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
23866         inhibit_loop_to_libcall to avoid recursive calls.
23867         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
23868         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
23870 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23872         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
23873         prototype.
23875 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23877         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
23878         integer value instead of boolean.
23880 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23882         * malloc/malloc.c: Fix powerof2 check.
23884 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23886         * locale/programs/locfile.h (maybe_swap_uint32):
23887         Remove inline and add unused attribute.
23889 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23891         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23892         Truncating assembler expression to a .long expression.
23894 2014-12-11  Andreas Schwab  <schwab@suse.de>
23896         * elf/rtld.c (struct map_args): Constify str member.
23897         (do_preload): Constify fname argument.
23899 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23901         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
23902         constants definition.
23904 2014-12-11  Andreas Schwab  <schwab@suse.de>
23906         [BZ #16657]
23907         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
23908         FORCE_ELISION instead of DO_ELISION.
23909         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
23910         Remove.
23911         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
23912         Likewise.
23914         * iconvdata/gconv-modules: Remove duplicate entry.
23916 2014-12-11  Will Newton  <will.newton@linaro.org>
23918         Merge gettext 0.19.3 into intl/.
23920         This involves a number of cosmetic changes to comments
23921         and ANSI function definitions and prototypes throughout
23922         all the files. The gettext copyright header is used but
23923         with the date ranges taken from the glibc copy.
23925         * NEWS: Add gettext merge to 2.21.
23926         * intl/bindtextdom.c: Switch to gettext copyright.
23927         Use ANSI definitions and prototypes.
23928         Use gl_* locking primitives rather than __libc_* ones.
23929         Use __builtin_expect rather than __glibc_likely/unlikely.
23930         * intl/dcgettext.c: Switch to gettext copyright.
23931         Use ANSI definitions and prototypes.
23932         * intl/dcigettext.c: Switch to gettext copyright.
23933         Use ANSI definitions and prototypes.
23934         (INTDIV0_RAISES_SIGFPE): New define.
23935         Use gl_* locking primitives rather than __libc_* ones.
23936         Include eval-plural.h instead of plural-eval.c.
23937         Use __builtin_expect rather than __glibc_likely/unlikely.
23938         * intl/dcngettext.c: Switch to gettext copyright.
23939         Use ANSI definitions and prototypes.
23940         * intl/dgettext.c: Likewise.
23941         * intl/dngettext.c: Likewise.
23942         * intl/plural-eval.c: Renamed to...
23943         * intl/eval-plural.h: ...this.
23944         * intl/explodename.c: Switch to gettext copyright.
23945         Use ANSI definitions and prototypes.
23946         (_nl_explode_name): Use strchr instead of __rawmemchr.
23947         * intl/finddomain.c: Switch to gettext copyright.
23948         Use ANSI definitions and prototypes.
23949         Use gl_* locking primitives rather than __libc_* ones.
23950         (_nl_find_domain): Use malloc rather than alloca for
23951         allocation of temporary locale name.
23952         * intl/gettext.c: Switch to gettext copyright.
23953         Use ANSI definitions and prototypes.
23954         * intl/gettextP.h: Switch to gettext copyright.
23955         Use ANSI definitions and prototypes.
23956         Use gl_* locking primitives rather than __libc_* ones.
23957         * intl/gmo.h: Switch to gettext copyright.
23958         (struct sysdep_string): Move struct segment_pair outside of
23959         struct definition.
23960         * intl/hash-string.c: Use ANSI definitions and prototypes.
23961         * intl/hash-string.h: Switch to gettext copyright.
23962         Use ANSI definitions and prototypes.
23963         * intl/l10nflist.c: Switch to gettext copyright.
23964         Use ANSI definitions and prototypes.
23965         (_nl_normalize_codeset): Avoid integer overflow.
23966         * intl/loadinfo.h: Switch to gettext copyright.
23967         Use ANSI definitions and prototypes.
23968         (LIBINTL_DLL_EXPORTED): New define.
23969         (PATH_SEPARATOR): New define.
23970         * intl/loadmsgcat.c: Switch to gettext copyright.
23971         * intl/localealias.c: Switch to gettext copyright.
23972         Use ANSI definitions and prototypes.
23973         (_nl_expand_alias): Use PATH_SEPARATOR.
23974         * intl/ngettext.c: Switch to gettext copyright.
23975         Use ANSI definitions and prototypes.
23976         * intl/plural-exp.c: Likewise.
23977         * intl/plural-exp.h: Switch to gettext copyright.
23978         Use ANSI definitions and prototypes.
23979         (struct expression): Move definition of enum operator outside
23980         of struct definition.
23981         * intl/plural.c: Regenerate.
23982         * intl/plural.y: Switch to gettext copyright.
23983         Use ANSI definitions and prototypes.
23984         Port to bison 3.0.
23985         * intl/textdomain.c: Switch to gettext copyright.
23986         Use ANSI definitions and prototypes.
23987         Use gl_* locking primitives rather than __libc_* ones.
23989 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
23991         * debug/warning-nop.c: Add used atrribute.
23993 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23995         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
23997         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
23998         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
23999         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
24001 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24002             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24004         [BZ #17634]
24005         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
24006         Undefine after defining function.  Define as weak alias of
24007         __wcschr.  Use libc_hidden_weak.
24008         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
24009         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
24010         (libc_hidden_def): Also define __GI___wcschr alias.
24011         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
24012         __wcschr and define as weak alias of __wcschr.
24013         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
24014         __wcschr.
24015         [!WCSCHR] (DEFAULT_WCSCHR): Define.
24016         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
24017         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
24018         libc_hidden_weak.  Do not use libc_hidden_def.
24019         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
24020         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
24021         __GI___wcschr alias.
24022         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
24023         [IS_IN (libc)] (wcschr): Define as macro expanding to
24024         __redirect_wcschr.
24025         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
24026         [IS_IN (libc)] (__wcschr_power6): Likewise.
24027         [IS_IN (libc)] (__wcschr_power7): Likewise.
24028         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
24029         instead of wcschr.
24030         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
24031         __libc_wcschr.
24032         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
24033         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
24034         __wcschr and define as weak alias of __wcschr.  Use
24035         libc_hidden_builtin_def.
24036         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
24037         as weak alias of __wcschr.  Use libc_hidden_weak.
24038         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
24039         wcschr.
24040         * time/era.c (_nl_init_era_entries): Likewise.
24041         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
24042         variable.
24043         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24044         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24046 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24048         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
24049         format for long int variable.
24051 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
24053         [BZ #10672]
24054         * manual/search.texi: (Array Sort Function): Remove claim how to make
24055         qsort stable.
24057 2014-12-10  Andreas Schwab  <schwab@suse.de>
24059         [BZ #12847]
24060         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
24061         user-controlled locks.
24063 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
24065         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
24066         register.
24068 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24070         * configure.ac (--disable-werror): New configure option.
24071         (enable_werror): New AC_SUBST.
24072         * configure: Regenerated.
24073         * config.make.in (enable-werror): New variable.
24074         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
24075         -Wno-error=undef.
24076         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
24077         * manual/install.texi (Configuring and compiling): Document
24078         --disable-werror.
24079         * INSTALL: Regenerated.
24080         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
24081         (CFLAGS-tst-chk2.c): Likewise.
24082         (CFLAGS-tst-chk3.c): Likewise.
24083         (CFLAGS-tst-chk4.cc): Likewise.
24084         (CFLAGS-tst-chk5.cc): Likewise.
24085         (CFLAGS-tst-chk6.cc): Likewise.
24086         (CFLAGS-tst-lfschk1.c): Likewise.
24087         (CFLAGS-tst-lfschk2.c): Likewise.
24088         (CFLAGS-tst-lfschk3.c): Likewise.
24089         (CFLAGS-tst-lfschk4.cc): Likewise.
24090         (CFLAGS-tst-lfschk5.cc): Likewise.
24091         (CFLAGS-tst-lfschk6.cc): Likewise.
24093         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
24094         (main): Disable -Wdeprecated-declarations around calls to
24095         register_printf_function.
24097         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
24098         (do_test): Disable -Wdiv-by-zero around some calls to
24099         fwrite_unlocked and fread_unlocked.
24101         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
24102         (DIAG_POP_NEEDS_COMMENT): Likewise.
24103         (_DIAG_STR1): Likewise.
24104         (_DIAG_STR): Likewise.
24105         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
24106         * stdio-common/bug21.c: Include <libc-internal.h>.
24107         (do_test): Disable -Wformat around call to sscanf.
24108         * stdio-common/scanf14.c: Include <libc-internal.h>.
24109         (main): Disable -Wformat around some calls to scanf functions.
24111 2014-12-09  Torvald Riegel  <triegel@redhat.com>
24113         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
24115 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24117         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
24118         stack variable alignment.
24120 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
24122         [BZ #17682]
24123         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
24124         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
24125         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
24126         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
24127         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
24128         __getrlimit instead of getrlimit.
24129         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
24130         __gettimeofday instead of gettimeofday.
24131         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24132         Likewise.
24133         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24134         Likewise.
24135         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24136         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
24137         Remove variable.
24138         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24139         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24141 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24143         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
24144         for wide-character tests.
24146 2014-12-04  Roland McGrath  <roland@hack.frob.com>
24148         * io/openat64.c: #include <libc-internal.h>
24149         (__openat64): Prototypify.  Use ignore_value on MODE.
24150         * io/openat.c: Likewise.
24151         * misc/reboot.c: #include <libc-internal.h>
24152         (reboot): Prototypify.  Use ignore_value on HOWTO.
24153         * misc/ptrace.c: #include <libc-internal.h>
24154         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
24156 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
24158         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
24159         XPG4, UNIX98 and XOPEN2K.
24160         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
24161         Remove variable.
24162         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24164 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24166         * libio/fileops.c: Use ISO C style for function definitions.
24167         * libio/iofopen.c: Likewise.
24168         * libio/wfileops.c: Likewise.
24170         [BZ #17653]
24171         * libio/fileops.c (_IO_new_file_underflow): Unset cached
24172         offset on EOF.
24173         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
24174         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
24175         (fgets_func): Function pointer to fgets and fgetws.
24176         (do_ftell_test): Add test to verify ftell value after read
24177         EOF.
24178         (do_test): Set fgets_func.
24180         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
24181         O_TRUNC flag for w and w+ modes.
24182         (do_rewind_test): Likewise.
24183         (do_ftell_test): Likewise.
24184         (do_write_test): Likewise.
24186         [BZ #17647]
24187         * libio/fileops.c (do_ftell): Seek only when there are
24188         unflushed writes.
24189         * libio/wfileops.c (do_ftell_wide): Likewise.
24190         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
24191         test case.
24192         (do_one_test): Call it.
24194 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
24196         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
24197         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
24198         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
24199         Remove variable.
24200         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24201         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24202         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24204 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24206         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
24207         Remove variable.
24208         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24210         [BZ #17668]
24211         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
24212         as weak alias of __getifaddrs.  Use libc_hidden_weak.
24213         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24214         __freeifaddrs.  Use libc_hidden_weak.
24215         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
24216         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
24217         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24218         __freeifaddrs.  Use libc_hidden_weak.
24219         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
24220         __getifaddrs and define as weak alias of __getifaddrs.  Use
24221         libc_hidden_weak.
24222         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24223         __freeifaddrs.  Use libc_hidden_weak.
24224         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
24225         Remove variable.
24226         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24227         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24229 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
24231         [BZ #17601]
24232         * sysdeps/mips/start.S (__start): Use indirect jump to call
24233         __libc_start_main.
24235 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24237         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
24239         * nptl/tst-mutex1.c: Include <stdbool.h>.
24240         [!ATTR] (ATTR_NULL): New macro.
24241         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
24242         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
24243         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
24245         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
24246         to char *.
24248         [BZ #17665]
24249         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
24250         Change conditional to [__USE_MISC].
24252         [BZ #17664]
24253         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
24254         fgets_unlocked.
24255         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
24256         __fgets_unlocked.
24257         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
24258         fgets_unlocked.
24259         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
24260         Remove variable.
24261         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24262         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24263         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24264         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24265         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24266         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24267         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24268         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24269         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24271         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
24273 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24275         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24276         Remove strpbrk objects.
24277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24278         (__libc_ifunc_impl_list): Remove strpbrk implementation.
24279         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
24280         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
24281         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
24282         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
24284         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24285         Remove strcspn objects.
24286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24287         (__libc_ifunc_impl_list): Remove strcspn implementation.
24288         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
24289         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
24290         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
24291         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
24293         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24294         Remove strspn objetcs.
24295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24296         (__libc_ifunc_impl_list): Remove strspn implementation.
24297         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
24298         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24299         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
24300         * sysdeps/powerpc/powerpc64/strspn.S: New file.
24302 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
24304         [BZ #17581]
24305         * malloc/hooks.c
24306         (mem2mem_check): Add a terminator to the chain of checking blocks.
24307         (malloc_check_get_size): Use it here.
24308         (mem2chunk_check): Ditto.
24310 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24312         * sysdeps/powerpc/powerpc64/strtok.S: New file.
24313         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
24315 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
24317         * bits/ioctl-types.h: Indent preprocessor directives correctly.
24319         * nptl/nptl-init.c: Include libc-internal.h.
24320         (__pthread_initialize_minimal_internal): Use ROUND_UP.
24322         * elf/ldconfig.c (search_dir): Expand comment.
24324 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
24326         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
24327         variable.
24328         (linknamespace-symlist-stdlibs-tests): Likewise.
24329         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
24330         instead of $(objpfx)symlist-stdlibs.
24331         (linknamespace-libs-isoc): New variable.
24332         (linknamespace-libs): Use $(linknamespace-libs-isoc).
24333         (linknamespace-libs-ISO): New variable.
24334         (linknamespace-libs-ISO99): Likewise.
24335         (linknamespace-libs-ISO11): Likewise.
24336         (linknamespace-libs-XPG3): Likewise.
24337         (linknamespace-libs-XPG4): Likewise.
24338         (linknamespace-libs-POSIX): Likewise.
24339         (linknamespace-libs-UNIX98): Likewise.
24340         (linknamespace-libs-XOPEN2K): Likewise.
24341         (linknamespace-libs-POSIX2008): Likewise.
24342         (linknamespace-libs-XOPEN2K8): Likewise.
24343         ($(objpfx)symlist-stdlibs): Replace by
24344         $(linknamespace-symlist-stdlibs-tests).  Use
24345         $(linknamespace-libs-$*) as set of libraries.
24346         ($(linknamespace-header-tests)): Update dependencies.  Use
24347         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
24348         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
24349         * conform/linknamespace.pl: Remove comment about considering
24350         definitions of symbols from irrelevant libraries.
24352 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
24354         [BZ #13862]
24355         * elf/dl-tls.c: Include <atomic.h>.
24356         (oom): Remove #ifdef SHARED/#endif.
24357         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
24358         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
24359         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
24360         big enough.
24361         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
24362         * nptl/Makefile (tests): Add tst-stack4.
24363         (modules-names): Add tst-stack4mod.
24364         ($(objpfx)tst-stack4): New.
24365         (tst-stack4mod.sos): Likewise.
24366         ($(objpfx)tst-stack4.out): Likewise.
24367         ($(tst-stack4mod.sos)): Likewise.
24368         (clean): Likewise.
24369         * nptl/tst-stack4.c: New file.
24370         * nptl/tst-stack4mod.c: Likewise.
24372 2014-11-27  J. Brown  <jb999@gmx.de>
24374         * sysdeps/x86/bits/string.h: Add recent CPUs.
24376 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
24378         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
24379         sigblock.
24381         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
24382         feof.
24384         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
24385         variable.
24387 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
24389         * nscd/connections.c: Include libc-internal.h because of macro
24390         usage ignore_value.
24392 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24394         * string/bits/string3.h (__warn_memset_zero_len): Don't
24395         declare for gcc newer than 5.0.
24396         (memset): Don't test for zero-length __LEN for gcc newer than
24397         5.0.
24399 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
24401         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
24402         size_t for %zu format.
24404         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
24405         difference, not %ju.
24407 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24409         * include/libc-internal.h (ignore_value): New macro.
24410         * nscd/connections.c (restart): Wrap calls to setuid and setgid
24411         with ignore_value.
24413         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
24414         definition.
24416         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
24417         pthread_cleanup_push to void *.
24419         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
24420         Undefine.
24422         [BZ #16619]
24423         [BZ #16740]
24424         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
24425         instead of 1L << 52.
24427         * libio/bug-rewind.c (do_test): Check fwscanf return values.
24428         * libio/bug-rewind2.c (do_test): Likewise.
24430         * debug/test-stpcpy_chk-ifunc.c: Remove file.
24431         * debug/test-strcpy_chk-ifunc.c: Likewise.
24432         * wcsmbs/test-wcschr-ifunc.c: Likewise.
24433         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24434         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24435         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24436         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24437         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24438         * Rules [$(multi-arch) = no] (tests): Do not filter out
24439         $(tests-ifunc).
24440         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
24441         * debug/Makefile (tests-ifunc): Remove variable.
24442         (tests): Do not add $(tests-ifunc).
24443         * wcsmbs/Makefile (tests-ifunc): Remove variable.
24444         (tests): Do not add $(tests-ifunc).
24445         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
24446         [TEST_IFUNC]: Remove conditionals.
24447         * string/test-string.h (TEST_IFUNC): Remove macro.
24448         [TEST_IFUNC]: Remove conditionals.
24450         * string/test-strchr.c [!WIDE] (L): New macro.
24451         [WIDE] (L): Likewise.
24452         (check1): Use CHAR instead of char.  Use L on string and character
24453         constants.
24455 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
24457         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
24458         tests.
24459         * sysdeps/powerpc/bits/atomic.h
24460         (__arch_atomic_exchange_and_add_32_acq): Add definition.
24461         (__arch_atomic_exchange_and_add_32_rel): Likewise.
24462         (atomic_exchange_and_add_acq): Likewise.
24463         (atomic_exchange_and_add_rel): Likewise.
24464         * sysdeps/powerpc/powerpc32/bits/atomic.h
24465         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24466         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24467         * sysdeps/powerpc/powerpc64/bits/atomic.h
24468         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24469         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24471 2014-11-26  Torvald Riegel  <triegel@redhat.com>
24473         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
24474         Change synchronization of __sched_fifo_min_prio and
24475         __sched_fifo_max_prio.
24476         * nptl/pthread_mutexattr_getprioceiling.c
24477         (pthread_mutexattr_getprioceiling): Likewise.
24478         * nptl/pthread_mutexattr_setprioceiling.c
24479         (pthread_mutexattr_setprioceiling): Likewise.
24480         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24481         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
24482         Likewise.
24484 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24486         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
24487         void.
24489 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24491         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
24492         third argument const.
24494 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
24496         fnmatch: work around GCC compiler warning bug with uninit var
24497         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
24498         This works around a bug with x86-64 GCC 4.9.2 and earlier
24499         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
24500         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
24501         used uninitialized in this function [-Wmaybe-uninitialized]".
24503 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24505         * posix/bug-regex31.c (main): Return RES not 0.
24507 2014-11-25  Anton Blanchard <anton@samba.org>
24509         * sysdeps/powerpc/bits/atomic.h
24510         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
24512 2014-11-24  Sterling Augustine  <saugustine@google.com>
24514         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
24516 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
24518         [BZ #17608]
24519         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
24521 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
24523         [BZ #17633]
24524         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
24525         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
24526         variable.
24527         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24528         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24530 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24532         * string/strncpy.c (strncpy): Improve performance by using memset.
24534 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24536         * string/strcpy.c (strcpy):
24537         Improve performance by using strlen and memcpy.
24539 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
24541         * string/strcoll_l.c (get_next_seq): __always_inline.
24542         * string/strcoll_l.c (do_compare): __always_inline.
24544 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24546         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
24547         defined.
24548         * include/mqueue.h: Likewise.
24549         * include/stdlib.h: Likewise.
24551         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
24552         (get_null_defines): Adjust.
24553         * sunrpc/Makefile: Adjust comment.
24554         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
24555         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
24556         (CFLAGS-interp.c): Likewise.
24557         (CFLAGS-ldconfig.c): Likewise.
24558         (CPPFLAGS-.os): Likewise.
24559         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24560         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24561         * extra-modules.mk (extra-modules.mk): Likewise.
24562         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
24563         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
24564         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
24565         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
24566         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
24567         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
24568         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
24569         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
24570         * iconvdata/Makefile (CPPFLAGS): Likewise.
24571         (cpp-srcs-left): Add libof for all iconvdata routines.
24572         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
24573         * include/assert.h: Likewise.
24574         * include/ctype.h: Likewise.
24575         * include/errno.h: Likewise.
24576         * include/libc-symbols.h: Likewise.
24577         * include/math.h: Likewise.
24578         * include/netdb.h: Likewise.
24579         * include/resolv.h: Likewise.
24580         * include/stdio.h: Likewise.
24581         * include/stdlib.h: Likewise.
24582         * include/string.h: Likewise.
24583         * include/sys/stat.h: Likewise.
24584         * include/wctype.h: Likewise.
24585         * intl/l10nflist.c: Likewise.
24586         * libidn/idn-stub.c: Likewise.
24587         * libio/libioP.h: Likewise.
24588         * nptl/libc_multiple_threads.c: Likewise.
24589         * nptl/pthreadP.h: Likewise.
24590         * posix/regex_internal.h: Likewise.
24591         * resolv/res_hconf.c: Likewise.
24592         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
24593         * sysdeps/arm/memmove.S: Likewise.
24594         * sysdeps/arm/sysdep.h: Likewise.
24595         * sysdeps/generic/_itoa.h: Likewise.
24596         * sysdeps/generic/symbol-hacks.h: Likewise.
24597         * sysdeps/gnu/errlist.awk: Likewise.
24598         * sysdeps/gnu/errlist.c: Likewise.
24599         * sysdeps/i386/i586/memcpy.S: Likewise.
24600         * sysdeps/i386/i586/memset.S: Likewise.
24601         * sysdeps/i386/i686/memcpy.S: Likewise.
24602         * sysdeps/i386/i686/memmove.S: Likewise.
24603         * sysdeps/i386/i686/mempcpy.S: Likewise.
24604         * sysdeps/i386/i686/memset.S: Likewise.
24605         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24606         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24607         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
24608         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
24609         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24610         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24611         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
24612         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24613         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24614         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24615         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24616         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24617         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24618         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24619         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24620         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24621         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
24622         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
24623         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
24624         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24625         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24626         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24627         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24628         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24629         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24630         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24631         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
24632         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24633         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
24634         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24635         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24636         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24637         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24638         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24639         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24640         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24641         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24642         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24643         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24644         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24645         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24646         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24647         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24648         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24649         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24650         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24651         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
24652         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
24653         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24654         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24655         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24656         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
24657         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
24658         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24659         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24660         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
24661         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24662         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
24663         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
24664         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24665         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24666         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24667         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
24668         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24669         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24670         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
24671         * sysdeps/posix/closedir.c: Likewise.
24672         * sysdeps/posix/opendir.c: Likewise.
24673         * sysdeps/posix/readdir.c: Likewise.
24674         * sysdeps/posix/rewinddir.c: Likewise.
24675         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
24676         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
24677         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24678         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24679         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24680         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
24681         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
24682         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
24683         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
24684         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
24685         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
24686         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
24687         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
24688         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
24689         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
24690         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
24691         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
24692         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
24693         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
24694         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
24695         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
24696         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
24697         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
24698         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
24699         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
24700         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
24701         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
24702         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
24703         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
24704         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
24705         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
24706         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
24707         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
24708         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
24709         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
24710         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
24711         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24712         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24713         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
24714         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
24715         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
24716         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
24717         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
24718         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24719         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24720         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
24721         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
24722         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
24723         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
24724         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
24725         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
24726         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
24727         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24728         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
24729         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
24730         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
24731         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
24732         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
24733         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
24734         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
24735         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24736         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
24737         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24738         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
24739         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
24740         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24741         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
24742         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
24743         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
24744         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
24745         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24746         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
24747         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
24748         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
24749         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
24750         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
24751         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
24752         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
24753         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24754         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
24755         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
24756         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24757         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
24758         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
24759         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24760         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
24761         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
24762         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24763         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24764         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24765         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
24766         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
24767         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
24768         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24769         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24770         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
24771         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24772         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24773         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
24774         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
24775         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24776         * sysdeps/unix/alpha/sysdep.S: Likewise.
24777         * sysdeps/unix/alpha/sysdep.h: Likewise.
24778         * sysdeps/unix/make-syscalls.sh: Likewise.
24779         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24780         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24781         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24782         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
24783         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24784         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24785         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
24786         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24787         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24788         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
24789         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24790         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24791         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24792         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24793         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24794         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24795         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24796         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24797         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24798         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24799         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24800         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24801         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24802         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24803         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24804         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24805         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24808         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
24809         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24810         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24811         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24812         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24813         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24814         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24815         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24816         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24817         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24818         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24819         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24820         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24821         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24822         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24823         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24824         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24825         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24826         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24827         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24828         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24829         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24830         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24831         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24832         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24833         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
24834         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24835         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24836         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24837         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
24838         * sysdeps/x86_64/memcpy.S: Likewise.
24839         * sysdeps/x86_64/memmove.c: Likewise.
24840         * sysdeps/x86_64/memset.S: Likewise.
24841         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
24842         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24843         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24844         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
24845         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
24846         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24847         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24848         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24849         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24850         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24851         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24852         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24853         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
24854         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24855         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24856         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
24857         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24858         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24859         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24860         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24861         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
24862         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24863         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24864         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24865         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24866         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24867         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24868         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
24869         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24870         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24871         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
24872         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24873         * sysdeps/x86_64/strcmp.S: Likewise.
24875         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
24877         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
24878         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
24879         * elf/rtld-Rules: Likewise.
24880         * elf/setup-vdso.h: Likewise.
24881         * include/assert.h: Likewise.
24882         * include/bits/stdlib-float.h: Likewise.
24883         * include/errno.h: Likewise.
24884         * include/sys/stat.h: Likewise.
24885         * include/unistd.h: Likewise.
24886         * sysdeps/aarch64/setjmp.S: Likewise.
24887         * sysdeps/alpha/setjmp.S: Likewise.
24888         * sysdeps/arm/__longjmp.S: Likewise.
24889         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
24890         * sysdeps/arm/setjmp.S: Likewise.
24891         * sysdeps/arm/sysdep.h: Likewise.
24892         * sysdeps/generic/_itoa.h: Likewise.
24893         * sysdeps/generic/dl-sysdep.h: Likewise.
24894         * sysdeps/generic/ldsodefs.h: Likewise.
24895         * sysdeps/i386/dl-tls.h: Likewise.
24896         * sysdeps/i386/setjmp.S: Likewise.
24897         * sysdeps/m68k/setjmp.c: Likewise.
24898         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
24899         * sysdeps/mach/hurd/opendir.c: Likewise.
24900         * sysdeps/posix/getcwd.c: Likewise.
24901         * sysdeps/posix/opendir.c: Likewise.
24902         * sysdeps/posix/profil.c: Likewise.
24903         * sysdeps/powerpc/dl-procinfo.h: Likewise.
24904         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24905         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24906         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24907         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24908         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
24909         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24910         * sysdeps/s390/dl-tls.h: Likewise.
24911         * sysdeps/s390/s390-32/setjmp.S: Likewise.
24912         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24913         * sysdeps/sh/sh3/setjmp.S: Likewise.
24914         * sysdeps/sh/sh4/setjmp.S: Likewise.
24915         * sysdeps/unix/alpha/sysdep.h: Likewise.
24916         * sysdeps/unix/arm/sysdep.S: Likewise.
24917         * sysdeps/unix/i386/sysdep.S: Likewise.
24918         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24919         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24920         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24921         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24922         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24923         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24924         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24925         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24926         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24927         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24928         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24929         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24930         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24933         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24934         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24935         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24936         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24937         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24938         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24939         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24940         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24941         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24942         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24943         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24944         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24945         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24946         * sysdeps/x86_64/setjmp.S: Likewise.
24948         * include/math.h: Use IS_IN instead of IS_IN_libm.
24949         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
24950         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24951         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24952         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
24953         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24954         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24955         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24956         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24957         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24958         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24959         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
24960         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
24961         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
24962         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
24963         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
24964         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
24965         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24966         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
24967         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24968         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
24969         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
24970         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
24971         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
24972         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
24973         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
24974         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
24975         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
24976         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
24977         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
24978         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
24979         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
24980         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24981         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24983         Likewise.
24984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
24985         Likewise.
24986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
24987         Likewise.
24988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
24989         Likewise.
24990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
24991         Likewise.
24992         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24993         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
24994         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24995         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24996         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24997         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
24999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
25000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
25001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
25002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
25003         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
25004         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
25005         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25006         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25007         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25008         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25009         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25010         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25011         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25012         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
25013         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
25014         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
25015         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
25016         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
25017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25018         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
25020         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
25021         * nptl/pthreadP.h: Likewise.
25022         * nptl_db/structs.def: Likewise.
25023         * sysdeps/arm/sysdep.h: Likewise.
25024         * sysdeps/nptl/bits/libc-lock.h: Likewise.
25025         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25026         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
25027         * sysdeps/unix/alpha/sysdep.h: Likewise.
25028         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25029         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25030         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25031         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25032         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25033         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25034         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25035         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25036         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25037         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25038         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25039         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25040         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25041         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25044         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25045         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25046         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25047         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25048         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25049         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25050         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25051         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25052         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
25053         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25055         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
25056         * nptl/pthreadP.h: Likewise.
25057         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25058         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25059         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25060         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25061         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25062         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25063         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25064         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25065         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25066         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25067         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25068         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25070         Likewise.
25071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25072         Likewise.
25073         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25074         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25075         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25076         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25077         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25078         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25079         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25080         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25082         * dlfcn/dladdr.c: Use IS_IN.
25083         * dlfcn/dladdr1.c: Likewise.
25084         * dlfcn/dlclose.c: Likewise.
25085         * dlfcn/dlerror.c: Likewise.
25086         * dlfcn/dlinfo.c: Likewise.
25087         * dlfcn/dlmopen.c: Likewise.
25088         * dlfcn/dlopen.c: Likewise.
25089         * dlfcn/dlsym.c: Likewise.
25090         * dlfcn/dlvsym.c: Likewise.
25092         * include/ifaddrs.h: Use IS_IN.
25093         * inet/check_pf.c: Likewise.
25094         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25095         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
25097         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
25098         IS_IN_ldconfig.
25099         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
25100         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
25102         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
25103         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
25104         IS_IN (libc).
25106         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
25108         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
25109         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25110         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25111         * include/libc-symbols.h (IS_IN_LIB): New macro.
25112         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
25113         * include/netdb.h: Likewise.
25114         * include/stap-probe.h: Remove all uses of IN_LIB.
25116         * Makeconfig (module-cppflags-real): Define MODULE_NAME
25117         instead of IN_MODULE.
25118         * include/libc-symbols.h (IN_MODULE): Define using
25119         MODULE_NAME.
25120         (PASTE_NAME, PASTE_NAME1): New macros.
25121         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
25122         of IN_LIB.
25123         (STAP_PROBE_ASM): Likewise.
25125 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25127         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
25128         __mach_init in dlopened libc.
25130 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
25132         * sysdeps/arm/preconfigure.ac: Delete EABI check.
25133         * sysdeps/arm/preconfigure: Regenerate.
25135 2014-11-21  Roland McGrath  <roland@hack.frob.com>
25137         * nptl/pthread_create.c (__pthread_create_2_1): Set
25138         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
25139         when copying values from IATTR into PD.
25141 2014-11-21  Will Newton  <will.newton@linaro.org>
25142             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
25144         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
25145         Refactor inline-asm.  Also add comment.
25147         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
25148         ElfW macro instead of hardcoded Elf64 types.
25149         (la_aarch64_gnu_pltenter): Likewise.
25150         * sysdeps/aarch64/dl-machine.h
25151         (elf_machine_runtime_setup): Use ElfW(Addr).
25153         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
25154         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
25155         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
25156         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
25157         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
25158         (R_AARCH64_TLS_DTPMOD64): Rename to ..
25159         (R_AARCH64_TLS_DTPMOD): This.
25160         (R_AARCH64_TLS_DTPREL64): Rename to ...
25161         (R_AARCH64_TLS_DTPREL): This.
25162         (R_AARCH64_TLS_TPREL64): Rename to ...
25163         (R_AARCH64_TLS_TPREL): This.
25164         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
25165         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
25166         R_AARCH64_TLS_TPREL64.
25167         (elf_machine_rela): Likewise.
25169 2014-11-21  Torvald Riegel  <triegel@redhat.com>
25171         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
25172         by setting it to 0.  64b atomics are not supported currently.
25174 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25176         [BZ #16469]
25177         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
25178         search domain names.
25180 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25182         [BZ #16469]
25183         * NEWS: Update.
25184         * resolv/res_query.c (__libc_res_nquerydomain): Retain
25185         trailing dot.
25186         * posix/tst-getaddrinfo5.c: New.
25187         * posix/Makefile (tests): Add it.
25189 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25191         [BZ #14498]
25192         * NEWS: Fixed.
25193         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
25194         after parsing line but before break_if_match.
25195         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
25196         if there is a protocol mismatch.
25198 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
25200         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
25201         because the potential race is on the user-supplied stream.
25203 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25205         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
25206         string literal if not passed a buffer.
25207         * manual/job.texi (ctermid): Update reasoning, note deviation
25208         from posix, suggest mtasurace when not passed a buffer, for
25209         future non-preliminary safety notes.
25211 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25213         * manual/users.texi (cuserid): Fix MT-Safety note for the case
25214         of not passing it a buffer.
25215         Reported by Peng Haitao.
25217 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25219         * manual/Makefile ($(objpfx)stamp-summary): Require
25220         check-safety.sh to pass.
25221         * manual/check-safety.sh: Wish for verification that every
25222         @deftypefn and @deftypefun is followed by a @safety remark.
25224 2014-11-20  Roland McGrath  <roland@hack.frob.com>
25226         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
25228         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
25229         PTHREAD_CANCEL_ASYNCHRONOUS.
25230         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
25231         send SIGCANCEL.
25233         * nptl/default-sched.h: New file.
25234         * sysdeps/unix/sysv/linux/default-sched.h: New file.
25235         * nptl/pthread_create.c: Include it.
25236         (__pthread_create_2_1): Use collect_default_sched instead of making
25237         Linux syscalls here directly.
25239 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25241         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
25242         __pthread_once): Use C11 atomics.
25244 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25246         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
25248 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25250         * include/atomic.h (__atomic_link_error, __atomic_check_size,
25251         atomic_thread_fence_acquire, atomic_thread_fence_release,
25252         atomic_thread_fence_seq_cst, atomic_load_relaxed,
25253         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
25254         atomic_compare_exchange_weak_relaxed,
25255         atomic_compare_exchange_weak_acquire,
25256         atomic_compare_exchange_weak_release,
25257         atomic_exchange_acquire, atomic_exchange_release,
25258         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
25259         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
25260         atomic_fetch_and_acquire,
25261         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
25263 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25265         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
25266         USE_ATOMIC_COMPILER_BUILTINS): Define.
25267         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
25268         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25269         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
25270         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25271         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
25272         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25273         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
25274         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25275         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
25276         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25277         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
25278         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25279         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
25280         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25281         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
25282         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25283         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25284         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25285         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25286         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25287         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
25288         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25289         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25290         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25291         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
25292         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25293         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25294         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25295         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
25296         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25297         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
25298         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25299         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
25300         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25301         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25302         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25303         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
25304         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25305         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
25306         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25308 2014-11-19  Roland McGrath  <roland@hack.frob.com>
25310         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
25311         the sched_priority value here.  It was already checked when the user
25312         called pthread_attr_setschedparam.
25314         * nptl/tst-bad-schedattr.c: New file.
25315         * nptl/Makefile (tests): Add it.
25317 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
25318             Florian Weimer  <fweimer@redhat.com>
25319             Joseph Myers  <joseph@codesourcery.com>
25320             Adam Conrad  <adconrad@0c3.net>
25321             Andreas Schwab  <schwab@suse.de>
25322             Brooks  <bmoses@google.com>
25324         [BZ #17625]
25325         * wordexp-test.c (__dso_handle): Add prototype.
25326         (__register_atfork): Likewise.
25327         (__app_register_atfork): New function.
25328         (registered_forks): New global.
25329         (register_fork): New function.
25330         (test_case): Add 3 new tests for WRDE_CMDSUB.
25331         (main): Call __app_register_atfork.
25332         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
25333         fork count is non-zero fail the test.
25334         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
25335         is set.
25336         (parse_dollars): Remove check for WRDE_NOCMD.
25337         (parse_dquote): Likewise.
25339 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25341         * Makeconfig (built-modules): List non-library modules to be
25342         built.
25343         (module-cppflags): Include libc-modules.h for
25344         everything except shlib-versions.v.i.
25345         (CPPFLAGS): Use it.
25346         (before-compile): Add libc-modules.h.
25347         ($(common-objpfx)libc-modules.h,
25348         $(common-objpfx)libc-modules.stmp): New targets.
25349         (common-generated): Add libc-modules.h and libc-modules.stmp.
25350         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
25351         * include/libc-symbols.h: Don't include libc-modules.h.
25352         * include/libc-modules.h: Remove file.
25353         * scripts/gen-libc-modules.awk: New script to generate
25354         libc-modules.h.
25355         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
25356         Depend on libc-modules.stmp.
25358         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
25360         * Makeconfig (in-module): Get value of libof set for the
25361         translation unit.
25362         (CPPFLAGS): Use $(in-module).
25363         * Makerules: Don't suffix routine names for nonlib.
25364         * include/libc-modules.h: New file.
25365         * include/libc-symbols.h: Include libc-modules.h
25366         (IS_IN): New macro to replace IS_IN_* macros.
25367         * elf/Makefile: Set libof-* for each routine.
25368         * elf/rtld-Rules: Likewise.
25369         * extra-modules.mk: Likewise.
25370         * iconv/Makefile: Likewise.
25371         * iconvdata/Makefile: Likewise.
25372         * locale/Makefile: Likewise.
25373         * malloc/Makefile: Likewise.
25374         * nss/Makefile: Likewise.
25375         * sysdeps/gnu/Makefile: Likewise.
25376         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
25377         * sysdeps/unix/sysv/linux/Makefile: Likewise.
25378         * sysdeps/s390/s390-64/Makefile: Likewise.
25379         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
25380         CPPFLAGS for nscd instead of nonlib.
25382 2014-11-18  Roland McGrath  <roland@hack.frob.com>
25384         * nptl/createthread.c: New file.
25386         * nptl/createthread.c: Moved ...
25387         * sysdeps/unix/sysv/linux/createthread.c: ... here.
25389         * nptl/createthread.c: Add proper top-line comment.
25390         (do_clone): Folded into ...
25391         (create_thread): ... here.  Take new arguments STOPPED_START and
25392         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
25393         increment __nptl_threads, do event-reporting logic, do
25394         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
25395         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
25396         resource cleanup if sched_setaffinity or sched_setscheduler fails,
25397         just send SIGCANCEL.
25398         * nptl/pthread_create.c: Forward-declare create_thread before
25399         including createthread.c.
25400         (start_thread): Use new macro START_THREAD_DEFN to replace defining
25401         declaration, and new macro START_THREAD_SELF to replace argument.
25402         Remove return statement.
25403         (report_thread_creation): New function.
25404         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
25405         synchronization logic, and __nptl_nthreads increment here, around
25406         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
25407         PD->parent_cancelhandling here, before create_thread.  When
25408         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
25409         __deallocate_stack, and ENOMEM translation here.
25411 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
25413         [BZ #17616]
25414         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
25415         (mptwo): Rename to __mptwo.
25416         (__inv): Use __mptwo instead of mptwo.
25417         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
25418         (mptwo): Rename to __mptwo.
25419         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
25420         of mpone and __mptwo instead of mptwo.
25421         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
25422         instead of mpone.
25423         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25424         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
25425         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
25426         of mpone and __mptwo instead of mptwo.
25427         (__mpranred): Use __mpone instead of mpone.
25428         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
25429         variable.
25430         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25431         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25432         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25433         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25434         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25435         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25436         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25437         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25438         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25439         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25440         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25441         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25442         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25443         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25444         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25445         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25446         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25447         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25448         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25450 2014-11-18  Tom de Vries  <tom@codesoucery.com>
25452         * manual/signal.texi (Primitives Interrupted by Signals): In section,
25453         replace BSD Handler xref with BSD Signal Handling.
25455 2014-11-17  Richard Henderson  <rth@redhat.com>
25457         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
25458         (_FP_PACK_RAW_2): Remove.
25459         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
25460         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
25461         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
25462         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
25463         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
25464         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
25465         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
25466         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
25467         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
25468         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
25469         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
25470         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
25471         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
25472         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
25473         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
25474         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
25476 2014-11-14  Roland McGrath  <roland@hack.frob.com>
25478         * signal/signal.h [__USE_MISC]
25479         (struct sigvec): Remove type.
25480         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
25481         (sigvec): Remove declaration.
25482         * sysdeps/posix/sigvec.c: Moved ...
25483         * signal/sigvec.c: ... here, replacing old file.
25484         (struct sigvec): New type, copied from old signal.h definition.
25485         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
25486         (__sigvec): Convert definition to prototype.
25487         (sigvec): Replace weak_alias with compat_symbol.
25488         * signal/Versions (libc: GLIBC_2.21): New version set.
25489         * include/signal.h: Remove __sigvec declaration.
25490         * sysdeps/unix/bsd/sigvec.c: Remove file.
25491         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
25492         * manual/signal.texi (BSD Handler): Remove subsection.
25493         Move siginterrupt up to ...
25494         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
25495         (Blocking in BSD): Fold subsection into its parent.
25496         * NEWS: Mention sigvec removal.
25498 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25500         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
25501         (DLA_FMS): Make definition conditional only on [__FMA4__].
25502         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
25503         definition.
25505         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
25506         Make definition conditional only on [PROF].
25507         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
25508         definition.
25509         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
25510         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
25512         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
25513         !__GNUC__].
25514         * include/signal.h (__sigpause): Move declaration above call to
25515         libc_hidden_proto.
25516         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
25517         variable.
25518         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25519         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25521 2014-11-14  David S. Miller  <davem@davemloft.net>
25523         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
25524         Define before including <string/memcpy.c> and <string/mempcpy.c>.
25526 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25528         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
25529         * configure: Regenerated.
25530         * manual/install.texi (Tools for Compilation): Document a
25531         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
25532         compiler verified to work.
25533         * INSTALL: Regenerated.
25535         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
25536         redeclare with asm name.
25537         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
25538         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
25539         including <string.h>.
25540         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25541         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
25542         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25543         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
25544         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25545         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25546         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25548 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
25550         * stdlib/strtol.c (__strtol): Use prototype definition.
25552         [BZ #17594]
25553         * stdlib/strtol.c (SYM__): New macro.
25554         (SYM__1): Likewise.
25555         (__strtol): Likewise.
25556         (strtol): Rename to __strtol and define as weak alias of
25557         __strtol.  Use libc_hidden_weak.
25559 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25561         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
25562         Use numbered labels in inline assembly.
25564 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25566         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
25567         Add setjmp LIBC_PROBE.
25568         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
25569         Likewise.
25570         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
25571         Add longjmp, longjmp_target LIBC_PROBE.
25572         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
25573         Likewise.
25575 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25577         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25578         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
25579         to get rid of unused variable warning.
25581 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25583         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
25584         Check for unwind_backtrace ==  NULL only in SHARED case.
25585         (__backchain_backtrace): Compile only in SHARED case.
25586         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
25587         Likewise.
25588         (__backchain_backtrace): Declare as static.
25590 2014-11-12  Roland McGrath  <roland@hack.frob.com>
25592         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
25593         (__libc_multiple_threads_ptr): Variable moved ...
25594         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
25596 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
25598         * conform/GlibcConform.pm: New file.
25599         * conform/conformtest.pl: Use GlibcConform module.
25600         * conform/linknamespace.pl: New file.
25601         * conform/list-header-symbols.pl: Likewise.
25602         * conform/Makefile (linknamespace-symlists-base): New variable.
25603         (linknamespace-symlists-tests): Likewise.
25604         (linknamespace-header-base): Likewise.
25605         (linknamespace-header-tests): Likewise.
25606         (tests-special): Add new tests.
25607         ($(linknamespace-symlists-tests)): New rule.
25608         (linknamespace-libs): New variable.
25609         ($(objpfx)symlist-stdlibs): New rule.
25610         ($(linknamespace-header-tests)): Likewise.
25611         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
25612         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
25613         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
25614         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
25615         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
25616         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
25617         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
25618         (test-xfail-ISO/math.h/linknamespace): Likewise.
25619         (test-xfail-ISO/signal.h/linknamespace): Likewise.
25620         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
25621         (test-xfail-ISO/time.h/linknamespace): Likewise.
25622         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25623         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
25624         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25625         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25626         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25627         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25628         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25629         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25630         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25631         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25632         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25633         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25634         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25635         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
25636         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
25637         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25638         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
25639         (test-xfail-XPG3/search.h/linknamespace): Likewise.
25640         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
25641         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25642         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
25643         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25644         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25645         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
25646         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25647         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25648         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
25649         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
25650         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25651         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
25652         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25653         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25654         (test-xfail-XPG4/search.h/linknamespace): Likewise.
25655         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25656         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
25657         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
25658         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
25659         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
25660         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25661         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
25662         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25663         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
25664         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25665         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25666         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25667         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
25668         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
25669         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25670         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25671         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
25672         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25673         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25674         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
25675         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25676         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25677         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25678         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25679         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25680         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25681         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25682         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25683         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25684         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
25685         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25686         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25687         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25688         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
25689         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25690         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25691         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
25692         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25693         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25694         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25695         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25696         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25697         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25698         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
25699         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
25700         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25701         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
25702         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25703         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
25704         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25705         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25706         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25707         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
25708         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25709         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25710         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25711         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
25712         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
25713         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
25714         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25715         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25716         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25717         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25718         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
25719         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
25720         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25721         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25722         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25723         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25724         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25725         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25726         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25727         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25728         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25729         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25730         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
25731         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25732         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25733         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
25734         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25735         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25736         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25737         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25738         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25739         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25740         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25741         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25742         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25743         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25744         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25745         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25746         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25747         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25748         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
25749         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25750         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25751         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25752         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25753         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25754         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
25755         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25756         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25757         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25758         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25759         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25760         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25761         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25762         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25763         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25764         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25765         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25766         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25767         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25768         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
25769         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25770         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25771         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25773         [BZ #17589]
25774         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
25775         of fgets_unlocked.
25777         [BZ #17585]
25778         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
25779         (memmem): Rename to __memmem and define as weak alias of
25780         __memmem.  Use libc_hidden_weak.
25781         (__memmem): Use libc_hidden_def.
25782         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
25783         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
25784         memmem.
25786         [BZ #17582]
25787         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
25788         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
25789         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
25790         and define as weak alias of __fgets_unlocked.  Use
25791         libc_hidden_weak.
25792         (__fgets_unlocked): Use libc_hidden_def.
25793         * include/stdio.h (__fgets_unlocked): Declare.  Use
25794         libc_hidden_proto.
25795         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
25796         __fgets_unlocked instead of fgets_unlocked.
25797         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
25798         (GET_NPROCS_CONF_PARSER): Likewise.
25799         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
25800         (GET_NPROCS_CONF_PARSER): Likewise.
25802         [BZ #17574]
25803         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
25804         weak alias of __wmemset.  Use libc_hidden_weak.
25805         (__wmemset): Use libc_hidden_def.
25806         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
25807         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
25808         of wmemset.
25810         [BZ #17573]
25811         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
25812         with asm name __mempcpy.
25813         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
25815         [BZ #17572]
25816         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
25817         and define as weak alias of __rawmemchr.
25818         (__rawmemchr): Do not define as strong alias of rawmemchr.
25820         [BZ #17571]
25821         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
25822         alias of __qsort_r.
25823         (qsort): Call __qsort_r instead of qsort_r.
25824         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
25825         (__qsort_r): Declare.  Call libc_hidden_proto.
25826         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
25827         instead of qsort_r.
25828         * nscd/gai.c (__qsort_r): Define to qsort_r.
25829         * posix/tst-rfc3484.c (__qsort_r): Likewise.
25830         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
25831         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
25833         [BZ #17570]
25834         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
25835         define as weak alias of __malloc_info.
25837         [BZ #17584]
25838         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
25839         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25840         (__rewinddir): Use libc_hidden_def.
25841         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
25842         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25843         (__rewinddir): Use libc_hidden_def.
25844         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
25845         weak alias of __rewinddir.  Don't use libc_hidden_def.
25846         (__rewinddir): Use libc_hidden_def.
25847         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
25848         (__rewinddir): Use libc_hidden_proto.
25849         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
25850         rewinddir.
25851         (__getcwd): Use __rewinddir instead of rewinddir.
25853         [BZ #17583]
25854         * libio/fileno.c (fileno): Rename to __fileno and define as weak
25855         alias of __fileno.  Use libc_hidden_weak.
25856         (__fileno): Use libc_hidden_def.
25857         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
25858         * libio/ftello.c (ftello): Rename to __ftello and define as weak
25859         alias of __ftello.
25860         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
25861         __ftello.
25862         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
25863         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
25864         libc_hidden_def.
25865         (fread_unlocked): Don't use libc_hidden_ver.
25866         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
25867         and define as weak alias of __fread_unlocked.  Don't use
25868         libc_hidden_def.
25869         (__fread_unlocked): Use libc_hidden_def.
25870         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
25871         (ftello): Don't use libc_hidden_proto.
25872         (__ftello): Declare.  Use libc_hidden_proto.
25873         (fread_unlocked): Don't use libc_hidden_proto.
25874         (__fread_unlocked): Declare.  Use libc_hidden_proto.
25875         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
25876         and __ftello instead of fileno, fread_unlocked and ftello.
25878 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25880         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
25881         GOT12.
25882         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25883         Likewise.
25884         (_dl_start_user): Likewise.
25885         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
25887 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
25888             Siddhesh Poyarekar  <siddhesh@redhat.com>
25890         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
25891         Move argv and envp down instead of moving argc up.
25892         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
25894 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
25896         [BZ #17506]
25897         * test-skeleton.c (main): Return successful if one of
25898         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
25899         * string/tst-strcoll-overflow.c: Define expected status.
25901 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
25903         [BZ #17475]
25904         * locale/iso-639.def: Define Bhili and Tulu language codes.
25906 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
25908         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
25910 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
25912         [BZ #17555]
25913         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
25915 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25917         * configure.ac: Updated check of minimal required version to
25918         2.22.
25919         * manual/install.texi (Tools for Compilation): Updated version
25920         number.
25921         * configure: Regenerated.
25922         * INSTALL: Likewise.
25924 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
25926         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
25927         __tls_get_addr.
25929 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
25931         * include/sys/wait.h (__libc_waitpid): Remove declaration.
25932         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
25933         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25934         libc_hidden_weak.
25935         (waitpid): Define as alias of __waitpid.
25936         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
25937         __waitpid.
25938         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25939         libc_hidden_weak.
25940         (waitpid): Define as alias of __waitpid.
25941         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
25942         __libc_waitpid alias.
25943         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
25944         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
25945         Likewise.
25946         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
25947         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
25948         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
25949         alias.
25950         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
25951         __waitpid.
25952         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25953         libc_hidden_weak.
25954         (waitpid): Define as alias of __waitpid.
25956 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
25958         * manual/llio.texi: Add comment that write safety has been
25959         fixed in Linux.
25961         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
25962         (localplt-build-dso): Add elf/ld.so.
25963         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
25964         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
25965         and free for ld.so.
25966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
25967         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
25968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
25969         Likewise.
25970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25971         Likewise.
25972         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
25973         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
25974         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
25975         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
25976         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25977         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
25978         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
25979         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
25980         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25981         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
25982         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25984 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
25986         [BZ #14132]
25987         * include/libc-symbols.h (INTUSE): Remove macro.
25988         (INTDEF): Likewise.
25989         (INTVARDEF): Likewise.
25990         (_INTVARDEF): Likewise.
25991         (INTDEF2): Likewise.
25992         (INTVARDEF2): Likewise.
25993         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
25994         rtld_hidden_def instead of INTVARDEF.
25995         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
25996         (_dl_starting_up_internal): Remove declaration.
25997         (_dl_starting_up): Use rtld_hidden_proto.
25998         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
25999         declaration.
26000         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
26001         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
26002         _dl_starting_up.
26003         * elf/dl-writev.h (_dl_writev): Likewise.
26004         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
26005         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
26006         _dl_starting_up_internal.
26008 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26010         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
26011         test-skeleton.c.
26013 2014-11-05  Will Newton  <will.newton@linaro.org>
26015         * benchtests/Makefile: (bench-malloc): Add malloc thread
26016         scalability benchmark.
26017         * benchtests/bench-malloc-threads.c: New file.
26019 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
26021         * sysdeps/aarch64/strchrnul.S: New file.
26023 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26025         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
26026         definition.
26027         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
26028         Likwise.
26029         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
26030         Likewise.
26031         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
26032         Likewise.
26033         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
26034         Likewise.
26035         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
26036         Likewise.
26038 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
26040         * catgets/test-gencat.c: Use test-skeleton.c.
26041         * catgets/tst-catgets.c: Likewise.
26042         * csu/tst-empty.c: Likewise.
26043         * elf/tst-audit2.c: Likewise.
26044         * elf/tst-global1.c: Likewise.
26045         * elf/tst-pathopt.c: Likewise.
26046         * elf/tst-piemod1.c: Likewise.
26047         * elf/tst-tls10.c: Likewise.
26048         * elf/tst-tls11.c: Likewise.
26049         * elf/tst-tls12.c: Likewise.
26050         * gnulib/tst-gcc.c: Likewise.
26051         * iconvdata/tst-e2big.c: Likewise.
26052         * iconvdata/tst-loading.c: Likewise.
26053         * iconv/tst-iconv1.c: Likewise.
26054         * iconv/tst-iconv2.c: Likewise.
26055         * inet/test-inet6_opt.c: Likewise.
26056         * inet/tst-gethnm.c: Likewise.
26057         * inet/tst-network.c: Likewise.
26058         * inet/tst-ntoa.c: Likewise.
26059         * intl/tst-codeset.c: Likewise.
26060         * intl/tst-gettext2.c: Likewise.
26061         * intl/tst-gettext3.c: Likewise.
26062         * intl/tst-ngettext.c: Likewise.
26063         * intl/tst-translit.c: Likewise.
26064         * io/test-stat.c: Likewise.
26065         * libio/test-fmemopen.c: Likewise.
26066         * libio/tst-freopen.c: Likewise.
26067         * libio/tst-sscanf.c: Likewise.
26068         * libio/tst-ungetwc1.c: Likewise.
26069         * libio/tst-ungetwc2.c: Likewise.
26070         * libio/tst-widetext.c: Likewise.
26071         * localedata/tst-ctype.c: Likewise.
26072         * localedata/tst-digits.c: Likewise.
26073         * localedata/tst-leaks.c: Likewise.
26074         * localedata/tst-mbswcs1.c: Likewise.
26075         * localedata/tst-mbswcs2.c: Likewise.
26076         * localedata/tst-mbswcs3.c: Likewise.
26077         * localedata/tst-mbswcs4.c: Likewise.
26078         * localedata/tst-mbswcs5.c: Likewise.
26079         * localedata/tst-setlocale.c: Likewise.
26080         * localedata/tst-trans.c: Likewise.
26081         * localedata/tst-wctype.c: Likewise.
26082         * localedata/tst-xlocale1.c: Likewise.
26083         * login/tst-grantpt.c: Likewise.
26084         * malloc/tst-calloc.c: Likewise.
26085         * malloc/tst-malloc.c: Likewise.
26086         * malloc/tst-mallocstate.c: Likewise.
26087         * malloc/tst-mcheck.c: Likewise.
26088         * malloc/tst-mtrace.c: Likewise.
26089         * malloc/tst-obstack.c: Likewise.
26090         * math/atest-exp2.c: Likewise.
26091         * math/atest-exp.c: Likewise.
26092         * math/atest-sincos.c: Likewise.
26093         * math/test-matherr.c: Likewise.
26094         * math/test-misc.c: Likewise.
26095         * math/test-powl.c: Likewise.
26096         * math/tst-definitions.c: Likewise.
26097         * misc/tst-dirname.c: Likewise.
26098         * misc/tst-efgcvt.c: Likewise.
26099         * misc/tst-fdset.c: Likewise.
26100         * misc/tst-hsearch.c: Likewise.
26101         * misc/tst-mntent2.c: Likewise.
26102         * nptl/tst-sem7.c: Likewise.
26103         * nptl/tst-sem8.c: Likewise.
26104         * nptl/tst-sem9.c: Likewise.
26105         * nss/test-netdb.c: Likewise.
26106         * posix/tst-fnmatch.c: Likewise.
26107         * posix/tst-getlogin.c: Likewise.
26108         * posix/tst-gnuglob.c: Likewise.
26109         * posix/tst-mmap.c: Likewise.
26110         * pwd/tst-getpw.c: Likewise.
26111         * resolv/tst-inet_ntop.c: Likewise.
26112         * rt/tst-timer.c: Likewise.
26113         * stdio-common/test-fseek.c: Likewise.
26114         * stdio-common/test-popen.c: Likewise.
26115         * stdio-common/test-vfprintf.c: Likewise.
26116         * stdio-common/tst-cookie.c: Likewise.
26117         * stdio-common/tst-fileno.c: Likewise.
26118         * stdio-common/tst-gets.c: Likewise.
26119         * stdio-common/tst-obprintf.c: Likewise.
26120         * stdio-common/tst-perror.c: Likewise.
26121         * stdio-common/tst-sprintf2.c: Likewise.
26122         * stdio-common/tst-sprintf3.c: Likewise.
26123         * stdio-common/tst-sprintf.c: Likewise.
26124         * stdio-common/tst-swprintf.c: Likewise.
26125         * stdio-common/tst-tmpnam.c: Likewise.
26126         * stdio-common/tst-unbputc.c: Likewise.
26127         * stdio-common/tst-wc-printf.c: Likewise.
26128         * stdlib/tst-environ.c: Likewise.
26129         * stdlib/tst-fmtmsg.c: Likewise.
26130         * stdlib/tst-limits.c: Likewise.
26131         * stdlib/tst-rand48-2.c: Likewise.
26132         * stdlib/tst-rand48.c: Likewise.
26133         * stdlib/tst-random2.c: Likewise.
26134         * stdlib/tst-random.c: Likewise.
26135         * stdlib/tst-strtol.c: Likewise.
26136         * stdlib/tst-strtoll.c: Likewise.
26137         * stdlib/tst-tls-atexit.c: Likewise.
26138         * stdlib/tst-xpg-basename.c: Likewise.
26139         * string/test-ffs.c: Likewise.
26140         * string/tst-bswap.c: Likewise.
26141         * string/tst-inlcall.c: Likewise.
26142         * string/tst-strtok.c: Likewise.
26143         * string/tst-strxfrm.c: Likewise.
26144         * sysdeps/x86_64/tst-audit10.c: Likewise.
26145         * sysdeps/x86_64/tst-audit3.c: Likewise.
26146         * sysdeps/x86_64/tst-audit4.c: Likewise.
26147         * sysdeps/x86_64/tst-audit5.c: Likewise.
26148         * time/tst-ftime_l.c: Likewise.
26149         * time/tst-getdate.c: Likewise.
26150         * time/tst-mktime3.c: Likewise.
26151         * time/tst-mktime.c: Likewise.
26152         * time/tst-posixtz.c: Likewise.
26153         * time/tst-strptime2.c: Likewise.
26154         * time/tst-strptime3.c: Likewise.
26155         * wcsmbs/tst-btowc.c: Likewise.
26156         * wcsmbs/tst-mbrtowc.c: Likewise.
26157         * wcsmbs/tst-mbsrtowcs.c: Likewise.
26158         * wcsmbs/tst-wchar-h.c: Likewise.
26159         * wcsmbs/tst-wcpncpy.c: Likewise.
26160         * wcsmbs/tst-wcrtomb.c: Likewise.
26161         * wcsmbs/tst-wcsnlen.c: Likewise.
26162         * wcsmbs/tst-wcstof.c: Likewise.
26164 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
26166         [BZ #14132]
26167         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
26168         INTDEF.
26169         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
26170         declaration.
26171         (_dl_mcount): Use rtld_hidden_proto.
26172         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
26173         _dl_mcount.
26174         * elf/rtld.c (_rtld_global_ro): Likewise.
26176         [BZ #14132]
26177         * elf/dl-init.c (_dl_init): Don't use INTDEF.
26178         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
26179         of _dl_init_internal.
26180         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
26181         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
26182         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
26183         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
26184         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
26185         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
26186         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
26187         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
26188         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
26189         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
26190         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
26191         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
26192         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26193         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26194         * sysdeps/tile/dl-start.S (_start): Likewise.
26195         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
26196         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
26198         [BZ #14132]
26199         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
26200         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
26201         (rtld_progname): Make macro definition unconditional.
26202         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
26203         INTDEF.
26204         (dlmopen_doit): Do not use INTUSE with _dl_argv.
26205         (dl_main): Likewise.
26206         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26207         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
26208         instead of _dl_argv_internal.
26209         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
26210         __GI__dl_argv instead of INTUSE(_dl_argv).
26211         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
26212         __GI__dl_argv instead of _dl_argv_internal.
26214         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
26215         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
26216         macro.
26217         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
26218         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
26219         New macro.
26220         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
26221         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
26222         macro.
26223         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
26224         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
26226 2014-11-04  Andreas Schwab  <schwab@suse.de>
26228         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
26230 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26232         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
26233         mtvsrd instruction in binary form.
26235 2014-11-03  Andreas Schwab  <schwab@suse.de>
26237         [BZ #17522]
26238         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
26239         for less than MB_LEN_MAX use a local buffer of that size.
26240         * libio/tst-fputws.c: New file.
26241         * libio/Makefile (tests): Add tst-fputws.
26243 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
26245         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
26246         the size of the fpu_fr.fpu_dregs[] array.
26248 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
26250         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
26251         (__nanosleep): Do not define as alias.
26252         (nanosleep): Define as alias of __nanosleep.
26253         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
26254         __libc_nanosleep name.
26256 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26258         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
26259         install.texi in comment.
26261 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26263         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
26264         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
26265         ... add here and use lwsync or sync ...
26266         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
26267         ... and add here using lwsync.
26269 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26271         * elf/dl-machine-reject-phdr.h: New file.
26272         * elf/dl-load.c: #include that.
26273         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
26274         if that returned true.
26276 2014-10-31  Roland McGrath  <roland@hack.frob.com>
26278         [BZ #17496]
26279         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
26280         gen-as-const-headers chunk.  Add a big scare comment after the last
26281         safe place to touch before-compile.
26283 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26285         * manual/install.texi (Tools for Compilation): Update autoconf
26286         version requirements.
26287         * INSTALL: Regenerated.
26289         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
26290         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
26291         (__libc_pselect): Likewise.
26293         [BZ #14138]
26294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
26295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26299 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26301         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
26302         correct barrier instruction.
26303         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
26304         Likewise.
26305         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
26306         Likewise.
26308 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26310         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
26311         after defining inlines.  Instead, just use parens to defeat macro
26312         expansion of __isctype in its declaration.
26314 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26316         * include/sys/uio.h (__libc_readv): Remove declaration.
26317         (__libc_writev): Likewise.
26318         * misc/readv.c (__libc_readv): Rename to __readv.
26319         (__readv): Do not define as alias.
26320         (readv): Define as alias of __readv.
26321         * misc/writev.c (__libc_writev): Rename to __writev.
26322         (__writev): Do not define as alias.
26323         (writev): Define as alias of __writev.
26324         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
26325         (__readv): Do not define as alias.
26326         (readv): Define unconditionally as alias of __readv.
26327         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
26328         (__writev): Do not define as alias.
26329         (writev): Define unconditionally as alias of __writev.
26330         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
26331         name.
26332         (writev): Do not define __libc_writev name.
26334 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26336         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
26337         (convert_charseq): New function, broken out of ...
26338         (use_from_charmap): ... here.  Call it.
26339         (use_to_charmap): Use convert_charseq and free instead of duplicating
26340         its code with a variable-length stack struct.
26342 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26344         * include/fcntl.h (__libc_creat): Remove declaration.
26345         * io/creat.c (__libc_creat): Rename to creat.
26346         (creat): Do not define as alias.
26347         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
26348         of creat instead of __libc_creat.
26349         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
26350         to creat.
26351         (creat): Do not define as alias.
26352         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
26353         __libc_creat.
26354         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
26355         __libc_creat name.
26356         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
26357         Likewise.
26359 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
26361         * manual/llio.texi: Add comments discussing why write() may be
26362         considered MT-unsafe on Linux.
26364 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
26366         * dl-load.c (local_strdup): Remove.
26367         (expand_dynamic_string_token): Use __strdup.
26368         (decompose_rpath): Likewise.
26369         (_dl_map_object): Likewise.
26371 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
26373         [BZ #14132]
26374         * sysdeps/generic/unwind-dw2-fde.c
26375         (__register_frame_info_bases_internal): Do not declare.
26376         (__register_frame_info_table_bases_internal): Likewise.
26377         (__deregister_frame_info_bases_internal): Likewise.
26378         (__register_frame_info_bases): Declare and use hidden_proto before
26379         definition.  Use hidden_def instead of INTDEF.
26380         (__register_frame_info_table_bases): Likewise.
26381         (__deregister_frame_info_bases): Likewise.
26382         (__register_frame_info): Do not use INTUSE.
26383         (__register_frame): Likewise.
26384         (__register_frame_info_table): Likewise.
26385         (__register_frame_table): Likewise.
26386         (__deregister_frame_info): Likewise.
26387         (__deregister_frame): Likewise.
26389 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
26391         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26392         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
26393         not undefine.
26394         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
26395         Likewise.
26396         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
26397         Likewise.
26399 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
26401         [BZ #14138]
26402         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
26403         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
26404         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
26405         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
26406         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
26407         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
26408         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
26409         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
26410         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
26411         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
26412         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
26413         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
26414         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
26415         syscall.
26416         (setfsuid): Likewise.
26417         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
26418         (setfsuid): Likewise.
26419         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
26420         (setfsuid): Likewise.
26421         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
26422         Likewise.
26423         (setfsuid): Likewise.
26424         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
26425         (setfsuid): Likewise.
26426         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
26427         Likewise.
26428         (setfsuid): Likewise.
26430 2014-10-27  Andreas Schwab  <schwab@suse.de>
26432         [BZ #17501]
26433         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
26434         check for Slow_SSE4_2 feature bit.
26435         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
26436         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26437         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
26438         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
26440 2014-10-24  Roland McGrath  <roland@hack.frob.com>
26442         * configure.ac: Validate compiler version with a empirical test of
26443         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
26444         $CC -v output.
26445         * configure: Regenerated.
26447         * inet/htons.c (htons): Prototypify.
26448         * inet/htonl.c (htonl): Likewise.
26450 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26452         * string/strncat.c (strncat): Improve performance by using strlen.
26454 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26456         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
26458 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26460         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
26461         Call libc_fetestexcept_aarch64.
26463 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26465         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
26466         Call libc_feholdexcept_aarch64.
26468 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26470         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
26471         Call get_rounding_mode.
26473 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26475         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26476         Simplify logic.
26478 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26480         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
26481         Simplify logic.
26483 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
26485         [BZ #14138]
26486         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
26487         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
26488         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
26489         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
26490         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
26491         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
26492         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
26493         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
26494         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
26495         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
26496         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26497         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
26498         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
26499         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
26500         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
26501         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
26502         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
26503         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
26504         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
26505         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
26506         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
26507         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
26508         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
26509         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
26510         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
26511         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
26512         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
26513         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
26514         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
26515         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
26516         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
26517         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
26518         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
26519         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
26520         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
26521         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
26522         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
26523         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
26524         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
26525         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
26526         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
26527         syscall.
26528         (geteuid): Likewise.
26529         (getgid): Likewise.
26530         (getuid): Likewise.
26531         (getresgid): Likewise.
26532         (getresuid): Likewise.
26533         (getgroups): Likewise.
26534         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
26535         (geteuid): Likewise.
26536         (getgid): Likewise.
26537         (getuid): Likewise.
26538         (getresgid): Likewise.
26539         (getresuid): Likewise.
26540         (getgroups): Likewise.
26541         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
26542         (geteuid): Likewise.
26543         (getgid): Likewise.
26544         (getuid): Likewise.
26545         (getresgid): Likewise.
26546         (getresuid): Likewise.
26547         (getgroups): Likewise.
26548         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
26549         Likewise.
26550         (geteuid): Likewise.
26551         (getgid): Likewise.
26552         (getuid): Likewise.
26553         (getresgid): Likewise.
26554         (getresuid): Likewise.
26555         (getgroups): Likewise.
26556         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
26557         (geteuid): Likewise.
26558         (getgid): Likewise.
26559         (getuid): Likewise.
26560         (getresgid): Likewise.
26561         (getresuid): Likewise.
26562         (getgroups): Likewise.
26563         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
26564         Likewise.
26565         (geteuid): Likewise.
26566         (getgid): Likewise.
26567         (getuid): Likewise.
26568         (getgroups): Likewise.
26570         [BZ #14138]
26571         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
26572         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
26573         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
26574         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26575         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
26576         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
26577         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
26578         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
26579         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
26580         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
26581         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
26582         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
26583         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
26584         __chown.
26585         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
26586         (lchown): Likewise.
26587         (fchown): Likewise.
26588         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
26589         Likewise.
26590         (lchown): Likewise.
26591         (fchown): Likewise.
26592         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
26593         (lchown): Likewise.
26594         (fchown): Likewise.
26595         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
26596         Likewise.
26597         (lchown): Likewise.
26598         (fchown): Likewise.
26600 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26602         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
26603         Simplify logic.
26605 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26607         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26608         Cleanup logic.
26610 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26612         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26613         Remove unused include.
26615 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26617         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
26618         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
26619         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
26620         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
26622 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
26623             Helge Deller <deller@gmx.de>
26625         [BZ #17508]
26626         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
26627         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
26628         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
26630 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
26632         [BZ #14132]
26633         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
26634         Remove macro definition.
26635         (__ashrdi3_v_glibc20): Likewise.
26636         (__lshrdi3_v_glibc20): Likewise.
26637         (__cmpdi2_v_glibc20): Likewise.
26638         (__ucmpdi2_v_glibc20): Likewise.
26639         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
26640         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26641         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26642         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26643         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26644         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
26646 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26648         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
26649         old GNU extension [0] syntax.
26650         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
26651         alloca rather than an array member with variable length.
26652         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
26653         * nscd/nscd.c (invalidate_db): New function, broken out of ...
26654         (parse_opt): ... here.  Likewise use alloca there.
26655         Validate the -i argument before checking for rootness.
26656         (send_shutdown): New function, broken out of ...
26657         (parse_opt): ... here.
26659 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26661         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
26662         macro to get at the _rt_local_ro field.
26663         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
26664         ([PIC] case) or _dl_hwcap ([!PIC] case).
26665         * sysdeps/arm/setjmp.S: Likewise.
26667         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
26668         * sysdeps/arm/configure.ac: New check to define it.
26669         * sysdeps/arm/configure: Regenerated.
26670         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
26671         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
26672         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
26673         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
26674         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
26675         Use move/movt pair instead of a load.
26676         (LDST_GLOBAL): Macro removed.
26677         (LDR_GLOBAL): New macro replaces it.
26678         (LDR_HIDDEN): New macro.
26679         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
26680         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
26682         * setjmp/tst-setjmp-static.c: New file.
26683         * setjmp/Makefile (tests): Add it.
26684         (tests-static): New variable.
26686 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
26688         [BZ #17485]
26689         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
26691 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
26693         [BZ #14132]
26694         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
26696 2014-10-21  Roland McGrath  <roland@hack.frob.com>
26698         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
26700 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26702         * io/fts.c (dirent_not_directory): New function.
26703         (fts_build): Call it.
26705 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26707         * nptl/version.c (__nptl_main): Use normal __write rather than
26708         INTERNAL_SYSCALL.
26709         (banner): Update copyright years.
26711         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
26712         gettimeofday.
26713         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26714         * nptl/pthread_cond_timedwait.c: Likewise.
26715         * nptl/pthread_mutex_timedlock.c: Likewise.
26716         * nptl/sem_timedwait.c: Likewise.
26718         * sysdeps/nptl/bits/libc-lock.h
26719         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26720         (__libc_lock_init_recursive): Return void, not 0.
26721         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
26722         (__libc_rwlock_init): Likewise.
26723         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
26725 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26727         [BZ #15215]
26728         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
26729         (__pthread_once_slow): ... here.
26730         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
26731         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
26733 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26735         [BZ #15215]
26736         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
26737         __PTHREAD_ONCE_FORK_GEN_INCR): New.
26738         * sysdeps/nptl/fork.c (__libc_fork): Use them.
26739         * nptl/pthread_once.c (__pthread_once): Likewise.
26740         Update comments.
26742 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
26744         [BZ #14138]
26745         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
26746         name.
26747         (writev): Use __libc_writev as strong name.
26748         * sysdeps/unix/sysv/linux/readv.c: Remove file.
26749         * sysdeps/unix/sysv/linux/writev.c: Likewise.
26751 2014-10-17  Roland McGrath  <roland@hack.frob.com>
26753         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
26755         * sysdeps/i386/nptl/tls.h
26756         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
26757         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
26758         New macros.
26759         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
26760         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
26761         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
26762         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
26763         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
26764         Call CHECK_THREAD_SYSINFO instead of doing an assert.
26766         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26767         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
26768         on [__NR_futex].
26769         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
26770         broken out of ...
26771         (__pthread_mutex_init): ... here.  Call it.
26772         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
26773         Conditionalize PI cases on [__NR_futex].
26774         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
26775         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
26776         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
26778         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
26779         conditional on [SIGSETXID].
26780         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
26781         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
26782         is defined.  Likewise for SIGSETXID.
26783         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
26784         Conditionalize definitions on [SIGSETXID].
26785         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
26786         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
26787         unblocking on [SIGCANCEL].
26789         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
26790         [__NR_set_robust_list].
26792 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26794         * string/strcoll_l.c (get_next_seq): Fix up formatting.
26795         (do_compare): Likewise.
26797 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
26799         [BZ #15884]
26800         * string/strcoll_l.c: Don't include stdio.h.
26801         (coll_seq): Remove members idxarr and rulearr.
26802         (get_next_seq_cached): Remove function.
26803         (get_next_seq): Likewise.
26804         (get_next_seq_nocache): Rename to get_next_seq.
26805         (do_compare): Remove function.
26806         (do_compare_nocache): Rename to do_compare.
26807         (STRCOLL): Remove weight and rules cache.
26809 2014-10-16  Roland McGrath  <roland@hack.frob.com>
26811         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
26812         * sysdeps/arm/sfp-machine.h: ... to here.
26813         * sysdeps/arm/Implies: Remove arm/soft-fp.
26815 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
26817         * conform/data/sys/utsname.h-data (*_t): Allow.
26818         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
26819         [POSIX] (WEXITED): Do not expect constant.
26820         [POSIX] (WSTOPPED): Likewise.
26821         [POSIX] (WNOHANG): Likewise.
26822         [POSIX] (WNOWAIT): Likewise.
26823         [POSIX] (siginfo_t): Do not expect type or elements.
26824         [POSIX] (pid_t): Do not expect type.
26825         [POSIX] (signal.h): Do not allow header.
26826         [POSIX] (sys/resource.h): Likewise.
26827         [POSIX] (si_*): Do not allow pattern.
26828         [POSIX] (W*): Likewise.
26829         [POSIX] (P_*): Likewise.
26830         [POSIX] (BUS_*): Likewise.
26831         [POSIX] (CLD_*): Likewise.
26832         [POSIX] (FPE_*): Likewise.
26833         [POSIX] (ILL_*): Likewise.
26834         [POSIX] (POLL_*): Likewise.
26835         [POSIX] (SEGV_*): Likewise.
26836         [POSIX] (SI_*): Likewise.
26837         [POSIX] (TRAP_*): Likewise.
26838         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
26839         variable.
26841 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26843         [BZ #12926]
26844         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
26845         infinite loop when __recvmsg returns 0.
26847 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
26849         * CANCEL-FCT-WAIVE: Remove file.
26850         * CANCEL-FILE-WAIVE: Likewise.
26852         [BZ #14132]
26853         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
26854         instead of INTVARDEF.
26855         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26856         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
26857         rtld_hidden_data_def instead of INTVARDEF.
26858         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26859         * elf/dl-deps.c (expand_dst): Likewise.
26860         * elf/dl-load.c (_dl_dst_count): Likewise.
26861         (_dl_dst_substitute): Likewise.
26862         (decompose_rpath): Likewise.
26863         (_dl_init_paths): Likewise.
26864         (open_path): Likewise.
26865         (_dl_map_object): Likewise.
26866         * elf/rtld.c (dl_main): Likewise.
26867         (process_dl_audit): Likewise.
26868         (process_envvars): Likewise.
26869         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
26870         Remove declaration.
26871         (__libc_enable_secure): Use rtld_hidden_proto.
26873 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26875         * elf/dl-load.c
26876         (add_path): New function broken out of _dl_rtld_di_serinfo.
26877         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
26879 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26881         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
26882         parentheses around macro arguments.
26883         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
26884         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
26885         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
26886         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
26887         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
26888         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26889         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26890         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
26891         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
26892         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
26893         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
26894         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
26895         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
26896         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
26897         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
26898         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
26899         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
26900         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
26901         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
26902         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
26903         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
26904         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
26905         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
26906         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26907         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26908         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
26909         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
26910         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
26911         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
26912         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
26913         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
26914         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
26915         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
26916         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
26917         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
26918         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
26919         Likewise.
26920         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
26921         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26922         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26923         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
26924         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
26925         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
26926         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
26927         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
26928         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
26929         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
26930         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
26931         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
26932         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
26933         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
26934         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
26935         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26936         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26937         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
26938         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
26939         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
26940         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
26941         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
26942         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
26943         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
26944         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
26945         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
26946         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
26947         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
26948         (_FP_FRAC_SRS_1): Likewise.
26949         (_FP_FRAC_CLZ_1): Likewise.
26950         (_FP_MUL_MEAT_1_imm): Likewise.
26951         (_FP_MUL_MEAT_1_wide): Likewise.
26952         (_FP_MUL_MEAT_1_hard): Likewise.
26953         (_FP_SQRT_MEAT_1): Likewise.
26954         (_FP_FRAC_ASSEMBLE_1): Likewise.
26955         (_FP_FRAC_DISASSEMBLE_1): Likewise.
26956         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
26957         (__FP_CLZ_2): Likewise.
26958         (_FP_MUL_MEAT_2_wide): Likewise.
26959         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26960         (_FP_MUL_MEAT_2_gmp): Likewise.
26961         (_FP_MUL_MEAT_2_120_240_double): Likewise.
26962         (_FP_SQRT_MEAT_2): Likewise.
26963         (_FP_FRAC_ASSEMBLE_2): Likewise.
26964         (_FP_FRAC_DISASSEMBLE_2): Likewise.
26965         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
26966         (_FP_FRAC_CLZ_4): Likewise.
26967         (_FP_MUL_MEAT_4_wide): Likewise.
26968         (_FP_MUL_MEAT_4_gmp): Likewise.
26969         (_FP_SQRT_MEAT_4): Likewise.
26970         (_FP_FRAC_ASSEMBLE_4): Likewise.
26971         (_FP_FRAC_DISASSEMBLE_4): Likewise.
26972         * soft-fp/op-common.h (_FP_CMP): Likewise.
26973         (_FP_CMP_EQ): Likewise.
26974         (_FP_CMP_UNORD): Likewise.
26975         (_FP_TO_INT): Likewise.
26976         (_FP_FROM_INT): Likewise.
26977         [!__FP_CLZ] (__FP_CLZ): Likewise.
26978         (_FP_DIV_HELP_imm): Likewise.
26979         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
26980         Likewise.
26981         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
26982         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
26983         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
26984         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
26985         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
26986         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26987         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26988         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
26989         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
26990         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
26991         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
26992         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
26993         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
26994         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
26995         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
26996         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
26997         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
26998         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
26999         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
27000         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
27001         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
27002         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
27003         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
27004         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27005         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27006         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
27007         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
27008         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
27009         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
27010         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
27011         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
27012         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
27013         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
27014         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
27015         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
27016         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
27017         (FP_UNPACK_RAW_SP): Likewise.
27018         (FP_PACK_RAW_S): Likewise.
27019         (FP_PACK_RAW_SP): Likewise.
27020         (FP_UNPACK_S): Likewise.
27021         (FP_UNPACK_SP): Likewise.
27022         (FP_UNPACK_SEMIRAW_S): Likewise.
27023         (FP_UNPACK_SEMIRAW_SP): Likewise.
27024         (FP_PACK_S): Likewise.
27025         (FP_PACK_SP): Likewise.
27026         (FP_PACK_SEMIRAW_S): Likewise.
27027         (FP_PACK_SEMIRAW_SP): Likewise.
27028         (_FP_SQRT_MEAT_S): Likewise.
27029         (FP_CMP_S): Likewise.
27030         (FP_CMP_EQ_S): Likewise.
27031         (FP_CMP_UNORD_S): Likewise.
27032         (FP_TO_INT_S): Likewise.
27033         (FP_FROM_INT_S): Likewise.
27035         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
27037         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
27038         (FP_EX_INVALID_IMZ): Likewise.
27039         (FP_EX_INVALID_IMZ_FMA): Likewise.
27040         (FP_EX_INVALID_ISI): Likewise.
27041         (FP_EX_INVALID_ZDZ): Likewise.
27042         (FP_EX_INVALID_IDI): Likewise.
27043         (FP_EX_INVALID_SQRT): Likewise.
27044         (FP_EX_INVALID_CVI): Likewise.
27045         (FP_EX_INVALID_VC): Likewise.
27046         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
27047         "invalid" exceptions.
27048         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
27049         (_FP_ADD_INTERNAL): Likewise.
27050         (_FP_MUL): Likewise.
27051         (_FP_FMA): Likewise.
27052         (_FP_DIV): Likewise.
27053         (_FP_CMP_CHECK_NAN): Likewise.
27054         (_FP_SQRT): Likewise.
27055         (_FP_TO_INT): Likewise.
27056         (FP_EXTEND): Likewise.
27058 2014-10-09  Allan McRae  <allan@archlinux.org>
27060         * po/fr.po: Update French translation from translation project.
27062 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
27064         [BZ #14132]
27065         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
27066         of INTDEF.
27067         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
27068         (__cxa_atexit): Use libc_hidden_proto.
27069         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
27071         [BZ #14132]
27072         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
27073         declaration.
27074         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
27075         [!_ISOMAC] (__iswspace_l_internal): Likewise.
27076         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
27077         [!_ISOMAC] (__iswctype_internal): Likewise.
27078         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
27079         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
27080         alias.
27081         (fcntl): Remove __fcntl_internal alias.
27082         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
27083         __connect_internal alias.
27084         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
27085         Likewise.
27087         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
27088         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
27089         FP_DENORM_ZERO.
27090         (_FP_CHECK_FLUSH_ZERO): New macro.
27091         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
27092         (_FP_CMP): Likewise.
27093         (_FP_CMP_EQ): Likewise.
27094         (_FP_TO_INT): Do not set inexact for subnormal arguments if
27095         FP_DENORM_ZERO.
27096         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
27097         (FP_TRUNC): Likewise.
27099         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
27100         treated as invalid conversion, not as normal exponent.
27102         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
27103         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
27104         (_FP_CMP_EQ): Likewise.
27105         (_FP_CMP_UNORD): Likewise.
27106         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
27107         (FP_CMP_EQ_D): Likewise.
27108         (FP_CMP_UNORD_D): Likewise.
27109         * soft-fp/extended.h (FP_CMP_E): Likewise.
27110         (FP_CMP_EQ_E): Likewise.
27111         (FP_CMP_UNORD_E): Likewise.
27112         * soft-fp/quad.h (FP_CMP_Q): Likewise.
27113         (FP_CMP_EQ_Q): Likewise.
27114         (FP_CMP_UNORD_Q): Likewise.
27115         * soft-fp/single.h (FP_CMP_S): Likewise.
27116         (FP_CMP_EQ_S): Likewise.
27117         (FP_CMP_UNORD_S): Likewise.
27118         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
27119         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
27120         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
27121         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
27122         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
27123         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
27124         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
27125         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
27126         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
27127         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
27128         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
27129         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
27130         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
27131         to FP_CMP_Q.
27132         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
27133         FP_CMP_Q.
27134         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
27135         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
27136         FP_CMP_EQ_Q.
27137         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
27138         FP_CMP_Q.
27139         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
27140         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
27141         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
27142         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
27143         FP_CMP_EQ_Q.
27144         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
27145         FP_CMP_Q.
27146         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
27147         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
27148         FP_CMP_EQ_Q.
27149         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
27150         FP_CMP_Q.
27151         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
27152         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
27153         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
27154         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
27155         FP_CMP_EQ_Q.
27157         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
27158         a subnormal result, set the underflow exception if trapping on
27159         underflow is enabled.
27160         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
27161         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
27162         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
27163         redefine to 0.
27164         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
27165         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27166         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27167         * soft-fp/extendxftf2.c (__extendxftf2): Use
27168         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
27170         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
27171         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
27172         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27173         FP_HANDLE_EXCEPTIONS.
27174         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
27175         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27176         FP_HANDLE_EXCEPTIONS.
27177         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
27178         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27179         FP_HANDLE_EXCEPTIONS.
27180         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
27181         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27182         FP_HANDLE_EXCEPTIONS.
27184 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
27186         [BZ #14132]
27187         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
27188         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
27189         use INTUSE.
27190         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
27191         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
27192         Remove alias.
27193         (__adjtimex): Define using libc_hidden_ver.
27194         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
27195         Remove declaration.
27196         (ntp_gettime): Call __adjtimex directly.
27197         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
27198         Remove declaration.
27199         (ntp_gettimex): Call __adjtimex directly.
27200         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
27201         __adjtimex_internal alias.
27203 2014-10-08  Roland McGrath  <roland@hack.frob.com>
27205         [BZ #17460]
27206         * nscd/nscd.c (more_help): Rewrite list of tables collection
27207         using xstrdup and asprintf.
27209         * nscd/nscd_conf.c: Remove local xstrdup declaration.
27211 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27212             Roland McGrath  <roland@hack.frob.com>
27214         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
27215         (do_lookup_unique): ... local function 'enter' here; update callers.
27217 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
27219         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
27220         compat_symbol calls on [SHARED].
27221         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
27222         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
27223         Remove.
27224         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27225         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
27226         (oldsetrlimit): Remove.
27227         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27229         (lchown): New syscall entry.
27230         (oldsetrlimit): Remove.
27231         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27232         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
27233         (oldsetrlimit): Remove.
27234         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27236         [BZ #14138]
27237         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
27238         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
27239         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
27240         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
27241         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27242         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
27243         (fchown): Likewise.
27244         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
27245         (fchown): Likewise.
27246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
27247         Likewise.
27249 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27251         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
27252         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
27253         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
27254         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
27255         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
27256         Likewise.
27257         (__old_sem_post): Likewise.
27259 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
27261         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
27262         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
27263         HAVE_CLOCK_GETTIME_VSYSCALL macros.
27264         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
27265         Use INLINE_VSYSCALL macro.
27266         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
27267         __vdso_clock_gettime.
27268         * sysdeps/unix/sysv/linux/tile/init-first.c
27269         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
27270         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
27271         __vdso_clock_gettime.
27273         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
27274         to set up frame more cleanly.
27276         * sysdeps/tile/memcmp.c: New file.
27278         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
27280         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
27281         * sysdeps/tile/tilegx/strcasestr.c: New file.
27282         * sysdeps/tile/tilegx/strnlen.c: New file.
27283         * sysdeps/tile/tilegx/strstr.c: New file.
27285         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
27287 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
27289         * nptl/tst-setuid3.c: Write errors to stdout.
27291 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27293         * elf/dl-deps.c
27294         (preload): New functions broken out of _dl_map_object_deps.
27295         (_dl_map_object_deps):  Remove a nested function. Update call sites.
27297 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
27299         [BZ #14138]
27300         * sysdeps/unix/sysv/linux/execve.c: Remove file.
27301         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
27303 2014-10-01  Steve Ellcey  <sellcey@mips.com>
27305         * sysdeps/mips/strcmp.S: New.
27307 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
27309         [BZ #14138]
27310         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
27311         (linkat): Likewise.
27312         (mkdirat): Likewise.
27313         (readlinkat): Likewise.
27314         (renameat): Likewise.
27315         (symlinkat): Likewise.
27316         (unlinkat): Likewise.
27317         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
27318         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
27319         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
27320         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
27321         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
27322         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
27323         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
27325 2014-09-30  Will Newton  <will.newton@linaro.org>
27327         * math/math.h: Define long double math functions if
27328         _LIBC_TEST is defined.
27329         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
27331         * localedata/Makefile: Move assignment to tests-special
27332         into an ifdef testing run-built-tests.
27333         * timezone/Makefile: Likewise.
27335 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
27337         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
27338         with $(BASH) not $(SHELL).
27340 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
27341             Matthew LeGendre  <legendre1@llnl.gov>
27343         [BZ #17411]
27344         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
27345         l_reloc_result.
27347 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27349         * stdio-common/printf_fp.c
27350         (hack_digit): New function, broken out of ...
27351         (__printf_fp): ... local function here.  Update call sites.
27352         hack_digit now takes an additional parameter that is a pointer
27353         to a struct of the referenced locals.  Those locals moved inside
27354         the struct and references updated.
27356 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
27358         * aclocal.m4: Require autoconf 2.69.
27359         * configure: Regenerated.
27360         * sysdeps/aarch64/configure: Likewise.
27361         * sysdeps/alpha/configure: Likewise.
27362         * sysdeps/arm/armv7/configure: Likewise.
27363         * sysdeps/arm/configure: Likewise.
27364         * sysdeps/ia64/configure: Likewise.
27365         * sysdeps/mach/configure: Likewise.
27366         * sysdeps/mips/configure: Likewise.
27367         * sysdeps/s390/configure: Likewise.
27368         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
27369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
27371         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
27372         file.
27373         * sysdeps/ia64/configure.ac: Likewise.
27375 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
27377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
27378         specify symbol version for ld.so.  Do not include entry for
27379         libpthread.
27380         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27381         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27382         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27384         [BZ #14171]
27385         * Makeconfig [$(build-shared) = yes]
27386         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
27387         makefiles.
27388         [$(build-shared) = yes && $(soversions.mk-done) = t]
27389         ($(common-objpfx)gnu/lib-names.h): Remove rule.
27390         [$(build-shared) = yes && $(soversions.mk-done) = t]
27391         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
27392         to Makerules.
27393         [$(build-shared) = yes && $(soversions.mk-done) = t]
27394         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
27395         here.
27396         [$(build-shared) = yes && $(soversions.mk-done) = t]
27397         (common-generated): Don't append gnu/lib-names.h and
27398         gnu/lib-names.stmp here.
27399         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
27400         (lib-names-h-abi): New variable.
27401         [$(build-shared) = yes && $(soversions.mk-done) = t]
27402         (lib-names-stmp-abi): Likewise.
27403         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27404         abi-variants] (before-compile): Append
27405         $(common-objpfx)$(lib-names-h-abi).
27406         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27407         abi-variants] (common-generated): Append gnu/lib-names.h.
27408         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27409         abi-variants] (install-others-nosubdir): Depend on
27410         $(inst_includedir)/$(lib-names-h-abi).
27411         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27412         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
27413         [$(build-shared) = yes && $(soversions.mk-done) = t]
27414         ($(common-objpfx)$(lib-names-h-abi)): New rule.
27415         [$(build-shared) = yes && $(soversions.mk-done) = t]
27416         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
27417         [$(build-shared) = yes && $(soversions.mk-done) = t]
27418         (common-generated): Append $(lib-names-h-abi) and
27419         $(lib-names-stmp-abi).
27420         * scripts/lib-names.awk: Do not handle multi being set.
27421         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
27422         Remove variable.
27423         (abi-lp64_be-ld-soname): Likewise.
27424         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
27425         Likewise.
27426         (abi-hard-ld-soname): Likewise.
27427         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
27428         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
27429         Remove variable.
27430         (abi-o32_hard-ld-soname): Likewise.
27431         (abi-o32_soft_2008-ld-soname): Likewise.
27432         (abi-o32_hard_2008-ld-soname): Likewise.
27433         (abi-n32_soft-ld-soname): Likewise.
27434         (abi-n32_hard-ld-soname): Likewise.
27435         (abi-n32_soft_2008-ld-soname): Likewise.
27436         (abi-n32_hard_2008-ld-soname): Likewise.
27437         (abi-n64_soft-ld-soname): Likewise.
27438         (abi-n64_hard-ld-soname): Likewise.
27439         (abi-n64_soft_2008-ld-soname): Likewise.
27440         (abi-n64_hard_2008-ld-soname): Likewise.
27441         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
27442         Likewise.
27443         (abi-64-v2-ld-soname): Likewise.
27444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
27445         ld.so entries.
27446         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
27447         variable.
27448         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
27449         entry.
27450         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
27451         variable.
27452         (abi-64-ld-soname): Likewise.
27453         (abi-x32-ld-soname): Likewise.
27454         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
27455         entry.
27456         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27458 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
27460         [BZ #14138]
27461         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
27462         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
27463         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
27464         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
27465         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
27466         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
27467         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
27468         syscall entry for GLIBC_2.2 symbol version.
27469         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
27470         Likewise.
27471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27472         (setrlimit): Likewise.
27473         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
27474         Likewise.
27476 2014-09-23  Will Newton  <will.newton@linaro.org>
27478         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
27479         _LINUX_ARM_SYSDEP_H include guard too.
27480         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
27481         define.
27483 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27485         * sysdeps/unix/sysv/linux/eventfd.c:
27486         Make first argument unsigned.
27487         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
27488         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
27490 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
27492         [BZ #16852]
27493         * socket/recvmmsg.c (recvmmsg): Drop const argument.
27494         * socket/sys/socket.h: Likewise.
27495         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
27497 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27499         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
27501 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
27503         * time/tst-ftime.c: New test.
27504         * time/Makefile (tests): Add tst-ftime.
27506 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
27508         * soft-fp/extended.h: Fix comment formatting.
27509         * soft-fp/op-1.h: Likewise.
27510         * soft-fp/op-2.h: Likewise.
27511         * soft-fp/op-4.h: Likewise.
27512         * soft-fp/op-8.h: Likewise.
27513         * soft-fp/op-common.h: Likewise.
27514         * soft-fp/soft-fp.h: Likewise.
27516         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
27518 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
27520         [BZ #6652]
27521         * Makeconfig (soversions-default-setname): Remove variable.
27522         ($(common-objpfx)soversions.i): Don't pass default_setname to
27523         soversions.awk.
27524         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
27525         oldest_abi to abi-versions.awk.
27526         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
27527         * config.make.in (oldest-abi): Remove variable.
27528         * configure.ac (--enable-oldest-abi): Remove configure option.
27529         * configure: Regenerated.
27530         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
27531         text.
27532         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
27533         * scripts/soversions.awk: Do not handle default_setname variable.
27534         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
27535         variable.
27536         * sysdeps/mach/hurd/configure: Regenerated.
27537         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
27538         variable.
27539         * sysdeps/unix/sysv/linux/configure: Regenerated.
27541 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27543         * elf/Makefile (CFLAGS-interp.c): Remove.
27544         ($(elf-objpfx)runtime-linker.h): Generate header with linker
27545         path string.
27546         * elf/interp.c: Include generated runtime-linker.h
27548         * Makerules (lib%.so): Don't include $(+interp) in
27549         prerequisites.
27550         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
27551         * dlfcn/eval.c: Remove file.
27553         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
27554         macros.
27556         [BZ #17266]
27557         * misc/sys/cdefs.h: Define __extern_always_inline for clang
27558         4.2 and newer.
27560         [BZ #17370]
27561         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
27563 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27564             Jakub Jelinek  <jakub@redhat.com>
27566         [BZ #17266]
27567         * libio/stdio.h: Check definition of __fortify_function
27568         instead of __extern_always_inline to include bits/stdio2.h.
27569         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
27570         check if __extern_always_inline is defined.
27571         [__USE_MISC || __USE_XOPEN]: Likewise.
27572         [__USE_ISOC99] Likewise.
27573         * misc/sys/cdefs.h (__fortify_function): Define only if
27574         __extern_always_inline is defined.
27575         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
27576         __extern_always_inline and __extern_inline only for g++-4.3
27577         and newer or a compatible gcc.
27579 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
27581         [BZ #17371]
27582         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27583         last change to handle zero prefix length.
27585 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27587         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
27588         _SC_REGEX_VERSION.
27590         * posix/getconf.c (vars): Add _POSIX_IPV6 and
27591         _POSIX_RAW_SOCKETS.
27593 2014-09-13  Allan McRae  <allan@archlinux.org>
27595         * po/ru.po: Update Russian translation from translation project.
27597 2014-09-12  Roland McGrath  <roland@hack.frob.com>
27599         * locale/programs/locale.c (show_locale_vars): Inline local function
27600         into its sole call site.  Clean up some style nits.
27601         (print_item): New function, broken out of ...
27602         (show_info): ... local function here.  Clean up style nits.
27604         * locale/programs/ld-ctype.c (set_one_default): New function, broken
27605         out of ...
27606         (set_class_defaults): ... local function set_default here.
27607         Define set_default as a macro locally to pass constant parameters.
27608         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
27609         rather than a shared local.
27611         * stdlib/rpmatch.c (try): New function, broken out of ...
27612         (rpmatch): ... local function here.  Also, prototypify definition.
27614 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
27616         * scripts/soversions.awk: Do not handle configuration names.
27617         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
27618         vendor and os variables to soversions.awk.
27619         * configure.ac: Do not modify gnu-* host_os.
27620         * configure: Regenerated
27621         * shlib-versions: Remove first column with configuration names.
27622         * nptl/shlib-versions: Likewise.
27623         * nptl_db/shlib-versions: Likewise.
27624         * sysdeps/hppa/shlib-versions: Likewise.
27625         * sysdeps/m68k/shlib-versions: Likewise.
27626         * sysdeps/mach/hurd/shlib-versions: Likewise.
27627         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
27628         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
27629         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
27630         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
27631         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
27632         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
27633         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
27634         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
27635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27636         Likewise.
27637         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27638         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27639         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27640         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27641         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27642         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
27643         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27644         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27647         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
27648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27649         Regenerated.
27650         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
27651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27652         Condition symbol version definitions on [HAVE_ELFV2_ABI].
27654         * shlib-versions: Remove OS-specific entries.  Moved to files in
27655         sysdeps.
27656         * sysdeps/mach/hurd/shlib-versions: New file.
27657         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27659         * nptl/shlib-versions: Remove architecture-specific entries.
27660         Moved to files in sysdeps.
27661         * shlib-versions: Likewise.
27662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
27663         file.
27664         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27665         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27666         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27667         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27669         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
27670         (UDP_NO_CHECK6_RX): Likewise.
27672 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27674         * sysdeps/posix/sysconf.c (__sysconf): Spell
27675         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
27677 2014-08-12  Florian Weimer  <fweimer@redhat.com>
27679         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
27680         loading.
27681         * iconv/Versions (__gconv_transliterate): Export for use from
27682         gconv modules.
27683         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
27684         (struct __gconv_trans_data, __gconv_trans_fct,
27685         __gconv_trans_context_fct, __gconv_trans_query_fct,
27686         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
27687         definitions.
27688         (struct __gconv_step_data): Remove __trans member.
27689         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
27690         longer hidden.  Remove unused trans_data argument.
27691         * iconv/gconv_int.h (struct trans_struct): Remove definition.
27692         (__gconv_translit_find): Remove declaration.
27693         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
27694         prototype.
27695         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
27696         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
27697         trans_data argument.  Add hidden definition.
27698         (__gconv_translit_find): Remove.
27699         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
27700         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
27701         * iconv/skeleton.c: Remove transliteration initialization.
27702         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
27703         __gconv_step_data initialization.
27704         * libio/iofwide.c (__libio_translit_): Remove.
27705         (_IO_fwide): Adjust struct __gconv_step_data initialization.
27706         * wcsmbs/btowc.c (__btowc): Likewise.
27707         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27708         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27709         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27710         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27711         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
27712         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27713         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27714         * wcsmbs/wctob.c (wctob): Likewise.
27716 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27718         [BZ #16194]
27719         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
27720         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
27721         register usage.
27722         * sysdeps/x86/Makefile: Adjust.
27724 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27725             Roland McGrath  <roland@hack.frob.com>
27727         * locale/weight.h: Add include guard.
27728         (findidx): Make static rather than auto; take new parameters
27729         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
27730         * locale/weightwc.h: Likewise.
27731         * posix/fnmatch_loop.c
27732         (FCT): Change type of EXTRA from int32_t to wint_t.
27733         Don't include either header inside the function.
27734         Call FINDIDX rather than findidx, and pass new arguments.
27735         #undef FINDIDX at the end of the file.
27736         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
27737         FINDIDX before including fnmatch_loop.c for the non-wide version.
27738         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
27739         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
27740         for the wide version.
27741         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
27742         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
27743         Pass new arguments to findidx.
27744         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
27745         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
27746         Don't #include it inside the function.  Pass new arguments to findidx.
27747         * posix/regex_internal.h
27748         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
27749         (re_string_elem_size_at): Don't #include it inside the function.
27750         Pass new arguments to findidx.
27751         * string/strcoll_l.c: #include WEIGHT_H at top level.
27752         (get_next_seq): Don't #include it inside the function.
27753         Pass new arguments to findidx.
27754         (get_next_seq_nocache): Likewise.
27755         * string/strxfrm_l.c: #include WEIGHT_H at top level.
27756         (STRXFRM): Don't #include it inside the function.
27757         Pass new arguments to findidx.
27759 2014-09-11  Florian Weimer  <fweimer@redhat.com>
27761         [BZ #17344]
27762         * malloc/malloc.c (unlink): Turn asserts into a call to
27763         malloc_printerr.
27765 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
27767         [BZ #17370]
27768         * libio/wfileops (do_ftell_wide): Free OUT.
27770 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
27772         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
27774 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27776         [BZ #17363]
27777         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
27778         group if the current group is empty.
27780 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27782         * benchtests/bench-memset.c (test_main): Add more test from size
27783         from 32 to 512 bytes.
27784         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27785         Add POWER8 memset object.
27786         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27787         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
27788         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
27789         implementation.
27790         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
27791         Likewise.
27792         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
27793         multiarch POWER8 memset optimization.
27794         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
27795         POWER8 memset optimization.
27797         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27798         Remove bzero multiarch objects.
27799         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
27800         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
27801         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
27802         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
27803         Remove define.
27804         [__bzero]: Redefine to specific name.
27805         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27806         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27807         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
27808         define.
27809         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27810         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27812 2014-09-10  Florian Weimer  <fweimer@redhat.com>
27814         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
27815         warnings into errors.
27817         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
27818         __cxa_thread_atexit_impl prototype.
27820 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27822         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
27823         Fix capitalization of error message.
27825 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27827         * sysdeps/mips/preconfigure: Modify ABI tests.
27829 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
27831         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
27833 2014-09-07  Roland McGrath  <roland@hack.frob.com>
27834             Carlos O'Donell  <carlos@systemhalted.org>
27836         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
27837         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
27838         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
27839         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
27840         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
27841         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
27842         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
27843         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
27844         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
27845         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
27846         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
27847         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
27848         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
27849         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
27850         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
27851         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
27852         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
27853         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
27854         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
27855         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
27856         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
27857         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
27858         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
27859         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
27860         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
27861         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
27862         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
27863         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
27864         Deconditionalize the code that was previously under [RESET_PID].
27865         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
27866         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
27867         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
27868         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
27869         include sysdep.h.
27871 2014-09-08  Allan McRae  <allan@archlinux.org>
27873         * version.h (RELEASE): Set to "development".
27874         (VERSION): Set to "2.20.90"
27876 2014-09-07  Allan McRae  <allan@archlinux.org
27878         * version.h (RELEASE): Set to "stable".
27879         (VERSION): Set to "2.20"
27880         * include/features.h (__GLIBC_MINOR__): Set to 20.
27882         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
27883         Liebler.
27885         * po/ko.po: Update Korean translation from translation project.
27887 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
27889         [BZ #17354]
27890         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
27891         macro for handling signed relocations.
27893 2014-09-03  Florian Weimer  <fweimer@redhat.com>
27895         [BZ #17325]
27896         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
27897         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
27898         assert.
27899         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
27900         * iconvdata/ibm935.c (BODY): Likewise.
27901         * iconvdata/ibm937.c (BODY): Likewise.
27902         * iconvdata/ibm939.c (BODY): Likewise.
27903         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
27904         assert.
27905         * iconvdata/Makefile (iconv-test.out): Pass module list to test
27906         script.
27907         * iconvdata/run-iconv-test.sh: New test loop for checking for
27908         decoder crashers.
27910 2014-09-02  Khem Raj  <raj.khem@gmail.com>
27912         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
27913         libm_hidden_ver.
27915 2014-09-01  Allan McRae  <allan@archlinux.org>
27917         * po/eo.po: Update Esperanto translation from translation project.
27919         * po/ca.po: Update Catalan translation from translation project.
27921 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27923         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
27924         __proc_dostop call.
27926 2014-08-27  Mark Wielaard  <mjw@redhat.com>
27928         [BZ #17319]
27929         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
27930         to call set_thread_area instead of hand written asm.
27931         (__NR_set_thread_area): Removed define.
27932         (TLS_FLAG_WRITABLE): Likewise.
27933         (__ASSUME_SET_THREAD_AREA): Remove check.
27934         (TLS_EBX_ARG): Remove define.
27935         (TLS_LOAD_EBX): Likewise.
27937 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27939         Simplify atomicity of socket creation in bind.
27941         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
27942         looking up the name after linking the file.
27944 2014-08-27  Allan McRae  <allan@archlinux.org>
27946         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27948 2014-08-26  Florian Weimer  <fweimer@redhat.com>
27950         [BZ #17187]
27951         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
27952         trans_compare, open_translit, __gconv_translit_find):
27953         Remove module loading code.
27955 2014-08-26  Allan McRae  <allan@archlinux.org>
27957         * po/vi.po: Update Vietnamese translation from translation project.
27959         * po/uk.po: Update Ukrainian translation from translation project.
27961         * po/fr.po: Update French translation from translation project.
27963         * po/ru.po: Update Russian translation from translation project.
27965         * po/pl.po: Update Polish translation from translation project.
27967         * po/cs.po: Update Czech translation from translation project.
27969         * po/de.po: Update German translation from translation project.
27971         * po/bg.po: Update Bulgarian translation from translation project.
27973         * po/sv.po: Update Sweedish translation from translation project.
27975         * po/nl.po: Update Dutch translation from translation project.
27977         * po/es.po: Update Spanish translation from translation project.
27979 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27981         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
27983         * catgets/Makefile (CPPFLAGS-gencat): Remove.
27984         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
27985         (CPPFLAGS-iconvconfig): Likewise.
27986         * timezone/Makefile (CPPFLAGS-zic): Likewise.
27988         * include/libc-symbols.h: Remove unnecessary check for
27989         NOT_IN_libc.
27990         * nptl/pthreadP.h: Likewise.
27991         * sysdeps/aarch64/setjmp.S: Likewise.
27992         * sysdeps/alpha/setjmp.S: Likewise.
27993         * sysdeps/arm/sysdep.h: Likewise.
27994         * sysdeps/i386/setjmp.S: Likewise.
27995         * sysdeps/m68k/setjmp.c: Likewise.
27996         * sysdeps/posix/getcwd.c: Likewise.
27997         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27998         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27999         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28000         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28001         * sysdeps/sh/sh3/setjmp.S: Likewise.
28002         * sysdeps/sh/sh4/setjmp.S: Likewise.
28003         * sysdeps/unix/alpha/sysdep.h: Likewise.
28004         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28005         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28006         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28007         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28010         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28011         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28012         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28013         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28014         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28015         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28016         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28017         * sysdeps/x86_64/setjmp.S: Likewise.
28019 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
28021         [BZ #17263]
28022         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
28023         <stdint.h>.
28024         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
28025         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
28027 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28029         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
28031         [BZ #17262]
28032         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
28033         and __x86_64__ when disabling x87 inline functions.
28035 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
28037         [BZ #17259]
28038         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
28039         asm statement with __cpuid_count.
28041 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
28043         * configure.ac: Change __ehdr_start code to dereference the struct.
28044         Run readelf on the output to look for relocations.
28045         * configure: Regenerated.
28047 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
28049         [BZ #17261]
28050         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
28051         value to 0.
28052         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
28054 2014-08-12  Roland McGrath  <roland@hack.frob.com>
28056         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
28058 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
28060         [BZ #16892]
28061         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
28062         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
28064 2014-08-12  Sean Anderson  <seanga2@gmail.com>
28066         * malloc/malloc.c: Fix typo in comment.
28068 2014-08-09  Allan McRae  <allan@archlinux.org>
28070         * Regenerate libc.po.
28072 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
28074         * intl/tst-gettext2.sh: Check every lang file for creation.
28076 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
28078         * sysdeps/aarch64/fpu/math_private.h
28079         (libc_feholdsetround_noex_aarch64_ctx): New function.
28081 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
28083         * sysdeps/arm/armv6/strcpy.S (strcpy):
28084         Fix performance issue in misaligned cases.
28086 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28088         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
28089         Move definition from termios.h.
28090         (struct termio): Likewise.
28091         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28092         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28093         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28094         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28095         Likewise.
28096         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
28097         Move definition to ioctl-types.h
28098         (struct termio): Likewise.
28099         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28100         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28101         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28102         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28103         Likewise.
28105 2014-08-05  Richard Henderson  <rth@redhat.com>
28107         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
28108         exceptions.
28109         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
28110         Add fraiseexcpt.
28111         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
28112         Use __feraiseexcept.
28113         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
28114         Protect libm symbols with IS_IN_libm.
28116         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
28118 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
28120         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
28122 2014-08-04  Will Newton  <will.newton@linaro.org>
28124         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
28125         file.
28127 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
28129         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
28130         variants for each function.
28132 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28134         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
28135         appended ...
28136         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
28137         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
28138         appended ...
28139         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
28140         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
28141         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
28142         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
28143         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
28144         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
28145         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
28146         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
28147         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
28148         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
28149         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
28150         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
28151         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
28152         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
28153         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
28154         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
28155         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
28156         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
28157         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
28158         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
28159         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
28160         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
28161         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
28162         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
28163         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
28164         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
28165         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
28166         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
28167         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
28168         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
28169         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
28170         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
28171         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
28172         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
28173         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
28174         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
28175         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
28176         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
28177         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
28178         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
28179         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
28180         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
28181         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
28182         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
28183         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
28184         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
28185         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
28186         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
28187         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
28188         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
28189         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
28190         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
28191         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
28192         Update #include.
28193         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
28194         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
28196 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28198         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
28199         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
28200         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
28201         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
28202         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
28203         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
28205 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28207         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
28208         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
28209         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28210         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
28212 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28214         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
28215         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
28216         (__libc_vfork): Define function under this name.
28217         (__vfork): Define as an alias.
28218         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
28219         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
28221 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28223         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
28224         that was previously under [RESET_PID].
28225         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
28227 2014-08-04  Andreas Schwab  <schwab@suse.de>
28229         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
28231 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
28233         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
28234         (main): Likewise.
28236 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28238         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
28240 2014-08-01  Richard Henderon  <rth@redhat.com>
28242         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
28243         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
28244         typo in exact zero test.
28245         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28246         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28247         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28249 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28251         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
28252         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
28253         * sysdeps/arm/sysdep.h: ... here.
28254         [!__ASSEMBLER__]: Include <stdint.h>.
28256 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28258         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
28259         (HAVE_WCTYPE_H): Likewise.
28260         (HAVE_ISWCTYPE): Likewise.
28261         (ENABLE_NLS): Likewise.
28262         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
28263         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
28265         * posix/regex_internal.c: Check if DEBUG is defined and is
28266         set.
28268         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
28269         (HAVE_MBSRTOWCS): Likewise.
28270         * posix/fnmatch.c: Include string.h unconditionally.
28272 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28274         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
28275         reversal.
28277 2014-07-31  Roland McGrath  <roland@hack.frob.com>
28279         * sysdeps/generic/safe-fatal.h: New file.
28280         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
28281         * nptl/forward.c: Include it.
28282         (__pthread_unwind): Use __safe_fatal as default action, rather
28283         than a bogus use of INTERNAL_SYSCALL that could never work.
28285         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
28286         * configure.ac (libc_cv_builtin_trap): New test.
28287         * configure: Regenerated.
28288         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
28289         (ABORT_INSTRUCTION): Define using __builtin_trap.
28291         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
28292         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
28293         * sysdeps/nptl/nptl-signals.h: New file.
28294         * nptl/pthreadP.h: Include <nptl-signals.h>.
28296 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28298         * sysdeps/s390/s390-64/utf16-utf32-z9.c
28299         (ONE_DIRECTION): Define.
28300         * sysdeps/s390/s390-64/utf8-utf16-z9.c
28301         (ONE_DIRECTION): Define.
28302         * sysdeps/s390/s390-64/utf8-utf32-z9.c
28303         (ONE_DIRECTION): Define.
28305 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28307         * sysdeps/s390/Makefile: Delete file.
28308         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
28309         * sysdeps/s390/__longjmp.c: Delete file.
28310         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
28311         Remove fields __flags and __reserved.
28312         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
28313         and add versioning.
28314         * sysdeps/s390/rtld-__longjmp.c: Delete file.
28315         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
28316         * sysdeps/s390/rtld-setjmp.S: Likewise.
28317         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
28318         * sysdeps/s390/s390-32/__longjmp.c: ... here.
28319         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
28320         * sysdeps/s390/s390-32/setjmp.S: ... here.
28321         Add versioning.
28322         (__sigsetjmp): Remove setting __flags field.
28323         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
28324         * sysdeps/s390/s390-64/__longjmp.c: ... here.
28325         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
28326         * sysdeps/s390/s390-64/setjmp.S: ... here.
28327         Add versioning.
28328         (__sigsetjmp): Remove setting __flags field.
28329         * sysdeps/s390/setjmp.S: Delete file.
28330         * sysdeps/s390/sigjmp.c: Likewise.
28331         * sysdeps/s390/v1-longjmp.c: Likewise.
28332         * sysdeps/s390/v1-setjmp.h: Likewise.
28333         * sysdeps/s390/v1-sigjmp.c: Likewise.
28334         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
28335         Remove v1-longjmp_chk.
28336         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
28337         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
28338         Include debug/longjmp_chk.c and add versioning.
28339         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
28340         Include nptl/pt-longjmp.c and add versioning.
28341         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
28342         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
28343         Include __longjmp.c.
28344         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28345         Move to ...
28346         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
28347         (__getcontext): Remove setting __flags field.
28348         Add versioning.
28349         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28350         Don't restore upper high grps.
28351         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
28352         Likewise.
28353         (__swapcontext): Remove setting uc_flags field.
28354         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
28355         Delete file.
28356         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28357         Include __longjmp.c.
28358         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28359         Move to ...
28360         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
28361         (__getcontext): Remove setting __flags field.
28362         Add versioning.
28363         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
28364         (__swapcontext): Remove setting uc_flags field.
28365         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
28366         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
28367         Remove fields uc_high_gprs and __reserved.
28368         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
28369         New file with reverted content.
28370         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
28371         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
28372         Regenerated.
28373         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
28374         Regenerated.
28376 2014-07-31  Andreas Schwab  <schwab@suse.de>
28378         * config.h.in (HAVE_IFUNC): Define to 0.
28379         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
28380         definedness.
28382 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
28384         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28385         memmove-avx-unaligned, memcpy-avx-unaligned and
28386         mempcpy-avx-unaligned.
28387         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28388         Add tests for AVX memcpy functions.
28389         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
28390         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
28391         memcpy_chk.
28392         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
28393         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
28394         memmove_chk.
28395         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
28396         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
28397         mempcpy_chk.
28398         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
28399         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
28400         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
28402 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28404         [BZ #17213]
28405         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
28406         powerpc64le.
28408 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
28410         [BZ #16839]
28411         * manual/llio.texi: Add section about open file description locks.
28412         * manual/examples/ofdlocks.c: Example of open file description
28413         lock usage.
28414         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
28415         F_OFD_SETLK, and F_OFD_SETLKW.
28417 2014-07-23  Allan McRae  <allan@archlinux.org>
28419         * po/es.po: Update Spanish translation from translation project.
28421 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
28423         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
28425 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
28427         [BZ #17078]
28428         * sysdeps/arm/dl-machine.h (elf_machine_rela)
28429         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
28430         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
28432 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
28434         [BZ #17088]
28435         * math/fesetenv.c (__fesetenv)
28436         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
28437         * math/feupdateenv.c (__feupdateenv)
28438         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
28440         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
28441         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28442         (__ASSUME_SOCKETCALL): Do not define.
28444         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
28445         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
28446         (__ASSUME_SOCKETCALL): Do not define.
28447         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
28448         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28449         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28450         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28451         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28452         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
28453         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28454         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28456         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
28457         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
28458         (__ASSUME_SOCKETCALL): Do not define.
28459         (__ASSUME_IPC64): Define unconditionally.
28460         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28461         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28462         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28463         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28464         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
28465         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28466         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
28467         Likewise.
28469         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
28470         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
28471         (__ASSUME_SOCKETCALL): Do not define.
28472         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
28473         (__ASSUME_FUTEX_LOCK_PI): Likewise.
28474         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28475         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
28476         (__ASSUME_REQUEUE_PI): Define unconditionally.
28477         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
28478         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
28479         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28480         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
28481         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28482         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28484         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
28485         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
28486         (__ASSUME_SOCKETCALL): Do not define.
28487         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
28488         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28489         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28490         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
28491         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28492         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28494         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
28495         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
28496         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28497         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
28498         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28499         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
28500         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28501         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
28502         (__ASSUME_GETCPU_SYSCALL): Likewise.
28504         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
28505         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
28506         cases for individual architectures.
28507         * sysdeps/gnu/configure: Regenerated.
28508         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
28509         LIBC_SLIBDIR_RTLDDIR.
28510         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
28511         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
28512         LIBC_SLIBDIR_RTLDDIR.
28513         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
28514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
28515         LIBC_SLIBDIR_RTLDDIR.
28516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28517         Regenerated.
28518         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
28519         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
28520         file.
28521         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
28522         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
28523         file.
28524         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
28525         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
28526         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
28527         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
28529         * sysdeps/aarch64/shlib-versions: Move to ...
28530         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
28531         * sysdeps/alpha/shlib-versions: Move to ...
28532         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
28533         * sysdeps/arm/shlib-versions: Move to ...
28534         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
28535         * sysdeps/hppa/shlib-versions: Move all contents except for
28536         libgcc_s entry to ...
28537         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
28538         entry from ...
28539         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
28540         * sysdeps/ia64/shlib-versions: Move to ...
28541         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
28542         entry from ...
28543         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
28544         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
28545         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
28546         * sysdeps/microblaze/shlib-versions: Move to ...
28547         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
28548         * sysdeps/mips/shlib-versions: Move to ...
28549         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
28550         entry from ...
28551         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
28552         * sysdeps/tile/shlib-versions: Move to ...
28553         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
28554         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
28555         from ...
28556         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
28557         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
28558         entry from ...
28559         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
28561 2014-07-17  Will Newton  <will.newton@linaro.org>
28563         * sysdeps/arm/bits/atomic.h
28564         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
28565         (__arch_compare_and_exchange_bool_16_int): Likewise.
28566         (__arch_compare_and_exchange_bool_64_int): Likewise.
28568         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
28569         into an #else block.
28571 2014-07-16  Roland McGrath  <roland@hack.frob.com>
28573         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
28574         just Linux configurations.  Test empirically that the compiler sets
28575         __ARM_EABI__, rather than using the tuple to decide.
28576         * sysdeps/arm/preconfigure: Regenerated.
28577         * sysdeps/unix/sysv/linux/arm/configure: File removed.
28578         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
28579         contents appended ...
28580         * sysdeps/arm/configure.ac: ... here.
28581         * sysdeps/arm/configure: Regenerated.
28583 2014-07-15  Roland McGrath  <roland@hack.frob.com>
28585         * nptl/pthread_kill.c: New file.
28586         * nptl/pthread_sigmask.c: New file.
28587         * nptl/pthread_sigqueue.c: New file.
28589         * sysdeps/nptl/lowlevellock.h: New file.
28590         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
28591         * sysdeps/nptl/lowlevellock-futex.h: New file.
28593         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
28594         Remove dead declarations.
28596 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
28598         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
28599         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
28600         config-cflags-avx2.
28601         * sysdeps/x86_64/configure.ac: Likewise.
28602         * sysdeps/i386/configure: Regenerated.
28603         * sysdeps/x86_64/configure: Likewise.
28604         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28605         memset-avx2 only if config-cflags-avx2 is yes.
28606         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28607         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
28608         defined.
28609         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
28610         only if HAVE_AVX2_SUPPORT is defined.
28611         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28613 2014-07-14  Alan Modra  <amodra@gmail.com>
28615         [BZ #17153]
28616         * elf/elf.h (DT_PPC64_NUM): Correct value.
28617         * NEWS: Add to fixed bug list.
28619 2014-07-13  Jim Meyering  <meyering@fb.com>
28621         [BZ 17150]
28622         regex: don't deref NULL upon heap allocation failure
28623         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
28624         failure in one more place.
28625         To trigger the segfault, configure grep -with-included-regex,
28626         build it, and run these commands:
28627         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
28629 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
28631         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28633 2014-07-11  Richard Henderson  <rth@redhat.com>
28635         * sysdeps/aarch64/libm-test-ulps: Update.
28637 2014-07-10  Florian Weimer  <fweimer@redhat.com>
28639         [BZ #17135]
28640         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
28641         * nptl/allocatestack.c (__nptl_setxid_error): New function.
28642         (__nptl_setxid): Initialize error member.  Call
28643         __nptl_setxid_error.
28644         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
28645         * nptl/descr.h (struct xid_command): Add error member.
28646         * nptl/tst-setuid3.c: New file.
28647         * nptl/Makefile (tests): Add it.
28649 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28651         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
28652         New define.
28653         (__lll_trylock): Use __lll_base_trylock.
28654         (__lll_cond_trylock): Likewise.
28656 2014-07-10  Roland McGrath  <roland@hack.frob.com>
28658         * nptl/pthread_create.c (start_thread): Use atomic_or and
28659         lll_futex_wake directly rather than lll_robust_dead.
28660         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28661         (lll_robust_dead): Macro removed.
28662         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
28663         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28664         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28665         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28666         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28667         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28668         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28669         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28670         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28671         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28672         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28673         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28674         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28675         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28676         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28678         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
28679         Use atomic_compare_and_exchange_val_acq directly rather than
28680         lll_robust_trylock.
28681         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28682         (__lll_robust_trylock, lll_robust_trylock): Removed.
28683         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28684         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28685         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28686         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28687         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28688         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28689         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28690         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28691         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28692         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28693         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28694         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28695         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28696         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28698 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28700         * manual/locale.texi (Locale Names): New section documenting
28701         locale name syntax.  Adjust menu and node chaining accordingly.
28702         (Choosing Locale): Reference Locale Names, Locale Categories.
28703         Mention setting LC_ALL=C.  Reflect that name syntax is now
28704         documented.
28705         (Locale Categories): New section title.  Reference Locale Names.
28706         LC_ALL is an environment variable, but not a category.
28707         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
28708         description, now in Locale Name.  Reference that section.  Locale
28709         name syntax is now documented.
28711 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28713         [BZ #17137]
28714         * locale/findlocale.c (name_present, valid_locale_name): New
28715         functions.
28716         (_nl_find_locale): Use the loc_name variable to store name
28717         candidates.  Call name_present and valid_locale_name to check and
28718         validate locale names.  Return an error if the locale is invalid.
28720 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28722         * locale/setlocale.c (setlocale): Use strdup for allocating
28723         composite name copy.
28725 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28727         Sync up with gnulib.
28728         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
28729         [!_LIBC && ENABLE_NLS]: Include gettext.h.
28730         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
28731         and _GL_ARG_NONNULL.
28732         [USE_UNLOCKED_IO]: Include unlocked-io.h.
28733         [!_LIBC]: Include code for Windows and Cygwin.
28734         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
28735         Include prototype for int strerror_r.
28736         [!_LIBC] (is_open): New function.
28737         (flush_stdout): New function.
28738         (print_errno_message): Use it.
28739         (error): Likewise.
28740         (error_at_line): Likewise.
28741         (error_tail) Add function attribute macros.  Use
28742         __builtin_expect.
28744         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
28746         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
28748         * io/ftw.c: Include sys/param.h unconditionally.
28750         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
28752         [BZ #17125]
28753         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
28754         libc_freeres_ptr.
28755         (freecache): New function to free CACHE on exit.
28757         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
28758         initialization.
28760 2014-07-09  David S. Miller  <davem@davemloft.net>
28762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28764         * sysdeps/sparc/nptl/internaltypes.h: Delete.
28765         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
28766         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
28767         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
28768         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
28769         * sysdeps/sparc/nptl/sem_init.c: Likewise.
28770         * sysdeps/sparc/nptl/sem_post.c: Likewise.
28771         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
28772         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
28773         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
28774         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
28775         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
28776         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
28778 2014-07-09  Andreas Schwab  <schwab@suse.de>
28780         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
28781         output.
28782         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
28783         (do_test): Likewise.
28785         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28787 2014-07-09  Will Newton  <will.newton@linaro.org>
28789         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
28790         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
28791         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28792         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28793         * sysdeps/hppa/start.S (_start): Likewise.
28795 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28797         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
28799         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
28800         defined.
28802 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28804         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
28805         after checking that it is non-NULL.
28807         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
28809 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28811         * sysdeps/powerpc/memmove.c: Remove file.
28812         * sysdeps/powerpc/powerpc32/power4/memcopy.h
28813         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
28814         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28815         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
28816         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
28817         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
28818         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
28819         string memmove instead of removed powerpc one.
28821         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28822         [weak_alias]: Fix compiler warning due trailing data.
28823         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
28824         [weak_alias]: Likewise.
28825         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
28826         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
28828         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28829         (__libc_ifunc_impl_list): Add memmove functions.
28831 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28833         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
28834         Remove code.
28835         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
28836         Likewise.
28837         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
28838         Likewise.
28839         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
28840         Likewise.
28841         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
28842         Likewise.
28843         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
28844         Likewise.
28845         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
28846         Likewise.
28847         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
28848         Likewise.
28849         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
28850         Likewise.
28851         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
28852         Likewise.
28853         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
28854         Likewise.
28855         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
28856         Likewise.
28857         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
28858         Likewise.
28859         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
28860         Likewise.
28861         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
28862         Likewise.
28863         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
28864         Likewise.
28865         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
28866         Likewise.
28868 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28870         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
28871         to avoid alignment traps in non-cacheable memory.
28872         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28874         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
28875         multiarch objects.
28876         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
28877         file: multiarch power7 memmove.
28878         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
28879         multiarch default memmove.
28880         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
28881         multiarch memove for powerpc32/power4.
28883         * string/bcopy.c: Use full path to include memmove.c.
28884         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
28885         multiarch objects.
28886         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
28887         bcopy for powerpc64.
28888         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
28889         bcopy for powerpc64.
28890         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
28891         and memmove implementations.
28892         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
28893         optimized multiarch memmove for POWER7/powerpc64.
28894         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
28895         default multiarch memmove for powerpc64.
28896         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
28897         multiarch for powerpc64.
28898         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
28899         for POWER7/powerpc64.
28900         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
28901         memmove for POWER7/powerpc64.
28903         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
28904         glibc default one.
28906         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
28907         __ELF_NATIVE_CLASS equal to 64.
28909 2014-07-07  Roland McGrath  <roland@hack.frob.com>
28911         * sysdeps/nptl/lowlevellock.h: File removed.
28913         * NEWS: NPTL is no longer an add-on!
28914         * nptl/internaltypes.h: Moved ...
28915         * sysdeps/nptl/internaltypes.h: ... here.
28916         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
28917         * sysdeps/nptl/fork.c: Likewise.
28918         * sysdeps/nptl/gai_misc.h: Likewise.
28919         * sysdeps/nptl/librt-cancellation.c: Likewise.
28920         * sysdeps/nptl/jmp-unwind.c: Likewise.
28921         * sysdeps/nptl/setxid.h: Likewise.
28922         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
28923         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
28924         * sysdeps/unix/sysv/linux/arm/Implies: New file.
28925         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
28926         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
28927         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
28928         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
28929         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
28930         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
28931         * sysdeps/unix/sysv/linux/mips/Implies: New file.
28932         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
28933         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
28934         * sysdeps/unix/sysv/linux/sh/Implies: New file.
28935         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
28936         * sysdeps/unix/sysv/linux/tile/Implies: New file.
28937         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
28938         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
28939         * nptl/Makeconfig: Moved ...
28940         * sysdeps/nptl/Makeconfig: ... here.
28941         * nptl/configure: File removed.
28942         * nptl/ANNOUNCE: File removed.
28943         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
28944         * sysdeps/unix/sysv/linux/configure: Regenerated.
28946         * nptl/Makefile (routines): Add libc_pthread_init,
28947         libc_multiple_threads, register-atfork and unregister-atfork.
28948         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
28949         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
28950         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
28951         pthread-pi-defines.sym, structsem.sym.
28952         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
28953         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
28954         [$(subdir) = nptl] (tests): Add tst-setgetname.
28955         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
28956         * sysdeps/unix/sysv/linux/sigaction.c: Just include
28957         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
28958         [!LIBC_SIGACTION]: Remove aliases.
28959         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28960         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28961         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28962         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
28963         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28964         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
28965         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28966         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28967         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28968         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
28969         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
28970         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
28971         __libc_allocate_rtsig_private.
28972         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
28973         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
28974         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28975         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28976         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
28977         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
28978         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
28979         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
28980         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
28981         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
28982         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
28983         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
28984         * nptl/internaltypes.h: ... here.
28985         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
28986         * sysdeps/nptl/jmp-unwind.c: ... here.
28987         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
28988         * nptl/libc-lowlevellock.c: ... here.
28989         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
28990         * nptl/libc_multiple_threads.c: ... here.
28991         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
28992         * nptl/libc_pthread_init.c: ... here.
28993         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
28994         * nptl/lowlevelbarrier.sym: ... here.
28995         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
28996         * nptl/lowlevelcond.sym: ... here.
28997         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
28998         * nptl/lowlevellock.c: ... here.
28999         * nptl/lowlevellock.h: Moved ...
29000         * sysdeps/nptl/lowlevellock.h: ... here.
29001         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
29002         * nptl/lowlevelrobustlock.c: ... here.
29003         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
29004         * nptl/lowlevelrobustlock.sym: ... here.
29005         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
29006         * nptl/lowlevelrwlock.sym: ... here.
29007         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
29008         * nptl/pt-fork.c: ... here.
29009         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
29010         * nptl/pthread-pi-defines.sym: ... here.
29011         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
29012         * nptl/pthread_attr_getaffinity.c: ... here.
29013         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
29014         * nptl/pthread_attr_setaffinity.c: ... here.
29015         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
29016         * nptl/pthread_mutex_cond_lock.c: ... here.
29017         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29018         Update #include.
29019         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
29020         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
29021         * nptl/pthread_once.c: ... here, replacing old file.
29022         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
29023         * nptl/pthread_yield.c: ... here.
29024         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
29025         * nptl/register-atfork.c: ... here.
29026         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
29027         * nptl/sem_post.c: ... here.
29028         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
29029         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
29030         * nptl/sem_timedwait.c: ... here.
29031         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
29032         * nptl/sem_trywait.c: ... here.
29033         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
29034         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
29035         * nptl/sem_wait.c: ... here.
29036         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
29037         * nptl/structsem.sym: ... here.
29038         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
29039         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
29040         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
29041         * nptl/unregister-atfork.c: ... here.
29042         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
29043         * nptl/unwindbuf.sym: ... here.
29044         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
29045         * sysdeps/nptl/fork.c: ... here.
29046         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
29047         * sysdeps/nptl/fork.h: ... here.
29048         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
29049         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
29050         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
29051         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
29052         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
29053         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
29054         * sysdeps/unix/sysv/linux/getpid.c: ... here.
29055         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
29056         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
29057         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
29058         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
29059         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
29060         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
29061         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
29062         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
29063         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
29064         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
29065         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
29066         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
29067         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
29068         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
29069         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
29070         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
29071         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
29072         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
29073         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
29074         * sysdeps/unix/sysv/linux/raise.c: ... here.
29075         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
29076         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
29077         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
29078         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
29079         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
29080         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
29081         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
29082         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
29083         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
29084         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
29085         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
29086         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
29087         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
29088         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
29089         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
29091 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29093         * sysdeps/generic/memcopy.h: Add comment for
29094         MEMCPY_OK_FOR_FWD_MEMMOVE.
29096 2014-07-04  Will Newton  <will.newton@linaro.org>
29098         * string/memchr.c: Merge from gnulib.
29099         [_LIBC]: Remove conditionals.
29100         (__ptr_t): Remove define.
29101         (LONG_MAX_32_BITS): Likewise.
29102         (LONG_MAX): Likewise.
29103         (MEMCHR): Use ANSI prototype and optimize algorithm.
29105         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
29107 2014-07-03  Roland McGrath  <roland@hack.frob.com>
29109         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
29110         (lll_futex_timed_wait_bitset): Fix syscall argument count.
29112         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
29113         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
29114         in a bare environment with no <stdlib.h> installed.
29115         * sysdeps/nptl/configure: Regenerated.
29117         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
29119         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
29120         AC_EGREP_CPP for kernel header checks, so they only succeed if
29121         including <linux/version.h> actually works right.
29122         * sysdeps/unix/sysv/linux/configure: Regenerated.
29124         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
29125         value so it's not diagnosed as unused.
29127         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
29128         thing) with "ifeq ($(subdir),rt)".
29130 2014-07-03  Richard Henderson  <rth@redhat.com>
29132         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
29133         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
29134         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
29136         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
29137         (math_force_eval): New.
29139         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
29140         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
29142         * sysdeps/alpha/fpu/s_round.c: Remove file.
29143         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
29145         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
29146         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
29147         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
29148         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
29149         (_dl_start, print_statistics): Likewise.
29150         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
29151         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
29153         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29154         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29155         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29156         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29157         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29158         (HP_SMALL_TIMING_AVAIL): Define.
29159         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29160         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29161         (HP_SMALL_TIMING_AVAIL): Define.
29162         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29163         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29165         * sysdeps/aarch64/hp-timing.h: New file.
29167         * sysdeps/generic/hp-timing.h: Remove dead comment.
29168         * sysdeps/generic/hp-timing-common.h: New file.
29169         * sysdeps/alpha/hp-timing.h: Include it.
29170         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
29171         * sysdeps/i386/i686/hp-timing.h: Likewise.
29172         * sysdeps/ia64/hp-timing.h: Likewise.
29173         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29174         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29175         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29176         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29177         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
29178         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
29179         (hp_timing_t): New.
29181         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
29182         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
29183         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
29184         * elf/rtld.c (_dl_start_final): Likewise.
29185         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
29186         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29187         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29188         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29189         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29190         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29191         (HP_TIMING_DIFF_INIT): Remove.
29192         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29193         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29194         (HP_TIMING_DIFF_INIT): Remove.
29195         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29196         * sysdeps/i386/i686/hp-timing.c: Remove file.
29197         * sysdeps/x86_64/hp-timing.c: Remove file.
29198         * sysdeps/ia64/hp-timing.c: Remove file.
29199         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
29200         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
29201         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
29202         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
29204         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
29205         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
29206         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
29207         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29208         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29209         (HP_TIMING_ACCUM): Remove.
29210         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29211         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
29212         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29214         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
29215         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
29216         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
29217         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
29218         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
29219         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29220         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
29221         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29223         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
29225 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
29227         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
29229 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29231         Sync up with gettext.
29232         * intl/loadmsgcat.c: Define O_BINARY if not defined.
29233         [_MSC_VER]: Include malloc.h
29234         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
29235         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
29236         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
29237         TEMP_FAILURE_RETRY.  Cast return of alloca.
29238         [!_LIBC] Call gl_rwlock_init.
29239         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
29241 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29243         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
29244         before checking its value.
29246 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29248         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
29250         * debug/memcpy_chk.c: Don't include pagecopy.h.
29251         * debug/mempcpy_chk.c: Likewise.
29252         * string/memcpy.c: Likewise.
29253         * string/memmove.c: Likewise.
29254         * sysdeps/powerpc/memmove.c: Likewise.
29255         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
29256         definition of PAGE_COPY_FWD_MAYBE here...
29257         * sysdeps/generic/pagecopy.h: ... from here.
29258         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
29260 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29261             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29263         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
29264         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
29265         optimizations.
29266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29267         (__libc_ifunc_impl_list): Likewise.
29268         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
29269         multiarch strcat for PPC64.
29270         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
29271         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
29273 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29275         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
29277 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29279         * intl/loadmsgcat.c: Remove declaration of
29280         get_sysdep_segment_value.
29281         (get_sysdep_segment_value): Use ISO C style.
29282         (_nl_load_domain): Use ISO C style.  Get rid of redundant
29283         semicolon.  Fix typo and formatting in comment.
29284         (_nl_unload_domain): Use ISO C style.
29286         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
29288 2014-07-02  Will Newton  <will.newton@linaro.org>
29290         * malloc/obstack.c: Merge from gnulib master.
29291         [HAVE_CONFIG_H]: Remove conditional code.
29292         [!_LIBC]: Include config.h.
29293         [!ELIDE_CODE]: Don't include inttypes.h, include
29294         stdint.h unconditionally.
29295         (print_and_abort): Mark as _Noreturn.
29296         (_obstack_allocated_p): Mark as __attribute_pure__.
29297         (obstack_free): Rename to __obstack_free.
29298         [!__attribute__]: Remove conditional code.
29299         * malloc/obstack.h: Merge from gnulib master.
29300         [__cplusplus]: Move conditional down.
29301         [!__attribute_pure__]: Define __attribute_pure__ here
29302         if it is not already defined.
29303         (_obstack_memory_used): Mark as __attribute_pure__.
29304         [!__obstack_free]: Define as obstack_free.
29305         [__GNUC__]: Remove check for ancient NeXT gcc.
29307 2014-07-02  Will Newton  <will.newton@linaro.org>
29308             Paul Eggert  <eggert@cs.ucla.edu>
29310         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
29312 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29314         * resolv/gethnamaddr.c: Add comment warning that the file is
29315         not maintained.
29317 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
29319         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
29320         entries.
29322         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
29323         entry for aio_cancel and aio_cancel64.
29324         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
29325         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
29326         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
29327         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
29328         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
29329         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
29330         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
29331         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
29332         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
29333         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
29334         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
29335         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
29336         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
29338 2014-07-01  Roland McGrath  <roland@hack.frob.com>
29340         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
29341         * nptl/pthread_mutex_lock.c: Likewise.
29342         * nptl/pthread_mutex_timedlock.c: Likewise.
29343         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
29345 2014-07-01  Richard henderson  <rth@redhat.com>
29347         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
29348         (__isnan, __isnanl): Remove.
29349         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
29351         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29353 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
29355         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29357 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29359         * resolv/nss_dns/dns-host.c (getanswer_r)
29360         [MULTI_PTRS_ARE_ALIASES]: Remove code.
29362 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
29364         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29365         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
29366         undefine.
29367         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
29368         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
29370 2014-07-01  Roland McGrath <roland@hack.frob.com>
29372         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
29373         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
29375         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
29376         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
29378         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
29379         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
29380         ... here.
29381         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
29382         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
29384         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
29385         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
29386         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
29387         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
29389         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
29390         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
29391         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
29392         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
29393         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
29394         Moved ...
29395         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
29396         ... here.
29397         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
29398         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
29399         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
29400         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
29401         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
29402         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
29403         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
29404         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
29405         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
29406         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
29407         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
29408         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
29409         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
29410         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
29411         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
29412         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
29413         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
29414         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
29415         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
29416         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
29417         ... here.
29418         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
29419         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
29420         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
29421         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
29422         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
29423         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
29424         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
29425         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
29427 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
29429         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
29430         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
29431         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
29432         Add sysdep.
29434 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29436         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29438 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29440         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29441         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29443         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29445         * sysdeps/arm/libm-test-ulps: Regenerated.
29447 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29448             Roland McGrath <roland@hack.frob.com>
29450         * test-skeleton.c (signal_handler): Kill the whole process group
29451         before killing the child individually.
29452         (main): Report any failure on `setpgid'.
29454 2014-06-30  Roland McGrath  <roland@hack.frob.com>
29456         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
29457         from _TLS_H to _ARM_NPTL_TLS_H.
29458         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
29459         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
29461 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29463         [BZ #16539]
29464         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
29465         (__expm1l): Return argument unchanged when small but not
29466         subnormal.
29468         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
29469         include macro name.
29470         (_FP_UNPACK_RAW_1_P): Likewise.
29471         (_FP_PACK_RAW_1): Likewise.
29472         (_FP_PACK_RAW_1_P): Likewise.
29473         (_FP_MUL_MEAT_1_wide): Likewise.
29474         (_FP_MUL_MEAT_DW_1_hard): Likewise.
29475         (_FP_MUL_MEAT_1_hard): Likewise.
29476         (_FP_DIV_MEAT_1_imm): Likewise.
29477         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
29478         (_FP_DIV_MEAT_1_udiv): Likewise.
29479         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
29480         (_FP_UNPACK_RAW_2): Likewise.
29481         (_FP_UNPACK_RAW_2_P): Likewise.
29482         (_FP_PACK_RAW_2): Likewise.
29483         (_FP_PACK_RAW_2_P): Likewise.
29484         (_FP_MUL_MEAT_DW_2_wide): Likewise.
29485         (_FP_MUL_MEAT_2_wide): Likewise.
29486         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
29487         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29488         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
29489         (_FP_MUL_MEAT_2_gmp): Likewise.
29490         (_FP_DIV_MEAT_2_udiv): Likewise.
29491         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
29492         (_FP_FRAC_SRL_4): Likewise.
29493         (_FP_FRAC_SRST_4): Likewise.
29494         (_FP_FRAC_SRS_4): Likewise.
29495         (_FP_UNPACK_RAW_4): Likewise.
29496         (_FP_UNPACK_RAW_4_P): Likewise.
29497         (_FP_PACK_RAW_4): Likewise.
29498         (_FP_PACK_RAW_4_P): Likewise.
29499         (_FP_MUL_MEAT_DW_4_wide): Likewise.
29500         (_FP_MUL_MEAT_4_wide): Likewise.
29501         (_FP_MUL_MEAT_4_gmp): Likewise.
29502         (umul_ppppmnnn): Likewise.
29503         (_FP_DIV_MEAT_4_udiv): Likewise.
29504         (__FP_FRAC_ADD_4): Likewise.
29505         (__FP_FRAC_SUB_3): Likewise.
29506         (__FP_FRAC_SUB_4): Likewise.
29507         (__FP_FRAC_DEC_3): Likewise.
29508         (__FP_FRAC_DEC_4): Likewise.
29509         (__FP_FRAC_ADDI_4): Likewise.
29510         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
29511         (_FP_FRAC_SRL_8): Likewise.
29512         (_FP_FRAC_SRS_8): Likewise.
29514         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
29515         include macro name.
29516         (FP_UNPACK_RAW_EP): Likewise.
29517         (FP_PACK_RAW_E): Likewise.
29518         (FP_PACK_RAW_EP): Likewise.
29519         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
29520         (_FP_ISSIGNAN): Likewise.
29521         (_FP_ADD_INTERNAL): Likewise.
29522         (_FP_FMA): Likewise.
29523         (_FP_CMP): Likewise.
29524         (_FP_SQRT): Likewise.
29525         (_FP_TO_INT): Likewise.
29526         (_FP_FROM_INT): Likewise.
29527         (FP_EXTEND): Likewise.
29528         (_FP_DIV_MEAT_N_loop): Likewise.
29530 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29532         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
29533         throughout.
29535 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
29537         [BZ #17097]
29538         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
29539         result with correct sign in case of exponents that produce
29540         overflow except for X very close to 1.
29542 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
29544         mktime: merge #if/#ifdef usage from glibc
29545         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
29546         as that works with both Glibc's and Gnulib's style.
29547         See thread starting at Siddhesh Poyarekar's bug report at:
29548         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
29550 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29552         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
29553         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
29554         * sysdeps/tile/tilegx/memmove.c: Remove file.
29556 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29558         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
29559         abi-name definition.
29560         * scripts/soversions.awk: Do not handle or generate ABI lines.
29561         * shlib-versions: Remove ABI entries.
29562         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
29563         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
29565 2014-06-27  Roland McGrath  <roland@hack.frob.com>
29567         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
29568         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
29569         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
29570         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
29571         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
29572         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
29573         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
29574         Moved ...
29575         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
29576         ... here.
29577         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
29578         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
29579         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
29580         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
29581         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
29582         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
29583         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
29584         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
29585         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
29586         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
29587         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
29588         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
29589         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
29590         Moved ...
29591         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
29592         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
29593         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
29594         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
29595         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
29596         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
29597         Moved ...
29598         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
29599         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
29600         Moved ...
29601         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
29602         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
29603         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
29604         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
29605         Moved ...
29606         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
29607         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
29608         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
29609         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
29610         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
29611         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
29612         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
29613         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
29614         Moved ...
29615         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
29616         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
29617         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
29618         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
29619         Moved ...
29620         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
29621         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
29622         Moved ...
29623         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
29624         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
29625         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
29626         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
29627         Moved ...
29628         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
29629         ... here.
29630         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
29631         Identical file removed.
29632         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
29633         Moved ...
29634         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
29635         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
29636         Identical file removed.
29637         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
29638         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
29639         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
29640         Moved ...
29641         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
29642         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
29643         Identical file removed.
29644         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
29645         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
29646         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
29647         Identical file removed.
29648         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
29649         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
29650         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
29651         Identical file removed.
29652         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
29653         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
29654         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
29655         Identical file removed.
29656         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
29657         Moved ...
29658         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
29659         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
29660         Identical file removed.
29661         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
29662         Moved ...
29663         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
29664         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
29665         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
29666         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
29667         Identical file removed.
29668         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
29669         Moved ...
29670         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
29671         ... here.
29672         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
29673         Identical file removed.
29674         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
29675         Moved ...
29676         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
29677         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
29678         Identical file removed.
29679         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
29680         Moved ...
29681         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
29682         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
29683         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
29684         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
29685         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
29686         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
29687         Moved ...
29688         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
29689         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
29690         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
29692         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
29693         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
29694         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
29695         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
29696         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
29698 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
29700         [BZ #17092]
29701         * nscd/nscd.c (monitor_child): Return exit status of child
29702         instead of return value from wait syscall.
29704 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29706         * configure.ac (libc_commonpagesize): Remove variable.
29707         (libc_relro_required): Likewise.
29708         (libc_cv_z_relro): Remove configure test.
29709         * configure: Regenerated.
29710         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
29711         variable.
29712         (libc_relro_required): Likewise.
29713         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
29714         (libc_relro_required): Likewise.
29715         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
29716         (libc_relro_required): Likewise.
29717         * sysdeps/arm/preconfigure: Regenerated.
29718         * sysdeps/ia64/preconfigure: Remove file.
29719         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
29720         variable.
29721         (libc_relro_required): Likewise.
29723         [BZ #16561]
29724         [BZ #16562]
29725         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
29726         (__ieee754_yn): Set FE_TONEAREST mode internally and then
29727         recompute overflowing results in original rounding mode.
29728         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
29729         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
29730         recompute overflowing results in original rounding mode.
29731         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
29732         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29733         recompute overflowing results in original rounding mode.
29734         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
29735         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29736         recompute overflowing results in original rounding mode.
29737         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
29738         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29739         recompute overflowing results in original rounding mode.
29740         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
29741         (libc_feholdsetround_ctx): New macro.
29742         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
29743         * sysdeps/i386/fpu/libm-test-ulps: Update.
29744         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
29746 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29748         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
29749         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
29750         corresponding .cpsetup call.
29752 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29754         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
29755         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
29756         * sysdeps/arm/Makefile [$(subdir) = csu]
29757         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
29758         (static-only-routines): Add aeabi_read_tp here.
29759         (shared-only-routines): Add libc-aeabi_read_tp here.
29760         (CFLAGS-libc-start.c): Add -fexceptions here.
29761         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
29762         (sysdep_routines, static-only-routines, shared-only-routines):
29763         Don't add to these here.
29764         (CFLAGS-libc-start.c): Likewise.
29766         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
29767         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29768         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
29769         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29770         * sysdeps/arm/Makefile [$(subdir) = rt]
29771         (librt-sysdep_routines, librt-shared-only-routines):
29772         Append rt-aeabi_unwind_cpp_pr1 here.
29773         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
29774         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
29775         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
29776         (libpthread-sysdep_routines, libpthread-shared-only-routines):
29777         Append nptl-aeabi_unwind_cpp_pr1 here.
29778         (tests): Filter out tst-cleanupx4 here.
29779         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
29780         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
29781         Don't do those here.
29783 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29785         * scripts/list-sources.sh: Do not handle ports specially.
29787 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29789         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
29790         * sysdeps/arm/feupdateenv.c: Likewise.
29792         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
29794 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29796         * manual/texinfo.tex: Update to version 2014-05-05.10 with
29797         trailing whitespace removed.
29798         * scripts/config.guess: Update to version 2014-03-23.
29799         * scripts/config.sub: Update to version 2014-05-01
29800         * scripts/install-sh: Update to version 2013-12-25.23.
29801         * scripts/move-if-change: Update from gnulib.
29803 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29805         * debug/memmove_chk.c: Remove pagecopy.h include.
29807 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
29809         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
29810         identical to gnulib mktime.
29812 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29814         * configure.ac: Do not test for machine being rs6000.  Do not test
29815         for powerpc*-*soft.
29816         * configure: Regenerated.
29818         [BZ #11505]
29819         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
29820         test.
29821         * configure: Regenerated.
29822         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
29823         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
29824         Remove configure test.
29825         * sysdeps/arm/configure: Regenerated.
29826         * sysdeps/nptl/configure.ac: Do not check
29827         libc_cv_asm_cfi_directives.
29828         * sysdeps/nptl/configure: Regenerated.
29829         * sysdeps/x86_64/nptl/configure.ac: Remove file.
29830         * sysdeps/x86_64/nptl/configure: Remove generated file.
29831         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
29832         unconditional.
29833         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
29835 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29837         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
29838         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
29839         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
29840         it is defined.
29842         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
29843         instead of whether it is defined.
29844         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
29845         * sysdeps/hppa/dl-machine.h: Likewise.
29846         * sysdeps/ia64/dl-machine.h: Likewise.
29847         * sysdeps/m68k/dl-machine.h: Likewise.
29848         * sysdeps/microblaze/dl-machine.h: Likewise.
29849         * sysdeps/mips/dl-machine.: Likewise.
29850         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29851         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29852         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29853         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29854         * sysdeps/sh/dl-machine.h: Likewise.
29855         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29856         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29857         * sysdeps/tile/dl-machine.h: Likewise.
29858         * sysdeps/x86_64/dl-machine.h: Likewise.
29860         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
29861         code.
29862         (verify_persistent_db): Likewise.
29864 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29866         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
29867         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
29868         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
29869         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
29870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29871         Moved ...
29872         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
29873         ... here.
29874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
29875         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
29876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
29877         Identical file removed.
29878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
29879         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
29880         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
29881         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
29882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
29883         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
29884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
29885         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
29886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
29887         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
29888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29889         Moved ...
29890         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
29891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
29892         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
29893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
29894         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
29895         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29896         Moved ...
29897         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
29898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
29899         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
29900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
29901         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
29902         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29903         Identical file removed.
29904         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
29905         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
29906         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
29907         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
29908         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29909         Moved ...
29910         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
29911         ... here.
29912         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
29913         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
29914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
29915         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
29916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
29917         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
29918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
29919         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
29920         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
29921         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
29922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29923         Moved ...
29924         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
29925         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
29926         Moved ...
29927         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
29928         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
29929         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
29930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29931         Moved ...
29932         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
29933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
29934         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
29936         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
29937         folded into ...
29938         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
29939         * sysdeps/unix/sysv/linux/s390/Versions
29940         (libpthread: GLIBC_2.19): New version set.
29941         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
29942         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
29943         (librt: GLIBC_2.3.3): New version set.
29944         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
29945         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
29946         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
29947         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
29948         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
29949         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
29950         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
29951         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
29952         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
29953         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
29954         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
29955         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
29956         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
29957         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
29958         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
29959         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
29960         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
29961         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
29962         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
29963         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
29964         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
29965         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
29966         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
29967         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
29968         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
29969         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
29970         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
29971         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
29972         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
29973         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
29974         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
29975         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
29976         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
29977         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
29978         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
29979         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
29980         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
29981         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
29982         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
29983         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
29984         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
29985         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
29986         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
29987         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
29988         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
29990         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
29991         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
29992         (__libc_vfork): Define the function under this name.
29993         [!NOT_IN_libc] (__vfork): Make this an alias.
29994         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29995         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
29996         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
29997         (__libc_vfork): Define the function under this name.
29998         [!NOT_IN_libc] (__vfork): Make this an alias.
29999         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30000         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
30001         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
30002         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
30003         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
30004         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30006         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
30007         code that was previously under [RESET_PID].
30008         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
30009         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
30010         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
30012         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
30013         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
30014         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
30015         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
30016         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
30017         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
30018         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
30019         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
30020         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
30021         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
30022         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
30023         Moved ...
30024         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
30025         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
30026         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
30027         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
30028         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
30029         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
30030         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
30031         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
30032         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
30033         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
30034         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
30035         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
30036         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
30037         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
30038         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
30039         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
30040         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
30041         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
30042         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
30043         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
30044         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
30045         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
30046         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
30047         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
30048         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
30049         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
30050         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
30051         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
30052         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
30054 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30056         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
30057         that was previously under [RESET_PID].
30058         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
30060 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30062         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
30063         not undefine and redefine.
30064         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
30065         [O_CLOEXEC]: Make code unconditional.
30066         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
30067         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
30068         <kernel-features.h>.
30069         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
30070         conditional variable definition.
30071         (shm_open) [O_CLOEXEC]: Make code unconditional.
30072         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
30073         code.
30075         * configure.ac (USE_REGPARMS): Don't define here.
30076         * configure: Regenerated.
30077         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
30078         * sysdeps/i386/configure: Regenerated.
30080         * nptl/createthread.c: Don't include kernel-features.h.
30081         * nptl/pthread_cancel.c: Likewise.
30082         * nptl/pthread_condattr_setclock.c: Likewise.
30083         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
30084         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
30085         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
30086         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
30087         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
30088         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
30089         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30090         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
30091         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30092         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
30093         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
30094         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
30095         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
30096         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
30097         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
30098         * nscd/gai.c: Likewise.
30099         * nss/nss_db/db-open.c: Likewise.
30100         * sysdeps/generic/ldsodefs.h: Likewise.
30101         * sysdeps/sh/nptl/tls.h: Likewise.
30102         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30103         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
30104         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
30105         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
30106         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
30107         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30108         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
30109         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30110         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30111         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30112         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30113         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30114         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
30115         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
30116         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
30117         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
30118         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
30119         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
30120         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
30121         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
30122         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
30123         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
30124         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
30125         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
30126         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
30127         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
30128         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
30129         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
30130         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30131         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
30132         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
30133         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
30134         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
30135         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30136         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30137         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30138         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30139         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
30140         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
30141         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
30142         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30143         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
30144         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
30145         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30146         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
30147         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
30148         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
30149         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
30150         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
30151         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
30152         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
30153         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
30154         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
30155         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30156         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
30157         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30158         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30159         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
30160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
30162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
30163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
30164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
30165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
30166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
30167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
30168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
30171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
30172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
30173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
30174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
30180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
30181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
30182         * sysdeps/unix/sysv/linux/pread.c: Likewise.
30183         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
30184         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
30185         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
30186         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
30187         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
30188         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
30189         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
30190         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
30191         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
30192         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
30193         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
30194         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
30195         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
30196         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
30197         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
30198         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30199         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
30200         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
30201         * sysdeps/unix/sysv/linux/system.c: Likewise.
30202         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
30203         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30204         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30205         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30206         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30207         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30208         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30210         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
30211         * configure: Regenerated.
30212         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
30214         * configure.ac (base_machine): Do not set specially for particular
30215         machines here.
30216         * configure: Regenerated.
30217         * sysdeps/powerpc/preconfigure: Move machine and base_machine
30218         settings from configure.ac.
30219         * sysdeps/i386/preconfigure: New file.
30220         * sysdeps/s390/preconfigure: Likewise.
30221         * sysdeps/sh/preconfigure: Likewise.
30222         * sysdeps/sparc/preconfigure: Likewise.
30224 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30226         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
30227         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
30228         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
30229         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
30230         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
30231         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
30232         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
30233         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
30234         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
30235         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
30236         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
30237         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
30238         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
30239         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
30240         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
30241         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
30242         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
30243         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
30244         * sysdeps/sparc/sparc64/Makefile: ... appended here.
30246         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
30247         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
30248         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
30249         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
30250         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
30251         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
30252         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
30253         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
30254         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
30255         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
30256         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
30257         * sysdeps/sparc/sparc32/sem_post.c: ... here.
30258         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
30259         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
30260         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
30261         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
30262         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
30263         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
30264         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
30265         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
30266         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
30267         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
30268         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
30269         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
30270         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
30271         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
30272         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
30273         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
30274         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
30275         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
30276         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
30277         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
30278         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
30279         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
30280         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
30281         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
30282         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
30283         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
30285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
30286         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
30287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
30288         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
30289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30290         Moved ...
30291         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
30292         ... here.
30293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
30294         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
30295         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
30296         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
30297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
30298         Moved ...
30299         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
30300         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
30301         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
30302         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
30303         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
30304         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
30305         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
30306         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30307         Moved ...
30308         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
30309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30310         Moved ...
30311         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
30312         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
30313         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
30314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30315         Moved ...
30316         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
30317         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
30318         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
30319         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
30320         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
30321         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
30322         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
30323         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
30324         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
30325         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30326         Moved ...
30327         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
30328         ... here.
30329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
30330         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
30331         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
30332         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
30333         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
30334         Moved ...
30335         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
30336         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
30337         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
30338         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
30339         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
30340         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
30341         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
30342         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30343         Moved ...
30344         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
30345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30346         Moved ...
30347         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
30348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
30349         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
30350         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30351         Moved ...
30352         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
30353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
30354         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
30355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
30356         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
30358 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30360         * timezone/checktab.awk: Update from tzcode 2014e.
30361         * timezone/private.h: Likewise.
30362         * timezone/tzfile.h: Likewise.
30363         * timezone/zdump.c: Likewise.
30364         * timezone/zic.c: Likewise.
30366         * sysdeps/unix/sysv/linux/kernel-features.h
30367         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
30368         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
30369         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
30370         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30371         Remove conditional code.
30373 2014-06-25  Will Newton  <will.newton@linaro.org>
30375         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
30376         (_dl_arm_cap_flags): Add HWCAP2 values.
30377         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
30378         (_DL_HWCAP_COUNT): Increase to 37.
30379         (_DL_HWCAP_LAST): New define.
30380         (_DL_HWCAP2_LAST): New define.
30381         (_dl_procinfo): Add support for printing
30382         AT_HWCAP2 entries.
30383         (_dl_string_hwcap): Use _dl_hwcap_string.
30385 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30389 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30391         * README: Do not mention ports directory.
30393         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
30394         Remove macro.
30395         * sysdeps/unix/sysv/linux/futimes.c: Do not include
30396         <kernel-features.h>.
30397         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
30398         conditional variable definition.
30399         (__futimes): Update comment.
30400         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
30401         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
30403         [BZ #16560]
30404         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
30405         arguments close to 0.
30406         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
30407         Likewise.
30408         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
30409         Likewise.
30410         * math/auto-libm-test-in: Add more tests of exp10.
30411         * math/auto-libm-test-out: Regenerated.
30412         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30414         * sysdeps/unix/sysv/linux/kernel-features.h
30415         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
30416         * sysdeps/unix/sysv/linux/readv.c: Do not include
30417         <kernel-features.h>.
30418         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30419         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30420         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30421         unconditional.
30422         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30423         conditional code.
30424         * sysdeps/unix/sysv/linux/writev.c: Do not include
30425         <kernel-features.h>.
30426         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30427         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30428         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30429         unconditional.
30430         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30431         conditional code.
30433 2014-06-25  Will Newton  <will.newton@linaro.org>
30435         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
30436         comment changes throughout the file.  Remove checks
30437         for HAVE_*_H definitions that are not required.
30438         (__gen_tempname): Call abort if an unknown kind value is
30439         passed.
30441 2014-06-25  Andreas Schwab  <schwab@suse.de>
30443         [BZ #17086]
30444         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
30445         scalbln, scalblnf, scalblnl in libc.
30447 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30449         [BZ #17086]
30450         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
30451         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30452         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30454 2014-06-24  Roland McGrath  <roland@hack.frob.com>
30456         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
30457         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
30458         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
30459         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
30460         Update #include.
30461         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
30462         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
30463         Update #include.
30464         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
30465         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
30466         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
30467         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
30468         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
30469         * sysdeps/x86/bits/pthreadtypes.h: ... here.
30470         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
30471         * sysdeps/x86/bits/semaphore.h: ... here.
30472         * sysdeps/x86/nptl/elide.h: Moved ...
30473         * sysdeps/x86/elide.h: ... here.
30474         * sysdeps/x86_64/nptl/Implies: File removed.
30475         * sysdeps/i386/nptl/Implies: File removed.
30477 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
30479         [BZ #16539]
30480         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
30481         return the argument for normal arguments with exponent below -64.
30482         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30483         Likewise.
30484         * math/auto-libm-test-in: Add another test of expm1.
30485         * math/auto-libm-test-out: Regenerated.
30487         [BZ #16287]
30488         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
30489         calling __erfcl for arguments at least 16.
30490         * math/auto-libm-test-in: Add more tests of erf.
30491         * math/auto-libm-test-out: Regenerated.
30493         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
30494         individual architectures.
30495         * sysdeps/unix/sysv/linux/configure: Regenerated.
30496         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
30497         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
30498         * sysdeps/unix/sysv/linux/powerpc/configure.ac
30499         (ldd_rewrite_script): Define variable.
30500         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
30502         file.
30503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
30504         generated file.
30505         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
30506         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
30507         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
30508         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
30509         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
30510         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
30511         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
30512         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
30514 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30516         [BZ #17084]
30517         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
30518         Rename member __data.d to __data.__elision_data.
30520 2014-06-24  Wilco  <wdijkstr@arm.com>
30522         * NEWS: Add 16918 to fixed bug list.
30524 2014-06-24  Wilco  <wdijkstr@arm.com>
30526         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
30528 2014-06-24  Wilco  <wdijkstr@arm.com>
30530         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
30531         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
30532         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
30533         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
30534         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
30535         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
30536         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
30537         Use _FPU_MASK_RM.
30539 2014-06-24  Wilco  <wdijkstr@arm.com>
30541         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
30543 2014-06-24  Wilco  <wdijkstr@arm.com>
30545         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
30546         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
30547         * sysdeps/arm/fesetround.c (fesetround): Remove space.
30548         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
30550 2014-06-24  Wilco  <wdijkstr@arm.com>
30552         [BZ #16918]
30553         * sysdeps/arm/feupdateenv.c (feupdateenv):
30554         Rewrite to reduce FPSCR accesses and fix return value.
30556 2014-06-24  Wilco  <wdijkstr@arm.com>
30558         * sysdeps/arm/fclrexcpt.c (feclearexcept):
30559         Optimize to avoid unnecessary FPSCR writes.
30560         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
30561         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
30562         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
30563         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
30565 2014-06-24  Wilco  <wdijkstr@arm.com>
30567         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
30568         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
30569         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
30570         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
30571         Call libc_fetestexcept_vfp.
30572         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
30573         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
30574         __SOFTFP__ ifdef so that they can be built for softfp.
30576 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30578         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
30579         argument type signed char.
30581         * Makerules (check-abi): Dump diff of symlist if the test
30582         fails.
30584 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30586         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
30587         using abort.
30589         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30590         Remove unused variable ST.
30592 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30594         [BZ #16354]
30595         [BZ #17061]
30596         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
30597         small arguments before calling __expm1.
30598         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
30599         small arguments before calling __expm1f.
30600         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
30601         small arguments before calling __expm1l.
30602         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30603         Likewise.
30604         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30605         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
30606         spurious underflow for some cosh tests.
30607         * math/auto-libm-test-out: Regenerated.
30608         * sysdeps/i386/fpu/libm-test-ulps: Update.
30610         [BZ #17050]
30611         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
30612         (__ieee754_y1): Set errno if return value overflows.
30613         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
30614         (__ieee754_y1f): Set errno if return value overflows.
30615         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
30616         (__ieee754_y1l): Set errno if return value overflows.
30617         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
30618         (__ieee754_y1l): Set errno if return value overflows.
30619         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
30620         * math/auto-libm-test-out: Regenerated.
30622         * math/gen-auto-libm-tests.c: Document use of
30623         ignore-zero-inf-sign.
30624         (input_flag_type): Add value flag_ignore_zero_inf_sign.
30625         (input_flags): Add ignore-zero-inf-sign.
30626         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
30627         * math/gen-libm-test.pl (generate_testfile): Handle
30628         ignore-zero-inf-sign.
30629         * math/auto-libm-test-in: Mark some cpow tests with
30630         ignore-zero-inf-sign and some with xfail-rounding.
30631         * math/auto-libm-test-out: Regenerated.
30632         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
30633         * sysdeps/i386/fpu/libm-test-ulps: Update.
30634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30636         [BZ #16315]
30637         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
30638         overflowing or underflowing operations take place with sign of
30639         result.
30640         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30641         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30642         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
30643         (__ieee754_pow): Recompute overflowing and underflowing results in
30644         original rounding mode.
30645         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
30646         (__powl_helper): Allow negative argument X and scale negated value
30647         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
30648         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
30649         overflowing or underflowing operations take place with sign of
30650         result.
30651         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
30652         Include <math.h>.
30653         * math/auto-libm-test-in: Add more tests of pow.
30654         * math/auto-libm-test-out: Regenerated.
30655         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
30656         (pow_tonearest_test_data): Remove.
30657         (pow_test_tonearest): Likewise.
30658         (pow_towardzero_test_data): Likewise.
30659         (pow_test_towardzero): Likewise.
30660         (pow_downward_test_data): Likewise.
30661         (pow_test_downward): Likewise.
30662         (pow_upward_test_data): Likewise.
30663         (pow_test_upward): Likewise.
30664         (main): Don't call removed functions.
30665         * sysdeps/i386/fpu/libm-test-ulps: Update.
30666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30668 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
30671         Moved ...
30672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
30673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30674         Moved ...
30675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
30676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30677         Moved ...
30678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
30679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30680         Moved ...
30681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
30682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30683         File removed.
30684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30685         File removed.
30686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
30687         File removed.
30688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
30689         File removed.
30690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
30691         File removed.
30692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
30693         File removed.
30694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
30695         File removed.
30696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30697         File removed.
30698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
30699         File removed.
30700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30701         File removed.
30702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
30703         File removed.
30704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
30705         File removed.
30706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
30707         Moved ...
30708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
30709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
30710         Moved ...
30711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
30712         ... here.
30713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
30714         Moved ...
30715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
30716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
30717         Moved ...
30718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
30719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
30720         Moved ...
30721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
30722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
30723         Moved ...
30724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
30725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
30726         Moved ...
30727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
30728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
30729         Moved ...
30730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
30731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
30732         Moved ...
30733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
30734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
30735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
30736         ... here.
30737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
30738         Moved ...
30739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
30740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30741         Moved ...
30742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
30743         ... here.
30744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
30745         Moved ...
30746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30747         ... here.
30748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30749         Moved ...
30750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30751         ... here.
30752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30753         Moved ...
30754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
30755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30756         Moved ...
30757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
30758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
30759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
30760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30761         Moved ...
30762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
30763         ... here.
30764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30765         Moved ...
30766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
30767         ... here.
30768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30769         Moved ...
30770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
30771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30772         Moved ...
30773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
30774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30775         Moved ...
30776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
30777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30778         Moved ...
30779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
30780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30781         Moved ...
30782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
30783         ... here.
30784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30785         Moved ...
30786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
30787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30788         Moved ...
30789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
30790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30791         Moved ...
30792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
30793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30794         Moved ...
30795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
30796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
30797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
30798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30799         Moved ...
30800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
30801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30802         Moved ...
30803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
30804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30805         Moved ...
30806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
30807         ... here.
30808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30809         Moved ...
30810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
30811         ... here.
30812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30813         Moved ...
30814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
30815         ... here.
30816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30817         Moved ...
30818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
30819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30820         Moved ...
30821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
30822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30823         Moved ...
30824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
30825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30826         Moved ...
30827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
30828         ... here.
30829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30830         Moved ...
30831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
30832         ... here.
30833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30834         Moved ...
30835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
30836         ... here.
30837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30838         Moved ...
30839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
30840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30841         Moved ...
30842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
30844 2014-06-23  Will Newton  <will.newton@linaro.org>
30845             Wilco  <wdijkstr@arm.com>
30847         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
30848         implementation.  Include get-rounding-mode.h.
30849         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
30850         [!libc_feholdsetround_noex_ctx]: Define
30851         libc_feholdsetround_noex_ctx.
30852         [!libc_feholdsetround_noexf_ctx]: Define
30853         libc_feholdsetround_noexf_ctx.
30854         [!libc_feholdsetround_noexl_ctx]: Define
30855         libc_feholdsetround_noexl_ctx.
30856         (libc_feholdsetround_ctx): New function.
30857         (libc_feresetround_ctx): New function.
30858         (libc_feholdsetround_noex_ctx): New function.
30859         (libc_feresetround_noex_ctx): New function.
30861 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30863         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
30864         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
30865         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
30866         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
30867         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
30868         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
30870         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
30871         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
30872         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
30873         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
30874         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
30875         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
30876         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
30877         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
30878         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
30879         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
30880         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
30881         Moved ...
30882         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
30883         ... here.
30884         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
30885         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
30886         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
30887         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
30888         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
30889         Moved ...
30890         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
30891         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
30892         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
30893         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
30894         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
30895         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
30896         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
30897         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
30898         Moved ...
30899         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
30900         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
30901         Moved ...
30902         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
30903         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
30904         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
30905         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
30906         Moved ...
30907         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
30908         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
30909         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
30910         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
30911         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
30912         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
30913         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
30914         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
30915         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
30916         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
30917         Moved ...
30918         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
30919         ... here.
30920         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
30921         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
30922         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
30923         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
30924         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
30925         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
30926         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
30927         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
30928         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
30929         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
30930         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
30931         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
30932         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
30933         Moved ...
30934         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
30935         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
30936         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
30937         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
30938         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
30939         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
30940         Moved ...
30941         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
30942         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
30943         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
30944         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
30945         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
30947         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
30948         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
30949         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
30950         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
30951         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
30952         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
30953         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
30954         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
30955         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
30956         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
30957         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
30958         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
30959         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
30960         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
30961         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
30962         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
30963         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
30964         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
30965         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
30966         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
30967         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
30968         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
30969         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
30970         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
30971         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
30972         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
30973         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
30974         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
30976 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30978         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30979         (FALLOC_FL_COLLAPSE_RANGE): New macro.
30980         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
30981         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
30982         (IPV6_PMTUDISC_INTERFACE): Likewise.
30983         (IPV6_PMTUDISC_OMIT): Likewise.
30985 2014-06-23  Andreas Schwab  <schwab@suse.de>
30987         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
30988         Remove unused errout label.
30990 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30992         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
30993         macro: hardware supports Vector Crypto instructions.
30995 2014-06-23  Will Newton  <will.newton@linaro.org>
30997         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
30998         rather than __builtin_expect.
31000         * elf/dl-lookup.c (undefined_msg): Remove variable.
31001         (_dl_lookup_symbol_x): Replace undefined_msg with string
31002         literal.
31004         * elf/dl-lookup.c (do_lookup_unique): New function.
31005         (do_lookup_x): Move STB_GNU_UNIQUE handling code
31006         to a separate function.
31008 2014-06-23  Andreas Schwab  <schwab@suse.de>
31010         [BZ #17079]
31011         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
31012         before reading the next line.
31014 2014-06-23  Will Newton  <will.newton@linaro.org>
31016         * test-skeleton.c (signal_handler): Use printf and %m
31017         rather than perror.  Use printf rather than fprintf to
31018         stderr.  Use puts rather than fputs to stderr.
31019         (main): Likewise.
31021 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
31023         * nscd/nscd.c (thread_info_t): Remove typedef.
31024         (thread_info): Remove variable.
31026 2014-06-21  Allan McRae  <allan@archlinux.org>
31028         * NEWS: Mention CVE-2014-4043.
31030 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31032         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
31033         * nptl/smp.h: ... here.
31035         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
31037         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
31038         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
31039         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
31040         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
31042         * nptl/allocatestack.c: Include <stack-aliasing.h>.
31043         * nptl/stack-aliasing.h: New file.
31044         * sysdeps/i386/i686/stack-aliasing.h: New file.
31045         * sysdeps/i386/i686/nptl/Makefile: File removed.
31046         * sysdeps/x86_64/stack-aliasing.h: New file.
31047         * sysdeps/x86_64/nptl/Makefile
31048         (CFLAGS-pthread_create.c): Variable removed.
31050         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
31051         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
31052         old file.
31053         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
31054         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
31055         old file.
31057 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
31059         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31060         (__ASSUME_SIGFRAME_V2): Remove macro.
31061         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
31062         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
31063         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
31064         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
31065         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
31066         Declare as function.  Remove conditional macro definitions.
31067         (__default_rt_sa_restorer): Likewise.
31068         (__default_sa_restorer_v1): Remove declaration.
31069         (__default_sa_restorer_v2): Likewise.
31070         (__default_rt_sa_restorer_v1): Likewise.
31071         (__default_rt_sa_restorer_v2): Likewise.
31072         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
31073         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
31074         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
31076 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31078         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
31079         (libpthread-routines): Add sysdep.
31080         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
31081         * sysdeps/unix/sysv/linux/sparc/Versions
31082         (libpthread: GLIBC_2.3.3): New version set.
31083         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
31084         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
31085         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
31086         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
31087         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
31088         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
31089         Moved ...
31090         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
31091         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
31092         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
31093         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
31094         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
31095         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
31096         * sysdeps/sparc/nptl/sem_init.c: ... here.
31097         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
31098         * sysdeps/sparc/nptl/sem_post.c: ... here.
31099         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
31100         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
31101         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
31102         * sysdeps/sparc/nptl/sem_wait.c: ... here.
31103         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
31104         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
31105         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
31106         (libpthread-routines): Add cpu_relax.
31107         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
31108         File removed.
31109         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
31110         (librt: GLIBC_2.3.3): New version set.
31111         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
31112         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
31113         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
31114         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
31115         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
31116         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
31117         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
31118         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
31119         Moved ...
31120         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
31121         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
31122         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
31123         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
31124         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
31125         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
31126         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
31127         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
31128         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
31129         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
31130         Moved ...
31131         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
31132         Update #include.
31133         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
31134         Moved ...
31135         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
31136         Update #include.
31137         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
31138         Moved ...
31139         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
31140         Update #include.
31141         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
31142         Moved ...
31143         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
31144         Update #include.
31145         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
31146         Moved ...
31147         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
31148         Update #include.
31149         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
31150         Moved ...
31151         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
31152         Update #include.
31153         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
31154         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
31155         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
31156         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
31157         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
31158         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
31159         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
31160         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
31161         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
31162         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
31163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31164         Moved ...
31165         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
31166         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
31167         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
31168         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
31169         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
31171 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31173         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
31174         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
31175         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31176         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
31177         * nscd/nscd.c: Likewise.
31178         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
31179         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
31180         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
31181         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
31183         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
31184         <kernel-features.h>.
31185         (init_mq_netlink): Remove conditional have_sock_cloexec
31186         definitions.  Remove code conditional on have_sock_cloexec < 0.
31187         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
31188         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
31189         * sysdeps/unix/sysv/linux/opensock.c: Do not include
31190         <kernel-features.h>.
31191         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
31192         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
31194 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
31196         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31197         Add tests for memset_chk and memset.
31199         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
31200         with AVX2_Usable.
31202 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31204         [BZ #16046]
31205         * elf/tst-dl-iter-static.c: New file.
31206         * elf/Makefile (tests-static): Add tst-dl-iter-static.
31208         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
31209         error.
31211 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31213         * sysdeps/unix/sysv/linux/kernel-features.h
31214         (__ASSUME_F_GETOWN_EX): Remove macro.
31215         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
31216         <kernel-features.h>.
31217         (miss_F_GETOWN_EX): Remove variable or macro.
31218         (do_fcntl): Do not check miss_F_GETOWN_EX.
31219         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
31221         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
31222         Remove macro.
31223         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
31224         [!__ASSUME_AT_RANDOM]: Remove conditional code.
31225         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
31227         * sysdeps/unix/sysv/linux/kernel-features.h
31228         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
31229         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
31230         [ADJ_OFFSET_SS_READ]: Make code unconditional.
31231         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
31233 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31235         [BZ #17075]
31236         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
31237         Fix calculation of the symbol's value.
31238         * sysdeps/arm/tst-armtlsdescloc.c: New file.
31239         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
31240         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
31241         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
31242         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
31243         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
31244         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
31245         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
31246         (modules-names): Add `tst-armtlsdescmod',
31247         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
31248         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
31249         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31250         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
31251         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
31252         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31253         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
31254         ($(objpfx)tst-armtlsdescloc): New dependency.
31255         ($(objpfx)tst-armtlsdescextnow): Likewise.
31256         ($(objpfx)tst-armtlsdescextlazy): Likewise.
31257         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
31258         TLS scheme support.
31259         * sysdeps/arm/configure: Regenerate.
31261 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31263         * include/fcntl.h (__atfct_seterrno): Remove prototype.
31264         (__atfct_seterrno_2): Likewise.
31265         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
31266         <kernel-features.h>.
31267         (__ASSUME_ATFCTS): Do not undefine and redefine.
31268         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
31269         (__have_atfcts): Remove conditional definition.
31270         (__fxstatat([__NR_fstatat64]: Make code unconditional.
31271         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
31272         unreachable if [__ASSUME_ATFCTS].
31273         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
31274         not undefine and redefine.
31275         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
31276         <kernel-features.h>.
31277         (faccessat) [__NR_faccessat]: Make code unconditional.
31278         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
31279         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
31280         <kernel-features.h>.
31281         (fchmodat) [__NR_fchmodat]: Make code unconditional.
31282         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31283         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
31284         <kernel-features.h>.
31285         (fchownat) [__NR_fchownat]: Make code unconditional.
31286         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
31287         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
31288         <kernel-features.h>.
31289         (futimesat) [__NR_futimesat]: Make code unconditional.
31290         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
31291         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31292         <kernel-features.h>.
31293         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31294         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31295         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31296         <kernel-features.h>.
31297         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
31298         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31299         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
31300         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31301         <kernel-features.h>.
31302         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
31303         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31304         * sysdeps/unix/sysv/linux/linkat.c: Do not include
31305         <kernel-features.h>.
31306         (linkat) [__NR_linkat]: Make code unconditional.
31307         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31308         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
31309         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
31310         <kernel-features.h>.
31311         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
31312         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31313         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
31314         <kernel-features.h>.
31315         (mkdirat) [__NR_mkdirat]: Make code unconditional.
31316         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
31317         * sysdeps/unix/sysv/linux/openat.c: Do not include
31318         <kernel-features.h>.
31319         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
31320         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
31321         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
31322         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
31323         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
31324         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
31325         <kernel-features.h>.
31326         (readlinkat) [__NR_readlinkat]: Make code unconditional.
31327         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
31328         result of INLINE_SYSCALL directly, not via int variable.
31329         * sysdeps/unix/sysv/linux/renameat.c: Do not include
31330         <kernel-features.h>.
31331         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
31332         (renameat) [__NR_renameat]: Make code unconditional.
31333         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
31334         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
31335         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
31336         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
31337         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
31338         (__ASSUME_ATFCTS): Do not undefine and redefine.
31339         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
31340         <kernel-features.h>.
31341         (symlinkat) [__NR_symlinkat]: Make code unconditional.
31342         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31343         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
31344         <kernel-features.h>.
31345         (unlinkat) [__NR_unlinkat]: Make code unconditional.
31346         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31347         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
31348         (__ASSUME_ATFCTS): Do not undefine and redefine.
31349         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31350         <kernel-features.h>.
31351         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31352         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31353         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31354         <kernel-features.h>.
31355         (__xmknodat) [__NR_mknodat]: Make code unconditional.
31356         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31358 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
31360         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
31362 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
31364         [BZ #17069]
31365         * posix/regcomp.c (parse_reg_exp): Deallocate partially
31366         constructed tree before returning error.
31367         * posix/bug-regexp36.c: Expand test case.
31369 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
31371         [BZ #6803]
31372         * math/libm-test.inc (scalbln_test_date):
31373         Add errno expectations.
31374         * math/w_scalblnf.c: New File.
31375         Add wrapper which checks for setting errno to ERANGE.
31376         Add weak_alias for corresponding scalbln function.
31377         * math/w_scalbln.c: Likewise.
31378         * math/w_scalblnl.c: Likewise.
31379         * math/Makefile (libm-calls): Add w_scalbln.
31380         * sysdeps/ieee754/flt-32/s_scalblnf.c:
31381         Remove weak_alias for corresponding scalbln function.
31382         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31383         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
31384         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31385         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31386         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
31387         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31388         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
31389         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31390         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
31391         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
31392         Remove long_double_symbol for scalblnl function in libm, libc.
31393         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
31394         Add wrapper which checks for setting errno to ERANGE.
31395         Add long_double_symbol for scalblnl function in libm, libc.
31396         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
31397         Remove long_double_symbol for scalblnl in libm.
31398         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
31399         Add wrapper which checks for setting errno to ERANGE.
31400         Add long_double_symbol for scalblnl function in libm.
31401         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
31402         Do not use wrapper because of own implementation.
31404 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
31406         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
31407         3 bytes for __pad1 for x32.
31408         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
31410 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
31411             H.J. Lu  <hongjiu.lu@intel.com>
31413         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
31414         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
31415         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31416         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31417         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31419 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
31421         [BZ #17069]
31422         * posix/regcomp.c (parse_expression): Deallocate partially
31423         constructed tree before returning error.
31424         * posix/Makefile.c (tests): Add bug-regex36.
31425         (generated): Add bug-regex36.mtrace.
31426         (tests-special): Add $(objpfx)bug-regex36-mem.out
31427         (bug-regex36-ENV): New variable.
31428         ($(objpfx)bug-regex36-mem.out): New rule.
31429         * posix/bug-regex36.c: New file.
31431 2014-06-19  Will Newton  <will.newton@linaro.org>
31433         * malloc/malloc.c (systrim): If extra is zero then return
31434         early.
31436 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31438         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
31440 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
31442         * sysdeps/aarch64/strchr.S: New file.
31444 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31446         [BZ #17022]
31447         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
31448         from arguments -2 or below.
31449         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31450         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
31452 2014-06-18  Andreas Schwab  <schwab@suse.de>
31454         [BZ #17062]
31455         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
31456         of a bracket expr not to run off the end of the string.
31457         * posix/Makefile (tests): Add tst-fnmatch3.
31458         * posix/tst-fnmatch3.c: New file.
31460 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31462         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
31463         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31464         [$(cross-compiling) = no]: Likewise.
31465         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31466         [$(cross-compiling) = no]: Likewise.
31468 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31470         [BZ #17031]
31471         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
31472         double, adjusted for any remainder from the high double.
31473         * math/libm-test.inc (nearbyint): Add tests.
31474         (rint): Likewise.
31476 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31478         * nptl/sysdeps/powerpc/Makefile: Moved ...
31479         * sysdeps/powerpc/nptl/Makefile: ... here.
31480         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
31481         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
31482         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
31483         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
31484         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
31485         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
31486         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
31487         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
31488         * nptl/sysdeps/powerpc/tls.h: Moved ...
31489         * sysdeps/powerpc/nptl/tls.h: ... here.
31491 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
31493         [BZ #16681]
31494         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
31495         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
31496         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
31497         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
31498         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
31499         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
31500         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
31501         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
31502         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
31504 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
31506         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31508 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
31510         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
31511         defined operator.
31513         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
31514         $TIMEOUTFACTOR.
31516 2014-06-16  Florian Weimer  <fweimer@redhat.com>
31518         [BZ #17058]
31519         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
31520         non-executed part of the test.
31522 2014-06-16  Andreas Schwab  <schwab@suse.de>
31524         * string/bits/string2.h (strdup, strndup): Update feature guard.
31526 2014-06-14  David S. Miller  <davem@davemloft.net>
31528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31530 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
31532         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
31533         that was previously under [RESET_PID].
31534         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
31536         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
31537         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
31538         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
31539         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31540         (__libc_vfork): New strong alias.
31541         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
31543 2014-06-14 Andi Kleen  <ak@linux.intel.com>
31545         * sysdeps/generic/elide.h: New file.
31547 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31549         * Makefile (installed-headers): Adjust path of pthread.h header.
31551 2014-06-13  Roland McGrath  <roland@hack.frob.com>
31553         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
31554         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
31555         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
31556         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
31558         * nptl/sysdeps/s390/Makefile: Moved ...
31559         * sysdeps/s390/nptl/Makefile: ... here.
31560         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
31561         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
31562         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
31563         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
31564         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
31565         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
31566         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
31567         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
31568         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
31569         * sysdeps/s390/nptl/pthreaddef.h: ... here.
31570         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
31571         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
31572         * nptl/sysdeps/s390/tls.h: Moved ...
31573         * sysdeps/s390/nptl/tls.h: ... here.
31575         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
31576         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
31578 2014-06-13  David S. Miller  <davem@davemloft.net>
31580         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
31581         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
31582         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
31583         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
31584         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
31585         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
31586         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
31587         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
31588         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
31589         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
31590         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
31591         Remove RESET_PID cpp guards.
31592         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
31593         Remove RESET_PID cpp guards.
31594         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
31596 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
31598         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
31599         __sp to uintptr_t.
31601 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31603         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
31604         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
31605         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
31606         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
31607         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
31608         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
31609         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
31610         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
31611         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
31612         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
31613         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
31614         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
31615         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
31616         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
31617         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
31618         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
31619         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
31620         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
31621         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
31622         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
31624         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
31625         (pthread_rwlock_rdlock): Add elision.
31626         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
31627         (pthread_rwlock_wrlock): Add elision.
31628         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
31629         (pthread_rwlock_trywrlock): Add elision.
31630         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
31631         (pthread_rwlock_tryrdlock): Add elision.
31632         * nptl/pthread_rwlock_unlock.c: Include elide.h.
31633         (pthread_rwlock_tryrdlock): Add elision unlock.
31634         * nptl/sysdeps/pthread/pthread.h:
31635         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
31636         (PTHREAD_RWLOCK_INITIALIZER,
31637         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
31638         Handle new elision field.
31639         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
31640         * sysdeps/arm/nptl/bits/pthreadtypes.h
31641         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31642         * sysdeps/sh/nptl/bits/pthreadtypes.h
31643         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31644         * sysdeps/tile/nptl/bits/pthreadtypes.h
31645         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31646         * sysdeps/a/nptl/bits/pthreadtypes.h
31647         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31648         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31649         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31650         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31651         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31652         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
31653         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31654         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31655         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31656         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31657         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31658         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31659         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31660         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31661         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31662         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
31663         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31664         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
31665         (elision_init): Set try_xbegin to zero when no RTM.
31666         * sysdeps/x86/nptl/bits/pthreadtypes.h
31667         (pthread_rwlock_t): Change __pad1 to __rwelision.
31668         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31670 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31672         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
31673         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
31674         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
31675         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
31677 2014-06-13  Meador Inge  <meadori@codesourcery.com>
31679         [BZ #16996]
31680         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
31681         that the cached result has been set before returning it.
31683 2014-06-12  Roland McGrath  <roland@hack.frob.com>
31685         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
31686         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
31687         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
31688         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
31689         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
31690         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
31692         * nptl/sysdeps/sparc/Makefile: Moved ...
31693         * sysdeps/sparc/nptl/Makefile: ... here.
31694         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
31695         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
31696         * nptl/sysdeps/sparc/tls.h: Moved ...
31697         * sysdeps/sparc/nptl/tls.h: ... here.
31698         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
31699         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
31700         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
31701         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
31702         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
31703         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
31704         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
31705         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
31706         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
31707         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
31708         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
31709         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
31710         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
31711         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
31712         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
31713         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
31714         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
31715         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
31716         Update #include.
31717         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
31718         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
31719         Update #include.
31720         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
31721         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
31722         Update #include.
31723         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
31724         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
31725         Update #include.
31727         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31729         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
31730         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
31732         * sysdeps/pthread/posix-timer.h: Include <list.h>.
31733         (struct list_links): Type removed.
31734         (struct thread_node, struct timer_node): Replace struct list_links
31735         with struct list_head.
31736         (list_unlink_ip): Likewise.
31737         * sysdeps/pthread/timer_routines.c
31738         (timer_free_list, thread_free_list, thread_active_list): Likewise.
31739         (list_append, list_insbefore): Likewise.
31740         (list_init): Function removed.
31741         (thread_init, init_module): Use INIT_LIST_HEAD instead.
31742         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
31743         * sysdeps/pthread/Makefile: ... here, new file.
31745         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
31746         * sysdeps/nptl/Implies: ... here.
31747         * sysdeps/unix/sysv/linux/Implies: Add nptl.
31748         * nptl/sysdeps/pthread/list.h: Moved ...
31749         * include/list.h: ... here.
31750         * nptl/sysdeps/pthread/createthread.c: Moved ...
31751         * nptl/createthread.c: ... here.
31752         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
31753         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
31754         * nptl/pt-longjmp.c: ... here.
31755         * nptl/sysdeps/pthread/Makefile: Moved ...
31756         * sysdeps/nptl/Makefile: ... here.
31757         * nptl/sysdeps/pthread/Subdirs: Moved ...
31758         * sysdeps/nptl/Subdirs: ... here.
31759         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
31760         * sysdeps/nptl/aio_misc.h: ... here.
31761         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
31762         * sysdeps/nptl/bits/libc-lock.h: ... here.
31763         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
31764         * sysdeps/nptl/bits/libc-lockP.h: ... here.
31765         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
31766         * sysdeps/nptl/bits/stdio-lock.h: ... here.
31767         * nptl/sysdeps/pthread/configure: Moved ...
31768         * sysdeps/nptl/configure: ... here.
31769         * nptl/sysdeps/pthread/configure.ac: Moved ...
31770         * sysdeps/nptl/configure.ac: ... here.
31771         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
31772         * sysdeps/nptl/gai_misc.h: ... here.
31773         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
31774         * sysdeps/nptl/librt-cancellation.c: ... here.
31775         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
31776         * sysdeps/nptl/malloc-machine.h: ... here.
31777         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
31778         * sysdeps/nptl/pthread-functions.h: ... here.
31779         * nptl/sysdeps/pthread/pthread.h: Moved ...
31780         * sysdeps/nptl/pthread.h: ... here.
31781         * nptl/sysdeps/pthread/setxid.h: Moved ...
31782         * sysdeps/nptl/setxid.h: ... here.
31783         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
31784         * sysdeps/nptl/sigfillset.c: ... here.
31785         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
31786         * sysdeps/nptl/tcb-offsets.h: ... here.
31787         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
31788         * sysdeps/nptl/tst-mqueue8x.c: ... here.
31789         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
31790         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
31791         * nptl/sysdeps/pthread/allocalim.h: Moved ...
31792         * sysdeps/pthread/allocalim.h: ... here.
31793         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
31794         * sysdeps/pthread/bits/sigthread.h: ... here.
31795         * nptl/sysdeps/pthread/flockfile.c: Moved ...
31796         * sysdeps/pthread/flockfile.c: ... here.
31797         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
31798         * sysdeps/pthread/ftrylockfile.c: ... here.
31799         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
31800         * sysdeps/pthread/funlockfile.c: ... here.
31801         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
31802         * sysdeps/pthread/posix-timer.h: ... here.
31803         * nptl/sysdeps/pthread/timer_create.c: Moved ...
31804         * sysdeps/pthread/timer_create.c: ... here.
31805         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
31806         * sysdeps/pthread/timer_delete.c: ... here.
31807         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
31808         * sysdeps/pthread/timer_getoverr.c: ... here.
31809         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
31810         * sysdeps/pthread/timer_gettime.c: ... here.
31811         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
31812         * sysdeps/pthread/timer_routines.c: ... here.
31813         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
31814         * sysdeps/pthread/timer_settime.c: ... here.
31815         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
31816         * sysdeps/pthread/tst-timer.c: ... here.
31817         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
31818         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
31820         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
31821         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
31823         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
31824         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
31825         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
31826         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
31827         Update #include target.
31828         * nptl/sysdeps/i386/i686/Makefile: Moved ...
31829         * sysdeps/i386/i686/nptl/Makefile: ... here.
31830         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
31831         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
31832         Update #include target.
31833         * nptl/sysdeps/i386/i686/tls.h: Moved ...
31834         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
31835         * nptl/sysdeps/i386/Makefile: Moved ...
31836         * sysdeps/i386/nptl/Makefile: ... here.
31837         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
31838         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
31839         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
31840         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
31841         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
31842         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
31843         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
31844         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
31845         * sysdeps/i386/nptl/pthreaddef.h: ... here.
31846         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
31847         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
31848         * nptl/sysdeps/i386/tls.h: Moved ...
31849         * sysdeps/i386/nptl/tls.h: ... here.
31851         * sysdeps/sh/Makefile [$(subdir) = csu]
31852         (gen-as-const-headers): Add tcb-offsets.sym.
31853         * nptl/sysdeps/sh/Makefile: File removed.
31854         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
31855         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
31856         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
31857         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
31858         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
31859         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
31860         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
31861         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
31862         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
31863         * sysdeps/sh/nptl/pthreaddef.h: ... here.
31864         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
31865         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
31866         * nptl/sysdeps/sh/tls.h: Moved ...
31867         * sysdeps/sh/nptl/tls.h: ... here.
31868         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
31869         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
31870         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
31871         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
31872         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
31873         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
31874         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
31875         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
31876         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
31877         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
31878         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
31879         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
31880         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
31881         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
31882         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
31883         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
31884         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
31885         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
31886         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
31887         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
31888         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
31889         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
31890         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
31891         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
31892         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
31893         Moved ...
31894         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
31895         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
31896         Moved ...
31897         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
31898         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
31899         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
31900         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
31901         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
31902         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
31903         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
31904         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
31905         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
31906         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
31907         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
31908         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
31909         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
31910         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
31911         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
31912         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
31913         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
31914         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
31915         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
31917 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31919         * posix/spawn_faction_addopen.c: Include string.h.
31921 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31923         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
31924         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
31925         * nptl/sysdeps/x86_64/Makefile: Moved ...
31926         * sysdeps/x86_64/nptl/Makefile: ... here.
31927         * nptl/sysdeps/x86_64/configure: Moved ...
31928         * sysdeps/x86_64/nptl/configure: ... here.
31929         * nptl/sysdeps/x86_64/configure.ac: Moved ...
31930         * sysdeps/x86_64/nptl/configure.ac: ... here.
31931         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
31932         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
31933         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
31934         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
31935         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
31936         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
31937         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
31938         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
31939         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
31940         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
31941         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
31942         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
31943         * nptl/sysdeps/x86_64/tls.h: Moved ...
31944         * sysdeps/x86_64/nptl/tls.h: ... here.
31945         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
31946         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
31947         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
31948         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
31950         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
31952 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31956 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
31958         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
31959         type.
31960         [POSIX] (off_t): Likewise.
31961         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
31962         [POSIX] (S_ISBLK): Require macro.
31963         [POSIX] (S_ISCHR): Likewise.
31964         [POSIX] (S_ISDIR): Likewise.
31965         [POSIX] (S_ISFIFO): Likewise.
31966         [POSIX] (S_ISREG): Likewise.
31967         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
31968         optional-macro.
31969         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
31970         type.
31971         [POSIX] (time_t): Likewise.
31972         [POSIX] (timer_t): Likewise.
31974 2014-06-11  Florian Weimer  <fweimer@redhat.com>
31976         [BZ #17048]
31977         * posix/spawn_int.h (struct __spawn_action): Make the path string
31978         non-const to support deallocation.
31979         * posix/spawn_faction_addopen.c
31980         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
31981         * posix/spawn_faction_destroy.c
31982         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
31983         path in all spawn_do_open actions.
31984         * posix/tst-spawn.c (do_test): Exercise the copy operation in
31985         posix_spawn_file_actions_addopen.
31987 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
31989         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
31990         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
31991         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
31992         conditional code always true.
31993         (__libc_vfork): New alias.
31995 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31997         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31998         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
32000         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
32002         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32003         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
32005         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32006         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
32008         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32009         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
32011 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32013         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
32014         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
32015         multiarch strcmp for PPC64.
32016         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
32017         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
32018         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
32019         multiarch optimizations.
32020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32021         (__libc_ifunc_impl_list): Likewise.
32023 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32025         * benchtests/scripts/validate_benchout.py: New script.
32026         * benchtests/Makefile (bench-func): Call it.
32027         * benchtests/scripts/benchout.schema.json: New file.
32029 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
32031         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
32032         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
32033         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
32034         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
32035         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
32036         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
32037         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
32038         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
32039         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
32040         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
32041         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
32042         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
32043         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
32044         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
32045         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
32046         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
32047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
32048         Moved ...
32049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
32050         ... here.
32051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
32052         Moved ...
32053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
32054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
32055         Moved ...
32056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
32057         ... here.
32058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
32059         Moved ...
32060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
32061         ... here.
32062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
32063         Moved ...
32064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
32065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
32066         Moved ...
32067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
32068         ... here.
32069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
32070         Moved ...
32071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
32072         ... here.
32073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
32074         Moved ...
32075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
32076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
32077         Moved ...
32078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
32079         ... here.
32080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
32081         Moved ...
32082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
32083         ... here.
32084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
32085         Moved ...
32086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
32087         ... here.
32088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
32089         Moved ...
32090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
32091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
32092         Moved ...
32093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
32094         ... here.
32095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
32096         Moved ...
32097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
32098         ... here.
32099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
32100         Moved ...
32101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
32102         ... here.
32103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
32104         Moved ...
32105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
32106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
32107         Moved ...
32108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
32109         ... here.
32110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
32111         Moved ...
32112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
32113         ... here.
32114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
32115         Moved ...
32116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
32117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
32118         Moved ...
32119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
32120         ... here.
32121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
32122         Moved ...
32123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
32124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
32125         Moved ...
32126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
32127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
32128         Moved ...
32129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
32130         ... here.
32131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
32132         Moved ...
32133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
32134         ... here.
32135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
32136         Moved ...
32137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
32138         ... here.
32139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
32140         Moved ...
32141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
32142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
32143         Moved ...
32144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
32145         ... here.
32146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
32147         Moved ...
32148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
32149         ... here.
32150         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
32151         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
32152         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
32153         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
32154         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
32155         Moved ...
32156         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
32157         ... here.
32158         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
32159         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
32160         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
32161         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
32162         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
32163         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
32164         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
32165         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
32166         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
32167         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
32168         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
32169         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
32170         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
32171         Moved ...
32172         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
32173         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
32174         Moved ...
32175         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
32176         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
32177         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
32178         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
32179         Moved ...
32180         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
32181         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
32182         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
32183         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
32184         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
32185         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
32186         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
32188 2014-06-10  Wilco  <wdijkstr@arm.com>
32190         * math/test-fenv-return.c: New file.
32191         * math/Makefile: Add new test test-fenv-return.
32193 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
32195         [BZ #17042]
32196         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
32197         when x - 1 is zero.
32198         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
32199         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
32200         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
32201         0.0L for an argument of 1.0L.
32202         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
32203         Likewise.
32204         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
32205         value when x - 1 is zero.
32206         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
32207         * sysdeps/i386/fpu/libm-test-ulps: Update.
32208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32210 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
32212         [BZ #15119]
32213         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
32215 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32217         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
32218         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
32220 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32222         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32223         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
32225         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32226         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
32228         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32229         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
32231         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32232         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
32234         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
32235         if not already defined.
32236         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
32237         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
32238         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
32239         (TLS_INIT_TP): Use it.
32240         (TLS_DEFINE_INIT_TP): New macro.
32241         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
32243 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
32245         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
32246         constant.
32247         [POSIX] (IXANY): Likewise.
32248         [POSIX] (OLCUC): Likewise.
32249         [POSIX || POSIX2008] (CBAUD): Do not allow.
32250         [POSIX || POSIX2008] (DEFECHO): Likewise.
32251         [POSIX || POSIX2008] (ECHOCTL): Likewise.
32252         [POSIX || POSIX2008] (ECHOKE): Likewise.
32253         [POSIX || POSIX2008] (ECHOPRT): Likewise.
32254         [POSIX || POSIX2008] (EXTA): Likewise.
32255         [POSIX || POSIX2008] (EXTB): Likewise.
32256         [POSIX || POSIX2008] (FLUSHO): Likewise.
32257         [POSIX || POSIX2008] (LOBLK): Likewise.
32258         [POSIX || POSIX2008] (PENDIN): Likewise.
32259         [POSIX || POSIX2008] (SWTCH): Likewise.
32260         [POSIX || POSIX2008] (VDISCARD): Likewise.
32261         [POSIX || POSIX2008] (VDSUSP): Likewise.
32262         [POSIX || POSIX2008] (VLNEXT): Likewise.
32263         [POSIX || POSIX2008] (VREPRINT): Likewise.
32264         [POSIX || POSIX2008] (VSTATUS): Likewise.
32265         [POSIX || POSIX2008] (VWERASE): Likewise.
32266         (B*): Change to B[0123456789]*.
32267         * conform/data/time.h-data [POSIX || UNIX98]
32268         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
32269         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32270         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
32271         [POSIX] (tm_*): Do not allow.
32273 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
32275         * Makefile (install): Don't set LANGUAGE.
32276         * Makefile.in (install): Likewise.
32277         * assert/Makefile (test-assert-ENV): Remove variable.
32278         (test-assert-perr-ENV): Likewise.
32279         * elf/Makefile (neededtest4-ENV): Likewise.
32280         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32281         [$(cross-compiling) = no]: Don't set LANGUAGE.
32282         * io/ftwtest-sh (LANG): Remove variable.
32283         * libio/Makefile (tst-widetext-ENV): Likewise.
32284         * manual/install.texi (Running make install): Don't refer to
32285         environment settings for make install.
32286         * INSTALL: Regenerated.
32287         * nptl/tst-tls6.sh: Don't set LANG.
32288         * posix/globtest.sh (LANG): Remove variable.
32289         * string/Makefile (tester-ENV): Likewise.
32290         (inl-tester-ENV): Likewise.
32291         (noinl-tester-ENV): Likewise.
32292         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32293         [$(cross-compiling) = no]: Don't set LANGUAGE.
32294         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
32295         without explicit environment settings.
32297 2014-06-06  Roland McGrath  <roland@hack.frob.com>
32299         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
32300         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
32301         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
32302         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
32304 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
32306         * crypt/crypt-private.h [DOS]: Add some includes taken from the
32307         other files in the crypt directory.
32308         * crypt/crypt.c: Remove duplicate includes.
32309         * crypt/crypt-entry.c: Likewise.
32310         * crypt/crypt_util.c: Likewise.
32312 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
32314         * Makeconfig (run-program-env): New variable.
32315         (run-program-prefix-before-env): Likewise.
32316         (run-program-prefix-after-env): Likewise.
32317         (run-program-prefix): Define in terms of new variables.
32318         (built-program-cmd-before-env): New variable.
32319         (built-program-cmd-after-env): Likewise.
32320         (built-program-cmd): Define in terms of new variables.
32321         (test-program-prefix-before-env): New variable.
32322         (test-program-prefix-after-env): Likewise.
32323         (test-program-prefix): Define in terms of new variables.
32324         (test-program-cmd-before-env): New variable.
32325         (test-program-cmd-after-env): Likewise.
32326         (test-program-cmd): Define in terms of new variables.
32327         * Rules (make-test-out): Use $(run-program-env).
32328         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
32329         (help): Do not mention environment variables.  Mention
32330         --timeoutfactor option.
32331         (timeoutfactor): New variable.
32332         (blacklist_exports): Remove function.
32333         (exports): Remove variable.
32334         (command): Do not include ${exports}.
32335         * manual/install.texi (Configuring and compiling): Do not mention
32336         test wrappers preserving environment variables.  Mention that last
32337         assignment to a variable must take precedence.
32338         * INSTALL: Regenerated.
32339         * benchtests/Makefile (run-bench): Use $(run-program-env).
32340         * catgets/Makefile ($(objpfx)test1.cat): Use
32341         $(built-program-cmd-before-env), $(run-program-env) and
32342         $(built-program-cmd-after-env).
32343         ($(objpfx)test2.cat): Do not specify environment variables
32344         explicitly.
32345         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
32346         $(run-program-env) and $(built-program-cmd-after-env).
32347         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
32348         $(run-program-env) and $(test-program-cmd-after-env).
32349         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
32350         explicitly.
32351         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
32352         run_program_env and test_program_cmd_after_env arguments.
32353         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
32354         * elf/tst-pathopt.sh: Use run_program_env argument.
32355         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
32356         $(test-wrapper-env) and $(run-program-env).
32357         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
32358         run_program_env arguments.
32359         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
32360         * intl/Makefile ($(objpfx)tst-gettext.out): Use
32361         $(test-program-prefix-before-env), $(run-program-env) and
32362         $(test-program-prefix-after-env).
32363         ($(objpfx)tst-gettext2.out): Likewise.
32364         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
32365         run_program_env and test_program_prefix_after_env arguments.
32366         * intl/tst-gettext2.sh: Likewise.
32367         * intl/tst-gettext4.sh: Do not set environment variables
32368         explicitly.
32369         * intl/tst-gettext6.sh: Likewise.
32370         * intl/tst-translit.sh: Likewise.
32371         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
32372         $(test-program-prefix-before-env), $(run-program-env) and
32373         $(test-program-prefix-after-env).
32374         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
32375         run_program_env and test_program_prefix_after_env arguments.
32376         * math/Makefile (run-regen-ulps): Use $(run-program-env).
32377         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
32378         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
32379         explicitly with each use of ${test_wrapper_env}.
32380         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
32381         $(test-program-prefix-before-env), $(run-program-env) and
32382         $(test-program-prefix-after-env).
32383         * posix/tst-getconf.sh: Do not set environment variables
32384         explicitly.
32385         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
32386         run_program_env and test_program_prefix_after_env arguments.
32387         * stdio-common/tst-printf.sh: Do not set environment variables
32388         explicitly.
32389         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
32390         $(test-program-prefix-before-env), $(run-program-env) and
32391         $(test-program-prefix-after-env).
32392         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
32393         run_program_env and test_program_prefix_after_env arguments.
32394         Split $test calls into $test_pre and $test.
32395         * timezone/Makefile (build-testdata): Use
32396         $(built-program-cmd-before-env), $(run-program-env) and
32397         $(built-program-cmd-after-env).
32399 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32401         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
32402         strlen for non SHARED builds.
32404 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32406         * nptl/allocatestack.c (check_list): Inlined function...
32407         (__reclaim_stacks): ... here.
32409 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32411         [BZ #15698]
32412         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32413         memory overrun.
32415 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
32417         * Rules (make-test-out): Include
32418         LOCPATH=$(common-objpfx)localedata in default environment.
32419         * debug/Makefile (tst-chk1-ENV): Remove variable.
32420         (tst-chk2-ENV): Likewise.
32421         (tst-chk3-ENV): Likewise.
32422         (tst-chk4-ENV): Likewise.
32423         (tst-chk5-ENV): Likewise.
32424         (tst-chk6-ENV): Likewise.
32425         (tst-lfschk1-ENV): Likewise.
32426         (tst-lfschk2-ENV): Likewise.
32427         (tst-lfschk3-ENV): Likewise.
32428         (tst-lfschk4-ENV): Likewise.
32429         (tst-lfschk5-ENV): Likewise.
32430         (tst-lfschk6-ENV): Likewise.
32431         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
32432         (tst-iconv7-ENV): Likewise.
32433         * intl/Makefile (LOCPATH-ENV): Likewise.
32434         (tst-codeset-ENV): Likewise.
32435         (tst-gettext3-ENV): Likewise.
32436         (tst-gettext5-ENV): Likewise.
32437         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
32438         (tst-fopenloc-ENV): Likewise.
32439         (tst-fgetws-ENV): Remove variable.
32440         (tst-ungetwc1-ENV): Likewise.
32441         (tst-ungetwc2-ENV): Likewise.
32442         (bug-ungetwc2-ENV): Likewise.
32443         (tst-swscanf-ENV): Likewise.
32444         (bug-ftell-ENV): Likewise.
32445         (tst-fgetwc-ENV): Likewise.
32446         (tst-fseek-ENV): Likewise.
32447         (tst-ftell-partial-wide-ENV): Likewise.
32448         (tst-ftell-active-handler-ENV): Likewise.
32449         (tst-ftell-append-ENV): Likewise.
32450         * posix/Makefile (tst-fnmatch-ENV): Likewise.
32451         (tst-regexloc-ENV): Likewise.
32452         (bug-regex1-ENV): Likewise.
32453         (tst-regex-ENV): Likewise.
32454         (tst-regex2-ENV): Likewise.
32455         (bug-regex5-ENV): Likewise.
32456         (bug-regex6-ENV): Likewise.
32457         (bug-regex17-ENV): Likewise.
32458         (bug-regex18-ENV): Likewise.
32459         (bug-regex19-ENV): Likewise.
32460         (bug-regex20-ENV): Likewise.
32461         (bug-regex22-ENV): Likewise.
32462         (bug-regex23-ENV): Likewise.
32463         (bug-regex25-ENV): Likewise.
32464         (bug-regex26-ENV): Likewise.
32465         (bug-regex30-ENV): Likewise.
32466         (bug-regex32-ENV): Likewise.
32467         (bug-regex33-ENV): Likewise.
32468         (bug-regex34-ENV): Likewise.
32469         (bug-regex35-ENV): Likewise.
32470         (tst-rxspencer-ENV): Likewise.
32471         (tst-rxspencer-no-utf8-ENV): Likewise.
32472         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
32473         (tst-sscanf-ENV): Likewise.
32474         (tst-swprintf-ENV): Likewise.
32475         (tst-swscanf-ENV): Likewise.
32476         (test-vfprintf-ENV): Likewise.
32477         (scanf13-ENV): Likewise.
32478         (bug14-ENV): Likewise.
32479         (tst-grouping-ENV): Likewise.
32480         * stdlib/Makefile (tst-strtod-ENV): Likewise.
32481         (tst-strtod3-ENV): Likewise.
32482         (tst-strtod4-ENV): Likewise.
32483         (tst-strtod5-ENV): Likewise.
32484         (testmb2-ENV): Likewise./
32485         * string/Makefile (tst-strxfrm-ENV): Likewise.
32486         (tst-strxfrm2-ENV): Likewise.
32487         (bug-strcoll1-ENV): Likewise.
32488         (test-strcasecmp-ENV): Likewise.
32489         (test-strncasecmp-ENV): Likewise.
32490         * time/Makefile (tst-strptime-ENV): Likewise.
32491         (tst-ftime_l-ENV): Likewise.
32492         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
32493         (tst-mbrtowc-ENV): Likewise.
32494         (tst-wcrtomb-ENV): Likewise.
32495         (tst-mbrtowc2-ENV): Likewise.
32496         (tst-c16c32-1-ENV): Likewise.
32497         (tst-mbsnrtowcs-ENV): Likewise.
32499 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32501         * manual/resource.texi (How to get information about the memory
32502         subsystem?): Fix typo.
32503         Reported by Peon de la Parra Ivan <peon@keba.com>
32505 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
32507         [BZ #16882]
32508         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
32509         (pthread_spin_lock): Branch out of spin loop to proper location.
32510         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
32511         (pthread_spin_lock): Likewise.
32513         * nptl/tst-spin4.c: New test.
32514         * nptl/Makefile (tests): Add tst-spin4.
32516 2014-06-03  Andreas Schwab  <schwab@suse.de>
32518         [BZ #15946]
32519         * resolv/res_send.c (send_dg): Reload file descriptor after
32520         calling reopen.
32522 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
32524         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32526 2014-06-03  Richard Henderson  <rth@redhat.com>
32528         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
32529         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
32530         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
32531         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
32532         in the SAVE_PID block.
32533         (__libc_vfork): New alias.
32534         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
32536         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
32537         child in registers, not on the stack.  Remove RESET_PID conditionals.
32538         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
32540 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32542         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32544 2014-06-03  Wilco  <wdijkstr@arm.com>
32546         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
32547         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
32548         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32549         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
32550         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
32551         Likewise.
32553 2014-06-03  Wilco  <wdijkstr@arm.com>
32555         * sysdeps/aarch64/fpu/math_private.h
32556         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
32557         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
32558         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
32559         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32560         Fix declarations.
32562 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32564         * crypt/crypt-private.h: Include ufc-crypt.h.
32565         (__b64_from_24bit): Declare extern.
32566         * crypt/crypt_util.c(__b64_from_24bit): New function.
32567         (b64t): New static const variable.
32568         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
32569         (b64t): Remove variable.
32570         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
32571         * crypt/sha256-crypt.c: Include crypt-private.h.
32572         (b64t): Remove variable.
32573         (__sha256_crypt_r): Remove b64_from_24bit and replace
32574         with __b64_from_24bit.
32575         * crypt/sha512-crypt.c: Likewise.
32577 2014-06-02  Roland McGrath  <roland@hack.frob.com>
32579         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
32580         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
32581         Label the code __libc_vfork rather than __vfork.
32582         [!NOT_IN_libc] (vfork): Define as weak alias.
32583         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
32584         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
32585         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
32587 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32589         * malloc/malloc.c (malloc_info): Fix format specifier for
32590         n_mmaps.
32592 2014-06-02  Wilco  <wdijkstr@arm.com>
32594         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
32595         FPCR write.
32597 2014-06-02  Wilco  <wdijkstr@arm.com>
32599         [BZ #17009]
32600         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
32601         Rewrite to reduce FPCR/FPSR accesses.
32603 2014-06-01  David S. Miller  <davem@davemloft.net>
32605         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32607 2014-05-31  David S. Miller  <davem@davemloft.net>
32609         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
32610         to occur in round to nearest mode when |x| >= 2.0
32612 2014-05-30  Richard Henderson  <rth@twiddle.net>
32614         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
32615         (PSEUDO_RET_NOERRNO): Remove.
32616         (ret): Don't redefine.
32617         (ret_NOERRNO): Define in terms of ret.
32618         (ret_ERRVAL): Likewise.
32620         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
32621         use of PSEUDO_RET; perform the error check directly.
32623 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
32625         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
32626         with __int128_t.
32628 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32630         * malloc/malloc (malloc_info): Fix formatting.
32632 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32633             Roland McGrath  <roland@hack.frob.com>
32635         * malloc/malloc (malloc_info): Also print mmapped statistics.
32637 2014-05-30  Roland McGrath  <roland@hack.frob.com>
32639         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
32640         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
32642 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
32644         * malloc/malloc.c (malloc_info): Inline mi_arena.
32646 2014-05-29  Richard Henderson  <rth@twiddle.net>
32648         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
32649         Remove comma before expanding ASM_ARGS_##nr.
32650         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
32651         Make _x0 a strict output; make _x8 a strict input; adjust expansion
32652         of ASM_ARGS_##nr.
32653         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
32654         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
32655         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
32656         (ASM_ARGS_1): Add leading comma.
32658         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
32659         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
32660         to __errno_location.
32661         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
32662         Remove the expected plt for __errno_location.
32664         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32665         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
32666         call to __read_tp.
32668         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32669         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
32670         it and break it down.
32671         (DOCARGS_0, DOCARGS_1): Do nothing.
32672         (DOCARGS_2): Update to store into the new stack frame.
32673         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
32674         (UNDOCARGS_1): Update to restore from the new stack frame.
32675         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
32676         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
32678         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32679         (SINGLE_THREAD_P): New parameter for result regno.
32680         (PSEUDO): Update to match; use cbz instead of beq.
32682         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32683         Use ENTRY to define the _nocancel entry point.  Share the syscall
32684         and syscall error check paths with the cancel path.
32685         (PSEUDO_END): New.
32687         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
32688         whitespace; tabs before and after asm mnemonics.
32690 2014-05-29  Eric Wong  <normalperson@yhbt.net>
32692         [BZ #15132]
32693         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32694         Call fstat64 or stat64 internally, depending on arguments passed.
32695         Replace stat buffer argument with file descriptor argument.
32696         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
32697         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32698         Pass fd to __internal_statvfs instead of calling fstat64.
32699         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
32700         Pass fd to __internal_statvfs64 instead of calling fstat64.
32701         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
32702         Pass -1 to __internal_statvfs instead of calling stat64.
32703         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
32704         Pass -1 to __internal_statvfs64 instead of calling stat64.
32706 2014-05-28  Roland McGrath  <roland@hack.frob.com>
32708         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
32709         that was previously under [RESET_PID].
32710         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
32712         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
32713         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
32715 2014-05-27  Roland McGrath  <roland@hack.frob.com>
32717         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
32719         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
32720         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
32722 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
32724         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
32726 2014-05-27  Andreas Schwab  <schwab@suse.de>
32728         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
32729         TLS_INIT_TP macro.
32730         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
32731         * elf/rtld.c (init_tls, dl_main): Likewise.
32732         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
32733         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
32734         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
32735         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
32736         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
32737         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
32738         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
32739         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
32740         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
32741         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
32742         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
32743         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
32744         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
32745         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
32746         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
32747         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
32748         * sysdeps/generic/tls.h: Update description.
32750 2014-05-27  Will Newton  <will.newton@linaro.org>
32752         [BZ #16990]
32753         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
32754         and restore r2 rather than just restoring.
32756 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32758         [BZ #16724]
32759         * libio/tst-ftell-append.c: New test case.
32760         * libio/Makefile (tests): Add test case.
32761         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
32762         append mode.
32763         * libio/wfileops.c (do_ftell_wide): Likewise.
32765 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32769         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
32770         ...
32771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
32772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32773         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
32774         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
32775         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
32776         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
32777         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
32778         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
32779         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32780         Moved ...
32781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
32782         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32783         Moved ...
32784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
32785         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
32786         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
32787         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
32788         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
32789         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
32790         ...
32791         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
32792         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
32793         Moved ...
32794         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
32795         here.
32796         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
32797         ...
32798         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
32799         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
32800         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
32802         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
32803         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
32804         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
32805         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
32807         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
32808         merge into ...
32809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
32810         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
32811         ...
32812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
32813         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
32814         ...
32815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
32816         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32817         Moved ...
32818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
32819         here.
32820         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32821         Moved ...
32822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
32823         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32824         Moved ...
32825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
32827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
32828         conditional [RESET_PID].
32829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
32830         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
32831         removed.
32832         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
32833         removed.
32835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
32836         <tcb-offsets.h>.
32837         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32838         (__libc_vfork): New strong alias.
32839         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
32840         removed.
32841         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
32842         Removed.
32844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
32845         <tcb-offsets.h>.
32846         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
32847         (__libc_vfork): New strong alias.
32848         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
32849         removed.
32850         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
32851         removed.
32853 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
32855         * malloc/malloc.c (mi_arena): New function.
32856         (malloc_info): Remove nested function mi_arena. Call non-nosted
32857         function mi_arena.
32859 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32861         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
32862         by insrwi.
32863         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32864         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32865         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
32866         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
32867         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
32868         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
32869         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
32871 2014-05-26  Andreas Schwab  <schwab@suse.de>
32873         [BZ #16984]
32874         * locale/programs/repertoire.c (repertoire_read): Add slash
32875         between I18NPATH element and file name.
32876         * locale/programs/locfile.c (locfile_read): Likewise.
32878 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32880         * nptl/pthread_mutexattr_settype.c
32881         (__pthread_mutexattr_settype):
32882         Disable lock elision for PTHREAD_MUTEX_NORMAL.
32884 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32886         * nptl/tst-mutex5 (do_test):
32887         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
32889 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32891         * benchtests/README: Document 'init' directive.
32892         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
32893         BENCH_INIT.
32894         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
32895         (parse_file): Recognize 'init' directive.
32897 2014-05-26  Kyle McMartin  <kyle@redhat.com>
32899         [BZ #16796]
32900         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
32901         alignment of struct pthread.
32903 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32905         [BZ #16878]
32906         * nscd/netgroupcache.c (addgetnetgrentX): Look for
32907         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32908         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
32909         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32911 2014-05-25  Richard Henderson  <rth@twiddle.net>
32913         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32914         (SINGLE_THREAD_P_PIC): Remove.
32915         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
32916         (SINGLE_THREAD_P_PIC): Remove.
32918         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
32919         branch to syscall error ...
32920         (PSEUDO): ... here.
32921         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
32922         from __local_syscall_error to .Lsyscall_error.
32923         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
32924         (SYSCALL_ERROR): Update label name.
32926         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32927         Do not use DOARGS/UNDOARGS.
32928         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
32929         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
32930         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
32931         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
32932         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
32934         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
32935         block comment.
32937         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
32938         define if !NOT_IN_libc.
32939         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
32940         define with non-default symbol versions.
32942 2014-05-23  Richard Henderson  <rth@twiddle.net>
32944         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
32945         (vfork, __vfork): Define via compat_symbol.
32947         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
32948         [!HAVE_IFUNC] (vfork_compat): Remove.
32949         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
32951 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32953         [BZ #16978]
32954         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
32955         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
32956         variable.
32958 2014-05-23  Richard Henderson  <rth@twiddle.net>
32960         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
32961         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
32962         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
32963         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
32965         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
32966         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
32967         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
32968         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
32969         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
32970         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
32971         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
32972         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
32973         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
32974         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
32975         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
32976         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
32977         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
32978         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
32979         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
32980         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
32981         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
32982         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
32983         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
32984         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
32985         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
32986         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
32987         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
32988         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
32989         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
32990         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
32991         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
32992         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
32993         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
32994         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
32995         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
32996         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
32997         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
32998         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
32999         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
33000         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
33001         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
33002         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
33003         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
33004         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
33005         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
33006         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
33007         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
33008         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
33009         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
33010         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
33011         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
33012         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
33013         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
33014         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
33015         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
33016         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
33017         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
33018         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
33019         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
33020         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
33022         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
33023         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
33024         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
33025         before exiting on error.
33026         (__libc_vfork): New strong alias.
33027         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
33028         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
33030         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
33031         that was previously under [RESET_PID].
33032         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
33034         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
33036 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33038         [BZ #16977]
33039         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
33040         value when x - 1 is zero.
33041         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
33042         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
33043         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
33044         0.0L for an argument of 1.0L.
33045         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
33046         Likewise.
33047         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
33048         value when x - 1 is zero.
33049         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
33050         * sysdeps/i386/fpu/libm-test-ulps: Update.
33051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33053 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
33055         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
33056         alphasort and versionsort.
33058 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33060         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
33061         macro.
33062         [copysignf]: Likewise.
33064 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33066         * crypt/md5-crypt.c: Fix formatting.
33068 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33070         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
33071         (b64_from_24bit): New function.
33073 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33075         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
33076         libc_hidden_builtin_def to ifunc.
33077         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33078         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
33080 2014-05-21  Roland McGrath  <roland@hack.frob.com>
33082         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
33083         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
33085 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
33087         * nscd/Depend (linuxthreads): Remove.
33088         (nptl): Add.
33089         * resolv/Depend (linuxthreads): Remove.
33090         * rt/Depend (linuxthreads): Remove.
33092         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
33093         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
33094         $(common-objpfx)elf/.
33095         (link-libc-before-gnulib): Likewise.
33096         (elfobjdir): Remove variable.
33097         * Makefile (install): Use $(elf-objpfx) instead of
33098         $(common-objpfx)elf/.
33099         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
33100         $(elfobjdir)/.
33101         (link-libc-deps): Likewise.
33102         ($(common-objpfx)libc.so): Likewise.
33103         ($(common-objpfx)linkobj/libc.so): Likewise.
33104         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
33105         instead of $(common-objpfx)elf/.
33106         (symbolic-link-list): Likewise.
33107         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33108         [$(cross-compiling) = no]: Likewise.
33109         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
33110         $(elfobjdir)/.
33111         (static-gnulib-arch): Likewise.
33112         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33113         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
33114         $(common-objpfx)elf/.
33116 2014-05-21  Richard Henderson  <rth@redhat.com>
33118         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33119         (SINGLE_THREAD_P): Use the correct width load.  Fold
33120         into the ldr offset.
33122         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
33123         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
33125 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
33127         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
33128         (libgcc_s_resume): Use __attribute_used__.
33129         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
33130         Likewise.
33132 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33134         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
33135         optimization when used with float constants.
33137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33139 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
33141         [BZ #16915]
33142         * locale/nl_langinfo_l.c: Make direct reference to every
33143         _nl_current_CATEGORY symbol.
33144         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
33145         (tests-static): Add tst-langinfo-static.
33146         (tests-special): Add tst-langinfo-static.out.
33147         ($(objpfx)tst-langinfo.out): Redirect output.
33148         ($(objpfx)tst-langinfo-static.out): New.
33149         * localedata/tst-langinfo.sh: Send output to stdout.
33150         * localedata/tst-langinfo-static.c: New file.
33152         [BZ #16965]
33153         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
33154         when the shift amount is modulo the limb size.
33156 2014-05-20  Richard Henderson  <rth@redhat.com>
33158         [BZ #16967]
33159         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
33160         Change type of sa_flags from unsigned int to int.
33162         [BZ #16966]
33163         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
33165         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
33167 2014-05-20  Will Newton  <will.newton@linaro.org>
33169         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33170         Test the return value of the system call in the nocancel case.
33172 2014-05-20  Will Newton  <will.newton@linaro.org>
33173             Yvan Roux  <yvan.roux@linaro.org>
33175         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
33176         #include of asm/ptrace.h.
33177         (PTRACE_GET_THREAD_AREA): Remove #undef.
33178         (PTRACE_GETHBPREGS): Likewise.
33179         (PTRACE_SETHBPREGS): Likewise.
33180         (struct user_regs_struct): New structure.
33181         (struct user_fpsimd_struct): New structure.
33182         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
33183         #include of asm/ptrace.h and second #include of sys/user.h.
33184         (PTRACE_GET_THREAD_AREA): Remove #undef.
33185         (PTRACE_GETHBPREGS): Likewise.
33186         (PTRACE_SETHBPREGS): Likewise.
33187         (ELF_NGREG): Use new struct user_regs_struct.
33188         (elf_fpregset_t): Use new struct user_fpsimd_struct.
33190 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33192         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
33193         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
33195 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
33197         [BZ #16958]
33198         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
33199         membar to avoid block loads/stores to overlap previous stores.
33201 2014-05-17  Richard Henderson  <rth@redhat.com>
33203         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
33204         Create the __##syscall_name##_nocancel entry point.
33205         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
33206         Remove; let the sysdep-cancel.h code create it.
33208 2014-05-17  David S. Miller  <davem@davemloft.net>
33210         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
33211         Protect with __USE_GNU.
33212         (TIOCSET_TEMPT): Likewise.
33213         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33214         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
33215         these are already provided in bits/ioctl-types.h
33217 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33219         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
33220         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
33222         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
33223         Use wait4 regardless of [__NR_waitpid].
33225 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33227         PR libgcc/60166
33228         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33229         (_FP_NANSIGN_Q): Set the quiet bit.
33231 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
33233         * benchtests/Makefile
33234         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
33235         not $(common-objpfx)math/libm.so.
33236         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
33237         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
33238         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
33239         $(common-objpfx)dlfcn/libdl.so.
33240         ($(objpfx)tst-audit8): Depend on $(libm), not
33241         $(common-objpfx)math/libm.so.
33242         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
33243         not $(common-objpfx)dlfcn/libdl.so.
33244         * math/Makefile
33245         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33246         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
33247         [$(build-shared) = yes].
33248         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
33249         $(common-objpfx)nptl/libpthread.so.
33250         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
33251         $(common-objpfx)math/libm.so$(libm.so-version) or
33252         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
33253         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
33254         $(common-objpfx)dlfcn/libdl.so.
33255         * setjmp/Makefile (link-libm): Remove variable.
33256         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
33257         * stdio-common/Makefile (link-libm): Remove variable.
33258         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
33259         * stdlib/Makefile (link-libm): Remove variable.
33260         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
33261         ($(objpfx)tst-strtod-round): Likewise.
33262         ($(objpfx)tst-tininess): Likewise.
33263         ($(objpfx)tst-strtod-underflow): Likewise.
33264         ($(objpfx)tst-strtod6): Likewise.
33265         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
33266         $(libdl), not $(common-objpfx)nptl/libpthread.so and
33267         $(common-objpfx)dlfcn/libdl.so.
33269 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33271         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
33272         BSD terminal modes definitions.
33274 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33276         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
33277         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
33279         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
33280         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
33281         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
33282         Don't do #include_next.
33283         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
33284         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
33285         Don't do #include_next.
33286         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
33287         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
33288         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
33289         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
33291 2014-05-16  Allan McRae  <allan@archlinux.org>
33293         * po/sv.po: Update Swedish translation from translation project.
33295         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
33296         in sed expression.
33298 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
33300         [BZ #16917]
33301         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
33302         errno if the TIOCGPTN ioctl fails with an error different than
33303         EINVAL.
33304         * login/tst-ptsname.c: New file.
33305         * login/Makefile (tests): Add tst-ptsname.
33307         [BZ #16943]
33308         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
33309         and prlimit64.
33311 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33313         [BZ #16849]
33314         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
33315         herrno to return EAI_AGAIN.
33317 2014-05-14  Roland McGrath  <roland@hack.frob.com>
33319         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
33320         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
33321         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
33322         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
33323         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
33324         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
33325         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
33326         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
33327         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
33328         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
33329         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
33330         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
33331         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
33332         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
33333         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
33334         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
33335         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
33336         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
33337         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
33338         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
33339         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
33340         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
33341         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
33342         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
33343         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
33344         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
33345         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
33346         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
33347         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
33348         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
33349         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
33350         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
33351         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
33352         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
33353         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33354         Moved ...
33355         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
33356         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
33357         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
33358         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
33359         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
33360         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
33361         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
33362         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
33363         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
33364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
33365         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
33366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
33367         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
33368         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
33369         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
33370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
33371         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
33372         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
33373         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
33374         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
33375         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
33376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
33377         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
33378         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
33379         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
33380         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
33381         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
33382         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33383         Moved ...
33384         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
33385         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
33386         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
33387         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
33388         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
33389         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
33390         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
33391         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
33392         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
33393         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
33394         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
33395         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
33396         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
33397         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
33398         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
33399         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
33400         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
33401         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
33402         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
33403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33404         Moved ...
33405         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
33406         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
33407         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
33409         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
33410         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
33411         (libpthread-sysdep_routines): Add elision-related stuff here instead.
33412         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
33413         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
33414         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
33415         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
33416         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
33417         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
33418         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
33419         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
33420         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
33421         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
33422         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
33423         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
33424         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
33425         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
33426         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
33427         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
33428         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
33429         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
33430         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
33431         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
33432         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
33433         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
33434         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
33435         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
33436         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
33437         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
33438         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
33439         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
33441         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
33442         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
33444         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
33445         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
33446         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
33447         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
33448         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
33449         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
33450         Moved ...
33451         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
33452         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
33453         Moved ...
33454         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
33455         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
33456         Moved ...
33457         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
33458         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
33459         Moved ...
33460         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
33461         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
33462         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
33463         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
33464         Moved ...
33465         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
33466         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
33467         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
33468         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
33469         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
33470         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
33471         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
33472         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
33473         Moved ...
33474         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
33475         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33476         Moved ...
33477         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33478         ... here.
33479         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
33480         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
33481         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
33482         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
33483         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33484         Moved ...
33485         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33486         ... here.
33487         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
33488         Moved ...
33489         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
33490         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
33491         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
33492         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
33493         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
33494         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
33495         Moved ...
33496         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
33497         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
33498         Moved ...
33499         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
33500         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
33501         Moved ...
33502         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
33503         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
33504         Moved ...
33505         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
33506         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
33507         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
33508         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
33509         Moved ...
33510         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
33511         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
33512         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
33513         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
33514         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
33515         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
33516         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
33517         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
33518         Moved ...
33519         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
33520         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33521         Moved ...
33522         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33523         ... here.
33524         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
33525         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
33526         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
33527         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
33528         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33529         Moved ...
33530         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33531         ... here.
33532         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
33533         Moved ...
33534         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
33535         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
33536         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
33537         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
33538         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
33539         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
33540         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
33541         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
33542         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
33543         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
33544         Moved ...
33545         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
33546         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
33547         Moved ...
33548         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
33549         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
33550         Moved ...
33551         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
33552         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
33553         Moved ...
33554         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
33555         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
33556         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
33557         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
33558         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
33559         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
33560         Moved ...
33561         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
33562         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
33563         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
33564         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
33565         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
33566         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
33567         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
33568         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
33569         Moved ...
33570         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
33571         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33572         Moved ...
33573         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33574         ... here.
33575         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
33576         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
33577         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
33578         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
33579         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33580         Moved ...
33581         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33582         ... here.
33583         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
33584         Moved ...
33585         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
33586         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
33587         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
33588         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
33589         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
33590         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
33591         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
33592         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
33593         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
33594         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
33595         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
33597         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
33598         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
33600         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
33601         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
33603         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
33604         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
33605         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
33606         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
33607         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
33608         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
33609         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
33610         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
33611         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
33612         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
33613         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
33614         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
33615         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
33616         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
33617         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
33618         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
33619         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
33620         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
33621         Moved ...
33622         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
33623         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
33624         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
33625         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
33626         Moved ...
33627         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
33628         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
33629         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
33630         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
33631         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
33632         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
33633         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
33634         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
33635         Moved ...
33636         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
33637         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
33638         Moved ...
33639         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
33640         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
33641         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
33642         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
33643         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
33644         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
33645         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
33646         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
33647         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
33648         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
33649         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
33650         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
33651         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
33652         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
33653         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
33654         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
33655         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
33657         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
33658         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
33659         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
33660         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
33661         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
33663         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
33664         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
33665         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
33666         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
33667         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
33668         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
33669         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
33670         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
33671         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
33672         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
33674         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
33675         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
33677         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
33678         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
33679         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
33680         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
33681         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
33682         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
33683         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
33684         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
33685         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
33686         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
33687         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
33688         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
33689         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
33690         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
33691         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
33692         Update #include.
33693         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
33694         Likewise.
33695         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33696         Likewise.
33697         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33698         Likewise.
33699         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33700         Likewise.
33701         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
33702         Likewise.
33703         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
33704         Likewise.
33705         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33706         Likewise.
33707         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
33708         Likewise.
33709         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
33710         Likewise.
33711         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
33712         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
33713         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
33714         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
33715         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
33716         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
33717         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
33718         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
33719         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
33720         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
33721         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
33722         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
33723         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
33724         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
33725         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
33727         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
33728         that was previously under [RESET_PID].
33729         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33730         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
33731         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
33733         * sysdeps/i386/nptl/Implies: New file.
33734         * sysdeps/x86_64/nptl/Implies: New file.
33735         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
33736         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
33737         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
33738         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
33740         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
33741         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33742         (__libc_vfork): New strong alias.
33743         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
33744         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
33746         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
33747         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33748         (__libc_vfork): New strong alias.
33749         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
33750         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
33752         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
33753         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33754         (__libc_vfork): New strong alias.
33755         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
33756         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
33757         * nptl/pt-vfork.c: New file.
33758         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
33759         (libpthread: GLIBC_2.20): New version set (empty).
33761 2014-05-14  Will Newton  <will.newton@linaro.org>
33763         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
33764         rather than #if.
33766 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33768         [BZ #16564]
33769         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
33770         arguments with exponent 65 or above.
33771         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
33772         arguments 0x1p113L or above.
33773         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
33774         to arguments 0x1p107L or above.
33775         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
33776         positive arguments with exponent 65 or above.
33777         * math/auto-libm-test-in: Add more tests of log1p.
33778         * math/auto-libm-test-out: Regenerated.
33780         [BZ #16928]
33781         * math/s_cacos.c (__cacos): Ensure zero real part of result from
33782         non-finite arguments is +0.
33783         * math/s_cacosf.c (__cacosf): Likewise.
33784         * math/s_cacosl.c (__cacosl): Likewise.
33785         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
33786         * sysdeps/i386/fpu/libm-test-ulps: Update.
33787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33789         [BZ #16927]
33790         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
33791         value.
33792         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
33793         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
33794         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
33795         for explicit high bit of mantissa when testing for argument equal
33796         to 1.
33797         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
33798         * sysdeps/i386/fpu/libm-test-ulps: Update.
33799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33801         [BZ #16516]
33802         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
33803         (__erf): Scale by 16 instead of 8 in potentially underflowing
33804         case.  Ensure exception if result actually underflows.
33805         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
33806         (__erff): Scale by 16 instead of 8 in potentially underflowing
33807         case.  Ensure exception if result actually underflows.
33808         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
33809         (efx8): Remove variable.
33810         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33811         case.  Ensure exception if result actually underflows.
33812         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
33813         (efx8): Remove variable.
33814         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33815         case.  Ensure exception if result actually underflows.
33816         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
33817         (efx8): Remove variable.
33818         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33819         case.  Ensure exception if result actually underflows.
33820         * math/auto-libm-test-in: Add more tests of erf.
33821         * math/auto-libm-test-out: Regenerated.
33823 2014-05-14  Andreas Schwab  <schwab@suse.de>
33825         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
33826         Remove code conditionalized on USE___THREAD.
33828         * config.h.in (HAVE_PT_CHOWN): Define as 0.
33829         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
33830         not definedness.
33832 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33834         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
33835         Define unconditionally.
33836         (__ASSUME_O_CLOEXEC): Likewise.
33837         (__ASSUME_SOCK_CLOEXEC): Likewise.
33838         (__ASSUME_IN_NONBLOCK): Likewise.
33839         (__ASSUME_PIPE2): Likewise.
33840         (__ASSUME_EVENTFD2): Likewise.
33841         (__ASSUME_SIGNALFD4): Likewise.
33842         (__ASSUME_DUP3): Likewise.
33843         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33844         (__ASSUME_DUP3): Do not define.
33845         (__ASSUME_EVENTFD2): Likewise.
33846         (__ASSUME_IN_NONBLOCK): Likewise.
33847         (__ASSUME_O_CLOEXEC): Likewise.
33848         (__ASSUME_PIPE2): Likewise.
33849         (__ASSUME_SIGNALFD4): Likewise.
33850         (__ASSUME_SOCK_CLOEXEC): Likewise.
33851         (__ASSUME_UTIMES): Undefine.
33852         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33853         (__ASSUME_UTIMES): Do not define.
33854         (__ASSUME_O_CLOEXEC): Likewise.
33855         (__ASSUME_SOCK_CLOEXEC): Likewise.
33856         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
33857         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
33858         0x020621].
33859         (__ASSUME_PIPE2): Likewise.
33860         (__ASSUME_EVENTFD2): Likewise.
33861         (__ASSUME_SIGNALFD4): Likewise.
33862         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
33863         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
33864         Do not define.
33865         (__ASSUME_EVENTFD2): Likewise.
33866         (__ASSUME_SIGNALFD4): Likewise.
33867         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33868         (__ASSUME_32BITUIDS): Likewise.
33869         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33870         (__ASSUME_IPC64): Likewise.
33871         (__ASSUME_ST_INO_64_BIT): Likewise.
33872         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
33873         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
33874         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33875         (__ASSUME_UTIMES): Do not define.
33876         (__ASSUME_PSELECT): Likewise.
33877         (__ASSUME_PPOLL): Likewise.
33878         (__ASSUME_O_CLOEXEC): Likewise.
33879         (__ASSUME_SOCK_CLOEXEC): Likewise.
33880         (__ASSUME_IN_NONBLOCK): Likewise.
33881         (__ASSUME_PIPE2): Likewise.
33882         (__ASSUME_EVENTFD2): Likewise.
33883         (__ASSUME_SIGNALFD4): Likewise.
33884         (__ASSUME_DUP3): Likewise.
33885         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33886         (__ASSUME_UTIMES): Likewise.
33887         (__ASSUME_O_CLOEXEC): Likewise.
33888         (__ASSUME_SOCK_CLOEXEC): Likewise.
33889         (__ASSUME_IN_NONBLOCK): Likewise.
33890         (__ASSUME_PIPE2): Likewise.
33891         (__ASSUME_EVENTFD2): Likewise.
33892         (__ASSUME_SIGNALFD4): Likewise.
33893         (__ASSUME_DUP3): Likewise.
33894         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33895         (__ASSUME_UTIMES): Likewise.
33896         (__ASSUME_O_CLOEXEC): Likewise.
33897         (__ASSUME_SOCK_CLOEXEC): Likewise.
33898         (__ASSUME_IN_NONBLOCK): Likewise.
33899         (__ASSUME_PIPE2): Likewise.
33900         (__ASSUME_EVENTFD2): Likewise.
33901         (__ASSUME_SIGNALFD4): Likewise.
33902         (__ASSUME_DUP3): Likewise.
33903         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
33904         Likewise.
33905         (__ASSUME_UTIMES): Likewise.
33906         (__ASSUME_EVENTFD2): Likewise.
33907         (__ASSUME_SIGNALFD4): Likewise.
33908         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33909         (__ASSUME_O_CLOEXEC): Likewise.
33910         (__ASSUME_SOCK_CLOEXEC): Likewise.
33911         (__ASSUME_IN_NONBLOCK): Likewise.
33912         (__ASSUME_PIPE2): Likewise.
33913         (__ASSUME_EVENTFD2): Likewise.
33914         (__ASSUME_SIGNALFD4): Likewise.
33915         (__ASSUME_DUP3): Likewise.
33916         (__ASSUME_UTIMES): Undefine.
33918         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
33919         feclearexcept.  Remove symbol versioning code.
33920         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
33921         symbol versioning code.
33922         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
33923         symbol versioning code.
33924         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
33925         feupdateenv.  Remove symbol versioning code.
33926         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
33927         fegetexceptflag.  Remove symbol versioning code.
33928         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
33929         fesetexceptflag.  Remove symbol versioning code.
33930         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
33931         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
33932         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
33933         (__posix_fadvise64_l32): Remove prototype.
33934         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
33935         code.
33937 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33939         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
33940         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
33941         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
33942         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
33944 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
33946         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
33947         current working directory
33949 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33951         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
33952         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
33953         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
33954         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
33955         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
33956         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
33957         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
33958         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
33959         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
33960         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
33961         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
33962         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
33963         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
33964         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
33965         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
33966         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
33967         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
33968         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
33969         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
33970         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
33971         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
33972         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
33973         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
33974         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
33975         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
33976         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
33977         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
33978         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
33979         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
33980         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
33981         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
33982         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
33983         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
33984         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
33985         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
33986         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
33987         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
33988         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
33989         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
33990         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
33991         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
33992         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
33994         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
33995         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
33997         * sysdeps/unix/sysv/linux/arm/Makefile
33998         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33999         Add rt-aeabi_unwind_cpp_pr1.
34000         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
34001         Add nptl-aeabi_unwind_cpp_pr1.
34002         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
34003         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
34004         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
34005         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34006         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
34007         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34009         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
34010         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
34011         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
34012         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
34014         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
34015         Deconditionalize the code that was previously under [RESET_PID].
34016         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
34018         * sysdeps/generic/exit-thread.h: New file.
34019         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
34020         * include/unistd.h (__exit_thread): Remove declaration.
34021         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
34022         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
34023         * csu/libc-start.c: Include <exit-thread.h>.
34024         (LIBC_START_MAIN): Pass no argument to __exit_thread.
34025         * nptl/pthread_create.c: Include <exit-thread.h>.
34026         (start_thread): Call __exit_thread in place of __exit_thread_inline.
34027         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
34028         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
34029         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
34030         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
34031         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
34032         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
34033         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
34034         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
34035         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
34036         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
34037         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
34038         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
34039         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
34040         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
34041         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
34042         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
34044 2014-05-13  Andreas Schwab  <schwab@suse.de>
34046         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
34048 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
34050         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34051         (__ASSUME_UTIMES): Do not condition on kernel version.
34052         (__ASSUME_PSELECT): Define unconditionally.
34053         (__ASSUME_PPOLL): Likewise.
34054         (__ASSUME_ATFCTS): Likewise.
34055         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
34056         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
34057         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
34058         (__ASSUME_UTIMENSAT): Define unconditionally.
34059         (__ASSUME_PRIVATE_FUTEX): Likewise.
34060         (__ASSUME_FALLOCATE): Likewise.
34061         (__ASSUME_O_CLOEXEC): Likewise.
34062         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
34063         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
34064         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
34065         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
34066         (__ASSUME_IN_NONBLOCK): Likewise.
34067         (__ASSUME_PIPE2): Likewise.
34068         (__ASSUME_EVENTFD2): Likewise.
34069         (__ASSUME_SIGNALFD4): Likewise.
34070         (__ASSUME_DUP3): Likewise.
34071         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34072         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
34073         (__ASSUME_AT_RANDOM): Likewise.
34074         (__ASSUME_PREADV): Likewise.
34075         (__ASSUME_PWRITEV): Likewise.
34076         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
34077         (__ASSUME_F_GETOWN_EX): Define unconditionally.
34078         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
34079         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34080         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
34081         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34082         (__ASSUME_O_CLOEXEC): Define unconditionally.
34083         (__ASSUME_PSELECT): Do not undefine conditionally.
34084         (__ASSUME_PPOLL): Likewise.
34085         (__ASSUME_ATFCTS): Likewise.
34086         (__ASSUME_SET_ROBUST_LIST): Likewise.
34087         (__ASSUME_UTIMENSAT): Likewise.
34088         (__ASSUME_FDATASYNC): Define unconditionally.
34089         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34090         (__ASSUME_SIGFRAME_V2): Likewise.
34091         )__ASSUME_EVENTFD2): Likewise.
34092         (__ASSUME_SIGNALFD4): Likewise.
34093         (__ASSUME_PSELECT): Do not undefine conditionally.
34094         (__ASSUME_PPOLL): Likewise.
34095         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34096         (__ASSUME_PSELECT): Define unconditionally.
34097         (__ASSUME_PPOLL): Likewise.
34098         (__ASSUME_O_CLOEXEC): Likewise.
34099         (__ASSUME_SOCK_CLOEXEC): Likewise.
34100         (__ASSUME_IN_NONBLOCK): Likewise.
34101         (__ASSUME_PIPE2): Likewise.
34102         (__ASSUME_EVENTFD2): Likewise.
34103         (__ASSUME_SIGNALFD4): Likewise.
34104         (__ASSUME_DUP3): Likewise.
34105         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34106         (__ASSUME_O_CLOEXEC): Likewise.
34107         (__ASSUME_SOCK_CLOEXEC): Likewise.
34108         (__ASSUME_IN_NONBLOCK): Likewise.
34109         (__ASSUME_PIPE2): Likewise.
34110         (__ASSUME_EVENTFD2): Likewise.
34111         (__ASSUME_SIGNALFD4): Likewise.
34112         (__ASSUME_DUP3): Likewise.
34113         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34114         (__ASSUME_EVENTFD2): Likewise.
34115         (__ASSUME_SIGNALFD4): Likewise.
34116         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34118 2014-05-12  Andreas Schwab  <schwab@suse.de>
34120         [BZ #16932]
34121         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
34122         (_nss_nis_gethostbyname4_r): Return error if item length is larger
34123         than maximum RPC packet size.
34124         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
34125         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
34126         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
34127         (_nss_nis_getservbyport_r): Likewise.
34129 2014-05-12  Will Newton  <will.newton@linaro.org>
34131         * malloc/Makefile (tests): Add tst-mallopt.
34132         * malloc/tst-mallopt.c: New file.
34134 2014-05-09  Roland McGrath  <roland@hack.frob.com>
34136         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
34137         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
34139 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34141         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
34142         (tst-tlsmod6.so): Likewise.
34144 2014-05-09  Roland McGrath  <roland@hack.frob.com>
34146         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
34148 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
34150         [BZ #16064]
34151         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
34152         and <dl-procinfo.h>.
34153         (__fegetenv): Save SSE state in envp->__eip if supported.
34154         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
34155         envp->__eip if supported.
34156         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
34157         and <dl-procinfo.h>.
34158         (__fesetenv): Always set __eip, __cs_selector, __opcode,
34159         __data_offset and __data_selector in environment to 0.  Set SSE
34160         state if supported.
34161         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
34162         test-fenv-sse.
34163         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
34164         -mfpmath=sse.
34165         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
34167 2014-05-09  Will Newton  <will.newton@linaro.org>
34169         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
34170         and libc_relro_required for ARM.
34171         * sysdeps/arm/preconfigure: Regenerate.
34173 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
34174             Stefan Liebler  <stli@linux.vnet.ibm.com>
34176         * config.make.in (enable-lock-elision): New Makefile variable.
34177         * configure.ac: Likewise.
34178         * configure: Regenerate.
34179         * sysdeps/s390/configure.ac:
34180         Add check for gcc transactions support.
34181         * sysdeps/s390/configure: Regenerate.
34182         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
34183         Build elision files if enabled.
34184         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
34185         Add lock elision support for s390.
34186         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
34187         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
34188         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
34189         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
34190         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
34191         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
34192         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34193         Likewise.
34194         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
34195         Likewise.
34196         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
34197         Likewise.
34198         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
34199         Likewise.
34200         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
34201         (__lll_timedlock_elision, __lll_lock_elision)
34202         (__lll_unlock_elision, __lll_trylock_elision)
34203         (lll_timedlock_elision, lll_lock_elision)
34204         (lll_unlock_elision, lll_trylock_elision): Add.
34205         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34206         (pthread_mutex_t): Add lock elision support for s390.
34208 2014-05-14  Wilco  <wdijkstr@arm.com>
34210         * sysdeps/arm/fclrexcpt.c: Cleanup.
34211         * sysdeps/arm/fedisblxcpt.c: Cleanup.
34212         * sysdeps/arm/feenablxcpt.c: Cleanup.
34213         * sysdeps/arm/fegetenv.c: Cleanup.
34214         * sysdeps/arm/fegetexcept.c: Cleanup.
34215         * sysdeps/arm/fegetround.c: Cleanup.
34216         * sysdeps/arm/feholdexcpt.c: Cleanup.
34217         * sysdeps/arm/fesetenv.c: Cleanup.
34218         * sysdeps/arm/fesetround.c: Cleanup.
34219         * sysdeps/arm/feupdateenv.c: Cleanup.
34220         * sysdeps/arm/fgetexcptflg.c: Cleanup.
34221         * sysdeps/arm/fraiseexcpt.c: Cleanup.
34222         * sysdeps/arm/fsetexcptflg.c: Cleanup.
34223         * sysdeps/arm/ftestexcept.c: Cleanup.
34224         * sysdeps/arm/get-rounding-mode.h: Cleanup.
34225         * sysdeps/arm/setfpucw.c: Cleanup.
34227 2014-05-09  Will Newton  <will.newton@linaro.org>
34229         * sysdeps/arm/armv7/strcmp.S: New file.
34230         * NEWS: Mention addition of ARMv7 optimized strcmp.
34232 2014-05-08  Roland McGrath  <roland@hack.frob.com>
34234         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
34235         look for %.ac rather than %.in.
34237         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
34238         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
34239         * sysdeps/mach/hurd/configure: Regenerated.
34240         * sysdeps/unix/sysv/linux/configure: Regenerated.
34242         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
34244 2014-05-07  Steve Ellcey  <sellcey@mips.com>
34246         [BZ# 16922]
34247         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
34248         (LONG_SUB): Ditto.
34249         (PTR_SUB): Ditto.
34251 2014-05-07  Andreas Schwab  <schwab@suse.de>
34253         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
34254         when skipping over non-matching result from nscd.
34256 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
34258         [BZ #16876]
34259         * nptl/sockperf.c (client): Check socket return value.
34261         [BZ #16877]
34262         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
34263         nscd security class.
34265 2014-05-06  Roland McGrath  <roland@hack.frob.com>
34267         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
34268         * sysdeps/arm/unwind.h: ... here.
34270 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
34272         [BZ# 16916]
34273         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
34274         Define.
34276 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34278         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
34279         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
34280         multiarch strncpy for PPC64.
34281         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
34282         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
34283         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
34284         multiarch optimizations.
34285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34286         (__libc_ifunc_impl_list): Likewise.
34287         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
34288         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
34289         multiarch stpncpy for PPC64.
34290         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
34291         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
34293 2014-05-06  Andreas Schwab  <schwab@suse.de>
34295         [BZ #16912]
34296         * gmon/mcount.c (_MCOUNT_DECL): Use
34297         atomic_compare_and_exchange_bool_acq instead of
34298         catomic_compare_and_exchange_bool_acq.
34300 2014-05-05  Roland McGrath  <roland@hack.frob.com>
34302         * elf/Makefile (others, install-bin): Remove pldd.
34303         (pldd-modules): Variable removed.
34304         ($(objpfx)pldd): Target removed.
34305         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
34306         (others, install-bin): Append pldd here.
34307         ($(objpfx)pldd): New target.
34309         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
34310         to 0, so the first #if test emitted later doesn't see it undefined.
34311         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
34312         * sysdeps/gnu/errlist.c: Regenerated.
34314 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34316         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34317         [libc_hidden_builtin_def]: Define to empty value.
34318         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
34319         [libc_hidden_builtin_def]: Likewise.
34320         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
34321         [libc_hidden_builtin_def]: Likewise.
34322         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
34323         [libc_hidden_builtin_def]: Likewise.
34324         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
34325         __redirect_memcpy and define ifunc as default hidden symbol.
34326         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
34327         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
34329 2014-05-04  Adam Conrad  <adconrad@0c3.net>
34331         * locale/iso-4217.def: Reintroduce XDR currency.
34333 2014-05-04  Allan McRae  <allan@archlinux.org>
34335         * po/eo.po: Update Esperanto translation from translation project.
34337 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
34339         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
34340         and FEATURE_INDEX_MAX to 1.
34341         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
34343 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34345         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
34346         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
34347         * iconvdata/big5.c (ONE_DIRECTION): Define.
34348         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
34349         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
34350         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
34351         * iconvdata/cp932.c (ONE_DIRECTION): Define.
34352         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
34353         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
34354         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
34355         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
34356         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
34357         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
34358         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
34359         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
34360         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
34361         * iconvdata/gbk.c (ONE_DIRECTION): Define.
34362         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
34363         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
34364         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
34365         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
34366         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
34367         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
34368         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
34369         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
34370         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
34371         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
34372         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
34373         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
34374         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
34375         * iconvdata/iso646.c (ONE_DIRECTION): Define.
34376         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
34377         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
34378         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
34379         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
34380         * iconvdata/johab.c (ONE_DIRECTION): Define.
34381         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
34382         * iconvdata/sjis.c (ONE_DIRECTION): Define.
34383         * iconvdata/t.61.c (ONE_DIRECTION): Define.
34384         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
34385         * iconvdata/tscii.c (ONE_DIRECTION): Define.
34386         * iconvdata/uhc.c (ONE_DIRECTION): Define.
34387         * iconvdata/unicode.c (ONE_DIRECTION): Define.
34388         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
34389         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
34390         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
34392 2014-05-01  Roland McGrath  <roland@hack.frob.com>
34394         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
34395         (_IO_JUMPS_OFFSET): Define to 0.
34397         * nptl/sysdeps/pthread/bits/libc-lock.h
34398         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34399         (__libc_lock_define_initialized_recursive): Always define using
34400         initializer.  Modern compilers treat uninitialized (implicit zero) and
34401         explicit zero initializers the same (i.e. put the datum in bss).
34403 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34405         * nscd/nscd-client.h: Include <string.h>.
34407 2014-05-01  David S. Miller  <davem@davemloft.net>
34409         [BZ #16885]
34410         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
34411         multiple zero bytes exist at the end of a string.
34412         Reported by Aurelien Jarno <aurelien@aurel32.net>
34414         * string/test-strcmp.c (check): Add explicit test for situations where
34415         there are multiple zero bytes after the first.
34417 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34419         [BZ #16890]
34420         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
34421         when compiling wprintf.
34422         * stdio-common/tstdiomisc.c (t3): New function.
34423         (main): Call it.
34425 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34427         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
34428         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
34429         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
34430         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
34432 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34434         * stdlib/longlong.h: Updated from GCC.
34436 2014-05-01  Will Newton  <will.newton@linaro.org>
34437             Bernard Ogden  <bernie.ogden@linaro.org>
34439         * NEWS: Update fixed bug list.
34441         [BZ #15119]
34442         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
34444 2014-04-30  David S. Miller  <davem@davemloft.net>
34446         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
34447         (libc_feholdexcept_setround_sparc_ctx): New function.
34448         (libc_fesetenv_sparc_ctx): Likewise.
34449         (libc_feupdateenv_sparc_ctx): Likewise.
34450         (libc_feholdsetround_sparc_ctx): Likewise.
34451         (libc_feholdexcept_setround_ctx): Define.
34452         (libc_feholdexcept_setroundf_ctx): Likewise.
34453         (libc_feholdexcept_setroundl_ctx): Likewise.
34454         (libc_fesetenv_ctx): Likewise.
34455         (libc_fesetenvf_ctx): Likewise.
34456         (libc_fesetenvl_ctx): Likewise.
34457         (libc_feupdateenv_ctx): Likewise.
34458         (libc_feupdateenvf_ctx): Likewise.
34459         (libc_feupdateenvl_ctx): Likewise.
34460         (libc_feresetround_ctx): Likewise.
34461         (libc_feresetroundf_ctx): Likewise.
34462         (libc_feresetroundl_ctx): Likewise.
34463         (libc_feholdsetround_ctx): Likewise.
34464         (libc_feholdsetroundf_ctx): Likewise.
34465         (libc_feholdsetroundl_ctx): Likewise.
34467         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34468         with __USE_GNU instead of XOPEN cpp guards.
34470         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
34471         0.
34473         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34474         with XOPEN cpp guards.
34476 2014-04-30  Julian Brown  <julian@codesourcery.com>
34478         [BZ #16888]
34479         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
34480         handling.
34482 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
34484         [BZ #9894]
34485         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
34486         Change to 2.6.32.
34487         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
34488         * sysdeps/unix/sysv/linux/configure: Regenerated.
34489         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
34490         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
34491         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
34492         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
34493         * README: Update reference to required Linux kernel version.
34494         * manual/install.texi (Linux): Update reference to required Linux
34495         kernel headers version.
34496         * INSTALL: Regenerated.
34498         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
34499         header inclusion.
34500         [POSIX] (limits.h): Likewise.
34501         [POSIX] (math.h): Likewise.
34502         [POSIX] (sys/wait.h): Likewise.
34503         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
34504         function.
34505         [POSIX] (stddef.h): Do not allow header inclusion.
34507 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34509         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
34511 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
34513         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
34514         Return immediately after lll_futex_wake.
34516 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34518         [BZ #16791]
34519         * nscd/nscd-client.h (datahead_init_common): Initialize entire
34520         structure.
34521         (datahead_init_pos): Call datahead_init_common early.
34522         (datahead_init_neg): Likewise.
34524         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
34525         datahead_init_neg): New functions.
34526         * nscd/aicache.c (addhstaiX): Use them.
34527         * nscd/grpcache.c (cache_addgr): Likewise.
34528         * nscd/hstcache.c (cache_addhst): Likewise.
34529         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34530         * nscd/netgroupcache.c (do_notfound): Likewise.
34531         (addgetnetgrentX): Likewise.
34532         (addinnetgrX): Likewise.
34533         * nscd/pwdcache.c (cache_addpw): Likewise.
34534         * nscd/servicescache.c (cache_addserv): Likewise.
34536 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34537             Atsushi Onoe  <atsushi@onoe.org>
34539         [BZ #14308]
34540         [BZ #12994]
34541         [BZ #13651]
34542         * resolv/res_query.c (__libc_res_nsearch): Return if at least
34543         one response is valid.
34544         * resolv/res_send.c (send_dg): Check for validity of other
34545         response if the current response is a referral.
34547 2014-04-29  Steve Ellcey  <sellcey@mips.com>
34549         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
34551 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
34553         [BZ #16823]
34554         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
34555         Always divide by positive zero when computing -Inf result.
34556         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34557         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
34559 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34561         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
34562         FPSCR if value do not change.
34563         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34564         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
34565         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34566         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34567         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
34568         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
34569         function.
34571 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
34573         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
34574         * sysdeps/unix/sysv/linux/hppa: Move directory from
34575         ports/systeps/unix/sysv/linux/hppa.
34576         * README: Update listing for hppa-*-linux-gnu.
34578 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
34580         [BZ #16754]
34581         * manual/stdio.texi (Hook functions): Fix types of stream hook
34582         functions.
34583         [BZ #16854]
34584         * socket/sys/socket.h: Fix typo in comment.
34586 2014-04-28  Wilco  <wdijkstr@arm.com>
34588         * sysdeps/arm/fenv_private.h: New file.
34589         * sysdeps/arm/math_private.h: New file.
34590         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
34592 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
34594         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
34595         with __int128_t.
34596         (La_x86_64_retval): Likewise.
34598 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
34600         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
34601         fpsr if value didn't change.
34602         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
34603         to fpcr if value didn't change.
34604         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
34605         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
34606         fpsr or fpcr if value didn't change.
34607         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34608         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
34609         fpcr if value didn't change.
34610         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
34611         to fpsr if value didn't change.
34613 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34615         * nptl/tst-sem3.c: Use test-skeleton.c
34616         (main): Rename to do_test.  Use return instead of
34617         exit.
34618         * nptl/tst-sem4.c: Use test-skeleton.c
34619         (main): Rename to do_test.
34621 2014-04-22  David S. Miller  <davem@davemloft.net>
34623         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34624         (struct sigaction): New struct member __glibc_reserved0, change
34625         type of sa_flags to int.
34627 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
34629         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
34630         (COUNT_LEADING_ZEROS_0): Define for AArch64.
34632 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34634         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
34635         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
34637 2014-04-22  Will Newton  <will.newton@linaro.org>
34638             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
34640         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
34641         (__longjmp): Add longjmp and longjmp_target SystemTap
34642         probes.
34643         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
34644         (__sigsetjmp): Add setjmp SystemTap probe.
34646 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
34648         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
34649         match manual order.
34651 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34653         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
34655         * sysdeps/powerpc/fpu/fenv_private.h
34656         (libc_feholdexcept_setroundl_ctx): Define to
34657         libc_feholdexcept_setround_ppc_ctx.
34658         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
34659         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
34660         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
34661         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
34663 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34665         * sysdeps/aarch64/math-tests.h: New file.
34667 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
34669         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
34670         New.
34671         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34672         Check and set bit_AVX2_Usable.
34673         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
34674         macro.
34675         (bit_AVX2): Likewise.
34676         (index_AVX2_Usable): Likewise.
34677         (CPUID_AVX2): Likewise.
34678         (HAS_AVX2): Likewise.
34680 2014-04-17  Will Newton  <will.newton@linaro.org>
34682         * manual/setjmp.texi (System V contexts): Add note that
34683         calling setcontext on a context created by a call to a
34684         signal handler is undefined.  Update text to note that
34685         setcontext from a signal handler is possible but not
34686         recommended.
34688         [BZ #16629]
34689         * stdlib/tst-setcontext.c: Include signal.h.
34690         (main): Check that the signal stack before and
34691         after swapcontext is the same.
34693         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
34694         Re-implement to restore registers in user code and avoid
34695         rt_sigreturn system call.
34697 2014-04-17  Wilco  <wdijkstr@arm.com>
34699         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
34700         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
34701         * math/test-fenv.c: Skip exception trap tests on targets which only
34702         support non-stop mode.
34704 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34705             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34707         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
34708         (libc_feholdsetround_aarch64_ctx)
34709         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
34710         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
34711         (libc_feresetround_ctx, libc_feresetroundf_ctx)
34712         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
34713         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
34714         (libc_feresetround_noexl_ctx): Define.
34716 2014-04-16  Richard Henderson  <rth@redhat.com>
34718         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
34720         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
34721         unwind tables.
34723         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
34724         const from the non-libc, non-ldso copy.
34726         * sysdeps/alpha/libm-test-ulps: Regenerate.
34728 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
34729             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34731         * sysdeps/aarch64/fpu/math_private.h: New file.
34733 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34735         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34737 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
34739         [BZ #16275]
34740         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
34741         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
34742         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
34743         Intel MPX bound registers before _dl_profile_fixup.
34744         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
34745         registers after _dl_profile_fixup.  Save and restore bound
34746         registers bnd0/bnd1 when calling _dl_call_pltexit.
34747         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
34748         (LR_BND_OFFSET): Likewise.
34749         (LRV_BND0_OFFSET): Likewise.
34750         (LRV_BND1_OFFSET): Likewise.
34752 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34754         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
34755         to...
34756         * sysdeps/mach/hurd/i386/tls.h: ... here.
34757         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
34758         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
34759         fields.
34761 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34763         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
34765 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34767         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34769 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34771         [BZ #14770]
34772         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
34773         * sysdeps/s390/configure: Regenerate.
34775         [BZ #16824]
34776         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
34777         Set round-to-nearest internally to reduce error accumulation.
34779 2014-04-16  Alan Modra  <amodra@gmail.com>
34781         [BZ #16740]
34782         [BZ #16619]
34783         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
34784         * math/libm-test.inc (frexp_test_data): Add tests.
34785         * NEWS: Update fixed bug list.
34787 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34789         * benchtests/Makefile: Depend on libraries in build directory.
34790         (bench-math): Separate out math tests.
34791         (bench-pthread): Separate out pthread tests.
34792         (bench): Include math and pthread tests.
34794 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
34796         [BZ #16831]
34797         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
34798         _dl_debug_initialize.
34800         * configure.ac: Remove SELinux header check.
34801         * configure: Regenerate.
34802         * nscd/selinux.c (perms): Array of const char* to permission names.
34803         (nscd_request_avc_has_perm): Call security_deny_unknown to find
34804         default policy. Call string_to_security_class and string_to_av_perm to
34805         translate strings. Enforce default policy and call avs_has_perm with
34806         results of translated strings.
34808 2014-04-13  David S. Miller  <davem@davemloft.net>
34810         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34812 2014-04-12  Allan McRae  <allan@archlinux.org>
34814         [BZ #16838]
34815         * manual/string.texi (Collation Functions): Fix qsort argument
34816         order in example.
34817         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34819 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
34821         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
34822         Make the test a no-op if there are no exceptions defined.
34824 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
34826         * elf/Makefile (tests): make tst-dlopen-aout conditional on
34827         enable-hardcoded-path-in-tests
34829 2014-04-11  Will Newton  <will.newton@linaro.org>
34831         * benchtests/Makefile (extra-objs): Add json-lib.o.
34832         (bench-func): Tidy up JSON output.
34833         * benchtests/bench-skeleton.c: Include json-lib.h.
34834         (main): Use JSON library functions to do output of
34835         benchmark results.
34836         * benchtests/bench-timing-type.c (main): Output the
34837         timing type simply, leaving formatting to the user.
34838         * benchtests/json-lib.c: New file.
34839         * benchtests/json-lib.h: Likewise.
34841 2014-04-11  Torvald Riegel  <triegel@redhat.com>
34843         [BZ #15215]
34844         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
34845         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
34846         memory barriers.  Add comments.
34847         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
34848         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
34849         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
34850         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
34851         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
34852         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
34854 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34856         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
34857         * sysdeps/s390/s390-64/configure.ac: ... this ...
34858         * sysdeps/s390/configure.ac: ... to here.
34859         * sysdeps/s390/s390-32/configure: Delete file.
34860         * sysdeps/s390/s390-64/configure: Delete file.
34861         * sysdeps/s390/configure: Regenerate.
34863 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
34865         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
34867 2014-04-11  Will Newton  <will.newton@linaro.org>
34869         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
34870         to zero if it is not defined elsewhere.  (mtrim): Test
34871         the value of MALLOC_DEBUG with #if rather than #ifdef.
34873 2014-04-10 Torvald Riegel  <triegel@redhat.com>
34875         * benchtests/pthread_once-inputs: New file.
34876         * benchtests/pthread_once-source.c: New file.
34877         * benchtests/README: Update documentation.
34879 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
34880             H.J. Lu  <hongjiu.lu@intel.com>
34882         [BZ #16275]
34883         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
34884         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
34885         * sysdeps/x86_64/configure: Regenerated.
34886         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
34887         macro.
34888         (REGISTER_SAVE_RAX): Likewise.
34889         (REGISTER_SAVE_RCX): Likewise.
34890         (REGISTER_SAVE_RDX): Likewise.
34891         (REGISTER_SAVE_RSI): Likewise.
34892         (REGISTER_SAVE_RDI): Likewise.
34893         (REGISTER_SAVE_R8): Likewise.
34894         (REGISTER_SAVE_R9): Likewise.
34895         (REGISTER_SAVE_BND0): Likewise.
34896         (REGISTER_SAVE_BND1): Likewise.
34897         (REGISTER_SAVE_BND2): Likewise.
34898         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
34899         bound registers when calling _dl_fixup.
34901 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34903         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
34904         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
34905         of its definition.
34906         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
34907         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
34908         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
34909         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
34910         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
34911         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
34912         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
34914 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
34916         [BZ #15514]
34917         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
34918         pathconf(_PC_NAME_MAX).
34920 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34922         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
34923         Remove macro usage.
34924         (__PTHREAD_SPINS): Move definition to ...
34925         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34926         (__PTHREAD_SPINS): ... here.
34927         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34928         (__PTHREAD_SPIN): Likewise.
34929         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
34930         (__PTHREAD_SPIN): Likewise.
34931         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
34932         (__PTHREAD_SPIN): Likewise.
34933         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
34934         (__PTHREAD_SPIN): Likewise.
34935         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34936         (__PTHREAD_SPIN): Likewise.
34937         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34938         (__PTHREAD_SPIN): Likewise.
34939         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
34940         (__PTHREAD_SPIN): Likewise.
34941         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34942         (__PTHREAD_SPIN): Likewise.
34943         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34944         (__PTHREAD_SPIN): Likewise.
34945         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34946         (__PTHREAD_SPIN): Likewise.
34947         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34948         (__PTHREAD_SPIN): Likewise.
34949         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
34950         (__PTHREAD_SPIN): Likewise.
34952         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
34953         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
34954         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
34955         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
34956         imply folder.
34957         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
34958         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
34959         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
34960         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
34961         correct imply path.
34962         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
34963         strlen symbol for non multi-arch builds.
34964         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
34965         missing hidden_def and weak_alias.
34967 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
34969         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
34971 2014-04-07  Will Newton  <will.newton@linaro.org>
34973         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
34974         and contents.  [!_LIBC] Remove #ifndef and contents.
34975         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
34976         * string/memccpy.c (__memccpy): Use ANSI prototype.
34977         * string/memfrob.c (memfrob): Likewise.
34978         * string/strcoll.c (STRCOLL): Likewise.
34979         * string/strlen.c (strlen): Likewise.
34980         * string/strtok.c (STRTOK): Likewise.
34981         * string/strcat.c: Remove unused #include of memcopy.h.
34982         (strcat): Use ANSI prototype.
34983         * string/strchr.c: Remove unused #include of memcopy.h.
34984         (strchr): Use ANSI prototype.
34985         * string/strcmp.c: Remove unused #include of memcopy.h.
34986         (strcmp): Use ANSI prototype.
34987         * string/strcpy.c: Remove unused #include of memcopy.h.
34988         (strcpy): Use ANSI prototype.
34990 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34992         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
34993         * config.make.in (config-extra-cppflags): Set it from
34994         libc_extra_cppflags.
34995         * configure.ac (libc_extra_cflags): Make it accumulate over
34996         configure fragments.
34997         (libc_extra_cppflags): New flag.
34998         * configure. Regenerate.
34999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35000         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
35001         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
35002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
35004         [BZ #16815]
35005         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
35006         result for FE_DOWNWARD rounding mode.
35007         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
35008         Likewise.
35009         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35011 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
35013         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
35014         in function argument name.
35016 2014-04-03  David Svoboda  <svoboda@cert.org>
35018         [BZ #5666]
35019         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
35020         explicitly.
35022 2014-04-03  Roland McGrath  <roland@hack.frob.com>
35024         * elf/dl-unmap-segments.h: New file.
35025         * sysdeps/generic/ldsodefs.h
35026         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
35027         * elf/dl-close.c: Include <dl-unmap-segments.h>.
35028         * elf/dl-fptr.c: Likewise.
35029         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
35030         * sysdeps/aarch64/tlsdesc.c: Likewise.
35031         * sysdeps/arm/tlsdesc.c: Likewise.
35032         * sysdeps/i386/tlsdesc.c: Likewise.
35033         * sysdeps/tile/dl-runtime.c: Likewise.
35034         * sysdeps/x86_64/tlsdesc.c: Likewise.
35035         * elf/dl-load.h: New file.
35036         * elf/dl-load.c: Include it.
35037         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
35038         Macros moved to dl-load.h.
35039         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
35040         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
35041         Use _dl_unmap_segments in place of __munmap.
35042         Break out segment-mapping loop into ...
35043         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
35045 2014-04-03  Will Newton  <will.newton@linaro.org>
35047         * elf/dl-lookup.c (do_lookup_x): Remove comment
35048         referring to nested function and move variable
35049         declarations down to before first use.
35051 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
35053         [BZ #16799]
35054         [BZ #16800]
35055         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
35056         with 0 numerator.
35057         * math/s_catanf.c (__catanf): Likewise.
35058         * math/s_catanh.c (__catanh): Likewise.
35059         * math/s_catanhf.c (__catanhf): Likewise.
35060         * math/s_catanhl.c (__catanhl): Likewise.
35061         * math/s_catanl.c (__catanl): Likewise.
35062         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
35063         by positive zero when computing -Inf result.
35064         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
35065         (catanh_test): Likewise.
35066         * sysdeps/i386/fpu/libm-test-ulps: Update.
35067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35069         [BZ #16789]
35070         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
35071         instead of using underflowing value in computing result.
35072         * math/s_clog10.c (__clog10): Likewise.
35073         * math/s_clog10f.c (__clog10f): Likewise.
35074         * math/s_clog10l.c (__clog10l): Likewise.
35075         * math/s_clogf.c (__clogf): Likewise.
35076         * math/s_clogl.c (__clogl): Likewise.
35077         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
35078         (clog10_test): Likewise.
35079         * sysdeps/i386/fpu/libm-test-ulps: Update.
35080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35082 2014-04-02  Alan Modra  <amodra@gmail.com>
35084         [BZ #16739]
35085         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
35086         output when value is near a power of two.  Use int64_t for lx and
35087         remove casts.  Use decimal rather than hex exponent constants.
35088         Don't use long double multiplication when double will suffice.
35089         * math/libm-test.inc (nextafter_test_data): Add tests.
35090         * NEWS: Add 16739 and 16786 to bug list.
35092         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
35094         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
35096 2014-04-01  Will Newton  <will.newton@linaro.org>
35098         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
35099         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
35101 2014-04-01  Florian Weimer  <fweimer@redhat.com>
35103         [BZ #13347]
35104         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
35105         * nptl/tst-setuid2.c: New file.
35106         * nptl/Makefile (xtests): Add tst-setuid2.
35108 2014-04-01  Alan Modra  <amodra@gmail.com>
35110         [BZ #16786]
35111         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
35113 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
35115         [BZ #6803]
35116         [BZ #6804]
35117         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
35118         set errno as appropriate.
35119         * math/w_scalbf.c (__scalbf): Likewise.
35120         * math/w_scalbl.c (__scalbl): Likewise.
35121         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
35122         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
35123         * math/libm-test.inc (scalb_test_data): Add errno expectations.
35124         Add more NaN tests.
35126         [BZ #16349]
35127         * math/w_atan2.c: Include <errno.h>.
35128         (__atan2): Set errno for result underflowing to zero.
35129         * math/w_atan2f.c: Include <errno.h>.
35130         (__atan2f): Set errno for result underflowing to zero.
35131         * math/w_atan2l.c: Include <errno.h>.
35132         (__atan2l): Set errno for result underflowing to zero.
35133         * math/auto-libm-test-in: Don't allow missing errno for some atan2
35134         tests.
35135         * math/auto-libm-test-out: Regenerated.
35137 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35139         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
35140         Encode instruction correctly in little endian.
35141         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
35142         Likewise.
35143         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
35144         Likewise.
35145         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
35146         Likewise.
35147         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
35148         Likewise.
35150 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
35152         [BZ #9894]
35153         * sysdeps/unix/sysv/linux/kernel-features.h
35154         [__sparc__ && !__arch64__ && !__sparc_v9__]
35155         (__ASSUME_SET_ROBUST_LIST): Do not define.
35156         [__sparc__ && !__arch64__ && !__sparc_v9__]
35157         (__ASSUME_FUTEX_LOCK_PI): Likewise.
35158         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
35159         Likewise.
35160         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35161         (__ASSUME_FUTEX_LOCK_PI): Undefine.
35162         (__ASSUME_REQUEUE_PI): Likewise.
35163         (__ASSUME_SET_ROBUST_LIST): Likewise.
35164         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35165         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
35166         Undefine.
35167         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35168         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
35169         Likewise.
35170         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
35171         Likewise.
35172         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
35173         Likewise.
35174         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35175         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
35176         Undefine.
35177         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
35178         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
35179         Likewise.
35181         [BZ #16648]
35182         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35183         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
35184         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
35186 2014-03-31  Will Newton  <will.newton@linaro.org>
35188         * benchtests/Makefile (bench): Add ffs and ffsll to list
35189         of tests.
35190         * benchtests/ffs-inputs: New file.
35191         * benchtests/ffsll-inputs: Likewise.
35193 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
35195         [BZ #16770]
35196         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
35197         too large before casting to int.
35198         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
35199         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
35200         * math/libm-test.inc (scalb_test_data): Add more tests.
35202 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35204         * benchtests/Makefile (DETAILED_OPT): New make option.
35205         (bench-func): Run benchmark program with -d if DETAILED_OPT is
35206         set.
35207         * benchtests/bench-skeleton.c: Include stdbool.h.
35208         (main): Store and print timings per input.
35209         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
35210         member to each argument value.
35211         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
35212         (_print_arg_data): Initialize per-input timing to 0.
35214         * benchtests/Makefile (timing-type): New binary.
35215         (bench-clean): Also remove bench-timing-type.
35216         (bench): New target for timing-type.
35217         (bench-func): Print output in JSON format.
35218         * benchtests/bench-skeleton.c (main): Print output in JSON
35219         format.
35220         * benchtests/bench-timing-type.c: New file.
35221         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
35222         (TIMING_PRINT_STATS): Remove.
35223         * benchtests/scripts/bench.py (_print_arg_data): Store variant
35224         name separately.
35226         * benchtests/bench-modf.c: Remove.
35227         * benchtests/modf-inputs: New inputs file.
35229 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
35231         [BZ #16362]
35232         * math/s_clog10.c (M_PI_LOG10E): New macro.
35233         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
35234         imaginary parts are 0.
35235         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
35236         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
35237         imaginary parts are 0.
35238         * math/s_clog10l.c (M_PI_LOG10El): New macro.
35239         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
35240         imaginary parts are 0.
35241         * math/libm-test.inc (clog10_test_data): Update expected results
35242         for when real and imaginary parts are 0.
35244 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
35246         * elf/dl-load.c: Finish conversion of __builtin_expect into
35247         __glibc_{un}likely.
35249 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
35251         [BZ #16348]
35252         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
35253         1+x for argument with exponent below -67.
35254         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
35255         Likewise.
35256         * math/auto-libm-test-in: Add more tests of exp.
35257         * math/auto-libm-test-out: Regenerated.
35259 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35261         [BZ #16759]
35262         * inet/getnetgrent_r.c (get_nonempty_val): New function.
35263         (nscd_getnetgrent): Use it.
35265         [BZ #16760]
35266         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
35267         of stpcpy.
35269 2014-03-27  Andi Kleen  <ak@linux.intel.com>
35271         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
35272         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35273         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35274         (lll_robust_unlock): Remove out of line section. Use cfi
35275         intrinsics.
35276         (LLL_STUB_UNWIND_INFO*): Remove.
35277         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
35278         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35279         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35280         (lll_robust_unlock): Remove out of line section. Use cfi
35281         intrinsics.
35282         (LLL_STUB_UNWIND_INFO*): Remove.
35284 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35286         [BZ #16758]
35287         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
35288         blank values.
35290 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
35292         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
35294 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
35296         [BZ #16198]
35297         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
35298         fnstenv.
35299         * math/test-fenv-preserve.c: New file.
35300         * math/Makefile (tests): Add test-fenv-preserve.
35302 2014-03-26  Will Newton <will.newton@linaro.org>
35304         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
35306 2014-03-25  Roland McGrath  <roland@hack.frob.com>
35308         * scripts/versionlist.awk: Partition the version sets and emit all
35309         GLIBC_* (sorted) before all others (sorted).
35311 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35313         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
35314         GLIBC_2.2.5 version.
35316 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35318         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
35319         calls.
35321         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
35322         previous change.
35324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35326 2014-03-25  Andreas Schwab  <schwab@suse.de>
35328         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
35329         label to be used after in6ailist is initialized.
35331 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35333         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35334         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35336 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35338         [BZ #16357]
35339         [BZ #16599]
35340         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
35341         min_plus_half.
35342         (fp_formats): Update initializers.
35343         (init_fp_formats): Initialize new field.
35344         (output_for_one_input_case): Allow underflow for results up to
35345         min_plus_half.
35346         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
35347         * math/auto-libm-test-in: Don't mark some underflows from asin and
35348         atanh as spurious.
35349         * math/auto-libm-test-out: Regenerated.
35350         * sysdeps/i386/fpu/libm-test-ulps: Update.
35351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35353 2014-03-25  Andreas Schwab  <schwab@suse.de>
35355         * libio/Makefile (tst-ftell-partial-wide-ENV)
35356         (tst-ftell-active-handler-ENV): Define.
35358 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
35360         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
35362 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35364         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
35366 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
35368         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
35369         * sysdeps/x86_64/fpu/multiarch/e_exp.c
35370         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
35372 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35374         [BZ #16634]
35375         * elf/dl-load.c (open_verify): Add mode parameter.
35376         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
35377         (open_path): Change from boolean 'secure' to complete flag 'mode'
35378         (_dl_map_object): Adjust.
35379         * elf/Makefile (tests): Add tst-dlopen-aout.
35380         * elf/tst-dlopen-aout.c: New test.
35382 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
35384         [BZ #16714]
35385         * sysdeps/unix/sysv/linux/s390/bits/stat.h
35386         (struct stat): Rename member pad0 to __glibc_reserved0.
35388         [BZ #16712]
35389         * sysdeps/s390/s390-32/bits/wordsize.h
35390         (__WORDSIZE32_SIZE_ULONG): New define.
35391         * sysdeps/s390/s390-64/bits/wordsize.h
35392         (__WORDSIZE32_SIZE_ULONG): Likewise.
35393         * sysdeps/generic/stdint.h (SIZE_MAX):
35394         Define as UL if __WORDSIZE32_SIZE_ULONG.
35396         [BZ #16713]
35397         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35398         (__glibc_reserved0): New variable.
35399         (sa_flags): Change type to int.
35401         * posix/Makefile (before-compile): Use += before-compile instead
35402         of a :=.
35404         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35405         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35407 2014-03-20  Andreas Schwab  <schwab@suse.de>
35409         [BZ #16743]
35410         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
35411         non-matching result from nscd.
35413 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35415         * scripts/bench.py: Moved to ...
35416         * benchtests/scripts/bench.py: ... here.
35417         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
35419 2014-03-24  Andreas Schwab  <schwab@suse.de>
35421         [BZ #16002]
35422         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
35423         alloca_account and account alloca use for struct in6ailist.
35425 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
35427         [BZ #16284]
35428         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
35429         rounding mode to recompute results that overflow to infinity or
35430         underflow to zero.
35431         * math/auto-libm-test-in: Don't mark tests as expected to fail for
35432         bug 16284.
35433         * math/auto-libm-test-out: Regenerated.
35434         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
35435         (ccosh_test): Likewise.
35436         (csin_test_data): Use plus_oflow.
35437         (csin_test): Use ALL_RM_TEST.
35438         (csinh_test_data): Use plus_oflow.
35439         (csinh_test): Use ALL_RM_TEST.
35440         * sysdeps/i386/fpu/libm-test-ulps: Update.
35441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35443 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
35445         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
35446         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
35447         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
35449         [BZ #16731]
35450         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
35451         when x - 1 is zero.
35452         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
35453         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
35454         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35455         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
35456         argument is 1.
35457         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
35458         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
35459         zero.
35460         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
35461         * sysdeps/i386/fpu/libm-test-ulps: Update.
35462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35464 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35466         * scripts/bench.pl: Remove file.
35467         * scripts/bench.py: New benchmark script.
35468         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
35469         * benchtests/README: Mention python dependency.
35470         * scripts/pylintrc: New file.
35471         * scripts/pylint: New file.
35473         * bits/mathdef.h: Use #ifdef instead of #if.
35474         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
35475         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35476         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
35477         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35478         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
35479         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35481 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35482             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35484         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
35485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
35486         and strpbrk-ppc64 objects.
35487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35488         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
35489         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
35490         multiarch strpbrk for POWER7.
35491         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
35492         multiarch strpbrk for PPC64.
35493         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
35494         ifunc selector.
35495         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
35496         strpbrk for POWER7.
35498 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35500         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
35501         (atan_test): Likewise.
35502         (atanh_test_data): Use NO_TEST_INLINE for two tests.
35503         (atanh_test): Use ALL_RM_TEST.
35504         (atan2_test_data): Likewise.
35505         (cabs_test): Likewise.
35506         (cacosh_test): Likewise.
35507         (carg_test): Likewise.
35508         (casin_test): Likewise.
35509         (casinh_test): Likewise.
35510         (cbrt_test): Likewise.
35511         (csqrt_test): Likewise.
35512         (erf_test): Likewise.
35513         (erfc_test): Likewise.
35514         (pow10_test): Likewise.
35515         (exp2_test): Likewise.
35516         (hypot_test): Likewise.
35517         (j0_test): Likewise.
35518         (j1_test): Likewise.
35519         (lgamma_test): Likewise.
35520         (gamma_test): Likewise.
35521         (sincos_test): Likewise.
35522         (tanh_test): Likewise.
35523         (y0_test): Likewise.
35524         (y1_test): Likewise.
35525         * sysdeps/i386/fpu/libm-test-ulps: Update.
35526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35528 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35530         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
35531         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
35532         and strcspn-ppc64 objects.
35533         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35534         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
35535         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
35536         multiarch strcspn for POWER7.
35537         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
35538         multiarch strcspn for PPC64.
35539         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
35540         ifunc selector.
35541         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
35542         strcspn for POWER7.
35544 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35546         * math/gen-libm-test.pl (generate_testfile): Expect only function
35547         name as argument to AUTO_TESTS_* and pass results for all rounding
35548         modes to parse_args.
35549         (parse_auto_input): Separate inputs of automatic tests from
35550         outputs before storing in %auto_tests.
35551         * math/libm-test.inc (acos_test_data): Update call to
35552         AUTO_TESTS_f_f.
35553         (acos_test): Use ALL_RM_TEST.
35554         (acos_tonearest_test_data): Remove.
35555         (acos_test_tonearest): Likewise.
35556         (acos_towardzero_test_data): Likewise.
35557         (acos_test_towardzero): Likewise.
35558         (acos_downward_test_data): Likewise.
35559         (acos_test_downward): Likewise.
35560         (acos_upward_test_data): Likewise.
35561         (acos_test_upward): Likewise.
35562         (acosh_test_data): Update call to AUTO_TESTS_f_f.
35563         (asin_test_data): Likewise.
35564         (asin_test): Use ALL_RM_TEST.
35565         (asin_tonearest_test_data): Remove.
35566         (asin_test_tonearest): Likewise.
35567         (asin_towardzero_test_data): Likewise.
35568         (asin_test_towardzero): Likewise.
35569         (asin_downward_test_data): Likewise.
35570         (asin_test_downward): Likewise.
35571         (asin_upward_test_data): Likewise.
35572         (asin_test_upward): Likewise.
35573         (asinh_test_data): Update call to AUTO_TESTS_f_f.
35574         (atan_test_data): Likewise.
35575         (atanh_test_data): Likewise.
35576         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
35577         (cabs_test_data): Update call to AUTO_TESTS_c_f.
35578         (carg_test_data): Likewise.
35579         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
35580         (ccos_test_data): Update call to AUTO_TESTS_c_c.
35581         (ccosh_test_data): Likewise.
35582         (cexp_test_data): Likewise.
35583         (clog_test_data): Likewise.
35584         (clog10_test_data): Likewise.
35585         (cos_test_data): Update call to AUTO_TESTS_f_f.
35586         (cos_test): Use ALL_RM_TEST.
35587         (cos_tonearest_test_data): Remove.
35588         (cos_test_tonearest): Likewise.
35589         (cos_towardzero_test_data): Likewise.
35590         (cos_test_towardzero): Likewise.
35591         (cos_downward_test_data): Likewise.
35592         (cos_test_downward): Likewise.
35593         (cos_upward_test_data): Likewise.
35594         (cos_test_upward): Likewise.
35595         (cosh_test_data): Update call to AUTO_TESTS_f_f.
35596         (cosh_test): Use ALL_RM_TEST.
35597         (cosh_tonearest_test_data): Remove.
35598         (cosh_test_tonearest): Likewise.
35599         (cosh_towardzero_test_data): Likewise.
35600         (cosh_test_towardzero): Likewise.
35601         (cosh_downward_test_data): Likewise.
35602         (cosh_test_downward): Likewise.
35603         (cosh_upward_test_data): Likewise.
35604         (cosh_test_upward): Likewise.
35605         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
35606         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
35607         (ctan_test_data): Likewise.
35608         (ctan_test): Use ALL_RM_TEST.
35609         (ctan_tonearest_test_data): Remove.
35610         (ctan_test_tonearest): Likewise.
35611         (ctan_towardzero_test_data): Likewise.
35612         (ctan_test_towardzero): Likewise.
35613         (ctan_downward_test_data): Likewise.
35614         (ctan_test_downward): Likewise.
35615         (ctan_upward_test_data): Likewise.
35616         (ctan_test_upward): Likewise.
35617         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
35618         (ctanh_test): Use ALL_RM_TEST.
35619         (ctanh_tonearest_test_data): Remove.
35620         (ctanh_test_tonearest): Likewise.
35621         (ctanh_towardzero_test_data): Likewise.
35622         (ctanh_test_towardzero): Likewise.
35623         (ctanh_downward_test_data): Likewise.
35624         (ctanh_test_downward): Likewise.
35625         (ctanh_upward_test_data): Likewise.
35626         (ctanh_test_upward): Likewise.
35627         (erf_test_data): Update call to AUTO_TESTS_f_f.
35628         (erfc_test_data): Likewise.
35629         (exp_test_data): Likewise.
35630         (exp_test): Use ALL_RM_TEST.
35631         (exp_tonearest_test_data): Remove.
35632         (exp_test_tonearest): Likewise.
35633         (exp_towardzero_test_data): Likewise.
35634         (exp_test_towardzero): Likewise.
35635         (exp_downward_test_data): Likewise.
35636         (exp_test_downward): Likewise.
35637         (exp_upward_test_data): Likewise.
35638         (exp_test_upward): Likewise.
35639         (exp10_test_data): Update call to AUTO_TESTS_f_f.
35640         (exp10_test): Use ALL_RM_TEST.
35641         (exp10_tonearest_test_data): Remove.
35642         (exp10_test_tonearest): Likewise.
35643         (exp10_towardzero_test_data): Likewise.
35644         (exp10_test_towardzero): Likewise.
35645         (exp10_downward_test_data): Likewise.
35646         (exp10_test_downward): Likewise.
35647         (exp10_upward_test_data): Likewise.
35648         (exp10_test_upward): Likewise.
35649         (exp2_test_data): Update call to AUTO_TESTS_f_f.
35650         (expm1_test_data): Likewise.
35651         (expm1_test): Use ALL_RM_TEST.
35652         (expm1_tonearest_test_data): Remove.
35653         (expm1_test_tonearest): Likewise.
35654         (expm1_towardzero_test_data): Likewise.
35655         (expm1_test_towardzero): Likewise.
35656         (expm1_downward_test_data): Likewise.
35657         (expm1_test_downward): Likewise.
35658         (expm1_upward_test_data): Likewise.
35659         (expm1_test_upward): Likewise.
35660         (fma_test_data): Update call to AUTO_TESTS_fff_f.
35661         (fma_test): Use ALL_RM_TEST.
35662         (fma_towardzero_test_data): Remove.
35663         (fma_test_towardzero): Likewise.
35664         (fma_downward_test_data): Likewise.
35665         (fma_test_downward): Likewise.
35666         (fma_upward_test_data): Likewise.
35667         (fma_test_upward): Likewise.
35668         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
35669         (j0_test_data): Update call to AUTO_TESTS_f_f.
35670         (j1_test_data): Likewise.
35671         (jn_test_data): Update call to AUTO_TESTS_if_f.
35672         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
35673         (log_test_data): Update call to AUTO_TESTS_f_f.
35674         (log10_test_data): Likewise.
35675         (log1p_test_data): Likewise.
35676         (log2_test_data): Likewise.
35677         (pow_test_data): Update call to AUTO_TESTS_ff_f.
35678         (pow_tonearest_test_data): Likewise.
35679         (sin_test_data): Update call to AUTO_TESTS_f_f.
35680         (sin_test): Use ALL_RM_TEST.
35681         (sin_tonearest_test_data): Remove.
35682         (sin_test_tonearest): Likewise.
35683         (sin_towardzero_test_data): Likewise.
35684         (sin_test_towardzero): Likewise.
35685         (sin_downward_test_data): Likewise.
35686         (sin_test_downward): Likewise.
35687         (sin_upward_test_data): Likewise.
35688         (sin_test_upward): Likewise.
35689         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
35690         (sinh_test_data): Update call to AUTO_TESTS_f_f.
35691         (sinh_test): Use ALL_RM_TEST.
35692         (sinh_tonearest_test_data): Remove.
35693         (sinh_test_tonearest): Likewise.
35694         (sinh_towardzero_test_data): Likewise.
35695         (sinh_test_towardzero): Likewise.
35696         (sinh_downward_test_data): Likewise.
35697         (sinh_test_downward): Likewise.
35698         (sinh_upward_test_data): Likewise.
35699         (sinh_test_upward): Likewise.
35700         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
35701         (sqrt_test): Use ALL_RM_TEST.
35702         (sqrt_tonearest_test_data): Remove.
35703         (sqrt_test_tonearest): Likewise.
35704         (sqrt_towardzero_test_data): Likewise.
35705         (sqrt_test_towardzero): Likewise.
35706         (sqrt_downward_test_data): Likewise.
35707         (sqrt_test_downward): Likewise.
35708         (sqrt_upward_test_data): Likewise.
35709         (sqrt_test_upward): Likewise.
35710         (tan_test_data): Update call to AUTO_TESTS_f_f.
35711         (tan_test): Use ALL_RM_TEST.
35712         (tan_tonearest_test_data): Remove.
35713         (tan_test_tonearest): Likewise.
35714         (tan_towardzero_test_data): Likewise.
35715         (tan_test_towardzero): Likewise.
35716         (tan_downward_test_data): Likewise.
35717         (tan_test_downward): Likewise.
35718         (tan_upward_test_data): Likewise.
35719         (tan_test_upward): Likewise.
35720         (tanh_test_data): Update call to AUTO_TESTS_f_f.
35721         (tgamma_test_data): Likewise.
35722         (y0_test_data): Likewise.
35723         (y1_test_data): Likewise.
35724         (yn_test_data): Update call to AUTO_TESTS_if_f.
35725         (main): Do not call removed functions.
35727 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35729         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
35730         (ldexp_test_data): Remove.
35731         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
35732         scalbn_test_data.
35733         (scalb_test): Use ALL_RM_TEST.
35735 2014-03-19  Andreas Schwab  <schwab@suse.de>
35737         * nscd/nscd.service: Also invalidate netgroup cache on reload.
35739 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35741         [BZ #16649]
35742         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35743         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
35744         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
35745         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35746         (__ASSUME_PREADV): Undefine.
35747         (__ASSUME_PWRITEV): Likewise.
35749 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35751         * bits/mman-linux.h: Add comment about non-Linux use.
35752         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
35753         bits/mman-linux.h resting place.
35755         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
35756         * bits/mman-linux.h: ... here.
35758 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35760         * conform/conformtest.pl: Add standard definition when calling C
35761         preprocessor on data files.
35762         (checknamespace): Remove unused variable.
35764 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35766         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
35767         minus_oflow, plus_uflow and minus_uflow in expected results.
35768         * math/libm-test.inc (scalbn_test_data): Add more tests of
35769         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
35770         minus_uflow.
35771         (scalbn_test): Use ALL_RM_TEST.
35772         (scalbln_test_data): Add more tests of negative arguments.  Use
35773         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
35774         (scalbln_test): Use ALL_RM_TEST.
35776 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35778         * scripts/abilist.awk: Ignore symbols marked with .hidden.
35780 2014-03-18  Will Newton  <will.newton@linaro.org>
35782         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
35783         inaccurate comment.
35785 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35787         * Makerules [!subdir] (check-abi): Exit with error status if a
35788         test failed.
35790 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35792         * math/libm-test.inc (nearbyint_test_data): Include all tests used
35793         for rint.  Include results for all rounding modes.
35794         (nearbyint_test): Use ALL_RM_TEST.
35795         (rint_test_data): Include all tests used for nearbyint.
35797 2014-03-17  Will Newton  <will.newton@linaro.org>
35799         * nptl/sysdeps/pthread/pthread.h: Revert previous
35800         change.
35802         * sysdeps/generic/ldsodefs.h: Revert previous
35803         change.
35805         * libio/genops.c: Revert previous change.
35806         * libio/libioP.h: Likewise.
35807         * stdio-common/vfprintf.c: Likewise.
35809         * sysdeps/generic/math_private.h: Revert previous
35810         change.
35812         * sysdeps/generic/math_private.h: Check whether
35813         HAVE_RM_CTX is defined with #ifdef rather
35814         than #if.
35816         * argp/argp-fmtstream.h: Check whether
35817         __STRICT_ANSI__ is defined with #ifdef rather
35818         than #if.
35819         * argp/argp.h: Likewise.
35821         * libio/genops.c: Check whether
35822         _IO_JUMPS_OFFSET is defined with #ifdef rather
35823         than #if.
35824         * libio/libioP.h: Likewise.
35825         * stdio-common/vfprintf.c: Likewise.
35827         * sysdeps/generic/ldsodefs.h: Check whether
35828         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
35829         than #if.
35831         * nptl/sysdeps/pthread/pthread.h: Check
35832         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
35833         its value.
35835 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35837         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
35838         setting O_APPEND.
35839         * libio/tst-ftell-active-handler.c (do_append_test): Add a
35840         test case.
35842         [BZ #16680]
35843         * libio/fileops.c (_IO_file_open): Seek to end of file but
35844         don't cache the offset.
35845         (get_file_offset): Remove function.
35846         (do_ftell): Use cached offset when available.
35847         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
35848         don't cache the offset.
35849         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
35850         case.
35851         (do_one_test): Call it.
35852         (do_ftell_test): Fix up expected old offset for a+ mode.
35853         * libio/wfileops.c (do_ftell_wide): Used cached offset when
35854         available.
35856         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
35857         up test status with function return status.
35858         (do_write_test): Likewise.
35859         (do_append_test): Likewise.
35861         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
35862         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
35863         Remove.
35865 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35867         * math/gen-libm-test.pl (parse_args): Handle results specified for
35868         each rounding mode separately.
35869         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
35870         tests and results from lrint_tonearest_test_data,
35871         lrint_towardzero_test_data, lrint_downward_test_data and
35872         lrint_upward_test_data.
35873         (lrint_test): Use ALL_RM_TEST.
35874         (lrint_tonearest_test_data): Remove.
35875         (lrint_test_tonearest): Likewise.
35876         (lrint_towardzero_test_data): Likewise.
35877         (lrint_test_towardzero): Likewise.
35878         (lrint_downward_test_data): Likewise.
35879         (lrint_test_downward): Likewise.
35880         (lrint_upward_test_data): Likewise.
35881         (lrint_test_upward): Likewise.
35882         (llrint_test_data): Merge in per-rounding-mode tests and results
35883         from llrint_tonearest_test_data, llrint_towardzero_test_data,
35884         llrint_downward_test_data and llrint_upward_test_data.
35885         (llrint_test): Use ALL_RM_TEST.
35886         (llrint_tonearest_test_data): Remove.
35887         (llrint_test_tonearest): Likewise.
35888         (llrint_towardzero_test_data): Likewise.
35889         (llrint_test_towardzero): Likewise.
35890         (llrint_downward_test_data): Likewise.
35891         (llrint_test_downward): Likewise.
35892         (llrint_upward_test_data): Likewise.
35893         (llrint_test_upward): Likewise.
35894         (rint_test_data): Merge in per-rounding-mode tests and results
35895         from rint_tonearest_test_data, rint_towardzero_test_data,
35896         rint_downward_test_data and rint_upward_test_data.  Add
35897         per-rounding-mode results for tests not in those arrays.
35898         (rint_test): Use ALL_RM_TEST.
35899         (rint_tonearest_test_data): Remove.
35900         (rint_test_tonearest): Likewise.
35901         (rint_towardzero_test_data): Likewise.
35902         (rint_test_towardzero): Likewise.
35903         (rint_downward_test_data): Likewise.
35904         (rint_test_downward): Likewise.
35905         (rint_upward_test_data): Likewise.
35906         (rint_test_upward): Likewise.
35907         (main): Don't call removed functions.
35909 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35911         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
35912         "Compiled on ..." crapola.  It is anti-useful.
35914 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
35916         * scripts/evaluate-test.sh: Handle fourth argument to determine
35917         whether test run should stop on failure.
35918         * Makeconfig (stop-on-test-failure): New variable.
35919         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
35920         $(stop-on-test-failure).
35921         * Makefile (tests): Give a summary of results from testing and
35922         exit with failure status if they include an ERROR or FAIL.
35923         (xtests): Likewise.
35924         * manual/install.texi (Configuring and compiling): Mention
35925         stop-on-test-failure=y.
35926         * INSTALL: Regenerated.
35928 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35930         * scripts/versionlist.awk: New file.
35931         * Makerules [$(build-shared) = yes]
35932         (postclean-generated): Add Versions.def, not Versions.def.v and
35933         Versions.def.v.i.
35934         ($(common-objpfx)Versions.def.v.i): Target removed.
35935         ($(common-objpfx)Versions.def): New target.
35936         ($(common-objpfx)Versions.all): Depend on that rather that
35937         $(common-objpfx)Versions.def.v.
35938         * Versions.def: File removed.
35940         * Makeconfig (+gccwarn): Add -Wundef.
35941         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
35942         a dl-sysdep.h breaking its contract.
35943         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
35944         * include/stackinfo.h: New file.
35945         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
35946         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
35947         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
35948         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
35949         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
35950         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
35951         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35952         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35953         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35954         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35955         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35956         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
35957         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35958         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35959         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35961 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35963         [BZ #16707]
35964         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
35965         implementation.
35966         * math/libm-test.inc (round_test_data): Add more tests.
35968         [BZ #16706]
35969         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
35970         implementation.
35971         * math/libm-test.inc (nearbyint_test_data): Add more tests.
35973         [BZ #16701]
35974         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
35975         implementation.
35976         * math/libm-test.inc (ceil_test_data): Add more tests.
35978         * math/libm-test.inc (trunc_test_data): Add more tests related to
35979         BZ#16414.
35981 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35983         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
35984         with #if rather than #ifdef.
35985         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
35987 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
35989         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
35990         first.  Disable AVX-512 GCC support if assembler doesn't support
35991         it.
35992         * sysdeps/x86_64/configure: Regenerated.
35994 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
35996         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
35997         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
35998         (__old_pthread_attr_setstack): Likewise.
35999         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
36000         [!_STACK_GROWS_DOWN]: Likewise.
36002 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
36004         * config.make.in (have-bash2): Delete.
36005         * configure.ac (libc_cv_have_bash2): Delete.
36006         * configure: Regenerate.
36007         * elf/Makefile (common-ldd-rewrite): Rename to ...
36008         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
36009         (sh-ldd-rewrite): Delete.
36010         (bash-ldd-rewrite): Delete.
36011         (have-bash2): Delete checks.
36012         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
36013         ldd-rewrite.
36015         * config.make.in (have-ksh): Delete.
36016         (KSH): Delete.
36017         * configure.ac (libc_cv_have_ksh): Delete.
36018         * configure: Regenerate.
36020         * elf/Makefile: Delete $(have-ksh) check.
36021         ($(objpfx)sotruss): Change KSH to BASH.
36022         * elf/sotruss.ksh: Rename to ...
36023         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
36024         function style to match POSIX.  Drop ksh vim mode setting.
36026         * manual/time.texi (Specifying the Time Zone with TZ): Change
36027         Tuesday to Thursday.
36029         * debug/tst-longjmp_chk2.c: Update header comment.
36030         (stackoverflow_handler): Add comment.  Call assert on pass value.
36032 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
36034         [BZ #16194]
36035         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
36036         (HAVE_AVX512_ASM_SUPPORT): Likewise.
36037         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
36038         (La_x86_64_vector): Add zmm.
36039         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
36040         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
36041         ($(objpfx)tst-audit10): New target.
36042         ($(objpfx)tst-audit10.out): Likewise.
36043         (tst-audit10-ENV): New.
36044         (AVX512-CFLAGS): Likewise.
36045         (CFLAGS-tst-audit10.c): Likewise.
36046         (CFLAGS-tst-auditmod10a.c): Likewise.
36047         (CFLAGS-tst-auditmod10b.c): Likewise.
36048         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
36049         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
36050         * sysdeps/x86_64/configure: Regenerated.
36051         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
36052         AVX-512 zmm register support.
36053         (_dl_x86_64_save_sse): Likewise.
36054         (_dl_x86_64_restore_sse): Likewise.
36055         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
36056         size vector registers.
36057         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
36058         (ZMM_SIZE): Likewise.
36059         * sysdeps/x86_64/tst-audit10.c: New file.
36060         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
36061         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
36063 2014-03-13  Roland McGrath  <roland@hack.frob.com>
36065         * configure.ac (HAVE_EHDR_START): New check.
36066         * configure: Regenerated.
36067         * config.h.in (HAVE_EHDR_START): New #undef.
36068         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
36069         assuming the lowest-addressed segment maps the start of the file.
36071 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
36073         * INSTALL: Regenerated.
36075 2014-03-13  Will Newton  <will.newton@linaro.org>
36077         * manual/setjmp.texi (System V contexts): Improve
36078         clarity and grammar of documentation.
36080 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
36082         [BZ #16381]
36083         * elf/Makefile (tests): Add tst-pie2.
36084         (tests-pie): Add tst-pie2.
36085         * elf/tst-pie2.c: New file.
36086         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
36087         for ET_EXEC.
36088         * elf/rtld.c (map_doit): Load executable as lt_executable.
36089         (dl_main): Likewise.
36091 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
36093         [BZ #16642]
36094         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36095         (__ASSUME_PSELECT): Undefine.
36097 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36099         [BZ #16689]
36100         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
36101         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
36102         static build.
36103         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
36104         selector for static builds.
36106 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36108         [BZ #16695]
36109         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
36110         key in the buffer.
36112 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36114         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
36115         IFUNC selector for static builds.
36117 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
36119         * sysdeps/mips/math_private.h [__mips_hard_float]
36120         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
36121         libc_feresetround_mips_ctx.
36122         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
36123         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
36124         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
36126         [BZ #16677]
36127         * math/s_nextafter.c (__nextafter): Do not return value from
36128         overflowing computation.
36129         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36130         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
36131         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36132         Likewise.
36133         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
36134         Likewise.
36135         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36136         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
36138 2014-03-11  Roland McGrath  <roland@hack.frob.com>
36140         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
36141         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
36142         Move sfi_sp use from the load-multiple (that no longer sets sp) to
36143         the new mov targetting sp.
36145 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36147         [BZ #16683]
36148         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
36149         Define it for static builds as well.
36150         (NO_BZERO_IMPL): Likewise.
36152 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36154         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
36155         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
36156         multiarch strspn for PPC64.
36157         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
36158         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
36159         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36160         (__libc_ifunc_impl_list): Likewise.
36161         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
36162         multiarch optimizations
36163         * string/strspn.c (strspn): Using macro to redefine symbol name.
36165 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36166             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36168         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
36169         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
36170         multiarch strncat for PPC64.
36171         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
36172         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
36173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36174         (__libc_ifunc_impl_list): Likewise.
36175         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
36176         multiarch optimizations
36178 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36180         [BZ #16639]
36181         * nscd/nscd.service: Make service type forking.
36183 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36185         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
36186         sign in non default rounding modes.
36187         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
36189 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
36191         * math/libm-test.inc (ALL_RM_TEST): New macro.
36192         (ceil_test): Use ALL_RM_TEST.
36193         (cimag_test): Likewise.
36194         (conj_test): Likewise.
36195         (copysign_test): Likewise.
36196         (cproj_test): Likewise.
36197         (creal_test): Likewise.
36198         (fabs_test): Likewise.
36199         (floor_test): Likewise.
36200         (fmax_test): Likewise.
36201         (fmin_test): Likewise.
36202         (fmod_test): Likewise.
36203         (fpclassify_test): Likewise.
36204         (frexp_test): Likewise.
36205         (ilogb_test): Likewise.
36206         (isfinite_test): Likewise.
36207         (finite_test): Likewise.
36208         (isgreater_test): Likewise.
36209         (isgreaterequal_test): Likewise.
36210         (isinf_test): Likewise.
36211         (isless_test): Likewise.
36212         (islessequal_test): Likewise.
36213         (islessgreater_test): Likewise.
36214         (isnan_test): Likewise.
36215         (isnormal_test): Likewise.
36216         (issignaling_test): Likewise.
36217         (isunordered_test): Likewise.
36218         (logb_test): Likewise.
36219         (logb_downward_test_data): Remove.
36220         (logb_test_downward): Likewise.
36221         (lround_test): Use ALL_RM_TEST.
36222         (llround_test): Likewise.
36223         (modf_test): Likewise.
36224         (nexttoward_test): Likewise.
36225         (remainder_test): Likewise.
36226         (drem_test): Likewise.
36227         (remainder_tonearest_test_data): Likewise.
36228         (remainder_test_tonearest): Likewise.
36229         (drem_test_tonearest): Likewise.
36230         (remainder_towardzero_test_data): Likewise.
36231         (remainder_test_towardzero): Likewise.
36232         (drem_test_towardzero): Likewise.
36233         (remainder_downward_test_data): Likewise.
36234         (remainder_test_downward): Likewise.
36235         (drem_test_downward): Likewise.
36236         (remainder_upward_test_data): Likewise.
36237         (remainder_test_upward): Likewise.
36238         (drem_test_upward): Likewise.
36239         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
36240         (round_test): Use ALL_RM_TEST.
36241         (signbit_test): Likewise.
36242         (trunc_test): Likewise.
36243         (significand_test): Likewise.
36244         (main): Don't call removed functions.
36246 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36248         [BZ #16674]
36249         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
36250         || __USE_XOPEN2K8].
36251         (ILL_ILLOPN): Likewise.
36252         (ILL_ILLADR): Likewise.
36253         (ILL_ILLTRP): Likewise.
36254         (ILL_PRVOPC): Likewise.
36255         (ILL_PRVREG): Likewise.
36256         (ILL_COPROC): Likewise.
36257         (ILL_BADSTK): Likewise.
36258         (FPE_INTDIV): Likewise.
36259         (FPE_INTOVF): Likewise.
36260         (FPE_FLTDIV): Likewise.
36261         (FPE_FLTOVF): Likewise.
36262         (FPE_FLTUND): Likewise.
36263         (FPE_FLTRES): Likewise.
36264         (FPE_FLTINV): Likewise.
36265         (FPE_FLTSUB): Likewise.
36266         (SEGV_MAPERR): Likewise.
36267         (SEGV_ACCERR): Likewise.
36268         (BUS_ADRALN): Likewise.
36269         (BUS_ADRERR): Likewise.
36270         (BUS_OBJERR): Likewise.
36271         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36272         (TRAP_TRACE): Likewise.
36273         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36274         __USE_XOPEN2K8].
36275         (CLD_KILLED): Likewise.
36276         (CLD_DUMPED): Likewise.
36277         (CLD_TRAPPED): Likewise.
36278         (CLD_STOPPED): Likewise.
36279         (CLD_CONTINUED): Likewise.
36280         (POLL_IN): Likewise.
36281         (POLL_OUT): Likewise.
36282         (POLL_MSG): Likewise.
36283         (POLL_ERR): Likewise.
36284         (POLL_PRI): Likewise.
36285         (POLL_HUP): Likewise.
36286         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
36287         Likewise.
36288         (ILL_ILLOPN): Likewise.
36289         (ILL_ILLADR): Likewise.
36290         (ILL_ILLTRP): Likewise.
36291         (ILL_PRVOPC): Likewise.
36292         (ILL_PRVREG): Likewise.
36293         (ILL_COPROC): Likewise.
36294         (ILL_BADSTK): Likewise.
36295         (FPE_INTDIV): Likewise.
36296         (FPE_INTOVF): Likewise.
36297         (FPE_FLTDIV): Likewise.
36298         (FPE_FLTOVF): Likewise.
36299         (FPE_FLTUND): Likewise.
36300         (FPE_FLTRES): Likewise.
36301         (FPE_FLTINV): Likewise.
36302         (FPE_FLTSUB): Likewise.
36303         (SEGV_MAPERR): Likewise.
36304         (SEGV_ACCERR): Likewise.
36305         (BUS_ADRALN): Likewise.
36306         (BUS_ADRERR): Likewise.
36307         (BUS_OBJERR): Likewise.
36308         (BUS_MCEERR_AR): Likewise.
36309         (BUS_MCEERR_AO): Likewise.
36310         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36311         (TRAP_TRACE): Likewise.
36312         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36313         __USE_XOPEN2K8].
36314         (CLD_KILLED): Likewise.
36315         (CLD_DUMPED): Likewise.
36316         (CLD_TRAPPED): Likewise.
36317         (CLD_STOPPED): Likewise.
36318         (CLD_CONTINUED): Likewise.
36319         (POLL_IN): Likewise.
36320         (POLL_OUT): Likewise.
36321         (POLL_MSG): Likewise.
36322         (POLL_ERR): Likewise.
36323         (POLL_PRI): Likewise.
36324         (POLL_HUP): Likewise.
36325         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
36326         (ILL_ILLOPN): Likewise.
36327         (ILL_ILLADR): Likewise.
36328         (ILL_ILLTRP): Likewise.
36329         (ILL_PRVOPC): Likewise.
36330         (ILL_PRVREG): Likewise.
36331         (ILL_COPROC): Likewise.
36332         (ILL_BADSTK): Likewise.
36333         (FPE_INTDIV): Likewise.
36334         (FPE_INTOVF): Likewise.
36335         (FPE_FLTDIV): Likewise.
36336         (FPE_FLTOVF): Likewise.
36337         (FPE_FLTUND): Likewise.
36338         (FPE_FLTRES): Likewise.
36339         (FPE_FLTINV): Likewise.
36340         (FPE_FLTSUB): Likewise.
36341         (SEGV_MAPERR): Likewise.
36342         (SEGV_ACCERR): Likewise.
36343         (BUS_ADRALN): Likewise.
36344         (BUS_ADRERR): Likewise.
36345         (BUS_OBJERR): Likewise.
36346         (BUS_MCEERR_AR): Likewise.
36347         (BUS_MCEERR_AO): Likewise.
36348         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36349         (TRAP_TRACE): Likewise.
36350         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36351         __USE_XOPEN2K8].
36352         (CLD_KILLED): Likewise.
36353         (CLD_DUMPED): Likewise.
36354         (CLD_TRAPPED): Likewise.
36355         (CLD_STOPPED): Likewise.
36356         (CLD_CONTINUED): Likewise.
36357         (POLL_IN): Likewise.
36358         (POLL_OUT): Likewise.
36359         (POLL_MSG): Likewise.
36360         (POLL_ERR): Likewise.
36361         (POLL_PRI): Likewise.
36362         (POLL_HUP): Likewise.
36363         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
36364         Likewise.
36365         (ILL_ILLOPN): Likewise.
36366         (ILL_ILLADR): Likewise.
36367         (ILL_ILLTRP): Likewise.
36368         (ILL_PRVOPC): Likewise.
36369         (ILL_PRVREG): Likewise.
36370         (ILL_COPROC): Likewise.
36371         (ILL_BADSTK): Likewise.
36372         (ILL_BADIADDR): Likewise.
36373         (ILL_BREAK): Likewise.
36374         (FPE_INTDIV): Likewise.
36375         (FPE_INTOVF): Likewise.
36376         (FPE_FLTDIV): Likewise.
36377         (FPE_FLTOVF): Likewise.
36378         (FPE_FLTUND): Likewise.
36379         (FPE_FLTRES): Likewise.
36380         (FPE_FLTINV): Likewise.
36381         (FPE_FLTSUB): Likewise.
36382         (FPE_DECOVF): Likewise.
36383         (FPE_DECDIV): Likewise.
36384         (FPE_DECERR): Likewise.
36385         (FPE_INVASC): Likewise.
36386         (FPE_INVDEC): Likewise.
36387         (SEGV_MAPERR): Likewise.
36388         (SEGV_ACCERR): Likewise.
36389         (SEGV_PSTKOVF): Likewise.
36390         (BUS_ADRALN): Likewise.
36391         (BUS_ADRERR): Likewise.
36392         (BUS_OBJERR): Likewise.
36393         (BUS_MCEERR_AR): Likewise.
36394         (BUS_MCEERR_AO): Likewise.
36395         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36396         (TRAP_TRACE): Likewise.
36397         (TRAP_BRANCH): Likewise.
36398         (TRAP_HWBKPT): Likewise.
36399         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36400         __USE_XOPEN2K8].
36401         (CLD_KILLED): Likewise.
36402         (CLD_DUMPED): Likewise.
36403         (CLD_TRAPPED): Likewise.
36404         (CLD_STOPPED): Likewise.
36405         (CLD_CONTINUED): Likewise.
36406         (POLL_IN): Likewise.
36407         (POLL_OUT): Likewise.
36408         (POLL_MSG): Likewise.
36409         (POLL_ERR): Likewise.
36410         (POLL_PRI): Likewise.
36411         (POLL_HUP): Likewise.
36412         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
36413         (ILL_ILLOPN): Likewise.
36414         (ILL_ILLADR): Likewise.
36415         (ILL_ILLTRP): Likewise.
36416         (ILL_PRVOPC): Likewise.
36417         (ILL_PRVREG): Likewise.
36418         (ILL_COPROC): Likewise.
36419         (ILL_BADSTK): Likewise.
36420         (FPE_INTDIV): Likewise.
36421         (FPE_INTOVF): Likewise.
36422         (FPE_FLTDIV): Likewise.
36423         (FPE_FLTOVF): Likewise.
36424         (FPE_FLTUND): Likewise.
36425         (FPE_FLTRES): Likewise.
36426         (FPE_FLTINV): Likewise.
36427         (FPE_FLTSUB): Likewise.
36428         (SEGV_MAPERR): Likewise.
36429         (SEGV_ACCERR): Likewise.
36430         (BUS_ADRALN): Likewise.
36431         (BUS_ADRERR): Likewise.
36432         (BUS_OBJERR): Likewise.
36433         (BUS_MCEERR_AR): Likewise.
36434         (BUS_MCEERR_AO): Likewise.
36435         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36436         (TRAP_TRACE): Likewise.
36437         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36438         __USE_XOPEN2K8].
36439         (CLD_KILLED): Likewise.
36440         (CLD_DUMPED): Likewise.
36441         (CLD_TRAPPED): Likewise.
36442         (CLD_STOPPED): Likewise.
36443         (CLD_CONTINUED): Likewise.
36444         (POLL_IN): Likewise.
36445         (POLL_OUT): Likewise.
36446         (POLL_MSG): Likewise.
36447         (POLL_ERR): Likewise.
36448         (POLL_PRI): Likewise.
36449         (POLL_HUP): Likewise.
36450         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
36451         (ILL_ILLOPN): Likewise.
36452         (ILL_ILLADR): Likewise.
36453         (ILL_ILLTRP): Likewise.
36454         (ILL_PRVOPC): Likewise.
36455         (ILL_PRVREG): Likewise.
36456         (ILL_COPROC): Likewise.
36457         (ILL_BADSTK): Likewise.
36458         (FPE_INTDIV): Likewise.
36459         (FPE_INTOVF): Likewise.
36460         (FPE_FLTDIV): Likewise.
36461         (FPE_FLTOVF): Likewise.
36462         (FPE_FLTUND): Likewise.
36463         (FPE_FLTRES): Likewise.
36464         (FPE_FLTINV): Likewise.
36465         (FPE_FLTSUB): Likewise.
36466         (SEGV_MAPERR): Likewise.
36467         (SEGV_ACCERR): Likewise.
36468         (BUS_ADRALN): Likewise.
36469         (BUS_ADRERR): Likewise.
36470         (BUS_OBJERR): Likewise.
36471         (BUS_MCEERR_AR): Likewise.
36472         (BUS_MCEERR_AO): Likewise.
36473         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36474         (TRAP_TRACE): Likewise.
36475         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36476         __USE_XOPEN2K8].
36477         (CLD_KILLED): Likewise.
36478         (CLD_DUMPED): Likewise.
36479         (CLD_TRAPPED): Likewise.
36480         (CLD_STOPPED): Likewise.
36481         (CLD_CONTINUED): Likewise.
36482         (POLL_IN): Likewise.
36483         (POLL_OUT): Likewise.
36484         (POLL_MSG): Likewise.
36485         (POLL_ERR): Likewise.
36486         (POLL_PRI): Likewise.
36487         (POLL_HUP): Likewise.
36488         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
36489         (ILL_ILLOPN): Likewise.
36490         (ILL_ILLADR): Likewise.
36491         (ILL_ILLTRP): Likewise.
36492         (ILL_PRVOPC): Likewise.
36493         (ILL_PRVREG): Likewise.
36494         (ILL_COPROC): Likewise.
36495         (ILL_BADSTK): Likewise.
36496         (FPE_INTDIV): Likewise.
36497         (FPE_INTOVF): Likewise.
36498         (FPE_FLTDIV): Likewise.
36499         (FPE_FLTOVF): Likewise.
36500         (FPE_FLTUND): Likewise.
36501         (FPE_FLTRES): Likewise.
36502         (FPE_FLTINV): Likewise.
36503         (FPE_FLTSUB): Likewise.
36504         (SEGV_MAPERR): Likewise.
36505         (SEGV_ACCERR): Likewise.
36506         (BUS_ADRALN): Likewise.
36507         (BUS_ADRERR): Likewise.
36508         (BUS_OBJERR): Likewise.
36509         (BUS_MCEERR_AR): Likewise.
36510         (BUS_MCEERR_AO): Likewise.
36511         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36512         (TRAP_TRACE): Likewise.
36513         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36514         __USE_XOPEN2K8].
36515         (CLD_KILLED): Likewise.
36516         (CLD_DUMPED): Likewise.
36517         (CLD_TRAPPED): Likewise.
36518         (CLD_STOPPED): Likewise.
36519         (CLD_CONTINUED): Likewise.
36520         (POLL_IN): Likewise.
36521         (POLL_OUT): Likewise.
36522         (POLL_MSG): Likewise.
36523         (POLL_ERR): Likewise.
36524         (POLL_PRI): Likewise.
36525         (POLL_HUP): Likewise.
36526         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
36527         (ILL_ILLOPN): Likewise.
36528         (ILL_ILLADR): Likewise.
36529         (ILL_ILLTRP): Likewise.
36530         (ILL_PRVOPC): Likewise.
36531         (ILL_PRVREG): Likewise.
36532         (ILL_COPROC): Likewise.
36533         (ILL_BADSTK): Likewise.
36534         (ILL_DBLFLT): Likewise.
36535         (ILL_HARDWALL): Likewise.
36536         (FPE_INTDIV): Likewise.
36537         (FPE_INTOVF): Likewise.
36538         (FPE_FLTDIV): Likewise.
36539         (FPE_FLTOVF): Likewise.
36540         (FPE_FLTUND): Likewise.
36541         (FPE_FLTRES): Likewise.
36542         (FPE_FLTINV): Likewise.
36543         (FPE_FLTSUB): Likewise.
36544         (SEGV_MAPERR): Likewise.
36545         (SEGV_ACCERR): Likewise.
36546         (BUS_ADRALN): Likewise.
36547         (BUS_ADRERR): Likewise.
36548         (BUS_OBJERR): Likewise.
36549         (BUS_MCEERR_AR): Likewise.
36550         (BUS_MCEERR_AO): Likewise.
36551         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36552         (TRAP_TRACE): Likewise.
36553         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36554         __USE_XOPEN2K8].
36555         (CLD_KILLED): Likewise.
36556         (CLD_DUMPED): Likewise.
36557         (CLD_TRAPPED): Likewise.
36558         (CLD_STOPPED): Likewise.
36559         (CLD_CONTINUED): Likewise.
36560         (POLL_IN): Likewise.
36561         (POLL_OUT): Likewise.
36562         (POLL_MSG): Likewise.
36563         (POLL_ERR): Likewise.
36564         (POLL_PRI): Likewise.
36565         (POLL_HUP): Likewise.
36566         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
36567         (ILL_ILLOPN): Likewise.
36568         (ILL_ILLADR): Likewise.
36569         (ILL_ILLTRP): Likewise.
36570         (ILL_PRVOPC): Likewise.
36571         (ILL_PRVREG): Likewise.
36572         (ILL_COPROC): Likewise.
36573         (ILL_BADSTK): Likewise.
36574         (FPE_INTDIV): Likewise.
36575         (FPE_INTOVF): Likewise.
36576         (FPE_FLTDIV): Likewise.
36577         (FPE_FLTOVF): Likewise.
36578         (FPE_FLTUND): Likewise.
36579         (FPE_FLTRES): Likewise.
36580         (FPE_FLTINV): Likewise.
36581         (FPE_FLTSUB): Likewise.
36582         (SEGV_MAPERR): Likewise.
36583         (SEGV_ACCERR): Likewise.
36584         (BUS_ADRALN): Likewise.
36585         (BUS_ADRERR): Likewise.
36586         (BUS_OBJERR): Likewise.
36587         (BUS_MCEERR_AR): Likewise.
36588         (BUS_MCEERR_AO): Likewise.
36589         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36590         (TRAP_TRACE): Likewise.
36591         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36592         __USE_XOPEN2K8].
36593         (CLD_KILLED): Likewise.
36594         (CLD_DUMPED): Likewise.
36595         (CLD_TRAPPED): Likewise.
36596         (CLD_STOPPED): Likewise.
36597         (CLD_CONTINUED): Likewise.
36598         (POLL_IN): Likewise.
36599         (POLL_OUT): Likewise.
36600         (POLL_MSG): Likewise.
36601         (POLL_ERR): Likewise.
36602         (POLL_PRI): Likewise.
36603         (POLL_HUP): Likewise.
36604         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
36605         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36607         [BZ #16670]
36608         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
36609         before #include of <time.h>.
36610         [!__USE_XOPEN2K] (__need_timespec): Likewise.
36611         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
36612         (test-xfail-UNIX98/sched.h/conform): Likewise.
36614 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36616         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
36617         error absence of trapping exception support.
36618         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36620 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36622         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
36623         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
36624         * timezone/Makefile (testdata): Move definition above include of
36625         Rules.
36626         (test-zones): New variable.
36627         (tests-special): Add zone files.
36628         (build-testdata): Use $(evaluate-test).
36630         * elf/Makefile (tests-special): Rename tests to end with .out.
36631         ($(objpfx)noload-mem): Likewise.
36632         ($(objpfx)tst-leaks1-mem): Likewise.
36633         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
36634         * iconv/Makefile (xtests-special): Change test-iconvconfig to
36635         $(objpfx)test-iconvconfig.out.
36636         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
36637         set -e inside subshell and redirect output to file.
36638         * iconvdata/Makefile (generated): Rename tests to end with .out.
36639         Correct type.
36640         (tests-special): Rename tests to end with .out.
36641         ($(objpfx)mtrace-tst-loading): Likewise.
36642         * intl/Makefile (generated): Likewise.
36643         (tests-special): Likewise.
36644         ($(objpfx)mtrace-tst-gettext): Likewise.
36645         * misc/Makefile (generated): Likewise.
36646         (tests-special): Likewise.
36647         ($(objpfx)tst-error1-mem): Likewise.
36648         * nptl/Makefile (tests-special): Likewise.
36649         ($(objpfx)tst-stack3-mem): Likewise.
36650         (generated): Likewise.
36651         * posix/Makefile (generated): Likewise.
36652         (tests-special): Likewise.
36653         (xtests-special): Likewise.
36654         ($(objpfx)tst-fnmatch-mem): Likewise.
36655         ($(objpfx)bug-regex2-mem): Likewise.
36656         ($(objpfx)bug-regex14-mem): Likewise.
36657         ($(objpfx)bug-regex21-mem): Likewise.
36658         ($(objpfx)bug-regex31-mem): Likewise.
36659         ($(objpfx)tst-vfork3-mem): Likewise.
36660         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36661         ($(objpfx)tst-pcre-mem): Likewise.
36662         ($(objpfx)tst-boost-mem): Likewise.
36663         ($(objpfx)bug-ga2-mem): Likewise.
36664         ($(objpfx)bug-glob2-mem): Likewise.
36665         * resolv/Makefile (generate): Likewise.
36666         (tests-special): Likewise.
36667         (xtests-special): Likewise.
36668         (generated): Likewise.
36669         ($(objpfx)mtrace-tst-leaks): Likewise.
36670         ($(objpfx)mtrace-tst-leaks2): Likewise.
36672         * scripts/merge-test-results.sh: New file.
36673         * Makefile (tests-special-notdir): New variable.
36674         (tests): Run merge-test-results.sh.
36675         (xtests): Likewise.
36676         * Rules (tests-special-notdir): New variable.
36677         (xtests-special-notdir): Likewise.
36678         (tests): Run merge-test-results.sh
36679         (xtests): Likewise.
36681         * Makeconfig (test-xfail-name): New variable.
36682         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
36683         compute variable name for expected failures.
36684         * conform/Makefile (conformtest-headers-data): New variable.
36685         (conformtest-standards): Likewise.
36686         (conformtest-headers-ISO): Likewise.
36687         (conformtest-headers-ISO99): Likewise.
36688         (conformtest-headers-ISO11): Likewise.
36689         (conformtest-headers-POSIX): Likewise.
36690         (conformtest-headers-XPG3): Likewise.
36691         (conformtest-headers-XPG4): Likewise.
36692         (conformtest-headers-UNIX98): Likewise.
36693         (conformtest-headers-XOPEN2K): Likewise.
36694         (conformtest-headers-POSIX2008): Likewise.
36695         (conformtest-headers-XOPEN2K8): Likewise.
36696         (conformtest-header-list-base): Likewise.
36697         (conformtest-header-list-tests): Likewise.
36698         (conformtest-header-base): Likewise.
36699         (conformtest-header-tests): Likewise.
36700         (tests-special): Add $(conformtest-header-list-tests).  If
36701         [$(fast-check) && !$(cross-compiling)], add
36702         $(conformtest-header-tests) instead of
36703         $(objpfx)run-conformtest.out.
36704         (generated): Add $(conformtest-header-list-base).  If
36705         [$(fast-check) && !$(cross-compiling)], add
36706         $(conformtest-header-base).  Remove previous setting.
36707         ($(conformtest-header-list-tests)): New target.
36708         (test-xfail-run-conformtest): Remove variable.
36709         ($(objpfx)run-conformtest.out): Remove target.
36710         (test-xfail-ISO11/complex.h/conform): New variable.
36711         (test-xfail-ISO11/stdalign.h/conform): Likewise.
36712         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
36713         (test-xfail-XPG3/varargs.h/conform): Likewise.
36714         (test-xfail-XPG4/varargs.h/conform): Likewise.
36715         (test-xfail-UNIX98/varargs.h/conform): Likewise.
36716         (test-xfail-XPG4/ndbm.h/conform): Likewise.
36717         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
36718         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
36719         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
36720         (test-xfail-XPG3/fcntl.h/conform): Likewise.
36721         (test-xfail-XPG3/ftw.h/conform): Likewise.
36722         (test-xfail-XPG3/grp.h/conform): Likewise.
36723         (test-xfail-XPG3/langinfo.h/conform): Likewise.
36724         (test-xfail-XPG3/limits.h/conform): Likewise.
36725         (test-xfail-XPG3/pwd.h/conform): Likewise.
36726         (test-xfail-XPG3/search.h/conform): Likewise.
36727         (test-xfail-XPG3/signal.h/conform): Likewise.
36728         (test-xfail-XPG3/stdio.h/conform): Likewise.
36729         (test-xfail-XPG3/stdlib.h/conform): Likewise.
36730         (test-xfail-XPG3/string.h/conform): Likewise.
36731         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
36732         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
36733         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
36734         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
36735         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
36736         (test-xfail-XPG3/sys/types.h/conform): Likewise.
36737         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
36738         (test-xfail-XPG3/termios.h/conform): Likewise.
36739         (test-xfail-XPG3/time.h/conform): Likewise.
36740         (test-xfail-XPG3/unistd.h/conform): Likewise.
36741         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
36742         (test-xfail-XPG4/fcntl.h/conform): Likewise.
36743         (test-xfail-XPG4/langinfo.h/conform): Likewise.
36744         (test-xfail-XPG4/netdb.h/conform): Likewise.
36745         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
36746         (test-xfail-XPG4/signal.h/conform): Likewise.
36747         (test-xfail-XPG4/stdio.h/conform): Likewise.
36748         (test-xfail-XPG4/stdlib.h/conform): Likewise.
36749         (test-xfail-XPG4/stropts.h/conform): Likewise.
36750         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
36751         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
36752         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
36753         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
36754         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
36755         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
36756         (test-xfail-XPG4/sys/time.h/conform): Likewise.
36757         (test-xfail-XPG4/sys/types.h/conform): Likewise.
36758         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
36759         (test-xfail-XPG4/termios.h/conform): Likewise.
36760         (test-xfail-XPG4/ucontext.h/conform): Likewise.
36761         (test-xfail-XPG4/unistd.h/conform): Likewise.
36762         (test-xfail-XPG4/utmpx.h/conform): Likewise.
36763         (test-xfail-POSIX/sched.h/conform): Likewise.
36764         (test-xfail-POSIX/signal.h/conform): Likewise.
36765         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36766         (test-xfail-POSIX/tar.h/conform): Likewise.
36767         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
36768         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
36769         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
36770         (test-xfail-UNIX98/netdb.h/conform): Likewise.
36771         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
36772         (test-xfail-UNIX98/sched.h/conform): Likewise.
36773         (test-xfail-UNIX98/signal.h/conform): Likewise.
36774         (test-xfail-UNIX98/stdio.h/conform): Likewise.
36775         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
36776         (test-xfail-UNIX98/stropts.h/conform): Likewise.
36777         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
36778         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
36779         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
36780         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
36781         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
36782         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
36783         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
36784         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
36785         (test-xfail-UNIX98/unistd.h/conform): Likewise.
36786         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
36787         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
36788         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
36789         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
36790         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
36791         (test-xfail-XOPEN2K/math.h/conform): Likewise.
36792         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
36793         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
36794         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
36795         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
36796         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
36797         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
36798         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
36799         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
36800         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
36801         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
36802         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
36803         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
36804         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
36805         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
36806         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
36807         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
36808         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
36809         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
36810         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
36811         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
36812         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
36813         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
36814         (test-xfail-POSIX2008/signal.h/conform): Likewise.
36815         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
36816         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
36817         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
36818         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
36819         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
36820         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
36821         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
36822         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
36823         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
36824         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
36825         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
36826         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
36827         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
36828         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
36829         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
36830         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
36831         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
36832         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
36833         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
36834         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
36835         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
36836         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
36837         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
36838         (conformtest-cc-flags): Likewise.
36839         ($(conformtest-header-tests): New target.
36840         * conform/check-header-lists.sh: New file.
36841         * conform/run-conformtest.sh: Remove.
36843         * conform/conformtest.pl: Allow ' and \ in values given for
36844         constants.
36845         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
36846         inclusion.
36847         [POSIX] (sys/types.h): Likewise.
36848         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
36849         inclusion.
36850         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
36851         inclusion.
36852         * conform/data/signal.h-data (SIGIO): Remove expectation.
36853         [XPG3] (SIGBUS): Do not expect.
36854         [POSIX || XPG3] (SIGPOLL): Likewise.
36855         [POSIX || XPG3] (SIGPROF): Likewise.
36856         [POSIX || XPG3] (SIGSYS): Likewise.
36857         [XPG3] (SIGTRAP): Likewise.
36858         [POSIX || XPG3] (SIGURG): Likewise.
36859         [POSIX || XPG3] (SIGVTALRM): Likewise.
36860         [POSIX || XPG3] (SIGXCPU): Likewise.
36861         [POSIX || XPG3] (SIGXFSZ): Likewise.
36862         [POSIX] (SA_SIGINFO): Expect.
36863         [XPG3] (siginfo_t): Do not expect type or contents.
36864         [POSIX] (si_pid): Do not expect element.
36865         [POSIX] (si_uid): Likewise.
36866         [POSIX] (si_addr): Likewise.
36867         [POSIX] (si_status): Likewise.
36868         [POSIX] (si_band): Likewise.
36869         [XPG4] (si_value): Likewise.
36870         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
36871         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
36872         [POSIX || XPG3] (ILL_ILLADR): Likewise.
36873         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
36874         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
36875         [POSIX || XPG3] (ILL_PRVREG): Likewise.
36876         [POSIX || XPG3] (ILL_COPROC): Likewise.
36877         [POSIX || XPG3] (ILL_BADSTK): Likewise.
36878         [POSIX || XPG3] (FPE_INTDIV): Likewise.
36879         [POSIX || XPG3] (FPE_INTOVF): Likewise.
36880         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
36881         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
36882         [POSIX || XPG3] (FPE_FLTUND): Likewise.
36883         [POSIX || XPG3] (FPE_FLTRES): Likewise.
36884         [POSIX || XPG3] (FPE_FLTINV): Likewise.
36885         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
36886         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
36887         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
36888         [POSIX || XPG3] (BUS_ADRALN): Likewise.
36889         [POSIX || XPG3] (BUS_ADRERR): Likewise.
36890         [POSIX || XPG3] (BUS_OBJERR): Likewise.
36891         [POSIX || XPG3] (CLD_EXITED): Likewise.
36892         [POSIX || XPG3] (CLD_KILLED): Likewise.
36893         [POSIX || XPG3] (CLD_DUMPED): Likewise.
36894         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
36895         [POSIX || XPG3] (CLD_STOPPED): Likewise.
36896         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
36897         [POSIX || XPG3] (POLL_IN): Likewise.
36898         [POSIX || XPG3] (POLL_OUT): Likewise.
36899         [POSIX || XPG3] (POLL_MSG): Likewise.
36900         [POSIX || XPG3] (POLL_ERR): Likewise.
36901         [POSIX || XPG3] (POLL_PRI): Likewise.
36902         [POSIX || XPG3] (POLL_HUP): Likewise.
36903         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
36904         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
36905         (SIG*): Do not allow.
36906         [XPG3] (si_*): Likewise.
36907         [XPG3] (SI_*): Likewise.
36908         [XPG3 || XPG4] (sigev_*): Likewise.
36909         [XPG3 || XPG4] (SIGEV_*): Likewise.
36910         [XPG3 || XPG4] (sival_*): Likewise.
36911         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
36912         [POSIX || XPG3] (BUS_*): Likewise.
36913         [POSIX || XPG3] (CLD_*): Likewise.
36914         [POSIX || XPG3] (FPE_*): Likewise.
36915         [POSIX || XPG3] (ILL_*): Likewise.
36916         [POSIX || XPG3] (POLL_*): Likewise.
36917         [POSIX || XPG3] (SEGV_*): Likewise.
36918         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
36919         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
36920         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
36921         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
36922         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
36923         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
36924         Specify type and value.
36925         (TVERSLEN): Likewise.
36926         (REGTYPE): Likewise.
36927         (AREGTYPE): Likewise.
36928         (LNKTYPE): Likewise.
36929         (SYMTYPE): Likewise.
36930         (CHRTYPE): Likewise.
36931         (BLKTYPE): Likewise.
36932         (DIRTYPE): Likewise.
36933         (FIFOTYPE): Likewise.
36934         (CONTTYPE): Likewise.
36935         (TSUID): Likewise.
36936         (TSGID): Likewise.
36937         (TSVTX): Likewise.
36938         (TUREAD): Likewise.
36939         (TUWRITE): Likewise.
36940         (TUEXEC): Likewise.
36941         (TGREAD): Likewise.
36942         (TGWRITE): Likewise.
36943         (TGEXEC): Likewise.
36944         (TOREAD): Likewise.
36945         (TOWRITE): Likewise.
36946         (TOEXEC): Likewise.
36947         [POSIX] (TSVTX): Expect constant.
36949 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
36951         * Makefile (tests): Change dependencies to ....
36952         (tests-special): ... additions to this variable.
36953         (tests): Depend on $(tests-special).
36954         * Makerules (check-abi-list): New variable.
36955         (check-abi): Depend on $(check-abi-list).
36956         [$(subdir) = elf] (tests-special): Add
36957         $(objpfx)check-abi-libc.out.
36958         [$(build-shared) = yes && subdir] (tests-special): Add
36959         $(check-abi-list).
36960         [$(build-shared) = yes && subdir] (tests): Do not depend on
36961         check-abi.
36962         * Rules (tests): Depend on $(tests-special).
36963         (xtests): Depend on $(xtests-special).
36964         * catgets/Makefile (tests): Change dependencies to ....
36965         (tests-special): ... additions to this variable.
36966         * conform/Makefile (tests): Change dependencies to ....
36967         (tests-special): ... additions to this variable.
36968         * elf/Makefile (tests): Change dependencies to ....
36969         (tests-special): ... additions to this variable.
36970         * grp/Makefile (tests): Change dependencies to ....
36971         (tests-special): ... additions to this variable.
36972         * iconv/Makefile (xtests): Change dependencies to ....
36973         (xtests-special): ... additions to this variable.
36974         * iconvdata/Makefile (tests): Change dependencies to ....
36975         (tests-special): ... additions to this variable.
36976         * intl/Makefile (tests): Change dependencies to ....
36977         (tests-special): ... additions to this variable.  Also add
36978         $(objpfx)tst-gettext.out.
36979         * io/Makefile (tests): Change dependencies to ....
36980         (tests-special): ... additions to this variable.
36981         * libio/Makefile (tests): Change dependencies to ....
36982         (tests-special): ... additions to this variable.
36983         * malloc/Makefile (tests): Change dependencies to ....
36984         (tests-special): ... additions to this variable.
36985         * misc/Makefile (tests): Change dependencies to ....
36986         (tests-special): ... additions to this variable.
36987         * nptl/Makefile (tests): Change dependencies to ....
36988         (tests-special): ... additions to this variable.
36989         * nptl_db/Makefile (tests): Change dependencies to ....
36990         (tests-special): ... additions to this variable.
36991         * posix/Makefile (tests): Change dependencies to ....
36992         (tests-special): ... additions to this variable.
36993         (xtests): Change dependencies to ....
36994         (xtests-special): ... additions to this variable.
36995         * resolv/Makefile (tests): Change dependencies to ....
36996         (tests-special): ... additions to this variable.
36997         (xtests): Change dependencies to ....
36998         (xtests-special): ... additions to this variable.
36999         * stdio-common/Makefile (tests): Change dependencies to ....
37000         (tests-special): ... additions to this variable.
37001         (do-tst-unbputc): Remove target.
37002         (do-tst-printf): Likewise.
37003         * stdlib/Makefile (tests): Change dependencies to ....
37004         (tests-special): ... additions to this variable.
37005         * string/Makefile (tests): Change dependencies to ....
37006         (tests-special): ... additions to this variable.
37007         * sysdeps/x86/Makefile (tests): Change dependencies to ....
37008         (tests-special): ... additions to this variable.
37010         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
37011         whole file.
37012         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
37013         whole file.
37014         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
37015         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
37017         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
37018         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
37019         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
37020         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
37021         * conform/data/libgen.h-data [XPG3]: Likewise.
37022         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
37023         * conform/data/ndbm.h-data [XPG3]: Likewise.
37024         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37025         * conform/data/netdb.h-data [XPG3]: Likewise.
37026         * conform/data/netinet/in.h-data [XPG3]: Likewise.
37027         * conform/data/poll.h-data [XPG3]: Likewise.
37028         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37029         * conform/data/strings.h-data [XPG3]: Likewise.
37030         * conform/data/stropts.h-data [XPG3]: Likewise.
37031         * conform/data/sys/mman.h-data [XPG3]: Likewise.
37032         * conform/data/sys/resource.h-data [XPG3]: Likewise.
37033         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
37034         Likewise.
37035         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
37036         * conform/data/sys/time.h-data [XPG3]: Likewise.
37037         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
37038         * conform/data/sys/uio.h-data [XPG3]: Likewise.
37039         * conform/data/sys/un.h-data [XPG3]: Likewise.
37040         * conform/data/syslog.h-data [XPG3]: Likewise.
37041         * conform/data/ucontext.h-data [XPG3]: Likewise.
37042         * conform/data/utmpx.h-data [XPG3]: Likewise.
37043         * conform/data/varargs.h-data [UNIX98]: Enable file.
37045         * manual/Makefile (INSTALL_INFO): Remove variable setting.
37047         * math/libm-test.inc (struct test_f_f_data): Move expected results
37048         into structure for each rounding mode.
37049         (struct test_ff_f_data): Likewise.
37050         (struct test_ff_f_data_nexttoward): Likewise.
37051         (struct test_fi_f_data): Likewise.
37052         (struct test_fl_f_data): Likewise.
37053         (struct test_if_f_data): Likewise.
37054         (struct test_fff_f_data): Likewise.
37055         (struct test_c_f_data): Likewise.
37056         (struct test_f_f1_data): Likewise.
37057         (struct test_fF_f1_data): Likewise.
37058         (struct test_ffI_f1_data): Likewise.
37059         (struct test_c_c_data): Likewise.
37060         (struct test_cc_c_data): Likewise.
37061         (struct test_f_i_data): Likewise.
37062         (struct test_ff_i_data): Likewise.
37063         (struct test_f_l_data): Likewise.
37064         (struct test_f_L_data): Likewise.
37065         (struct test_fFF_11_data): Likewise.
37066         (RM_): New macro.
37067         (RM_FE_DOWNWARD): Likewise.
37068         (RM_FE_TONEAREST): Likewise.
37069         (RM_FE_TOWARDZERO): Likewise.
37070         (RM_FE_UPWARD): Likewise.
37071         (RUN_TEST_LOOP_f_f): Update references to expected results.
37072         (RUN_TEST_LOOP_2_f): Likewise.
37073         (RUN_TEST_LOOP_fff_f): Likewise.
37074         (RUN_TEST_LOOP_c_f): Likewise.
37075         (RUN_TEST_LOOP_f_f1): Likewise.
37076         (RUN_TEST_LOOP_fF_f1): Likewise.
37077         (RUN_TEST_LOOP_fI_f1): Likewise.
37078         (RUN_TEST_LOOP_ffI_f1): Likewise.
37079         (RUN_TEST_LOOP_c_c): Likewise.
37080         (RUN_TEST_LOOP_cc_c): Likewise.
37081         (RUN_TEST_LOOP_f_i): Likewise.
37082         (RUN_TEST_LOOP_f_i_tg): Likewise.
37083         (RUN_TEST_LOOP_ff_i_tg): Likewise.
37084         (RUN_TEST_LOOP_f_b): Likewise.
37085         (RUN_TEST_LOOP_f_b_tg): Likewise.
37086         (RUN_TEST_LOOP_f_l): Likewise.
37087         (RUN_TEST_LOOP_f_L): Likewise.
37088         (RUN_TEST_LOOP_fFF_11): Likewise.
37089         * math/gen-libm-test.pl (parse_args): Output four copies of
37090         expected results for each test.
37092         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37093         (__ASSUME_UTIMES): Remove.
37094         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37095         (__ASSUME_UTIMES): Likewise.
37097         * math/gen-auto-libm-tests.c: Update comment on output format.
37098         (output_for_one_input_case): Generate before-rounding and
37099         after-rounding information as conditions on output flags not
37100         floating-point format.
37101         * math/auto-libm-test-out: Regenerated.
37102         * math/gen-libm-test.pl (cond_value): New function.
37103         (or_cond_value): Use cond_value.
37104         (generate_testfile): Handle conditional exceptions.
37106 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
37108         * math/libm-test.inc (max_valid_error): New variable.
37109         (init_max_error): Take new argument specifying whether function
37110         results are exactly determined.  Set max_valid_error and bound
37111         other variables for errors based on this argument.
37112         (set_max_error): Do not record results above max_valid_error.
37113         (check_float_internal): Only accept errors of up to 0.5ulps if
37114         also at most max_valid_error.
37115         (START): Take new argument EXACT and pass it to init_max_error.
37116         (acos_test): Update call to START.
37117         (acos_test_tonearest): Likewise.
37118         (acos_test_towardzero): Likewise.
37119         (acos_test_downward): Likewise.
37120         (acos_test_upward): Likewise.
37121         (acosh_test): Likewise.
37122         (asin_test): Likewise.
37123         (asin_test_tonearest): Likewise.
37124         (asin_test_towardzero): Likewise.
37125         (asin_test_downward): Likewise.
37126         (asin_test_upward): Likewise.
37127         (asinh_test): Likewise.
37128         (atan_test): Likewise.
37129         (atanh_test): Likewise.
37130         (atan2_test): Likewise.
37131         (cabs_test): Likewise.
37132         (cacos_test): Likewise.
37133         (cacosh_test): Likewise.
37134         (carg_test): Likewise.
37135         (casin_test): Likewise.
37136         (casinh_test): Likewise.
37137         (catan_test): Likewise.
37138         (catanh_test): Likewise.
37139         (cbrt_test): Likewise.
37140         (ccos_test): Likewise.
37141         (ccosh_test): Likewise.
37142         (ceil_test): Likewise.
37143         (cexp_test): Likewise.
37144         (cimag_test): Likewise.
37145         (clog_test): Likewise.
37146         (clog10_test): Likewise.
37147         (conj_test): Likewise.
37148         (copysign_test): Likewise.
37149         (cos_test): Likewise.
37150         (cos_test_tonearest): Likewise.
37151         (cos_test_towardzero): Likewise.
37152         (cos_test_downward): Likewise.
37153         (cos_test_upward): Likewise.
37154         (cosh_test): Likewise.
37155         (cosh_test_tonearest): Likewise.
37156         (cosh_test_towardzero): Likewise.
37157         (cosh_test_downward): Likewise.
37158         (cosh_test_upward): Likewise.
37159         (cpow_test): Likewise.
37160         (cproj_test): Likewise.
37161         (creal_test): Likewise.
37162         (csin_test): Likewise.
37163         (csinh_test): Likewise.
37164         (csqrt_test): Likewise.
37165         (ctan_test): Likewise.
37166         (ctan_test_tonearest): Likewise.
37167         (ctan_test_towardzero): Likewise.
37168         (ctan_test_downward): Likewise.
37169         (ctan_test_upward): Likewise.
37170         (ctanh_test): Likewise.
37171         (ctanh_test_tonearest): Likewise.
37172         (ctanh_test_towardzero): Likewise.
37173         (ctanh_test_downward): Likewise.
37174         (ctanh_test_upward): Likewise.
37175         (erf_test): Likewise.
37176         (erfc_test): Likewise.
37177         (exp_test): Likewise.
37178         (exp_test_tonearest): Likewise.
37179         (exp_test_towardzero): Likewise.
37180         (exp_test_downward): Likewise.
37181         (exp_test_upward): Likewise.
37182         (exp10_test): Likewise.
37183         (exp10_test_tonearest): Likewise.
37184         (exp10_test_towardzero): Likewise.
37185         (exp10_test_downward): Likewise.
37186         (exp10_test_upward): Likewise.
37187         (pow10_test): Likewise.
37188         (exp2_test): Likewise.
37189         (expm1_test): Likewise.
37190         (expm1_test_tonearest): Likewise.
37191         (expm1_test_towardzero): Likewise.
37192         (expm1_test_downward): Likewise.
37193         (expm1_test_upward): Likewise.
37194         (fabs_test): Likewise.
37195         (fdim_test): Likewise.
37196         (floor_test): Likewise.
37197         (fma_test): Likewise.
37198         (fma_test_towardzero): Likewise.
37199         (fma_test_downward): Likewise.
37200         (fma_test_upward): Likewise.
37201         (fmax_test): Likewise.
37202         (fmin_test): Likewise.
37203         (fmod_test): Likewise.
37204         (fpclassify_test): Likewise.
37205         (frexp_test): Likewise.
37206         (hypot_test): Likewise.
37207         (ilogb_test): Likewise.
37208         (isfinite_test): Likewise.
37209         (finite_test): Likewise.
37210         (isgreater_test): Likewise.
37211         (isgreaterequal_test): Likewise.
37212         (isinf_test): Likewise.
37213         (isless_test): Likewise.
37214         (islessequal_test): Likewise.
37215         (islessgreater_test): Likewise.
37216         (isnan_test): Likewise.
37217         (isnormal_test): Likewise.
37218         (issignaling_test): Likewise.
37219         (isunordered_test): Likewise.
37220         (j0_test): Likewise.
37221         (j1_test): Likewise.
37222         (jn_test): Likewise.
37223         (ldexp_test): Likewise.
37224         (lgamma_test): Likewise.
37225         (gamma_test): Likewise.
37226         (lrint_test): Likewise.
37227         (lrint_test_tonearest): Likewise.
37228         (lrint_test_towardzero): Likewise.
37229         (lrint_test_downward): Likewise.
37230         (lrint_test_upward): Likewise.
37231         (llrint_test): Likewise.
37232         (llrint_test_tonearest): Likewise.
37233         (llrint_test_towardzero): Likewise.
37234         (llrint_test_downward): Likewise.
37235         (llrint_test_upward): Likewise.
37236         (log_test): Likewise.
37237         (log10_test): Likewise.
37238         (log1p_test): Likewise.
37239         (log2_test): Likewise.
37240         (logb_test): Likewise.
37241         (logb_test_downward): Likewise.
37242         (lround_test): Likewise.
37243         (llround_test): Likewise.
37244         (modf_test): Likewise.
37245         (nearbyint_test): Likewise.
37246         (nextafter_test): Likewise.
37247         (nexttoward_test): Likewise.
37248         (pow_test): Likewise.
37249         (pow_test_tonearest): Likewise.
37250         (pow_test_towardzero): Likewise.
37251         (pow_test_downward): Likewise.
37252         (pow_test_upward): Likewise.
37253         (remainder_test): Likewise.
37254         (drem_test): Likewise.
37255         (remainder_test_tonearest): Likewise.
37256         (drem_test_tonearest): Likewise.
37257         (remainder_test_towardzero): Likewise.
37258         (drem_test_towardzero): Likewise.
37259         (remainder_test_downward): Likewise.
37260         (drem_test_downward): Likewise.
37261         (remainder_test_upward): Likewise.
37262         (drem_test_upward): Likewise.
37263         (remquo_test): Likewise.
37264         (rint_test): Likewise.
37265         (rint_test_tonearest): Likewise.
37266         (rint_test_towardzero): Likewise.
37267         (rint_test_downward): Likewise.
37268         (rint_test_upward): Likewise.
37269         (round_test): Likewise.
37270         (scalb_test): Likewise.
37271         (scalbn_test): Likewise.
37272         (scalbln_test): Likewise.
37273         (signbit_test): Likewise.
37274         (sin_test): Likewise.
37275         (sin_test_tonearest): Likewise.
37276         (sin_test_towardzero): Likewise.
37277         (sin_test_downward): Likewise.
37278         (sin_test_upward): Likewise.
37279         (sincos_test): Likewise.
37280         (sinh_test): Likewise.
37281         (sinh_test_tonearest): Likewise.
37282         (sinh_test_towardzero): Likewise.
37283         (sinh_test_downward): Likewise.
37284         (sinh_test_upward): Likewise.
37285         (sqrt_test): Likewise.
37286         (sqrt_test_tonearest): Likewise.
37287         (sqrt_test_towardzero): Likewise.
37288         (sqrt_test_downward): Likewise.
37289         (sqrt_test_upward): Likewise.
37290         (tan_test): Likewise.
37291         (tan_test_tonearest): Likewise.
37292         (tan_test_towardzero): Likewise.
37293         (tan_test_downward): Likewise.
37294         (tan_test_upward): Likewise.
37295         (tanh_test): Likewise.
37296         (tgamma_test): Likewise.
37297         (trunc_test): Likewise.
37298         (y0_test): Likewise.
37299         (y1_test): Likewise.
37300         (yn_test): Likewise.
37301         (significand_test): Likewise.
37303         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
37304         individual tests in comment.
37305         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
37306         (prev_max_error): New variable.
37307         (prev_real_max_error): Likewise.
37308         (prev_imag_max_error): Likewise.
37309         (compare_ulp_data): Don't refer to test names in comment.
37310         (find_test_ulps): Remove function.
37311         (find_function_ulps): Likewise.
37312         (find_complex_function_ulps): Likewise.
37313         (init_max_error): Take function name as argument.  Look up ulps
37314         for that function.
37315         (print_ulps): Remove function.
37316         (print_max_error): Use prev_max_error instead of calling
37317         find_function_ulps.
37318         (print_complex_max_error): Use prev_real_max_error and
37319         prev_imag_max_error instead of calling find_complex_function_ulps.
37320         (check_float_internal): Take max_ulp parameter instead of calling
37321         find_test_ulps.  Don't call print_ulps.
37322         (check_float): Update call to check_float_internal.
37323         (check_complex): Update calls to check_float_internal.
37324         (START): Pass argument to init_max_error.
37325         * math/gen-libm-test.pl (%results): Don't include "kind"
37326         information.
37327         (parse_ulps): Don't handle ulps of individual tests.
37328         (print_ulps_file): Likewise.
37329         (output_ulps): Likewise.
37330         * math/README.libm-test: Update.
37331         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
37332         individual tests.
37333         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
37334         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
37335         * sysdeps/arm/libm-test-ulps: Likewise.
37336         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
37337         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
37338         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
37339         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
37340         * sysdeps/microblaze/libm-test-ulps: Likewise.
37341         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
37342         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37343         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37344         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
37345         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37346         * sysdeps/sh/libm-test-ulps: Likewise.
37347         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37348         * sysdeps/tile/libm-test-ulps: Likewise.
37349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37351 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
37353         * math/libm-test.inc (print_complex_max_error): Check separately
37354         whether real and imaginary errors are within allowed range and
37355         pass 0 to print_complex_function_ulps instead of value within
37356         allowed range.
37358 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37360         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
37361         formatting.
37362         (get_handles_fopen): Likewise.
37363         (do_write_test): Likewise.
37365         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
37367         * libio/fileops.c (do_ftell): Use cached offset when
37368         available.
37369         * libio/iofwide.c (do_ftell_wide): Likewise.
37370         * libio/iofdopen.c (_IO_new_fdopen): Don't use
37371         _IO_file_attach.
37372         * libio/wfileops.c (_IO_fwide): Don't cache offset.
37374         [BZ #16532]
37375         * libio/libioP.h (get_file_offset): New function.
37376         * libio/fileops.c (get_file_offset): Likewise.
37377         (do_ftell): Likewise.
37378         (_IO_new_file_seekoff): Split out ftell logic.
37379         * libio/wfileops.c (do_ftell_wide): Likewise.
37380         (_IO_wfile_seekoff): Split out ftell logic.
37381         * libio/tst-ftell-active-handler.c: New test case.
37382         * libio/Makefile (tests): Add it.
37384 2014-03-03  Roland McGrath  <roland@hack.frob.com>
37386         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
37387         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
37389 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37391         [BZ #16639]
37392         * nscd/connections.c (nscd_init): Call do_exit.
37393         (start_threads): Call do_exit and notify_parent.
37394         (begin_drop_privileges): Call do_exit.
37395         (finish_drop_privileges): Likewise.
37396         * nscd/selinux.c (preserve_capabilities): Likewise.
37397         (install_real_capabilities): Likewise.
37398         (nscd_selinux_enabled): Likewise.
37399         (avc_create_thread): Likewise.
37400         (avc_alloc_lock): Likewise.
37401         (nscd_avc_init): Likewise.
37402         * nscd/nscd.c (parent_fd): New static variable.
37403         (main): Create a pipe between parent and child processes.
37404         Skip closing parent_fd.
37405         (monitor_child): New function.
37406         (do_exit): Likewise.
37407         (notify_parent): Likewise.
37408         * nscd/nscd.h (notify_parent): Likewise.
37409         (do_exit): Likewise.
37411 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
37413         * malloc/malloc.c (__libc_calloc): Revert last change.
37415 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37419 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37421         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
37422         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
37423         implementation.
37424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37425         (__libc_ifunc_impl_list): Likewise.
37426         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
37427         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
37428         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
37429         * string/strrchr.c: Define STRRCHR.
37431 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
37433         * benchtest/bench-strtok.c (simple_strtok): Delete.
37434         (strtok_string): Use as benchmark.
37435         * string/strtok (STRTOK): New macro.
37437 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
37439         * manual/threads.texi: Add header and standard comments to all
37440         functions.
37442         * elf/dl-lookup.c (check_match): New function.
37443         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
37444         (do_lookup_x): Remove nested function check_match. Use non-nested
37445         function check_match.
37447 2014-02-28  Roland McGrath  <roland@hack.frob.com>
37449         * csu/Makefile (generated, before-compile): Use += rather than =.
37450         * catgets/Makefile (generated, generated-dirs): Likewise.
37451         * debug/Makefile (generated): Likewise.
37452         * dlfcn/Makefile (generated): Likewise.
37453         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
37454         * iconvdata/Makefile (before-compile, generated): Likewise.
37455         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
37456         * libio/Makefile (generated): Likewise.
37457         * malloc/Makefile (generated): Likewise.
37458         * manual/Makefile (generated, generated-dirs): Likewise.
37459         * misc/Makefile (generated): Likewise.
37460         * posix/Makefile (generated): Likewise.
37461         * resolv/Makefile (generated): Likewise.
37462         * sunrpc/Makefile (generated, generated-dirs): Likewise.
37463         * timezone/Makefile (generated, generated-dirs): Likewise.
37465         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
37467 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37469         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37470         power8 implementation.
37471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
37472         file: POWER8 llround ifunc implementation.
37473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
37474         (__lllround): Add POWER8 implementation.
37475         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
37476         POWER8 llround implementation.
37478         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
37479         power8 implementation.
37480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
37481         file: POWER8 llrint ifunc implementation.
37482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
37483         Add POWER8 implementation.
37484         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
37485         POWER8 llrint implementation.
37487         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
37488         power8 implementation.
37489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
37490         file: POWER8 finite ifunc implementation.
37491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
37492         Add POWER8 implementation.
37493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
37494         Likewise.
37495         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
37496         POWER8 finite implementation.
37497         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
37499         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
37500         power8 implementation.
37501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
37502         file: POWER8 isinf ifunc implementation.
37503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
37504         POWER8 implementation.
37505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
37506         Likewise.
37507         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
37508         isinf implementation.
37509         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
37511         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
37512         (INIT_ARCH): Add hwcap2 initialization.
37513         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37514         power8 implementation.
37515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
37516         file: POWER8 isnan ifunc implementation.
37517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
37518         POWER8 implementation.
37519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
37520         Likewise.
37521         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
37522         isnan implementation.
37523         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
37525 2014-02-27  Joey Ye  <joey.ye@arm.com>
37527         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37528         (_FP_NANFRAC_Q): Set to zero.
37530 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37532         [BZ #16623]
37533         * math/auto-libm-test-in: New test inputs.
37534         * math/auto-libm-test-out: Regenerate.
37535         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
37536         and DA.
37537         (__cos): Likewise.
37538         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37540 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
37542         * scripts/evaluate-test.sh: Take new argument indicating whether
37543         failure is expected.
37544         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
37545         indicating whether failure is expected.
37546         * conform/Makefile (test-xfail-run-conformtest): New variable.
37547         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
37548         level.
37549         * posix/Makefile (test-xfail-annexc): New variable.
37550         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
37552 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
37554         * argp/Makefile: Include Makeconfig immediately after defining
37555         subdir.
37556         * assert/Makefile: Likewise.
37557         * benchtests/Makefile: Likewise.
37558         * catgets/Makefile: Likewise.
37559         * conform/Makefile: Likewise.
37560         * crypt/Makefile: Likewise.
37561         * csu/Makefile: Likewise.
37562         (all): Remove target.
37563         * ctype/Makefile: Include Makeconfig immediately after defining
37564         subdir.
37565         * debug/Makefile: Likewise.
37566         * dirent/Makefile: Likewise.
37567         * dlfcn/Makefile: Likewise.
37568         * gmon/Makefile: Likewise.
37569         * gnulib/Makefile: Likewise.
37570         * grp/Makefile: Likewise.
37571         * gshadow/Makefile: Likewise.
37572         * hesiod/Makefile: Likewise.
37573         * hurd/Makefile: Likewise.
37574         (all): Remove target.
37575         * iconvdata/Makefile: Include Makeconfig immediately after
37576         defining subdir.
37577         * inet/Makefile: Likewise.
37578         * intl/Makefile: Likewise.
37579         * io/Makefile: Likewise.
37580         * libio/Makefile: Likewise.
37581         (all): Remove target.
37582         * locale/Makefile: Include Makeconfig immediately after defining
37583         subdir.
37584         * login/Makefile: Likewise.
37585         * mach/Makefile: Likewise.
37586         (all): Remove target.
37587         * malloc/Makefile: Include Makeconfig immediately after defining
37588         subdir.
37589         (all): Remove target.
37590         * manual/Makefile: Include Makeconfig immediately after defining
37591         subdir.
37592         * math/Makefile: Likewise.
37593         * misc/Makefile: Likewise.
37594         * nis/Makefile: Likewise.
37595         * nss/Makefile: Likewise.
37596         * po/Makefile: Likewise.
37597         (all): Remove target.
37598         * posix/Makefile: Include Makeconfig immediately after defining
37599         subdir.
37600         * pwd/Makefile: Likewise.
37601         * resolv/Makefile: Likewise.
37602         * resource/Makefile: Likewise.
37603         * rt/Makefile: Likewise.
37604         * setjmp/Makefile: Likewise.
37605         * shadow/Makefile: Likewise.
37606         * signal/Makefile: Likewise.
37607         * socket/Makefile: Likewise.
37608         * soft-fp/Makefile: Likewise.
37609         * stdio-common/Makefile: Likewise.
37610         * stdlib/Makefile: Likewise.
37611         * streams/Makefile: Likewise.
37612         * string/Makefile: Likewise.
37613         * sunrpc/Makefile: Likewise.
37614         (all): Remove target.
37615         * sysvipc/Makefile: Include Makeconfig immediately after defining
37616         subdir.
37617         * termios/Makefile: Likewise.
37618         * time/Makefile: Likewise.
37619         * timezone/Makefile: Likewise.
37620         (all): Remove target.
37621         * wcsmbs/Makefile: Include Makeconfig immediately after defining
37622         subdir.
37623         * wctype/Makefile: Likewise.
37625 2014-02-26  Steve Ellcey  <sellcey@mips.com>
37627         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
37628         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
37629         (libc_feholdexcept_setround_mips): Ditto.
37630         (libc_feholdsetround): New.
37631         (libc_feholdsetroundf): New.
37632         (libc_feholdsetroundl): New.
37633         (libc_feupdateenv_test_mips): New.
37634         (libc_feupdateenv_test): New.
37635         (libc_feupdateenv_testf): New.
37636         (libc_feupdateenv_testl): New.
37637         (libc_feresetround): New.
37638         (libc_feresetroundf): New.
37639         (libc_feresetroundl): New.
37640         (libc_fetestexcept_mips): New.
37641         (libc_fetestexcept): New.
37642         (libc_fetestexceptf): New.
37643         (libc_fetestexceptl): New.
37644         (HAVE_RM_CTX): New.
37645         (libc_feholdexcept_setround_mips_ctx): New.
37646         (libc_feholdexcept_setround_ctx): New.
37647         (libc_feholdexcept_setroundf_ctx): New.
37648         (libc_feholdexcept_setroundl_ctx): New.
37649         (libc_fesetenv_mips_ctx): New.
37650         (libc_fesetenv_ctx): New.
37651         (libc_fesetenv_ctxf): New.
37652         (libc_fesetenv_ctxl): New.
37653         (libc_feupdateenv_mips_ctx): New.
37654         (libc_feupdateenv_ctx): New.
37655         (libc_feupdateenvf_ctx): New.
37656         (libc_feupdateenvl_ctx): New.
37657         (libc_feholdsetround_mips_ctx): New.
37658         (libc_feholdsetround_ctx): New.
37659         (libc_feholdsetroundf_ctx): New.
37660         (libc_feholdsetroundl_ctx): New.
37661         (libc_feresetround_mips_ctx): New.
37662         (libc_feresetround_ctx): New.
37663         (libc_feresetroundf_ctx): New.
37664         (libc_feresetroundl_ctx): New.
37666 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
37668         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
37670         * manual/ipc.texi: New file.
37671         * manual/Makefile (chapters): Add ipc.
37672         * manual/job.texi: Add "Inter-Process Communication" to next.
37673         * manual/process.texi: Add "Inter-Process Communication" to prev.
37675 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37677         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37679 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
37681         * malloc/malloc.c (__libc_calloc): Simplify implementation.
37683         * manual/arith.texi: Fix spaces after sentences.
37684         * manual/charset.texi: Likewise.
37685         * manual/errno.texi: Likewise.
37686         * manual/install.texi: Likewise.
37687         * manual/llio.texi: Likewise.
37688         * manual/locale.texi: Likewise.
37689         * manual/maint.texi: Likewise.
37690         * manual/math.texi: Likewise.
37691         * manual/memory.texi: Likewise.
37692         * manual/message.texi: Likewise.
37693         * manual/probes.texi: Likewise.
37694         * manual/resource.texi: Likewise.
37695         * manual/signal.texi: Likewise.
37696         * manual/socket.texi: Likewise.
37697         * manual/stdio.texi: Likewise.
37698         * manual/string.texi: Likewise.
37699         * manual/time.texi: Likewise.
37700         * manual/users.texi: Likewise.
37702 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
37704         [BZ #16632]
37705         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
37706         _DEFAULT_SOURCE is defined.
37708 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
37709             Carlos O'Donell  <carlos@redhat.com>
37711         [BZ #16613]
37712         * elf/dl-tls.c (_dl_count_modids): New function.
37713         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
37714         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
37715         audit library and increment generation counter.
37716         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
37717         * elf/tst-audit9.c: New file.
37718         * elf/tst-auditmod9a.c: New file.
37719         * elf/tst-auditmod9b.c: New file.
37720         * elf/Makefile: Add rules to build and run tst-audit9.
37722 2014-02-25  Florian Weimer  <fweimer@redhat.com>
37724         [BZ #15347]
37725         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
37727 2014-02-25  Will Newton  <will.newton@linaro.org>
37729         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
37730         (__longjmp): Restore sp and lr before restoring callee
37731         saved registers.  Add longjmp and longjmp_target
37732         SystemTap probe point.
37733         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
37734         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
37735         Define to zero to match jmpbuf layout.
37736         * sysdeps/arm/setjmp.S: Include stap-probe.h.
37737         (__sigsetjmp): Save sp and lr before saving callee
37738         saved registers.  Add setjmp SystemTap probe point.
37740 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37742         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37744 2014-02-24  Andreas Schwab  <schwab@suse.de>
37746         [BZ #15804]
37747         * elf/pldd.c (wait_for_ptrace_stop): New function.
37748         (main): Call it after attaching.
37750 2014-02-22  Roland McGrath  <roland@hack.frob.com>
37752         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
37753         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
37754         Versions files is now verboten.
37755         * hurd/Versions (libc: GLIBC_2.0):
37756         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
37757         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
37758         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
37759         * mach/Versions: Likewise.
37761         * csu/Versions: Remove unused %include.
37762         * resolv/Versions: Likewise.
37764 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
37766         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
37767         ($(objpfx)check-local-headers.out): Likewise.
37768         ($(objpfx)begin-end-check.out): Likewise.
37769         * Makerules (check-abi-%.out): Likewise.
37770         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
37771         ($(objpfx)test2.cat): Likewise.
37772         ($(objpfx)de/libc.cat): Likewise.
37773         ($(objpfx)test-gencat.out): Likewise.
37774         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
37775         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
37776         ($(objpfx)noload-mem): Likewise.
37777         ($(objpfx)tst-pathopt.out): Likewise.
37778         ($(objpfx)tst-rtld-load-self.out): Likewise.
37779         ($(objpfx)tst-array1-cmp.out): Likewise.
37780         ($(objpfx)tst-array1-static-cmp.out): Likewise.
37781         ($(objpfx)tst-array2-cmp.out): Likewise.
37782         ($(objpfx)tst-array3-cmp.out): Likewise.
37783         ($(objpfx)tst-array4-cmp.out): Likewise.
37784         ($(objpfx)tst-array5-cmp.out): Likewise.
37785         ($(objpfx)tst-array5-static-cmp.out): Likewise.
37786         ($(objpfx)check-textrel.out): Likewise.
37787         ($(objpfx)check-execstack.out): Likewise.
37788         ($(objpfx)check-localplt.out): Likewise.
37789         ($(objpfx)order2-cmp.out): Likewise.
37790         ($(objpfx)tst-leaks1-mem): Likewise.
37791         ($(objpfx)tst-leaks1-static-mem): Likewise.
37792         ($(objpfx)tst-initorder-cmp.out): Likewise.
37793         ($(objpfx)tst-initorder2-cmp.out): Likewise.
37794         ($(objpfx)tst-unused-dep.out): Likewise.
37795         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
37796         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37797         * iconv/Makefile (test-iconvconfig): Likewise.
37798         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
37799         ($(objpfx)iconv-test.out): Likewise.
37800         ($(objpfx)tst-tables.out): Likewise.
37801         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
37802         ($(objpfx)tst-gettext.out): Likewise.
37803         ($(objpfx)tst-translit.out): Likewise.
37804         ($(objpfx)tst-gettext2.out): Likewise.
37805         ($(objpfx)tst-gettext4.out): Likewise.
37806         ($(objpfx)tst-gettext6.out): Likewise.
37807         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
37808         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37809         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
37810         ($(objpfx)tst-fopenloc-mem.out): Likewise.
37811         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37812         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
37813         * posix/Makefile ($(objpfx)globtest.out): Likewise.
37814         ($(objpfx)wordexp-tst.out): Likewise.
37815         ($(objpfx)annexc.out): Likewise.
37816         ($(objpfx)tst-fnmatch-mem): Likewise.
37817         ($(objpfx)bug-regex2-mem): Likewise.
37818         ($(objpfx)bug-regex14-mem): Likewise.
37819         ($(objpfx)bug-regex21-mem): Likewise.
37820         ($(objpfx)bug-regex31-mem): Likewise.
37821         ($(objpfx)tst-vfork3-mem): Likewise.
37822         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37823         ($(objpfx)tst-pcre-mem): Likewise.
37824         ($(objpfx)tst-boost-mem): Likewise.
37825         ($(objpfx)tst-getconf.out): Likewise.
37826         ($(objpfx)bug-ga2-mem): Likewise.
37827         ($(objpfx)bug-glob2-mem): Likewise.
37828         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
37829         ($(objpfx)mtrace-tst-leaks2): Likewise.
37830         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
37831         ($(objpfx)tst-printf.out): Likewise.
37832         ($(objpfx)tst-setvbuf1.out): Likewise.
37833         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
37834         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
37835         ($(objpfx)tst-fmtmsg.out): Likewise.
37836         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
37837         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
37839         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
37840         * bits/sigaction.h [__USE_MISC]: Likewise.
37841         * bits/waitstatus.h: Update #endif comments.
37842         * ctype/ctype.h: Likewise.
37843         * dirent/dirent.h: Likewise.
37844         [__USE_MISC]: Remove redundant conditionals.
37845         * grp/grp.h: Update #endif comments.
37846         [__USE_GNU]: Remove redundant conditionals.
37847         [__USE_MISC]: Likewise.
37848         * inet/netinet/in.h [__USE_GNU]: Likewise.
37849         * io/sys/stat.h [__USE_MISC]: Likewise.
37850         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
37851         * libio/bits/stdio.h: Update #endif comments.
37852         [__USE_MISC]: Remove redundant conditionals.
37853         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
37854         * libio/stdio.h: Update #endif comments.
37855         [__USE_MISC]: Remove redundant conditionals.
37856         * math/bits/math-finite.h [__USE_MISC]: Likewise.
37857         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
37858         * math/math.h: Update #else and #endif comments.
37859         [__USE_MISC]: Remove redundant conditionals.
37860         * misc/sys/uio.h: Update #endif comments.
37861         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
37862         * posix/glob.h [__USE_MISC]: Likewise.
37863         * posix/sys/types.h: Update #endif comments.
37864         [__USE_MISC]: Remove redundant conditionals.
37865         * posix/sys/wait.h: Update #endif comments.
37866         [__USE_MISC]: Remove redundant conditionals.
37867         * posix/unistd.h: Update #endif comments.
37868         [__USE_MISC]: Remove redundant conditionals.
37869         * pwd/pwd.h [__USE_GNU]: Likewise.
37870         [__USE_MISC]: Likewise.
37871         * resolv/netdb.h [__USE_GNU]: Likewise.
37872         * signal/signal.h: Update #endif comments.
37873         [__USE_MISC]: Remove redundant conditionals.
37874         * stdlib/stdlib.h: Update #else and #endif comments.
37875         [__USE_MISC]: Remove redundant conditionals.
37876         [__USE_GNU]: Likewise.
37877         * string/bits/string2.h [__USE_MISC]: Likewise.
37878         * string/string.h: Update #endif comments.
37879         [__USE_MISC]: Remove redundant conditionals.
37880         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
37881         Likewise.
37882         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
37883         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
37884         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
37885         Likewise.
37886         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
37887         Likewise.
37888         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
37889         comments.
37890         [__USE_MISC]: Remove redundant conditionals.
37891         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
37892         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
37893         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
37894         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
37895         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
37896         Likewise.
37897         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
37898         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
37899         Likewise.
37900         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
37901         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
37902         Likewise.
37903         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
37904         Likewise.
37905         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
37906         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
37907         Likewise.
37908         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
37909         Likewise.
37910         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
37911         * sysdeps/x86/bits/string.h: Update #endif comments.
37912         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
37913         conditionals.
37914         * time/sys/time.h: Update #endif comments.
37915         * time/time.h: Likewise.
37916         [__USE_MISC]: Remove redundant conditionals.
37918 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
37920         [BZ #16600]
37921         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
37923 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
37925         * Versions.def (librt): Add GLIBC_2.17.
37927 2014-02-21  Adam Conrad  <adconrad@0c3.net>
37929         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
37930         synonym for _SYS_AUXV_H to allow direct inclusion.
37931         * sysdeps/sparc/bits/hwcap.h: Likewise.
37932         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
37933         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
37934         * sysdeps/sparc/sysdep.h: Likewise.
37936 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37938         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
37940 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37942         * benchtests/bench-strrchr.c: Print length instead of position.
37944 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
37946         [BZ #16611]
37947         * sysdeps/unix/sysv/linux/kernel-features.h
37948         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
37949         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
37950         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
37951         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
37952         Likewise.
37953         [__i386__ || __powerpc__ || __sh__ || __sparc__]
37954         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37955         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
37956         (__ASSUME_SENDMMSG): Define instead of using previous
37957         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
37958         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37959         (__ASSUME_SENDMMSG_SYSCALL): Define.
37960         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37961         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
37962         Likewise.
37963         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37964         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37965         Likewise.
37966         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37967         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37968         Likewise.
37969         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
37970         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37971         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37972         [__ASSUME_SENDMMSG]: Change conditionals to
37973         [__ASSUME_SENDMMSG_SOCKETCALL].
37974         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37975         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
37976         Define.
37977         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37978         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
37979         Likewise.
37980         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
37981         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37982         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37983         [!__ASSUME_SENDMMSG]: Change conditional to
37984         [!__ASSUME_SENDMMSG_SOCKETCALL].
37985         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37986         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37987         Define.
37989         [BZ #16610]
37990         * sysdeps/unix/sysv/linux/kernel-features.h
37991         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
37992         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
37993         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
37994         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
37995         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37996         [__i386__ || __sparc__]
37997         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37998         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
37999         (__ASSUME_RECVMMSG): Define instead of using previous
38000         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
38001         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38002         (__ASSUME_RECVMMSG_SYSCALL): Define.
38003         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38004         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38005         Likewise.
38006         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38007         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38008         Likewise.
38009         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38010         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38011         Likewise.
38012         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
38013         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38014         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38015         [__ASSUME_RECVMMSG]: Change condition to
38016         [__ASSUME_RECVMMSG_SOCKETCALL].
38017         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38018         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38019         Define.
38020         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38021         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38022         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38023         Likewise.
38024         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
38025         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38026         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38027         [!__ASSUME_RECVMMSG]: Change condition to
38028         [!__ASSUME_RECVMMSG_SOCKETCALL].
38029         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38030         (__ASSUME_RECVMMSG_SYSCALL): Define.
38032         [BZ #16609]
38033         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
38034         __powerpc__ || __s390__ || __sh__ || __sparc__]
38035         (__ASSUME_SOCKETCALL): Define.
38036         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
38037         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
38038         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
38039         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
38040         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38041         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
38042         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
38043         (__ASSUME_ACCEPT4): Define instead of using previous
38044         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
38045         __powerpc__ || __sparc__ || __s390__)] condition.
38046         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38047         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38048         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
38049         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38050         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38051         [!__ASSUME_ACCEPT4]: Change condition to
38052         [!__ASSUME_ACCEPT4_SOCKETCALL].
38053         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38054         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
38055         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
38056         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38057         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
38058         __ASSUME_ACCEPT4_SYSCALL.
38059         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
38060         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
38061         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38062         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
38063         __ASSUME_ACCEPT4_SYSCALL.
38064         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
38065         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38066         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38067         [__ASSUME_ACCEPT4]: Change condition to
38068         [__ASSUME_ACCEPT4_SOCKETCALL].
38069         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38070         (__ASSUME_SOCKETCALL): Define.
38071         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
38072         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38073         (__ASSUME_SOCKETCALL): Define.
38074         (__ASSUME_ACCEPT4): Remove.
38075         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
38076         Define.
38077         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38078         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
38079         Likewise.
38080         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38081         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38083         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
38084         macro.
38085         (HWCAP_ARM_LPAE): Likewise.
38086         (HWCAP_ARM_EVTSTRM): Likewise.
38087         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
38088         Add vpfd32, lpae and evtstrm.
38089         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
38090         Increase to 22.
38092 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
38094         * math/auto-libm-test-in: Add tests of clog10.
38095         * math/auto-libm-test-out: Regenerated.
38096         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
38097         * sysdeps/i386/fpu/libm-test-ulps: Update.
38098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38100 2014-02-18  Andreas Schwab  <schwab@suse.de>
38102         [BZ #16574]
38103         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
38104         Store non-zero if the second buffer was newly allocated.
38105         (send_dg): Likewise.
38106         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
38107         to send_vc and send_dg.
38108         (res_nsend): Pass NULL for ansp2_malloced.
38109         * resolv/res_query.c (__libc_res_nquery): Add parameter
38110         answerp2_malloced and pass it down to __libc_res_nsend.
38111         (res_nquery): Pass additional NULL to __libc_res_nquery.
38112         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
38113         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
38114         second answer buffer if answerp2_malloced was set.
38115         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
38116         (__libc_res_nquerydomain): Add parameter
38117         answerp2_malloced and pass it down to __libc_res_nquery.
38118         (res_nquerydomain): Pass additional NULL to
38119         __libc_res_nquerydomain.
38120         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
38121         additional NULL to __libc_res_nsend and __libc_res_nquery.
38122         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
38123         additional NULL to __libc_res_nsearch.
38124         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
38125         parameter of __libc_res_nsearch to check for separately allocated
38126         second buffer.
38127         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
38128         __libc_res_nquery.
38129         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
38130         additional NULL to __libc_res_nquery.
38131         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
38132         __libc_res_nsearch.
38133         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
38134         * include/resolv.h: Update prototypes of __libc_res_nquery,
38135         __libc_res_nsearch, __libc_res_nsend.
38137 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
38139         * math/auto-libm-test-in: Add tests of fma.
38140         * math/auto-libm-test-out: Regenerated.
38141         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
38142         (fma_towardzero_test_data): Likewise.
38143         (fma_downward_test_data): Likewise.
38144         (fma_upward_test_data): Likewise.
38145         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
38146         mpc_mode.
38147         (rounding_modes): Add values for new field.
38148         (func_calc_method): Add value mpfr_fff_f.
38149         (func_calc_desc): Add mpfr_fff_f union field.
38150         (test_function): Add field exact_args.
38151         (FUNC): Add macro argument EXACT_ARGS.
38152         (FUNC_mpfr_f_f): Update call to FUNC.
38153         (FUNC_mpfr_f_f): Likewise.
38154         (FUNC_mpfr_ff_f): Likewise.
38155         (FUNC_mpfr_if_f): Likewise.
38156         (FUNC_mpc_c_f): Likewise.
38157         (FUNC_mpc_c_c): Likewise.
38158         (test_functions): Add fma.  Update calls to FUNC.
38159         (handle_input_arg): Add argument exact_args.
38160         (add_test): Update call to handle_input_arg.
38161         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
38162         (output_for_one_input_case): Update call to calc_generic_results.
38163         Recalculate exact zero results in each rounding mode.
38165         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
38166         non-negative before setting low bit.
38167         * math/auto-libm-test-in: Mark one asin test possibly having
38168         spurious underflow.
38169         * math/auto-libm-test-out: Regenerated.
38170         * sysdeps/i386/fpu/libm-test-ulps: Update.
38171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38173 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
38175         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
38176         * sysdeps/unix/sysv/linux/microblaze: Move directory from
38177         ports/sysdeps/unix/sysv/linux/microblaze.
38178         * README: Add missing listing for microblaze*-*-linux-gnu.
38180 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
38182         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
38183         duplicate code
38185 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
38187         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
38188         * sysdeps/unix/sysv/linux/ia64: Move directory from
38189         ports/sysdeps/unix/sysv/linux/ia64.
38190         * README: Update listing for ia64-*-linux-gnu.
38192 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
38193             Joseph Myers  <joseph@codesourcery.com>
38195         * Makeconfig (test-name): New variable.
38196         (evaluate-test): Likewise.
38197         * Makerules (do-test-clean): Remove .test-result files.
38198         (common-mostlyclean): Likewise.
38199         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
38200         * scripts/evaluate-test.sh: New file.
38202 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
38204         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
38205         separate $(objpfx)tst-fopenloc-cmp.out and
38206         $(objpfx)tst-fopenloc-mem.out targets.
38207         (tests): Update dependencies.
38208         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
38209         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
38210         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
38211         (tst-rxspencer-no-utf8-ARGS): New variable.
38212         (tst-rxspencer-no-utf8-ENV): Likewise.
38213         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
38214         instead of $(objpfx)tst-rxspencer-mem.
38215         ($(objpfx)tst-rxspencer-mem): Change target to
38216         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
38217         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
38218         * posix/tst-rxspencer-no-utf8.c: New file.
38220         * elf/Makefile ($(objpfx)order.out): Remove rule.
38221         [$(run-built-tests) = yes] (tests): Depend on
38222         $(objpfx)order-cmp.out.
38223         ($(objpfx)order-cmp.out): New rule.
38224         [$(run-built-tests) = yes] (tests): Depend on
38225         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
38226         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
38227         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
38228         $(objpfx)tst-array5-static-cmp.out.
38229         ($(objpfx)tst-array1.out): Remove rule.
38230         ($(objpfx)tst-array1-cmp.out): New rule.
38231         ($(objpfx)tst-array1-static.out): Remove rule.
38232         ($(objpfx)tst-array1-static-cmp.out): New rule.
38233         ($(objpfx)tst-array2.out): Remove rule.
38234         ($(objpfx)tst-array2-cmp.out): New rule.
38235         ($(objpfx)tst-array3.out): Remove rule.
38236         ($(objpfx)tst-array3-cmp.out): New rule.
38237         ($(objpfx)tst-array4.out): Remove rule.
38238         ($(objpfx)tst-array4-cmp.out): New rule.
38239         ($(objpfx)tst-array5.out): Remove rule.
38240         ($(objpfx)tst-array5-cmp.out): New rule.
38241         ($(objpfx)tst-array5-static.out): Remove rule.
38242         ($(objpfx)tst-array5-static-cmp.out): New rule.
38243         [$(run-built-tests) = yes] (tests): Depend on
38244         $(objpfx)order2-cmp.out.
38245         ($(objpfx)order2.out): Remove rule.
38246         ($(objpfx)order2-cmp.out): New rule.
38247         ($(objpfx)tst-initorder.out): Remove rule.
38248         [$(run-built-tests) = yes] (tests): Depend on
38249         $(objpfx)tst-initorder-cmp.out.
38250         ($(objpfx)tst-initorder-cmp.out): New rule.
38251         ($(objpfx)tst-initorder2.out): Remove rule.
38252         [$(run-built-tests) = yes] (tests): Depend on
38253         $(objpfx)tst-initorder2-cmp.out.
38254         ($(objpfx)tst-initorder2-cmp.out): New rule.
38255         [$(run-built-tests) = yes] (tests): Depend on
38256         $(objpfx)tst-unused-dep-cmp.out.
38257         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
38258         ($(objpfx)tst-unused-dep-cmp.out): New rule.
38259         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
38260         on $(objpfx)tst-setvbuf1-cmp.out.
38261         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
38262         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
38263         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
38264         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
38265         ($(objpfx)tst-svc.out): Remove rule.
38266         ($(objpfx)tst-svc-cmp.out): New rule.
38268 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
38270         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
38271         * ctype/ctype.h [__USE_MISC]: Likewise.
38272         * dirent/dirent.h [__USE_MISC]: Likewise.
38273         * grp/grp.h [__USE_MISC]: Likewise.
38274         * io/fcntl.h [__USE_MISC]: Likewise.
38275         * io/sys/stat.h [__USE_MISC]: Likewise.
38276         * libio/stdio.h [__USE_MISC]: Likewise.
38277         * posix/unistd.h [__USE_MISC]: Likewise.
38278         * pwd/pwd.h [__USE_MISC]: Likewise.
38279         * stdlib.h [__USE_MISC]: Likewise.
38280         * string/bits/string2.h [__USE_MISC]: Likewise.
38281         * string/string.h [__USE_MISC]: Likewise.
38282         * time/time.h [__USE_MISC]: Likewise.
38284 2014-02-13  Andreas Schwab  <schwab@suse.de>
38286         [BZ #16574]
38287         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
38288         second answer buffer if it was separately allocated.
38290 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
38292         * sysdeps/mips/math-tests.h: Include <features.h>.
38293         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38294         (ROUNDING_TESTS_long_double): Do not define.
38295         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38296         (EXCEPTION_TESTS_long_double): Likewise.
38297         * sysdeps/mips/mips64/libm-test-ulps: Update.
38299         * include/features.h (__USE_BSD): Remove macro definitions.
38300         (__USE_SVID): Likewise.
38301         (_BSD_SOURCE): Likewise.
38302         (_SVID_SOURCE): Likewise.
38303         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
38304         from definition of _DEFAULT_SOURCE.
38305         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
38306         [_DEFAULT_SOURCE].
38307         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
38308         * bits/mman.h [__USE_BSD]: Likewise.
38309         * bits/termios.h [__USE_BSD]: Likewise.
38310         * bits/waitstatus.h [__USE_BSD]: Likewise.
38311         * ctype/ctype.h [__USE_SVID]: Likewise.
38312         * dirent/dirent.h [__USE_BSD]: Likewise.
38313         * grp/grp.h [__USE_SVID]: Likewise.
38314         [__USE_BSD]: Likewise.
38315         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
38316         * io/fcntl.h [__USE_BSD]: Likewise.
38317         * io/ftw.h [__USE_BSD]: Likewise.
38318         * io/sys/stat.h [__USE_BSD]: Likewise.
38319         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
38320         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
38321         * libio/stdio.h [__USE_SVID]: Likewise.
38322         [__USE_BSD]: Likewise.
38323         * math/math.h [__USE_SVID]: Likewise.
38324         [__USE_BSD]: Likewise.
38325         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
38326         * misc/bits/syslog.h [__USE_BSD]: Likewise.
38327         * misc/search.h [__USE_SVID]: Likewise.
38328         * misc/sys/mman.h [__USE_BSD]: Likewise.
38329         * misc/sys/syslog.h [__USE_BSD]: Likewise.
38330         * misc/sys/uio.h [__USE_BSD]: Likewise.
38331         * posix/bits/unistd.h [__USE_BSD]: Likewise.
38332         * posix/glob.h [__USE_BSD]: Likewise.
38333         * posix/regex.h [__USE_BSD]: Likewise.
38334         * posix/sys/types.h [__USE_BSD]: Likewise.
38335         [__USE_SVID]: Likewise.
38336         * posix/sys/utsname.h [__USE_SVID]: Likewise.
38337         * posix/sys/wait.h [__USE_BSD]: Likewise.
38338         [__USE_SVID]: Likewise.
38339         * posix/unistd.h [__USE_BSD]: Likewise.
38340         [__USE_SVID]: Likewise.
38341         * pwd/pwd.h [__USE_SVID]: Likewise.
38342         * resolv/netdb.h [__USE_BSD]: Likewise.
38343         * setjmp/setjmp.h [__USE_BSD]: Likewise.
38344         * signal/signal.h [__USE_BSD]: Likewise.
38345         [__USE_SVID]: Likewise.
38346         * socket/sys/socket.h [__USE_BSD]: Likewise.
38347         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
38348         * stdlib/stdlib.h [__USE_BSD]: Likewise.
38349         [__USE_SVID]: Likewise.
38350         * string/bits/string2.h [__USE_BSD]: Likewise.
38351         [__USE_SVID]: Likewise.
38352         * string/bits/string3.h [__USE_BSD]: Likewise.
38353         * string/endian.h [__USE_BSD]: Likewise.
38354         * string/string.h [__USE_SVID]: Likewise.
38355         [__USE_BSD]: Likewise.
38356         * string/strings.h [__USE_BSD]: Likewise.
38357         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
38358         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
38359         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
38360         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
38361         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
38362         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
38363         Likewise.
38364         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
38365         Likewise.
38366         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
38367         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
38368         Likewise.
38369         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
38370         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
38371         Likewise.
38372         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
38373         Likewise.
38374         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
38375         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
38376         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
38377         Likewise.
38378         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
38379         Likewise.
38380         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
38381         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
38382         * termios/termios.h [__USE_BSD]: Likewise.
38383         * time/sys/time.h [__USE_BSD]: Likewise.
38384         * time/time.h [__USE_BSD]: Likewise.
38385         [__USE_SVID]: Likewise.
38387         * Makefile (subdir_targets): Remove subdir_lint.out.
38389         * stdio-common/Makefile (do-tst-unbputc): Remove target.
38390         (do-tst-printf): Likewise.
38391         (tests): Depend directly on $(objpfx)tst-unbputc.out and
38392         $(objpfx)tst-printf.out.
38394         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
38396         * Makerules (check-abi-%): Change target to
38397         $(objpfx)check-abi-%.out.
38398         (check-abi target): Update dependencies.
38399         (check-abi-pattern variable): Redirect output of diff to $@.
38400         (check-abi variable): Likewise.
38401         * elf/Makefile (check-abi): Update dependencies.
38403         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
38404         unused.
38405         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
38406         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
38407         subnormal range.
38408         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
38409         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
38410         value has largest subnormal exponent.
38411         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
38412         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
38413         * sysdeps/aarch64/soft-fp/sfp-machine.h
38414         (_FP_TININESS_AFTER_ROUNDING): New macro.
38415         * sysdeps/alpha/soft-fp/sfp-machine.h
38416         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38417         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38418         Likewise.
38419         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
38420         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38421         * sysdeps/mips/soft-fp/sfp-machine.h
38422         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38423         * sysdeps/powerpc/soft-fp/sfp-machine.h
38424         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38425         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38426         Likewise.
38427         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38428         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38429         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38430         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38431         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38432         Likewise.
38434 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
38436         [BZ #16545]
38437         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
38438         model 1.
38440 2014-02-12  Richard Henderson  <rth@redhat.com>
38442         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
38443         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
38444         * sysdeps/unix/sysv/linux/alpha: Move directory from
38445         ports/sysdeps/unix/sysv/linux/alpha.
38446         * README: Update listing for alpha-*-linux-gnu.
38448 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
38450         * include/features.h: Update comment documenting feature test
38451         macros.
38452         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
38453         _DEFAULT_SOURCE.
38454         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
38455         (_SVID_SOURCE): Likewise.
38456         (_DEFAULT_SOURCE): Update description of default features.
38457         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
38458         with _GNU_SOURCE.
38459         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
38460         (S_ISVTX): Likewise.
38461         * manual/math.texi (Mathematical Constants): Likewise.
38462         * manual/signal.texi (Interrupted Primitives): Likewise.
38463         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
38464         * math/test-matherr.c (_SVID_SOURCE): Do not define.
38465         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
38466         Don't refer to _SVID_SOURCE in warning text.
38468         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38470         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
38471         already defined.
38472         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
38473         * sysdeps/mips/dl-lookup.c: Remove.
38474         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
38476 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38478         [BZ #16447]
38479         * math/auto-libm-test-in: Add testcase for expl.
38480         * math/auto-libm-test-out: Regenerate.
38481         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
38482         calculation of unsafe.
38483         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
38485 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38487         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
38488         * sysdeps/unix/sysv/linux/aarch64: Move directory from
38489         ports/sysdeps/unix/sysv/linux/aarch64.
38490         * README: Update listing for aarch64*-*-linux-gnu.
38492 2014-02-11  Will Newton  <will.newton@linaro.org>
38494         * manual/probes.texi (Mathematical Function Probes): Use
38495         "triggered" instead of "hit".
38497         * manual/probes.texi (Internal Probes): Add documentation
38498         of setjmp, longjmp and longjmp_target probes.
38500         * include/stap-probe.h: Add comment about probe argument
38501         format.
38503         * malloc/mtrace.c (attribute_hidden): Remove unused macro
38504         definition.  (tr_where, tr_freehook, tr_mallochook,
38505         tr_reallochook, tr_memalignhook): Use ANSI protoype.
38507 2014-02-11  David S. Miller  <davem@davemloft.net>
38509         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
38510         processing int_tests.
38512 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
38514         * sysdeps/mips: Move directory from ports/sysdeps/mips.
38515         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
38516         * sysdeps/unix/sysv/linux/mips: Move directory from
38517         ports/sysdeps/unix/sysv/linux/mips.
38518         * README: Update listing for mips-*-linux-gnu and
38519         mips64-*-linux-gnu.
38521 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
38523         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
38524         * sysdeps/unix/sysv/linux/m68k: Move directory from
38525         ports/sysdeps/unix/sysv/linux/m68k.
38526         * README: Update listing for m68k-*-linux-gnu.
38528 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
38530         * sysdeps/tile: Move directory from ports/sysdeps/tile.
38531         * sysdeps/unix/sysv/linux/generic: Move directory from
38532         ports/sysdeps/unix/sysv/linux/generic.
38533         * sysdeps/unix/sysv/linux/tile: Move directory from
38534         ports/sysdeps/unix/sysv/linux/tile.
38535         * README: Update listing for tile*-*-linux-gnu.
38537 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
38539         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
38540         __builtin_expect.
38541         * benchtests/bench-memmem.c (simple_memmem): Likewise.
38542         * catgets/open_catalog.c (__open_catalog): Likewise.
38543         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
38544         * debug/confstr_chk.c: Likewise.
38545         * debug/fread_chk.c (__fread_chk): Likewise.
38546         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
38547         * debug/getgroups_chk.c: Likewise.
38548         * debug/mbsnrtowcs_chk.c: Likewise.
38549         * debug/mbsrtowcs_chk.c: Likewise.
38550         * debug/mbstowcs_chk.c: Likewise.
38551         * debug/memcpy_chk.c: Likewise.
38552         * debug/memmove_chk.c: Likewise.
38553         * debug/mempcpy_chk.c: Likewise.
38554         * debug/memset_chk.c: Likewise.
38555         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38556         * debug/strcat_chk.c (__strcat_chk): Likewise.
38557         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
38558         * debug/strncat_chk.c (__strncat_chk): Likewise.
38559         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
38560         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
38561         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
38562         * debug/wcpncpy_chk.c: Likewise.
38563         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38564         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
38565         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
38566         * debug/wcsncpy_chk.c: Likewise.
38567         * debug/wcsnrtombs_chk.c: Likewise.
38568         * debug/wcsrtombs_chk.c: Likewise.
38569         * debug/wcstombs_chk.c: Likewise.
38570         * debug/wmemcpy_chk.c: Likewise.
38571         * debug/wmemmove_chk.c: Likewise.
38572         * debug/wmempcpy_chk.c: Likewise.
38573         * debug/wmemset_chk.c: Likewise.
38574         * dirent/scandirat.c (SCANDIRAT): Likewise.
38575         * dlfcn/dladdr1.c (dladdr1): Likewise.
38576         * dlfcn/dladdr.c (dladdr): Likewise.
38577         * dlfcn/dlclose.c (dlclose_doit): Likewise.
38578         * dlfcn/dlerror.c (__dlerror): Likewise.
38579         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
38580         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
38581         * dlfcn/dlopen.c (dlopen_doit): Likewise.
38582         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
38583         * dlfcn/dlsym.c (dlsym_doit): Likewise.
38584         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
38585         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
38586         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
38587         Likewise.
38588         * elf/dl-conflict.c: Likewise.
38589         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
38590         * elf/dl-dst.h: Likewise.
38591         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
38592         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
38593         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
38594         * elf/dl-init.c (call_init, _dl_init): Likewise.
38595         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
38596         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
38597         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
38598         Likewise.
38599         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
38600         Likewise.
38601         * elf/dl-minimal.c (__libc_memalign): Likewise.
38602         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
38603         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38604         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
38605         * elf/dl-sym.c (do_sym): Likewise.
38606         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
38607         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
38608         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
38609         * elf/dl-writev.h (_dl_writev): Likewise.
38610         * elf/ldconfig.c (search_dir): Likewise.
38611         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
38612         (dl_main): Likewise.
38613         * elf/setup-vdso.h (setup_vdso): Likewise.
38614         * grp/compat-initgroups.c (compat_call): Likewise.
38615         * grp/fgetgrent.c (fgetgrent): Likewise.
38616         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
38617         * grp/putgrent.c (putgrent): Likewise.
38618         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38619         Likewise.
38620         * hurd/hurdinit.c: Likewise.
38621         * iconvdata/8bit-gap.c (struct): Likewise.
38622         * iconvdata/ansi_x3.110.c : Likewise.
38623         * iconvdata/big5.c : Likewise.
38624         * iconvdata/big5hkscs.c : Likewise.
38625         * iconvdata/cp1255.c: Likewise.
38626         * iconvdata/cp1258.c : Likewise.
38627         * iconvdata/cp932.c : Likewise.
38628         * iconvdata/euc-cn.c: Likewise.
38629         * iconvdata/euc-jisx0213.c : Likewise.
38630         * iconvdata/euc-jp.c: Likewise.
38631         * iconvdata/euc-jp-ms.c : Likewise.
38632         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
38633         * iconvdata/gb18030.c : Likewise.
38634         * iconvdata/gbbig5.c (const): Likewise.
38635         * iconvdata/gbgbk.c: Likewise.
38636         * iconvdata/gbk.c : Likewise.
38637         * iconvdata/ibm1364.c : Likewise.
38638         * iconvdata/ibm930.c : Likewise.
38639         * iconvdata/ibm932.c: Likewise.
38640         * iconvdata/ibm933.c : Likewise.
38641         * iconvdata/ibm935.c : Likewise.
38642         * iconvdata/ibm937.c : Likewise.
38643         * iconvdata/ibm939.c : Likewise.
38644         * iconvdata/ibm943.c: Likewise.
38645         * iconvdata/iso_11548-1.c: Likewise.
38646         * iconvdata/iso-2022-cn.c : Likewise.
38647         * iconvdata/iso-2022-cn-ext.c : Likewise.
38648         * iconvdata/iso-2022-jp-3.c: Likewise.
38649         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
38650         * iconvdata/iso-2022-kr.c : Likewise.
38651         * iconvdata/iso646.c (gconv_end): Likewise.
38652         * iconvdata/iso_6937-2.c : Likewise.
38653         * iconvdata/iso_6937.c : Likewise.
38654         * iconvdata/iso8859-1.c: Likewise.
38655         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
38656         * iconvdata/shift_jisx0213.c : Likewise.
38657         * iconvdata/sjis.c : Likewise.
38658         * iconvdata/t.61.c : Likewise.
38659         * iconvdata/tcvn5712-1.c : Likewise.
38660         * iconvdata/tscii.c: Likewise.
38661         * iconvdata/uhc.c : Likewise.
38662         * iconvdata/unicode.c (gconv_end): Likewise.
38663         * iconvdata/utf-16.c (gconv_end): Likewise.
38664         * iconvdata/utf-32.c (gconv_end): Likewise.
38665         * iconvdata/utf-7.c (base64): Likewise.
38666         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
38667         * iconv/gconv_close.c (__gconv_close): Likewise.
38668         * iconv/gconv_open.c (__gconv_open): Likewise.
38669         * iconv/gconv_simple.c (internal_ucs4_loop_single)
38670         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
38671         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
38672         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
38673         (ucs4le_internal_loop_single): Likewise.
38674         * iconv/iconv.c (iconv): Likewise.
38675         * iconv/iconv_close.c: Likewise.
38676         * iconv/loop.c (SINGLE): Likewise.
38677         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
38678         * include/atomic.h: Likewise.
38679         * inet/inet6_option.c (option_alloc): Likewise.
38680         * intl/bindtextdom.c (set_binding_values): Likewise.
38681         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
38682         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
38683         * intl/localealias.c (read_alias_file): Likewise.
38684         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
38685         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
38686         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
38687         * libio/fmemopen.c (fmemopen): Likewise.
38688         * libio/iofgets.c (_IO_fgets): Likewise.
38689         * libio/iofgets_u.c (fgets_unlocked): Likewise.
38690         * libio/iofgetws.c (fgetws): Likewise.
38691         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
38692         * libio/iogetdelim.c (_IO_getdelim): Likewise.
38693         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
38694         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
38695         * locale/findlocale.c (_nl_find_locale): Likewise.
38696         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
38697         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
38698         Likewise.
38699         * locale/setlocale.c (setlocale): Likewise.
38700         * login/programs/pt_chown.c (main): Likewise.
38701         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
38702         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
38703         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
38704         (mmap, mmap64, mremap, munmap): Likewise.
38705         * math/e_exp2l.c: Likewise.
38706         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
38707         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
38708         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
38709         * math/s_catan.c (__catan): Likewise.
38710         * math/s_catanf.c (__catanf): Likewise.
38711         * math/s_catanh.c (__catanh): Likewise.
38712         * math/s_catanhf.c (__catanhf): Likewise.
38713         * math/s_catanhl.c (__catanhl): Likewise.
38714         * math/s_catanl.c (__catanl): Likewise.
38715         * math/s_ccosh.c (__ccosh): Likewise.
38716         * math/s_ccoshf.c (__ccoshf): Likewise.
38717         * math/s_ccoshl.c (__ccoshl): Likewise.
38718         * math/s_cexp.c (__cexp): Likewise.
38719         * math/s_cexpf.c (__cexpf): Likewise.
38720         * math/s_cexpl.c (__cexpl): Likewise.
38721         * math/s_clog10.c (__clog10): Likewise.
38722         * math/s_clog10f.c (__clog10f): Likewise.
38723         * math/s_clog10l.c (__clog10l): Likewise.
38724         * math/s_clog.c (__clog): Likewise.
38725         * math/s_clogf.c (__clogf): Likewise.
38726         * math/s_clogl.c (__clogl): Likewise.
38727         * math/s_csin.c (__csin): Likewise.
38728         * math/s_csinf.c (__csinf): Likewise.
38729         * math/s_csinh.c (__csinh): Likewise.
38730         * math/s_csinhf.c (__csinhf): Likewise.
38731         * math/s_csinhl.c (__csinhl): Likewise.
38732         * math/s_csinl.c (__csinl): Likewise.
38733         * math/s_csqrt.c (__csqrt): Likewise.
38734         * math/s_csqrtf.c (__csqrtf): Likewise.
38735         * math/s_csqrtl.c (__csqrtl): Likewise.
38736         * math/s_ctan.c (__ctan): Likewise.
38737         * math/s_ctanf.c (__ctanf): Likewise.
38738         * math/s_ctanh.c (__ctanh): Likewise.
38739         * math/s_ctanhf.c (__ctanhf): Likewise.
38740         * math/s_ctanhl.c (__ctanhl): Likewise.
38741         * math/s_ctanl.c (__ctanl): Likewise.
38742         * math/w_pow.c: Likewise.
38743         * math/w_powf.c: Likewise.
38744         * math/w_powl.c: Likewise.
38745         * math/w_scalb.c (sysv_scalb): Likewise.
38746         * math/w_scalbf.c (sysv_scalbf): Likewise.
38747         * math/w_scalbl.c (sysv_scalbl): Likewise.
38748         * misc/error.c (error_tail): Likewise.
38749         * misc/pselect.c (__pselect): Likewise.
38750         * nis/nis_callback.c (__nis_create_callback): Likewise.
38751         * nis/nis_call.c (__nisfind_server): Likewise.
38752         * nis/nis_creategroup.c (nis_creategroup): Likewise.
38753         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
38754         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
38755         * nis/nis_getservlist.c (nis_getservlist): Likewise.
38756         * nis/nis_lookup.c (nis_lookup): Likewise.
38757         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
38758         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
38759         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
38760         * nis/nis_xdr.c (xdr_endpoint): Likewise.
38761         * nis/nss_compat/compat-grp.c (getgrent_next_file)
38762         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
38763         * nis/nss_compat/compat-initgroups.c (add_group)
38764         (internal_getgrent_r): Likewise.
38765         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
38766         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
38767         * nis/nss_compat/compat-spwd.c (getspent_next_file)
38768         (internal_getspnam_r): Likewise.
38769         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
38770         (_nss_nis_getaliasbyname_r): Likewise.
38771         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
38772         (_nss_nis_getntohost_r): Likewise.
38773         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
38774         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
38775         (_nss_nis_getgrgid_r): Likewise.
38776         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
38777         (internal_nis_gethostent_r, internal_gethostbyname2_r)
38778         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
38779         (_nss_nis_gethostbyname4_r): Likewise.
38780         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
38781         (initgroups_netid): Likewise.
38782         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
38783         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
38784         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
38785         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
38786         (_nss_nis_getprotobynumber_r): Likewise.
38787         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
38788         (_nss_nis_getsecretkey): Likewise.
38789         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
38790         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
38791         (_nss_nis_getpwuid_r): Likewise.
38792         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
38793         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
38794         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
38795         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
38796         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
38797         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
38798         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
38799         Likewise.
38800         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
38801         (_nss_nisplus_getntohost_r): Likewise.
38802         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
38803         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
38804         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
38805         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
38806         Likewise.
38807         * nis/nss_nisplus/nisplus-initgroups.c
38808         (_nss_nisplus_initgroups_dyn): Likewise.
38809         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
38810         (_nss_nisplus_getnetbyaddr_r): Likewise.
38811         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
38812         (_nss_nisplus_getprotobynumber_r): Likewise.
38813         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
38814         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
38815         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
38816         Likewise.
38817         * nis/nss_nisplus/nisplus-service.c
38818         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
38819         (_nss_nisplus_getservbyport_r): Likewise.
38820         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
38821         (_nss_nisplus_getspnam_r): Likewise.
38822         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
38823         Likewise.
38824         * nscd/aicache.c (addhstaiX): Likewise.
38825         * nscd/cache.c (cache_search, prune_cache): Likewise.
38826         * nscd/connections.c (register_traced_file, send_ro_fd)
38827         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
38828         (main_loop_epoll): Likewise.
38829         * nscd/grpcache.c (addgrbyX): Likewise.
38830         * nscd/hstcache.c (addhstbyX): Likewise.
38831         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38832         * nscd/mem.c (gc, mempool_alloc): Likewise.
38833         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
38834         (addinnetgrX): Likewise.
38835         * nscd/nscd-client.h (__nscd_acquire_maplock)
38836         (__nscd_drop_map_ref): Likewise.
38837         * nscd/nscd_getai.c (__nscd_getai): Likewise.
38838         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38839         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
38840         Likewise.
38841         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
38842         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38843         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
38844         (__nscd_get_map_ref): Likewise.
38845         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
38846         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
38847         Likewise.
38848         * nscd/pwdcache.c (addpwbyX): Likewise.
38849         * nscd/selinux.c (preserve_capabilities): Likewise.
38850         * nscd/servicescache.c (addservbyX): Likewise.
38851         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
38852         * posix/fnmatch.c (fnmatch): Likewise.
38853         * posix/getopt.c (_getopt_internal_r): Likewise.
38854         * posix/glob.c (glob, glob_in_dir): Likewise.
38855         * posix/wordexp.c (exec_comm_child): Likewise.
38856         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
38857         (getanswer_r, gaih_getanswer_slice): Likewise.
38858         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
38859         * resolv/res_init.c: Likewise.
38860         * resolv/res_mkquery.c (res_nmkquery): Likewise.
38861         * resolv/res_query.c (__libc_res_nquery): Likewise.
38862         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
38863         Likewise.
38864         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
38865         * stdio-common/perror.c (perror): Likewise.
38866         * stdio-common/printf_fp.c (___printf_fp): Likewise.
38867         * stdio-common/tmpnam.c (tmpnam): Likewise.
38868         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38869         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
38870         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
38871         Likewise.
38872         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
38873         * stdlib/putenv.c (putenv): Likewise.
38874         * stdlib/setenv.c (__add_to_environ): Likewise.
38875         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38876         * stdlib/strtol_l.c (INTERNAL): Likewise.
38877         * string/memmem.c (memmem): Likewise.
38878         * string/strerror.c (strerror): Likewise.
38879         * string/strnlen.c (__strnlen): Likewise.
38880         * string/test-memmem.c (simple_memmem): Likewise.
38881         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
38882         * sunrpc/pm_getport.c (__get_socket): Likewise.
38883         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
38884         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
38885         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
38886         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
38887         Likewise.
38888         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
38889         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38890         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38891         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
38892         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38893         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
38894         Likewise.
38895         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
38896         Likewise.
38897         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38898         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38899         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38900         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38901         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
38902         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
38903         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38904         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
38905         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38906         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
38907         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38908         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
38909         Likewise.
38910         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
38911         Likewise.
38912         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
38913         Likewise.
38914         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
38915         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38916         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
38917         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
38918         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
38919         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
38920         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38921         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
38922         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
38923         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
38924         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
38925         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38926         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38927         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
38928         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38929         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38930         Likewise.
38931         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
38932         Likewise.
38933         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
38934         Likewise.
38935         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
38936         Likewise.
38937         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38938         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38939         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
38940         Likewise.
38941         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
38942         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
38943         * sysdeps/posix/opendir.c (__opendirat): Likewise.
38944         * sysdeps/posix/sleep.c: Likewise.
38945         * sysdeps/posix/tempname.c: Likewise.
38946         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
38947         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38948         Likewise.
38949         * sysdeps/powerpc/powerpc32/dl-machine.h
38950         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
38951         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38952         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38953         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
38954         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
38955         Likewise.
38956         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
38957         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
38958         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38959         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
38960         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38961         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
38962         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
38963         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
38964         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38965         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
38966         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
38967         (elf_machine_lazy_rel): Likewise.
38968         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
38969         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
38970         (elf_machine_lazy_rel): Likewise.
38971         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
38972         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
38973         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
38974         * sysdeps/unix/grantpt.c (grantpt): Likewise.
38975         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
38976         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
38977         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
38978         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38979         Likewise.
38980         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
38981         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
38982         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
38983         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
38984         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38985         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38986         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
38987         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
38988         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
38989         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38990         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38991         Likewise.
38992         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
38993         (__posix_fallocate64_l64): Likewise.
38994         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
38995         (posix_fallocate): Likewise.
38996         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
38997         Likewise.
38998         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38999         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
39000         (getifaddrs_internal): Likewise.
39001         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
39002         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
39003         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
39004         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39005         * sysdeps/unix/sysv/linux/posix_fallocate64.c
39006         (__posix_fallocate64_l64): Likewise.
39007         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
39008         Likewise.
39009         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
39010         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
39011         (__get_clockfreq): Likewise.
39012         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
39013         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
39014         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
39015         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39016         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39017         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
39018         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
39019         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
39020         Likewise.
39021         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
39022         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
39023         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
39024         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
39025         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39026         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
39027         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
39028         Likewise.
39029         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39030         (posix_fallocate): Likewise.
39031         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39032         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
39033         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
39034         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
39035         (elf_machine_rela, elf_machine_rela_relative)
39036         (elf_machine_lazy_rel): Likewise.
39037         * time/asctime.c (asctime_internal): Likewise.
39038         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
39039         * time/tzset.c (__tzset_parse_tz): Likewise.
39040         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39041         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39042         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
39043         * wcsmbs/wcsmbsload.h: Likewise.
39045         [BZ #15894]
39046         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
39048         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
39049         (arena_get2): Remove THREAD_STATS conditionals.
39050         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
39051         (__malloc_stats, int): Likewise.
39053 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
39055         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
39056         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
39058         * manual/setjmp.texi: Fix typos/grammar errors.
39060         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
39061         Only return early when n is <= 0.  Delete unused return statement.
39063         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
39064         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
39065         * debug/tst-longjmp_chk3.c: New file.
39067         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
39068         (test_main): Replace code with set_fortify_handler call.
39069         * debug/test-strcpy_chk.c: Likewise.
39070         * debug/tst-chk1.c: Likewise.
39071         * debug/tst-longjmp_chk.c: Likewise.
39072         * test-skeleton.c: Include fcntl.h & paths.h
39073         (set_fortify_handler): Define.
39075         * debug/tst-longjmp_chk.c: Add header comment and include
39076         ../test-skeleton.c.
39077         (do_test): Mark static.
39078         (TEST_FUNCTION): Define.
39080         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
39081         (IP_PMTUDISC_INTERFACE): Likewise.
39082         (IP_MULTICAST_IF): Likewise.
39083         (IP_MULTICAST_TTL): Likewise.
39084         (IP_MULTICAST_LOOP): Likewise.
39085         (IP_ADD_MEMBERSHIP): Likewise.
39086         (IP_DROP_MEMBERSHIP): Likewise.
39087         (IP_UNBLOCK_SOURCE): Likewise.
39088         (IP_BLOCK_SOURCE): Likewise.
39089         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
39090         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
39091         (IP_MSFILTER): Likewise.
39092         (MCAST_JOIN_GROUP): Likewise.
39093         (MCAST_BLOCK_SOURCE): Likewise.
39094         (MCAST_UNBLOCK_SOURCE): Likewise.
39095         (MCAST_LEAVE_GROUP): Likewise.
39096         (MCAST_JOIN_SOURCE_GROUP): Likewise.
39097         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
39098         (MCAST_MSFILTER): Likewise.
39099         (IP_MULTICAST_ALL): Likewise.
39100         (IP_UNICAST_IF): Likewise.
39102         * timezone/Makefile: Delete $(have-ksh) check.
39103         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
39104         * timezone/tzselect.ksh: Add +x mode bits.
39106         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
39107         (ANON_INODE_FS_MAGIC): Likewise.
39108         (BDEVFS_MAGIC): Likewise.
39109         (BINFMTFS_MAGIC): Likewise.
39110         (BTRFS_TEST_MAGIC): Likewise.
39111         (CRAMFS_MAGIC_WEND): Likewise.
39112         (DEBUGFS_MAGIC): Likewise.
39113         (ECRYPTFS_SUPER_MAGIC): Likewise.
39114         (EXT3_SUPER_MAGIC): Likewise.
39115         (EXT4_SUPER_MAGIC): Likewise.
39116         (FUTEXFS_SUPER_MAGIC): Likewise.
39117         (HOSTFS_SUPER_MAGIC): Likewise.
39118         (HUGETLBFS_MAGIC): Likewise.
39119         (MINIX3_SUPER_MAGIC): Likewise.
39120         (MTD_INODE_FS_MAGIC): Likewise.
39121         (NILFS_SUPER_MAGIC): Likewise.
39122         (OPENPROM_SUPER_MAGIC): Likewise.
39123         (PIPEFS_MAGIC): Likewise.
39124         (PSTOREFS_MAGIC): Likewise.
39125         (QNX6_SUPER_MAGIC): Likewise.
39126         (RAMFS_MAGIC): Likewise.
39127         (REISERFS_SUPER_MAGIC_STRING): Likewise.
39128         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
39129         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
39130         (SECURITYFS_MAGIC): Likewise.
39131         (SELINUX_MAGIC): Likewise.
39132         (SMACK_MAGIC): Likewise.
39133         (SOCKFS_MAGIC): Likewise.
39134         (SQUASHFS_MAGIC): Likewise.
39135         (STACK_END_MAGIC): Likewise.
39136         (TMPFS_MAGIC): Likewise.
39137         (USBDEVICE_SUPER_MAGIC): Likewise.
39138         (V9FS_MAGIC): Likewise.
39139         (XENFS_SUPER_MAGIC): Likewise.
39140         (CRAMFS_MAGIC): Fix typo in comment.
39141         (EXT2_SUPER_MAGIC): Update comment.
39142         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
39144 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
39146         * sysdeps/arm: Move directory from ports/sysdeps/arm.
39147         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
39148         * sysdeps/unix/sysv/linux/arm: Move directory from
39149         ports/sysdeps/unix/sysv/linux/arm.
39150         * README: Update listing for arm-*-linux-gnueabi.
39152         * README: Remove mention of am33.
39154 2014-02-07  Roland McGrath  <roland@hack.frob.com>
39156         * bits/sigset.h (__sigemptyset): Use a statement expression rather
39157         than the comma operator, to avoid "rhs of comma has no effect"
39158         compiler warnings.
39159         (__sigfillset, __sigandset, __sigorset): Likewise.
39160         * include/signal.h (__sigemptyset): Likewise.
39161         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
39163 2014-02-07  Allan McRae  <allan@archlinux.org>
39165         * version.h (RELEASE): Set to "development".
39166         (VERSION): Set to "2.19.90"
39167         * NEWS: Add 2.20 section.
39169 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
39171         [BZ #16529]
39172         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
39174 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39176         * manual/contrib.texi: Update entry for Carlos O'Donell,
39177         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
39179 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
39181         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
39183         * sysdeps/unix/sysv/linux/kernel-features.h
39184         [__LINUX_KERNEL_VERSION >= 0x020621]
39185         (__ASSUME_PROC_PID_TASK_COMM): Define.
39187 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39189         [BZ #16398]
39190         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
39191         conversion when destination buffer does not have enough space.
39192         * libio/tst-ftell-partial-wide.c: New test case.
39193         * libio/Makefile (tests): Add tst-ftell-partial-wide.
39195         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
39196         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
39197         Leonard and Allan McRae.
39199 2014-02-04  David S. Miller  <davem@davemloft.net>
39201         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
39202         32-bit.
39204 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
39207         New file
39208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
39209         New file
39210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
39211         New file.
39212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
39213         New file.
39214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
39215         New file.
39216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39217         New file.
39218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39219         New file.
39220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39221         New file.
39222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39223         New file.
39224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39225         New file.
39226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39227         New file.
39228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39229         New file.
39230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39231         New file.
39233 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39235         * nptl/shlib-versions: Change powerpc*le start to 2.17.
39236         * shlib-versions: Likewise.
39238 2014-02-04  Roland McGrath  <roland@hack.frob.com>
39239             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39241         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
39242         (abilist-pattern): New variable, set to %-le.abilist.
39244         * Makerules (abilist-pattern): New variable.
39245         (vpath): Use $(abilist-pattern) in place of %.abilist.
39246         (check-abi-% pattern rule): Likewise.
39247         (check-abi, update-abi): Likewise.
39249 2014-02-04  Eric Wong  <normalperson@yhbt.net>
39251         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39253 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
39255         * manual/startup.texi: Add next, previous, and top entries for
39256         the `Program Arguments' and `Environment Variables' nodes.
39258 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
39260         * manual/macros.texi: Add comments before MTASC-safety macros.
39262         * manual/users.texi: Document MTASC-safety properties.
39264         * manual/threads.texi (pthread_key_create, pthread_key_delete)
39265         (pthread_getspecific, pthread_setspecific): Format with
39266         @deftypefun, and add @safety note.
39267         * manual/signal.texi: Move comments that analyze the above
39268         functions to their home place.
39270 2014-02-03  Allan McRae  <allan@archlinux.org>
39272         * po/sl.po: Update Slovenian translation from translation project.
39274 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
39276         * manual/time.texi (timegm): Add missing blank after @c.
39277         Reported by Joseph Myers <joseph@codesourcery.com>.
39279 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
39281         * manual/check-safety.sh: New.
39282         * manual/Makefile ($(objpfx)stamp-summary): Run it.
39284         * manual/terminal.texi: Document MTASC-safety properties.
39286         * manual/filesys.texi: Document MTASC-safety properties.
39288         * manual/errno.texi: Document MTASC-safety properties.
39290         * manual/intro.texi: Document safety identifiers and
39291         conditionals.
39293         * manual/string.texi (wcstok): Fix prototype.
39294         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
39296         * manual/time.texi: Document MTASC-safety properties.
39298         * manual/string.texi: Document MTASC-safety properties.
39300         * manual/threads.texi: Document MTASC-safety properties.
39302         * manual/stdio.texi: Document MTASC-safety properties.
39304         * manual/syslog.texi: Document MTASC-safety properties.
39306         * manual/sysinfo.texi: Document MTASC-safety properties.
39308         * manual/startup.texi: Document MTASC-safety properties.
39310         * manual/socket.texi: Document MTASC-safety properties.
39312         * manual/signal.texi: Document MTASC-safety properties.
39314 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
39316         * manual/setjmp.texi: Document MTASC-safety properties.
39318         * manual/search.texi: Document MTASC-safety properties.
39320         * manual/resource.texi: Document MTASC-safety properties.
39322         * manual/process.texi: Document MTASC-safety properties.
39324         * manual/platform.texi: Document MTASC-safety properties.
39326         * manual/pipe.texi: Document MTASC-safety properties.
39328         * manual/pattern.texi: Document MTASC-safety properties.
39330         * manual/message.texi: Document MTASC-safety properties.
39332         [BZ #12751]
39333         * manual/memory.texi: Document MTASC-safety properties.
39335         * manual/math.texi: Document MTASC-safety properties.
39337         * manual/locale.texi: Document MTASC-safety properties.
39339         * manual/llio.texi: Document MTASC-safety properties.
39341         * manual/libdl.texi: New.
39343         * manual/lang.texi: Document MTASC-safety properties.
39345         * manual/job.texi: Document MTASC-safety properties.
39347         * manual/getopt.texi: Document MTASC-safety properties.
39349         * manual/ctype.texi: Document MTASC-safety properties.
39351 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
39353         [BZ #16046]
39354         * csu/libc-tls.c (static_map): Remove variable.
39355         (__libc_setup_tls): Use main executable's link map for TLS data.
39356         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
39357         casing for LM_ID_BASE and GL(dl_nns).
39358         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
39359         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
39360         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
39361         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
39362         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
39363         member.
39364         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
39365         l_phnum members.
39367 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
39369         * manual/debug.texi: Document MTASC-safety properties.
39371 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
39373         [BZ #16510]
39374         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
39375         of __x86_64__ when disabling x87 inline functions.
39377 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
39379         * manual/charset.texi: Document MTASC-safety properties.
39381         * manual/crypt.texi: Document MTASC-safety properties.
39383         * manual/conf.texi: Document MTASC-safety properties.
39385         * manual/arith.texi: Document MTASC-safety properties.
39387         * manual/argp.texi: Document MTASC-safety properties.
39389         * manual/macros.texi: Introduce macros to document multi
39390         thread, asynchronous signal and asynchronous cancellation
39391         safety properties.
39392         * manual/intro.texi: Introduce the properties themselves.
39394 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39396         * sysdeps/sh/sh4/Makefile: New file.
39398 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
39400         * math/gen-libm-test.pl ($srcdir): New variable.
39401         ($auto_input): Use it.
39403 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39405         [BZ #16506]
39406         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
39407         access beyond array bounds when parsing netgroups file.
39409         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
39410         the old buffer before realloc.
39412 2014-01-27  Allan McRae  <allan@archlinux.org>
39414         * po/fr.po: Update French translation from translation project.
39416 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39418         * sysdeps/sh/libm-test-ulps: Regenerate.
39420 2014-01-24  David S. Miller  <davem@davemloft.net>
39422         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
39424 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39426         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
39427         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
39429 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39431         [BZ #16474]
39432         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
39433         string pointers after reallocation.
39435 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39437         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
39438         __SH4A__ instead of __SH_FPU_ANY__.
39440 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39442         * sysdeps/sh/fpu_control.h: New file.
39443         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
39444         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
39445         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
39446         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
39447         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
39448         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
39449         * sysdeps/sh/sys/ucontext.h: Remove.
39450         * sysdeps/sh/sys: Remove directory.
39452 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39454         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
39455         s390/sys/ucontext.h.
39456         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
39457         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
39459 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
39461         [BZ #15605]
39462         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
39464 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39466         [BZ#16431]
39467         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39468         Adjust the vDSO correctly for internal calls.
39469         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
39471 2014-01-20  Allan McRae  <allan@archlinux.org>
39473         * po/ca.po: Update Catalan translation from translation project.
39475 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
39477         * sysdeps/s390/sotruss-lib.c: New file.
39479 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39481         [BZ#16430]
39482         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
39483         (__GI___gettimeofday): Alias for a different internal symbol to avoid
39484         local calls issues by not having a PLT stub required for IFUNC calls.
39485         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
39487 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
39489         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
39490         * math/test-fpucw-static.c: Likewise.
39492 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39494         [BZ #16453]
39495         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
39497 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39499         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
39500         implementation for powerpc.
39502 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
39504         [BZ #14782]
39505         * sysdeps/posix/system.c (__libc_system): Do not enable
39506         asynchronous cancellation.
39508 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39510         [BZ #16427]
39511         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
39512         handling only for numbers special also in the IEEE case.
39514 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39516         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39518 2014-01-11  Allan McRae  <allan@archlinux.org>
39520         * po/bg.po: Update Bulgarian translation from translation project.
39522         * po/de.po: Update German translation from translation project.
39524 2014-01-10  Roland McGrath  <roland@hack.frob.com>
39526         * sysdeps/generic/gcc-compat.h: New file.
39528 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39530         * benchtests/asin-inputs: Correct slow inputs.
39531         * benchtests/acos-inputs: Likewise.
39533 2014-01-10  Allan McRae  <allan@archlinux.org>
39535         * po:sv.po: Update Swedish translation from translation project.
39537         * po/vi.po: Update Vietnamese translation from translation project.
39539         * po/eo.po: Update Esperanto translation from translation project.
39541         * po/cs.po: Update Czech translation from translation project.
39543         * po/nl.po: Update Dutch translation from translation project.
39545         * po/pl.po: Update Polish translation from translation project.
39547         * po/ru.po: Update Russian translation from translation project.
39549         * po/uk.po: Update Ukrainian translation from translation project.
39551 2014-01-08  Brooks Moses  <bmoses@google.com>
39553         * elf/dl-load.c: Fix comment typo.
39555 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
39557         * po/header.pot: Rename to...
39558         * po/pot.header: ... this.
39559         * po/Makefile: Use pot.header.
39561 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
39562             Maxim Kuvyrkov  <maxim@kugelworks.com>
39564         [BZ #16394]
39565         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
39566         SRC and DEST against LEN.
39568 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39570         [BZ #16414]
39571         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
39572         implementation.
39573         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
39575 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39579 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
39581         [BZ #16408]
39582         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
39583         for large positive arguments.
39585 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
39587         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39589         * math/auto-libm-test-in: Mark various tests with
39590         xfail-rounding:ldbl-128ibm.
39591         * math/auto-libm-test-out: Regenerated.
39593         [BZ #16407]
39594         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39595         Increase overflow threshold.
39597 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
39599         [BZ #14286]
39600         * stdio-common/vfprintf.c: Check for integer overflow.
39602 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39604         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
39605         the first argument and return value of __tls_get_addr_internal.
39607 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39609         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
39610         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
39612 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39614         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
39615         * sysdeps/s390/rtld-global-offsets.sym: New file.
39616         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
39617         GLIBC_2.19 symbol.
39618         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
39619         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
39620         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39621         ... this.
39622         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
39623         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39624         ... this.
39625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39626         Regenerate.
39627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39628         Regenerate.
39629         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
39630         halfs of GPRs for high_gprs contexts.
39631         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
39632         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
39633         field.
39634         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
39635         uc_flags field.
39636         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
39637         64 bit versions:
39638         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
39639         for high GPRs (uc_high_gprs) and for future extensions
39640         (__reserved).
39641         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
39642         for future extensions (__reserved).
39643         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
39644         64 bit versions:
39645         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
39646         SC_HIGHGPRS offset definition.
39647         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
39648         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
39650         * Versions.def: Add GLIBC_2.19 for libpthread.
39651         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
39652         siglongjmp for libpthread with GLIBC_2.19 symver.
39653         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
39654         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
39655         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
39656         * sysdeps/s390/__longjmp.c: New file.
39657         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
39658         * sysdeps/s390/longjmp.c: New file.
39659         * sysdeps/s390/setjmp.S: New file.
39660         * sysdeps/s390/sigjmp.S: New file.
39661         * sysdeps/s390/v1-longjmp.c: New file.
39662         * sysdeps/s390/v1-setjmp.h: New file.
39663         * sysdeps/s390/v1-sigjmp.c: New file.
39664         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
39665         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
39666         GLIBC_2.19 version.
39667         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
39668         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
39669         versioned symbols for ____longjmp_chk.
39670         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39671         Likewise.
39672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39673         Regenerate.
39674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39675         Regenerate.
39676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39677         Regenerate.
39678         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39679         Regenerate.
39680         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
39681         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
39682         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
39683         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
39684         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
39685         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
39686         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
39687         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
39688         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
39689         * sysdeps/s390/rtld-__longjmp.c: New file.
39690         * sysdeps/s390/rtld-setjmp.S: New file.
39692 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
39694         [BZ #16400]
39695         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39696         Return -__logl (x) for small positive arguments without evaluating
39697         a polynomial.
39699 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
39701         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
39702         Rename to ...
39703         (__ptrace_peeksiginfo_args): ... this.
39704         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39705         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39706         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39708 2014-01-06  Allan McRae  <allan@archlinux.org>
39710         * inet/netinet/in.h: Fix typo in comment.
39712 2014-01-05  Andreas Jaeger  <aj@suse.de>
39714         * sysdeps/i386/fpu/libm-test-ulps: Update.
39716 2014-01-05  Allan McRae  <allan@archlinux.org>
39718         * po/libc.pot: Regenerated.
39720         * malloc/memusagestat.c: Fix gettext call formatting.
39722 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
39724         * nscd/nscd.c: Improve usage() output.
39726 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
39728         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
39729         * sysdeps/unix/sysv/linux/configure: Regenerated.
39730         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
39731         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
39733 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39735         [BZ #16390]
39736         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39737         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
39739 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39741         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
39742         extra tokens at end of #undef directive.
39743         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
39744         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
39745         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39747 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39749         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39751         * math/auto-libm-test-in: Mark various tests with
39752         xfail-rounding:ldbl-128ibm.
39753         * math/auto-libm-test-out: Regenerated.
39755 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
39757         [BZ #16386]
39758         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
39759         numbers with subnormal high part when calculating exponent.
39761         [BZ #16385]
39762         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
39763         fabs.
39765         [BZ #16384]
39766         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
39767         M_LN2l.
39768         (__ieee754_acoshl): Use __log1pl not __log1p.
39770 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
39772         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
39773         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
39774         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
39775         (grow_heap, heap_trim, _int_new_arena, get_free_list)
39776         (reused_arena, arena_get2): Convert to GNU style.
39777         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
39778         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
39779         (memalign_check, __malloc_set_state): Likewise.
39780         * malloc/mallocbug.c (main): Likewise.
39781         * malloc/malloc.c (__malloc_assert, malloc_init_state)
39782         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
39783         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
39784         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
39785         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
39786         (__posix_memalign, malloc_info): Likewise.
39787         * malloc/malloc.h: Likewise.
39788         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
39789         (mallochook, memalignhook, reallochook, mabort): Likewise.
39790         * malloc/mcheck.h: Likewise.
39791         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
39792         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
39793         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
39794         * malloc/morecore.c (__default_morecore): Likewise.
39795         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
39796         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
39797         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
39798         (print_and_abort): Likewise.
39799         * malloc/obstack.h: Likewise.
39800         * malloc/set-freeres.c (__libc_freeres): Likewise.
39801         * malloc/tst-mallocstate.c (main): Likewise.
39802         * malloc/tst-mtrace.c (main): Likewise.
39803         * malloc/tst-realloc.c (do_test): Likewise.
39805 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39807         [BZ #16366]
39808         * nscd/netgroupcache.c (do_notfound): New function.
39809         (addgetnetgrentX): Use it.
39811         [BZ # 16365]
39812         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
39813         NSS_STATUS_NOTFOUND.
39815 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
39817         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39820 2014-01-01  Allan McRae  <allan@archlinux.org>
39822         * scripts/update-copyrights: Update configure input file suffix.
39824         * NEWS: Update copyright year.
39825         * catgets/gencat.c: Likewise.
39826         * csu/version.c: Likewise.
39827         * debug/catchsegv.sh: Likewise.
39828         * debug/pcprofiledump.c: Likewise.
39829         * debug/xtrace.sh: Likewise.
39830         * elf/ldconfig.c: Likewise.
39831         * elf/ldd.bash.in: Likewise.
39832         * elf/pldd.c: Likewise.
39833         * elf/sotruss.ksh: Likewise.
39834         * elf/sprof.c: Likewise.
39835         * iconv/iconv_prog.c: Likewise.
39836         * iconv/iconvconfig.c: Likewise.
39837         * locale/programs/locale.c: Likewise.
39838         * locale/programs/localedef.c: Likewise.
39839         * login/programs/pt_chown.c: Likewise.
39840         * malloc/memusage.sh: Likewise.
39841         * malloc/memusagestat.c: Likewise.
39842         * malloc/mtrace.pl: Likewise.
39843         * manual/libc.texinfo: Likewise.
39844         * nscd/nscd.c: Likewise.
39845         * nss/getent.c: Likewise.
39846         * nss/makedb.c: Likewise.
39847         * posix/getconf.c: Likewise.
39848         * scripts/test-installation.pl: Likewise.
39850         * All files with FSF copyright notices: Update copyright dates
39851         using scripts/update-copyrights.
39852         * intl/plural.c: Regenerated.
39853         * locale/programs/charmap-kw.h: Likewise.
39854         * locale/programs/locfile-kw.h: Likewise.
39856 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
39858         * sysdeps/unix/sysv/linux/configure: Regenerated.
39859         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
39860         the linux/fanotify.h header.
39861         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
39862         HAVE_LINUX_FANOTIFY_H is defined.
39864 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39866         * benchtests/cos-inputs: New inputs.
39867         * benchtests/sin-inputs: Likewise.
39869         * benchtests/atan-inputs: New inputs. Fix name of multiple
39870         precision fallback inputs.
39872         * benchtests/atanh-inputs: New inputs.
39873         * benchtests/tanh-inputs: Likewise.
39875         * benchtests/acosh-inputs: New inputs.
39876         * benchtests/asinh-inputs: Likewise.
39878         * benchtests/cosh-inputs: New inputs.
39879         * benchtests/sinh-inputs: Likewise.
39881         * benchtests/acos-inputs: Add more inputs.
39882         * benchtests/asin-inputs: Likewise.
39884 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
39886         [BZ #16375]
39887         * manual/arith.texi: Fix spelling.
39888         * manual/charset.texi: Likewise.
39889         * manual/errno.texi: Likewise.
39890         * manual/filesys.texi: Likewise.
39891         * manual/lang.texi: Likewise.
39892         * manual/llio.texi: Likewise.
39893         * manual/locale.texi: Likewise.
39894         * manual/message.texi: Likewise.
39895         * manual/resource.texi: Likewise.
39896         * manual/search.texi: Likewise.
39897         * manual/setjmp.texi: Likewise.
39898         * manual/stdio.texi: Likewise.
39899         * manual/string.texi: Likewise.
39900         * manual/sysinfo.texi: Likewise.
39901         * manual/time.texi: Likewise.
39903 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
39905         * po/sl.po: New file.
39907 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
39909         * .gitignore: Add core/.gdbinit/.gdb_history.
39911 2013-12-27  Allan McRae  <allan@archlinux.org>
39913         [BZ #16369]
39914         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
39915         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
39917 2013-12-24  Brooks Moses  <bmoses@google.com>
39919         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
39920         all compilers that claim C++98 compliance, not just GCC.
39921         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39922         Likewise.
39924 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39926         * NEWS: Restore accidentally deleted bug-fix entries.
39928 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39929             Ondřej Bílka  <neleai@seznam.cz>
39931         [BZ #15073]
39932         * malloc/malloc.c (_int_free): Perform sanity check only if we
39933         have_lock.
39935 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
39937         [BZ #12986]
39938         * manual/stdio.texi (String Input Conversions): Clarify that character
39939         classes are not supported.
39941 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39945 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
39947         [BZ #16337]
39948         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39949         Calculate results for small negative arguments directly rather
39950         than using reflection formula with special underflow handling.
39952         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
39953         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
39954         sysdeps/unix/bsd/bsd4.4/syscalls.list.
39955         (fchflags): Likewise.
39956         (revoke): Likewise.
39957         (setlogin): Likewise.
39958         (sigaltstack): Likewise.
39959         (wait4): Likewise.
39960         (sigblock): Remove.
39961         (sigsetmask): Likewise.
39962         (wait3): Likewise.
39963         (waitpid): Likewise.
39964         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
39965         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
39966         file.
39967         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
39968         * sysdeps/unix/bsd/Makefile: ... here.
39969         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
39970         * sysdeps/unix/bsd/Versions: ... here.
39971         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
39972         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
39973         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
39974         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
39975         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
39976         * sysdeps/unix/bsd/sigblock.c: ... here.
39977         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
39978         * sysdeps/unix/bsd/sigsetmask.c: ... here.
39979         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
39980         * sysdeps/unix/bsd/sigvec.c: ... here.
39981         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
39982         * sysdeps/unix/bsd/tcdrain.c: ... here.
39983         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
39984         * sysdeps/unix/bsd/tcgetattr.c: ... here.
39985         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
39986         * sysdeps/unix/bsd/tcsetattr.c: ... here.
39987         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
39988         * sysdeps/unix/bsd/wait.c: ... here.
39989         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
39990         * sysdeps/unix/bsd/wait3.c: ... here.
39991         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
39992         * sysdeps/unix/bsd/waitpid.c: ... here.
39994 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
39996         [BZ #16356]
39997         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
39998         round-to-nearest for [!USE_AS_EXPM1L].
39999         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
40000         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
40001         more tests of exp and exp10.  Expect some exp10 tests to miss
40002         exceptions or fail in directed rounding modes.
40003         * math/auto-libm-test-out: Regenerated.
40004         * math/libm-test.inc (exp10_tonearest_test_data): New array.
40005         (exp10_test_tonearest): New function.
40006         (exp10_towardzero_test_data): New array.
40007         (exp10_test_towardzero): New function.
40008         (exp10_downward_test_data): New array.
40009         (exp10_test_downward): New function.
40010         (exp10_upward_test_data): New array.
40011         (exp10_test_upward): New function.
40012         (main): Call the new functions.
40013         * sysdeps/i386/fpu/libm-test-ulps: Update.
40014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40016 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
40018         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
40019         asinh, atan, atan2, atanh, cbrt, cos and cosh.
40020         * math/auto-libm-test-out: Regenerated.
40021         * math/libm-test.inc (acosh_test_data): Add more tests.
40022         (atanh_test_data): Likewise.
40023         (ceil_test_data): Likewise.
40024         (copysign_test_data): Likewise.
40025         * sysdeps/i386/fpu/libm-test-ulps: Update.
40026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40028         * timezone/checktab.awk: Update from tzcode 2013i.
40029         * timezone/private.h: Likewise.
40030         * timezone/scheck.c: Likewise.
40031         * timezone/tzfile.h: Likewise.
40032         * timezone/tzselect.ksh: Likewise.
40033         * timezone/zdump.c: Likewise.
40034         * timezone/zic.c: Likewise.
40036         * math/auto-libm-test-in: Add tests of cpow.
40037         * math/auto-libm-test-out: Regenerated.
40038         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
40039         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40040         mpc_cc_c.
40041         (func_calc_desc): Add mpc_cc_c union field.
40042         (test_functions): Add cpow.
40043         (special_fill_2pi): New function.
40044         (special_real_inputs): Add 2pi.
40045         (calc_generic_results): Handle mpc_cc_c.
40046         * sysdeps/i386/fpu/libm-test-ulps: Update.
40047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40049         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
40050         csqrt, ctan and ctanh.
40051         * math/auto-libm-test-out: Regenerated.
40052         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40053         (TEST_COND_x86): Likewise.
40054         (ccos_test_data): Use AUTO_TESTS_c_c.
40055         (ccosh_test_data): Likewise.
40056         (cexp_test_data): Likewise.
40057         (clog_test_data): Likewise.
40058         (csqrt_test_data): Likewise.
40059         (ctan_test_data): Likewise.
40060         (ctan_tonearest_test_data): Likewise.
40061         (ctan_towardzero_test_data): Likewise.
40062         (ctan_downward_test_data): Likewise.
40063         (ctan_upward_test_data): Likewise.
40064         (ctanh_test_data): Likewise.
40065         (ctanh_tonearest_test_data): Likewise.
40066         (ctanh_towardzero_test_data): Likewise.
40067         (ctanh_downward_test_data): Likewise.
40068         (ctanh_upward_test_data): Likewise.
40069         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40070         mpc_c_c.
40071         (func_calc_desc): Add mpc_c_c union field.
40072         (FUNC_mpc_c_c): New macro.
40073         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
40074         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
40075         ctanh.
40076         (special_fill_min_subnorm_p120): New function.
40077         (special_real_inputs): Add min_subnorm_p120.
40078         (calc_generic_results): Handle mpc_c_c.
40079         * sysdeps/i386/fpu/libm-test-ulps: Update.
40080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40082 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40084         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
40085         (do_sin_slow): New functions.
40086         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
40087         (cslow2, csloww1, csloww2): Use the new functions.
40089         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
40090         Use M to change sign of result instead of X.  Assume X is
40091         positive.
40092         (csloww1): Likewise.
40093         (__sin): Adjust.
40094         (__cos): Adjust.
40096         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
40097         arguments A and DA.
40098         (__sin): Adjust.
40099         (__cos): Likewise.
40101         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
40102         (__cos): Likewise.
40103         (sloww1): Don't adjust sign of DX.
40104         (csloww1): Likewise.
40105         (sloww2): Use X directly and don't adjust sign of DX.
40106         (csloww2): Likewise.
40108 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40110         * math/auto-libm-test-in: Add tests of cabs and carg.
40111         * math/auto-libm-test-out: Regenerated.
40112         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
40113         (carg_test_data): Likewise.
40114         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40115         mpc_c_f.
40116         (func_calc_desc): Add mpc_c_f union field.
40117         (test_functions): Add cabs and carg.
40118         (calc_generic_results): Handle mpc_c_f.
40120         * sysdeps/powerpc/powerpc32/libgcc-compat.S
40121         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
40122         as a macro and a compat symbol.
40123         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
40124         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
40125         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
40126         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
40127         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
40128         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
40129         not use .hidden.
40130         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
40131         Likewise.
40132         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
40133         Likewise.
40134         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
40135         Likewise.
40136         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
40137         Likewise.
40138         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
40139         Likewise.
40140         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
40141         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
40142         from GLIBC_2.3.2.
40144 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40148 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40150         * manual/texinfo.tex: Update to version 2013-11-26.10 with
40151         trailing whitespace removed.
40152         * scripts/config.guess: Update to version 2013-11-29.
40153         * scripts/config.sub: Update to version 2013-10-01.
40155         * math/auto-libm-test-in: Add tests of sincos.
40156         * math/auto-libm-test-out: Regenerated.
40157         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
40158         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40159         mpfr_f_11.
40160         (func_calc_desc): Add mpfr_f_11 union field.
40161         (test_functions): Add sincos.
40162         (calc_generic_results): Handle mpfr_f_11.
40163         * sysdeps/i386/fpu/libm-test-ulps: Update.
40164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40166 2013-12-19  Andreas Schwab  <schwab@suse.de>
40168         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
40169         CALL_MCOUNT.
40170         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40171         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
40172         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
40174 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40176         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
40177         * sysdeps/i386/fpu/libm-test-ulps: Update.
40178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40180         [BZ #16293]
40181         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
40182         round-to-nearest mode when using frndint.
40183         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
40184         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40185         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40186         Likewise.
40187         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
40188         sinh test to fail.
40189         * math/auto-libm-test-out: Regenerated.
40190         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
40191         (TEST_COND_x86): Likewise.
40192         (expm1_tonearest_test_data): New array.
40193         (expm1_test_tonearest): New function.
40194         (expm1_towardzero_test_data): New array.
40195         (expm1_test_towardzero): New function.
40196         (expm1_downward_test_data): New array.
40197         (expm1_test_downward): New function.
40198         (expm1_upward_test_data): New array.
40199         (expm1_test_upward): New function.
40200         (main): Run the new test functions.
40201         * sysdeps/i386/fpu/libm-test-ulps: Update.
40202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40204         * include/features.h: Update comment documenting feature test
40205         macros.  Mention _DEFAULT_SOURCE in comment.
40206         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
40207         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
40208         _BSD_SOURCE and _SVID_SOURCE.
40209         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
40210         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
40211         !_SVID_SOURCE]: Likewise.
40212         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40213         (__USE_POSIX_IMPLICITLY): Define.
40214         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40215         (_POSIX_SOURCE): Undefine and redefine.
40216         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40217         (_POSIX_C_SOURCE): Likewise.
40218         * manual/creature.texi (_DEFAULT_SOURCE): Document.
40219         (Feature Test Macros): Update documentation of default features.
40221 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40223         * benchtests/Makefile: Add bench-strtok.
40224         * benchtests/bench-strtok.c: New file: strtok benchtest.
40226 2013-12-19  Allan McRae  <allan@archlinux.org>
40228         * manual/install.texi: Suppress menu for plain text output.
40229         * INSTALL: Regenerated.
40231 2013-12-18  Brooks Moses  <bmoses@google.com>
40233         [BZ #15846]
40234         * misc/getauxval.c: Include errno.h.
40235         (__getauxval): Set errno to ENOENT if the requested type is not
40236         found.
40237         * misc/sys/auxv.h (getauxval): Document that it may set errno;
40238         don't declare with __attribute_const__.
40239         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
40240         * manual/startup.texi: Document that getauxval sets errno.
40242 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40244         * math/auto-libm-test-in: Add tests of jn and yn.
40245         * math/auto-libm-test-out: Regenerated.
40246         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
40247         (yn_test_data): Likewise.
40248         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40249         mpfr_if_f.
40250         (func_calc_desc): Add mpfr_if_f union field.
40251         (FUNC_mpfr_if_f): New macro.
40252         (test_functions): Add jn and yn.
40253         (calc_generic_results): Assert type of second input for
40254         mpfr_ff_f.  Handle mpfr_if_f.
40255         (output_for_one_input_case): Disable all checking for arguments
40256         fitting floating-point types in case of an integer argument.
40257         * sysdeps/i386/fpu/libm-test-ulps: Update.
40258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40261         Don't expect fegetround reference in libm.so.
40263 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40265         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
40266         $(config-cflags-nofma).
40268 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40270         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
40271         * math/auto-libm-test-out: Regenerated.
40273         [BZ #16338]
40274         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
40275         to determine exponent and adjust argument to have exponent of -1.
40276         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
40277         log2.
40278         * math/auto-libm-test-out: Regenerated.
40279         * sysdeps/i386/fpu/libm-test-ulps: Update.
40280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40282 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
40284         * manual/probes.texi: Remove cases when per-thread arenas are
40285         disabled.
40287 2013-12-18  Andreas Schwab  <schwab@suse.de>
40289         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
40290         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
40291         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
40292         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
40293         * sysdeps/i386/i686/multiarch/Makefile: Update.
40294         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
40296 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40298         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
40299         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
40301 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
40303         [BZ #15968]
40304         Support TZ transition times < 00:00:00.
40305         This is needed for version-3 tz-format files; it supports time
40306         stamps past 2037 for America/Godthab (the only entry in the tz
40307         database for which this change is relevant).
40308         * manual/time.texi (TZ Variable): Document transition times
40309         from -167:59:59 through -00:00:01.
40310         * time/tzset.c (tz_rule): Time of day is now signed.
40311         (__tzset_parse_tz): Parse negative time of day.
40313         Document TZ transition times >= 25:00:00.
40314         * manual/time.texi (TZ Variable): Document transition times from
40315         25:00:00 through 167:59:59.  These are already supported, and this
40316         support will help with version-3 tz-format files.
40318         * manual/time.texi (TZ Variable): Modernize North America example
40319         to reflect current (i.e., 2007-and-later) daylight saving rules.
40321         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
40323 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40325         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
40326         * sysdeps/unix/bsd/bits/stat.h: Likewise.
40327         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
40328         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40329         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
40330         * sysdeps/unix/bsd/bsdstat.h: Likewise.
40331         * sysdeps/unix/bsd/clock.c: Likewise.
40332         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
40333         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
40334         * sysdeps/unix/bsd/init-posix.c: Likewise.
40335         * sysdeps/unix/bsd/poll.c: Likewise.
40336         * sysdeps/unix/bsd/ptsname.c: Likewise.
40337         * sysdeps/unix/bsd/seekdir.c: Likewise.
40338         * sysdeps/unix/bsd/setegid.c: Likewise.
40339         * sysdeps/unix/bsd/seteuid.c: Likewise.
40340         * sysdeps/unix/bsd/setgid.c: Likewise.
40341         * sysdeps/unix/bsd/setrgid.c: Likewise.
40342         * sysdeps/unix/bsd/setruid.c: Likewise.
40343         * sysdeps/unix/bsd/setsid.c: Likewise.
40344         * sysdeps/unix/bsd/setuid.c: Likewise.
40345         * sysdeps/unix/bsd/sigaction.c: Likewise.
40346         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
40347         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
40348         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
40349         * sysdeps/unix/bsd/telldir.c: Likewise.
40350         * sysdeps/unix/bsd/times.c: Likewise.
40351         * sysdeps/unix/bsd/usleep.c: Likewise.
40353         * misc/Makefile (install-lib): Remove libbsd-compat.a.
40354         ($(objpfx)libbsd-compat.a): Remove rule.
40356         * include/features.h (__FAVOR_BSD): Do not define.
40357         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
40358         features conflicting with POSIX.
40359         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
40360         (_BSD_SOURCE): Remove description of not being a subset of other
40361         feature test macros.
40362         * manual/job.texi (getpgrp): Do not document BSD version.
40363         (getpgid): Do not document by reference to BSD getpgrp.
40364         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
40365         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
40366         * signal/signal.h [__FAVOR_BSD]: Likewise.
40367         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
40368         instead of making contents conditional on [__FAVOR_BSD].
40369         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
40371 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40375 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40377         [BZ #16314]
40378         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
40379         values below 2**-450, not 2**-500.
40380         * math/auto-libm-test-in: Don't allow spurious underflow from
40381         hypot.
40382         * math/auto-libm-test-out: Regenerated.
40384         [BZ #16316]
40385         [BZ #16330]
40386         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
40387         values of ha and hb and sort them after adjusting subnormal
40388         arguments.
40389         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
40390         Likewise.
40391         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
40392         values of ea and eb and sort them after adjusting subnormal
40393         arguments.
40394         * math/auto-libm-test-in: Do not expect some hypot tests of
40395         subnormals to fail.  Add more hypot tests.
40396         * math/auto-libm-test-out: Regenerated.
40398 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40400         [BZ #13304]
40401         * sysdeps/sh/s_fma.c: New file.
40402         * sysdeps/sh/s_fmaf.c: New file.
40403         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
40404         version.
40405         * sysdeps/sh/Implies: Add sh/soft-fp.
40407 2013-12-16  Roland McGrath  <roland@hack.frob.com>
40409         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
40410         level of indirection to members `objname', `errstring', `malloced'.
40411         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
40412         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
40413         it as the __longjmp argument (just pass 1 instead).
40414         (_dl_catch_error): Initialize C with argument pointers and address of
40415         volatile local ERRCODE rather than copying values out of C at return.
40417 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
40419         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
40420         * math/auto-libm-test-out: Regenerated.
40421         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
40422         (hypot_test_data): Likewise.
40423         (pow_test_data): Likewise.
40424         (pow_tonearest_test_data): Likewise.
40425         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40426         mpfr_ff_f.
40427         (func_calc_desc): Add mpfr_ff_f union field.
40428         (FUNC_mpfr_ff_f): New macro.
40429         (test_functions): Add atan2, hypot and pow.
40430         (special_fill_min): New function.
40431         (special_fill_minus_min): Likewise.
40432         (special_fill_min_subnorm): Likewise.
40433         (special_fill_minus_min_subnorm): Likewise.
40434         (special_real_inputs): Add min, -min, min_subnorm and
40435         -min_subnorm.
40436         (calc_generic_results): Handle mpfr_ff_f.
40437         * sysdeps/i386/fpu/libm-test-ulps: Update.
40438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40440 2013-12-16  Will Newton  <will.newton@linaro.org>
40442         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
40443         (Aligned Memory Blocks): Add documentation for aligned_alloc
40444         and suggest it as an alternative to posix_memalign.
40445         (Hooks for Malloc): Document __memalign_hook is also called
40446         for aligned_alloc.  (Summary of Malloc): Add summary for
40447         aligned alloc.  Document __memalign_hook is also called
40448         for aligned_alloc.
40450 2013-12-16  Will Newton  <will.newton@linaro.org>
40452         * manual/memory.texi (Malloc Examples): Clarify default
40453         alignment documentation.  Suggest posix_memalign rather
40454         than memalign or valloc.
40455         (Aligned Memory Blocks): Remove suggestion to use memalign
40456         or valloc.  Remove obsolete comment about BSD.
40457         Document memalign errno values and mark the function obsolete.
40458         Document posix_memalign returned error codes.  Mark valloc
40459         as obsolete.  (Hooks for Malloc): __memalign_hook is also
40460         called for posix_memalign and valloc.
40461         (Summary of Malloc): Add posix_memalign to function summary.
40462         __memalign_hook is also called for posix_memalign and valloc.
40464 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40466         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
40467         TAYLOR_SIN.
40468         (__sin): Adjust.
40469         (__cos): Likewise.
40470         (sloww): Use mynumber union.  Expand ternary operator into
40471         if-else statements.
40472         (cslow): use mynumber union.
40474 2013-12-16  Allan McRae  <allan@archlinux.org>
40476         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
40477         * configure: Regenerated.
40479         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
40481         [BZ #14120]
40482         * configure.ac: Added --enable-maintainer-mode. Check for
40483         autoconf when enabled.
40484         * configure: Regenerated.
40486         * nscd/nscd.service: New file.
40487         * nscd/nscd.tmpfiles: New file.
40489 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
40491         [BZ #12100]
40492         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
40493         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
40494         * sysdeps/x86_64/multiarch/strstr.c: ... here.
40495         (strstr): Add __strstr_sse2_unaligned ifunc.
40496         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
40497         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
40498         (strcasestr): Remove __strcasestr_sse42 ifunc.
40499         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
40500         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
40501         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40503 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40505         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
40506         * sysdeps/sh/bits/fenv.h: ... here.
40507         * sysdeps/sh/sh4/fpu/bits: Remove directory.
40509 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40511         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
40513         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
40514         hypotf multiarch implementations.
40515         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
40516         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
40517         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
40518         multiarch hypot for PPC64.
40519         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
40520         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
40521         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
40522         multiarch hypotf for PPC64.
40524         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
40525         modff multiarch implementations.
40526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
40527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
40528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
40529         multiarch modf for PPC64.
40530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
40531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
40532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
40533         multiarch modff for PPC64.
40535         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
40536         and logl multiarch implementations.
40537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
40538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
40539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
40540         multiarch logb for PPC64.
40541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
40542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
40543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
40544         multiarch logb for PPC64.
40545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
40546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
40547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
40548         multiarch logb for PPC64.
40550         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
40551         isinff multiarch implementation.
40552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
40553         file.
40554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
40555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
40556         multiarch isinf for PPC64.
40557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
40558         file.
40559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
40560         multiarch isinff for PPC64.
40562         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
40563         finitef multiarch implementation.
40564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
40565         file.
40566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
40567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
40568         multiarch finite for PPC64.
40569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
40570         file.
40571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
40572         multiarch finitef for PPC64.
40574         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
40575         lrint multiarch implementation.
40576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
40577         file.
40578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
40579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
40580         multiarch llrint for PPC64.
40581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
40582         multiarch lrint for PPC64.
40584         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
40585         copysignf multiarch implementation.
40586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
40587         file.
40588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
40589         file.
40590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
40591         multiarch copysign for PPC64.
40592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
40593         multiarch copysignf for PPC64.
40595         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
40596         multiarch implementation.
40597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
40598         file.
40599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
40600         file.
40601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
40602         file.
40603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
40604         file.
40605         multiarch llround for PPC64.
40606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
40607         multiarch trunc for PPC64.
40608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
40609         multiarch truncf for PPC64.
40611         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
40612         multiarch implementation.
40613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
40614         file.
40615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
40616         file.
40617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
40618         file.
40619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
40620         file.
40621         multiarch llround for PPC64.
40622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
40623         multiarch round for PPC64.
40624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
40625         multiarch roundf for PPC64.
40627         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
40628         multiarch implementation.
40629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
40630         file.
40631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
40632         file.
40633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
40634         file.
40635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
40636         file.
40637         multiarch llround for PPC64.
40638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
40639         multiarch floor for PPC64.
40640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
40641         multiarch floorf for PPC64.
40643         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
40644         multiarch implementation.
40645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
40646         file.
40647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
40648         file.
40649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
40650         file.
40651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
40652         file.
40653         multiarch llround for PPC64.
40654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
40655         multiarch ceil for PPC64.
40656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
40657         multiarch ceilf for PPC64.
40659         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40660         multiarch implementation.
40661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
40662         file.
40663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
40664         file.
40665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
40666         file.
40667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
40668         multiarch llround for PPC64.
40669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
40670         multiarch lround for PPC64.
40672         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40673         multiarch implementation.
40674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
40675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
40676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
40677         file.
40678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
40679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
40680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
40681         multiarch isnan for PPC64.
40682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
40683         multiarch isnanf for PPC64.
40685         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
40686         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
40687         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
40688         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
40689         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
40690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
40692         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
40693         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40694         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40695         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40697         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
40698         multiarch implementations.
40699         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40700         (__libc_ifunc_impl_list): Likewise.
40701         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
40702         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
40703         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
40704         multiarch stpcpy for PPC64.
40706         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
40707         multiarch implementations.
40708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40709         (__libc_ifunc_impl_list): Likewise.
40710         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
40711         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
40712         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
40713         multiarch strcpy for PPC64.
40715         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
40716         redefine function name.
40717         (_wordcopy_fwd_dest_aligned): Likewise.
40718         (_wordcopy_bwd_aligned): Likewise.
40719         (_wordcopy_bwd_dest_aligned): Likewise.
40720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
40721         multiarch implementations.
40722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40723         (__libc_ifunc_impl_list): Likewise.
40724         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
40725         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
40726         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
40727         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
40728         multiarch wcscpy for PPC64.
40730         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
40731         multiarch implementations.
40732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40733         (__libc_ifunc_impl_list): Likewise.
40734         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
40735         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
40736         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
40737         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
40738         multiarch wcscpy for PPC64.
40740         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
40741         multiarch implementations.
40742         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40743         (__libc_ifunc_impl_list): Likewise.
40744         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
40745         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
40746         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
40747         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
40748         multiarch wcsrchr for PPC64.
40750         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
40751         multiarch implementations.
40752         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40753         (__libc_ifunc_impl_list): Likewise.
40754         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
40755         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
40756         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
40757         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
40758         multiarch wcschr for PPC64.
40760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
40761         multiarch implementations.
40762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40763         (__libc_ifunc_impl_list): Likewise.
40764         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
40765         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
40766         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
40767         multiarch strchrnul for PPC64.
40769         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
40770         implementations.
40771         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40772         (__libc_ifunc_impl_list): Likewise.
40773         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
40774         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
40775         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
40776         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
40777         strchr for PPC64.
40779         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
40780         implementations.
40781         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40782         (__libc_ifunc_impl_list): Likewise.
40783         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
40784         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
40785         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
40786         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
40787         strncmp for PPC64.
40789         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
40790         multiarch implementations.
40791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40792         (__libc_ifunc_impl_list): Likewise.
40793         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
40794         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
40795         strncasecmp for PPC64.
40796         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
40797         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
40798         multiarch strncasecmp_l for PPC64.
40800         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
40801         multiarch implementations.
40802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40803         (__libc_ifunc_impl_list): Likewise.
40804         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
40805         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
40806         multiarch strcasecmp for PPC64.
40807         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
40808         file.
40809         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
40810         multiarch strcasecmp_l for PPC64.
40812         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
40813         implementations.
40814         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40815         (__libc_ifunc_impl_list): Likewise.
40816         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
40817         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
40818         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
40819         strnlen for PPC64.
40821         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
40822         implementations.
40823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40824         (__libc_ifunc_impl_list): Likewise.
40825         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
40826         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
40827         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
40828         strlen for PPC64.
40830         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
40831         implementations.
40832         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40833         (__libc_ifunc_impl_list): Likewise.
40834         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
40835         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
40836         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
40837         rawmemrchr for PPC64.
40839         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
40840         implementation.
40841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40842         (__libc_ifunc_impl_list): Likewise.
40843         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
40844         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
40845         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
40846         memrchr for PPC64.
40848         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
40849         implementation.
40850         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40851         (__libc_ifunc_impl_list): Likewise.
40852         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
40853         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
40854         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
40855         memchr for PPC64.
40857         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
40858         implementation.
40859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40860         (__libc_ifunc_impl_list): Likewise.
40861         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
40862         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
40863         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
40864         mempcpy for PPC64.
40866         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
40867         avoid cretion of __bzero symbol.
40868         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
40869         Likewise.
40870         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
40871         Likewise.
40872         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
40873         Likewise.
40874         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
40875         multiarch implementations.
40876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40877         (__libc_ifunc_impl_list): Likewise.
40878         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
40879         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
40880         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
40881         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
40882         bzero for PPC32.
40883         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
40884         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
40885         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
40886         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
40887         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
40888         memset for PPC64.
40889         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
40891         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
40892         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
40893         implementations.
40894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40895         (__libc_ifunc_impl_list): Likewise.
40896         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
40897         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
40898         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
40899         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
40900         memcmp for PPC64.
40902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
40903         multiarch for POWER/PPC64.
40904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
40905         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
40906         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
40907         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
40908         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
40909         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
40910         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
40911         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
40912         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
40913         memcpy for PPC64.
40915         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
40916         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
40917         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
40918         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
40919         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
40920         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
40921         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
40922         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
40923         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
40924         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
40925         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
40926         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
40927         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
40928         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
40929         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
40930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
40931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
40932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
40933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
40934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
40935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
40936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
40938 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40940         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
40942 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40944         * benchtests/Makefile (bench): Add exp2 and log2.
40945         (LDLIBS-bench-exp2): Add -lm.
40946         (LDLIBS-bench-log2): Likewise.
40947         * benchtests/exp2-inputs: New inputs file.
40948         * benchtests/log2-inputs: New inputs file.
40949         * benchtests/log-inputs: Add new inputs.
40950         * benchtests/tan-inputs: Likewise.
40952 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40954         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
40955         definition...
40956         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
40957         (csloww2): ... from here.
40959         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
40960         instead of structures.
40961         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
40962         (POLYNOMIAL): Likewise.
40963         (TAYLOR_SLOW): Likewise.
40964         (__sin): Likewise.
40965         (__cos): Likewise.
40966         (slow1): Likewise.
40967         (slow2): Likewise.
40968         (sloww): Likewise.
40969         (sloww1); Likewise.
40970         (sloww2): Likewise.
40971         (bsloww1): Likewise.
40972         (bsloww2): Likewise.
40973         (cslow2): Likewise.
40974         (csloww): Likewise.
40975         (csloww1): Likewise.
40976         (csloww2): Likewise.
40978 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
40980         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
40981         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
40982         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
40983         * malloc/hooks.c (realloc_check): Likewise.
40985         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
40986         * malloc/arena.c: Remove PER_THREAD conditional.
40987         [!PER_THREAD]: Remove code.
40988         (ptmalloc_unlock_all2): Likewise.
40989         (ptmalloc_init): Likewise.
40990         (_int_new_arena): Likewise.
40991         (arena_get2): Likewise.
40992         * malloc/hooks.c (__malloc_get_state): Likewise.
40993         (__malloc_set_state): Likewise.
40994         * malloc/malloc.c: Likewise.
40995         (struct malloc_state): Likewise.
40996         (struct malloc_par): Likewise.
40997         (__libc_realloc): Likewise.
40998         (__libc_mallopt): Likewise.
41000 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41002         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
41004 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
41006         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
41007         macro to a function.  Check for zero perturb_byte.
41008         (_int_malloc, _int_free): Remove zero perturb_byte checks.
41010         * malloc/malloc.c: (force_reg): Remove.
41011         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
41012         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
41013         force_reg by atomic_forced_read.
41014         * malloc/arena.c (ptmalloc_init): Likewise.
41015         * malloc/hooks.c (top_check): Likewise.
41017 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41021 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
41023         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41025 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
41027         * math/auto-libm-test-in: Add tests of lgamma.
41028         * math/auto-libm-test-out: Regenerated.
41029         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
41030         (M_LOG_2_SQRT_PIl): Likewise.
41031         (lgamma_test_data): Use AUTO_TESTS_f_f1.
41032         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41033         mpfr_f_f1.
41034         (func_calc_desc): Add mpfr_f_f1 union field.
41035         (ARGS1): New macro.
41036         (ARGS2): Likewise.
41037         (ARGS3): Likewise.
41038         (ARGS4): Likewise.
41039         (RET1): Likewise.
41040         (RET2): Likewise.
41041         (CALC): Likewise.
41042         (FUNC): Likewise.
41043         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
41044         (test_functions): Add lgamma.
41045         (calc_generic_results): Handle mpfr_f_f1.
41046         * sysdeps/i386/fpu/libm-test-ulps: Update.
41047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41049 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41051         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
41052         __mpn_add_n for PowerPC64/POWER7.
41053         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
41054         __mpn_sub_n for PowerPC64/POWER7.
41056         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
41057         __mpn_addmul_1 for PowerPC64.
41058         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
41059         __mpn_submul_1 for PowerPC64.
41060         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
41061         for PowerPC64.
41062         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
41063         for PowerPC64.
41065 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
41067         [BZ #15089]
41068         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
41070 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41072         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
41074         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
41075         add multiarch folders.
41076         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
41077         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
41078         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
41079         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
41080         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
41081         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
41082         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
41083         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
41084         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
41085         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
41086         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
41087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
41088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
41089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
41090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
41091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
41092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
41094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41095         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
41096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
41097         New file.
41098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
41099         New file.
41100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
41101         multiarch __ieee754_hypot for PowerPC32.
41102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
41103         New file.
41104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
41105         New file.
41106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
41107         multiarch __ieee754_hypotf for PowerPC32.
41109         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
41110         long_double_symbol only if __logbl is defined.
41111         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
41112         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
41113         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
41114         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
41115         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
41116         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
41117         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
41118         path for implementation.
41119         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
41120         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
41121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
41122         logb, and logbl multiarch implementations for PowerPC32.
41123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
41124         file.
41125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
41126         file.
41127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
41128         multiarch logb for PowerPC32.
41129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
41130         file.
41131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
41132         file.
41133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
41134         multiarch logbf for PowerPC32.
41135         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
41136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
41137         file.
41138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
41139         multiarch logbl implementation for PowerPC32.
41141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
41142         and modff multiarch implementations.
41143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
41144         New file.
41145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
41146         New file.
41147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
41148         multiarch modf for PowerPC32.
41149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
41150         New file.
41151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
41152         New file.
41153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
41154         multiarch modff for PowerPC32.
41156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
41157         and lrintf multiarch implementations.
41158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
41159         New file.
41160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
41161         New file.
41162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
41163         multiarch lrint for PowerPC32.
41164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
41165         file: multiarch lrintf for PowerPC32.
41167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
41168         and lroundf multiarch implementations.
41169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
41170         New file.
41171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
41172         New file.
41173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
41174         New file.
41175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
41176         multiarch lround for PowerPC32.
41177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
41178         file: multiarch lroundf for PowerPC32.
41180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41181         copysign and copysignf multiarch implementations.
41182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
41183         New file.
41184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
41185         New file.
41186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
41187         file: multiarch copysign for PowerPC32.
41188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
41189         file: multiarch copysignf for PowerPC32.
41191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
41192         and truncf multiarch implementations.
41193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
41194         New file.
41195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
41196         file.
41197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
41198         multiarch trunc for PowerPC32.
41199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
41200         New file.
41201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
41202         New file.
41203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
41204         multiarch truncf for PowerPC32.
41206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
41207         and roundf multiarch implementations.
41208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
41209         New file.
41210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
41211         file.
41212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
41213         multiarch round for PowerPC32.
41214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
41215         New file.
41216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
41217         New file.
41218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
41219         multiarch roundf for PowerPC32.
41221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
41222         and floorf multiarch implementations.
41223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
41224         New file.
41225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
41226         file.
41227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
41228         multiarch floor for PowerPC32.
41229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
41230         New file.
41231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
41232         New file.
41233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
41234         multiarch floorf for PowerPC32.
41236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
41237         and ceilf multiarch implementations.
41238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
41239         New file.
41240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
41241         file.
41242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
41243         multiarch ceil for PowerPC32.
41244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
41245         New file.
41246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
41247         file.
41248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
41249         multiarch ceilf for PowerPC32.
41251         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
41252         is defined.
41253         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
41254         FINITEF is defined.
41255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
41256         and finitef multiarch implementations.
41257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
41258         New file.
41259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
41260         file.
41261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
41262         multiarch finite for PowerPC32.
41263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
41264         New file.
41265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
41266         file: multiarch finitef for PowerPC32.
41268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
41269         and isinff multiarch implementations.
41270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
41271         file.
41272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
41273         file.
41274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
41275         multiarch isinf for PowerPC32.
41276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
41277         New file.
41278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
41279         multiarch isinff for PowerPC32.
41281         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
41282         alias when __isnan is defined.
41283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
41284         and isnanf multiarch implementations.
41285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
41286         file.
41287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
41288         file.
41289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
41290         file.
41291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
41292         file.
41293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
41294         multiarch isnan for PowerPC32.
41295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
41296         New file.
41297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
41298         New file.
41299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
41300         multiarch isnanf for PowerPC32.
41302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
41303         and sqrtf multiarch implementations.
41304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
41305         file.
41306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
41307         file.
41308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
41309         multiarch sqrt for PowerPC32.
41310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
41311         file.
41312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
41313         file.
41314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
41315         multiarch sqrtf for PowerPC32.
41317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
41318         and llroundf multiarch implementations.
41319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
41320         New file.
41321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
41322         New file.
41323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
41324         New file.
41325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
41326         file: multiarch llround for PowerPC32.
41327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
41328         file: multiarch llroundf for PowerPC32.
41330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
41331         multiarch PowerPC32 fpu implementations.
41332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
41333         New file.
41334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
41335         New file.
41336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
41337         multiarch llrint for PowerPC32.
41338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
41339         New file.
41340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
41341         New file.
41342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
41343         file.
41345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
41347         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
41348         file.
41349         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
41350         file.
41351         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
41352         file.
41353         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
41354         multiarch wordcopy for PPC32.
41355         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41356         wordcopy objects.
41357         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41358         (__libc_ifunc_impl_list): Likewise.
41359         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
41360         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
41361         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
41362         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
41363         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
41364         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
41366         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
41367         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
41368         file.
41369         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
41370         file.
41371         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
41372         file.
41373         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
41374         multiarch wcscpy for PPC32.
41375         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41376         multiarch objects.
41377         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41378         (__libc_ifunc_impl_list): Likewise.
41379         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41380         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41381         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
41382         sysdeps/powerpc/power6/wcscpy.c.
41384         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
41385         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
41386         file.
41387         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
41388         file.
41389         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
41390         file.
41391         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
41392         multiarch wcsrchr for PPC32.
41393         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41394         multiarch objects.
41395         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41396         (__libc_ifunc_impl_list): Likewise.
41397         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41398         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41399         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
41400         sysdeps/powerpc/power6/wcsrchr.c.
41402         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
41403         file.
41404         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
41405         file.
41406         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
41407         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
41408         multiarch wcschr for PPc32.
41409         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41410         multiarch objects.
41411         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41412         (__libc_ifunc_impl_list): Likewise.
41413         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
41414         * sysdeps/powerpc/power6/wcschr.c: ... to here.
41415         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
41416         sysdeps/powerpc/power6/wcschr.c.
41418         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
41419         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
41420         file.
41421         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
41422         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
41423         file: multiarch strchr for PPC32.
41424         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
41425         multiarch objects.
41426         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41427         (__libc_ifunc_impl_list): Likewise.
41429         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
41430         name.
41431         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
41432         file.
41433         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
41434         file.
41435         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
41436         multiarch strchrnul for PPC32.
41437         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
41438         multiarch objects.
41439         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41440         (__libc_ifunc_impl_list): Likewise.
41442         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
41443         file.
41444         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
41445         multiarch strncasecmp for PPC32.
41446         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
41447         file.
41448         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
41449         multiarch strncasecmp_l for PPC32.
41450         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
41451         strncasecmp multiarch objects.
41452         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41453         (__libc_ifunc_impl_list): Likewise.
41455         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
41456         file.
41457         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
41458         multiarch strncasecmp for PPC32.
41459         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41460         New file.
41461         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
41462         multiarch strcasecmp_l for PPC32.
41463         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
41464         multiarch objects.
41465         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41466         (__libc_ifunc_impl_list): Likewise.
41468         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
41469         file.
41470         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
41471         file.
41472         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
41473         multiarch strncmp for PPC32.
41474         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
41475         multiarch objects.
41476         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41477         (__libc_ifunc_impl_list): Likewise.
41479         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
41480         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
41481         file.
41482         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
41483         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
41484         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
41485         multiarch objects.
41486         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41487         (__libc_ifunc_impl_list): Likewise.
41489         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
41490         file.
41491         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
41492         file.
41493         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
41494         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
41495         multiarch objects.
41496         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41497         (__libc_ifunc_impl_list): Likewise.
41499         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
41500         file.
41501         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
41502         file.
41503         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
41504         multiarch rawmemchr for PPC32.
41505         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
41506         multiarch objects.
41507         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41508         (__libc_ifunc_impl_list): Likewise.
41510         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
41511         file.
41512         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
41513         file.
41514         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
41515         file: memrchr multiarch for PPC32.
41516         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
41517         multiarch objects.
41518         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41519         (__libc_ifunc_impl_list): Likewise.
41521         * string/memchr.c (__memchr): Using macro to redefine symbol name.
41522         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
41523         file.
41524         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
41525         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
41526         multiarch memchr for PPC32.
41527         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
41528         multiarch objects.
41529         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41530         (__libc_ifunc_impl_list): Likewise.
41532         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
41533         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
41534         file.
41535         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
41536         file.
41537         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
41538         file: multiarch mempcpy for PPC32.
41539         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
41540         multiarch objects.
41541         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41542         (__libc_ifunc_impl_list): Likewise.
41544         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
41545         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
41546         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
41547         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
41548         multiarch bzero for PPC32.
41549         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
41550         file.
41551         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
41552         file.
41553         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
41554         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
41555         file: multiarch memset for PPC32.
41556         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
41557         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
41558         memset multiarch objects.
41559         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41560         (__libc_ifunc_impl_list): Likewise.
41562         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
41563         file.
41564         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
41565         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
41566         memcmp for PPC32.
41567         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
41568         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
41569         multiarch objects.
41570         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41571         (__libc_ifunc_impl_list): Likewise.
41573         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
41574         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
41575         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
41576         file.
41577         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
41578         file.
41579         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
41580         file.
41581         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
41582         multiarch memcpy for PPC32.
41583         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
41584         multiarch objects.
41585         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41586         (__libc_ifunc_impl_list): Likewise.
41588         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
41589         support multiarch for POWER/PPC32.
41590         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
41591         Likewise.
41592         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
41594         Implies file to make multiarch folder appers before the fpu and
41595         default folder for power4 configuration.
41597 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41599         * scripts/bench.pl: Append volatile keyword to type.
41601 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41603         * sysdeps/sh/sotruss-lib.c: New file.
41604         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
41606 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41610 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
41612         [BZ #6810]
41613         * math/w_tgamma.c: Include <errno.h>.
41614         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
41615         * math/w_tgammaf.c: Include <errno.h>.
41616         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
41617         * math/w_tgammal.c: Include <errno.h>.
41618         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
41619         * math/auto-libm-test-in: Do not allow missing errno on tgamma
41620         underflow.  Add more tgamma tests.
41621         * math/auto-libm-test-out: Regenerated.
41622         * sysdeps/i386/fpu/libm-test-ulps: Update.
41623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41625         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
41626         sin, sinh, tan, tanh, tgamma, y0 and y1.
41627         * math/auto-libm-test-out: Regenerated.
41628         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41629         (TEST_COND_x86): Likewise.
41630         (M_E2l): Remove macro.
41631         (M_E3l): Likewise.
41632         (M_2_SQRT_PIl): Likewise.
41633         (M_SQRT_PIl): Likewise.
41634         (M_1_DIV_El): Likewise.
41635         (log_test_data): Use AUTO_TESTS_f_f.
41636         (log10_test_data): Likewise.
41637         (log1p_test_data): Likewise.
41638         (log2_test_data): Likewise.
41639         (sin_test_data): Likewise.
41640         (sin_tonearest_test_data): Likewise.
41641         (sin_towardzero_test_data): Likewise.
41642         (sin_downward_test_data): Likewise.
41643         (sin_upward_test_data): Likewise.
41644         (sinh_test_data): Likewise.
41645         (sinh_tonearest_test_data): Likewise.
41646         (sinh_towardzero_test_data): Likewise.
41647         (sinh_downward_test_data): Likewise.
41648         (sinh_upward_test_data): Likewise.
41649         (tan_test_data): Likewise.
41650         (tan_tonearest_test_data): Likewise.
41651         (tan_towardzero_test_data): Likewise.
41652         (tan_downward_test_data): Likewise.
41653         (tan_upward_test_data): Likewise.
41654         (tanh_test_data): Likewise.
41655         (tgamma_test_data): Likewise.
41656         (y0_test_data): Likewise.
41657         (y1_test_data): Likewise.
41658         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
41659         (special_real_inputs): Add pi/4.
41660         * sysdeps/i386/fpu/libm-test-ulps: Update.
41661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41663 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41665         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
41666         "longjmp_target" static probes.
41667         (__longjmp): Rename to __longjmp_symbol.
41668         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41669         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
41670         on which longjmp to generate.
41671         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41672         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
41673         probe.
41674         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41675         (__sigjmp_save): Rename to __sigjmp_save_symbol.
41676         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41677         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
41678         and __sigjmp_save_symbol based on which sigsetjmp to generated.
41679         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
41681         __longjmp_symbol based on which __longjmp to generate.
41682         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
41683         probe.
41684         (setjmp): Rename to setjmp_symbol.
41685         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41686         (_setjmp): Rename to _setjmp_symbol.
41687         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41688         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
41689         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
41690         which setjmp to generate.
41691         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
41692         "longjmp_target" static probes.
41694 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41696         * benchtests/README: Add note about output arguments.
41697         * benchtests/bench-sincos.c: Remove file.
41698         * benchtests/sincos-inputs: New file.
41699         * scripts/bench.pl: Identify output arguments and define
41700         static variables for them.
41702         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
41704         [BZ #15941]
41705         * Makefile (INSTALL): Add install-plain.texi as the primary
41706         dependency.
41707         * manual/install-plain.texi: New file.
41708         * manual/install.texi: Include node directive only for
41709         non-plaintext output.
41711 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
41713         * stdlib/longlong.h: Update from GCC.
41715         [BZ #6807]
41716         [BZ #15901]
41717         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
41718         * math/w_j0f.c (y0f): Likewise.
41719         * math/w_j0l.c (__y0l): Likewise.
41720         * math/w_j1.c (y1): Likewise.
41721         * math/w_j1f.c (y1f): Likewise.
41722         * math/w_j1l.c (__y1l): Likewise.
41723         * math/w_jn.c (yn): Likewise.
41724         * math/w_jnf.c (ynf): Likewise.
41725         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
41726         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
41727         value for Bessel function domain errors outside _SVID_ mode.
41728         Adjust sign of return value for yn (negative integer, 0).
41729         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
41730         by zero in return for negative x and set sign appropriately for
41731         negative n.
41732         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
41733         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41734         * math/libm-test.inc (y0_test_data): Add more tests and adjust
41735         expectations in error cases.
41736         (y1_test_data): Likewise.
41737         (yn_test_data): Likewise.
41738         * sysdeps/i386/fpu/libm-test-ulps: Update.
41739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41741 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41743         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
41744         "64" to "64-v1".  Add "64-v2".
41745         (abi-64-options): Rename to ...
41746         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
41747         (abi-64-condition): Rename to ...
41748         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
41749         (abi-64-ld-soname): Rename to ...
41750         (abi-64-v1-ld-soname): ... this.
41751         (abi-64-v2-options): Define.
41752         (abi-64-v2-condition): Likewise.
41753         (abi-64-v2-ld-soname): Likewise.
41754         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
41755         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
41756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
41757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
41758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
41760 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41761             Alan Modra  <amodra@gmail.com>
41763         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
41764         New versions for use with the ELFv2 ABI.
41765         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
41766         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
41767         declaration.
41768         (struct La_ppc64v2_retval): Likewise.
41769         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
41770         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
41771         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
41772         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
41773         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
41774         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41775         Do not save or restore CR.
41776         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
41777         (_dl_profile_resolve): Do no save or restore CR.  Support extended
41778         return values for ELFv2 ABI.  Fix location of FPR return registers.
41779         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
41780         updated values for _CALL_ELF == 2.
41781         (La_regs, La_retval, int_retval): Likewise.
41783 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41785         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
41786         (FRAME_MIN_SIZE_PARM): Likewise.
41787         (FRAME_BACKCHAIN): Likewise.
41788         (FRAME_CR_SAVE): Likewise.
41789         (FRAME_LR_SAVE): Likewise.
41790         (FRAME_TOC_SAVE): Likewise.
41791         (FRAME_PARM_SAVE): Likewise.
41792         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
41793         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
41794         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41795         (call_mcount_parm_offset): New macro.
41796         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
41797         (PROF): Use symbolic stack frame offsets.
41798         (TAIL_CALL_SYSCALL_ERROR): Likewise.
41799         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
41800         Redefine in terms of FRAME_MIN_SIZE.
41801         (_dl_runtime_resolve): Use symbolic stack frame offsets.
41802         (_dl_profile_resolve): Likewise.  Update comment.
41803         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
41804         symbols stack frame offsets.
41805         (__sigsetjmp): Likewise.
41806         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
41807         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
41808         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
41809         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
41811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
41812         (FRAME_BACKCHAIN): Remove.
41813         (FRAME_CR_SAVE): Likewise.
41814         (FRAME_LR_SAVE): Likewise.
41815         (FRAME_COMPILER_DW): Likewise.
41816         (FRAME_LINKER_DW): Likewise.
41817         (FRAME_TOC_SAVE): Likewise.
41818         (FRAME_PARM_SAVE): Likewise.
41819         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
41820         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
41821         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
41823         (CHECK_SP): Use symbolic stack frame offsets.
41824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
41825         zone" instead of caller's parameter save area for temp storage.
41826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41827         Likewise.  Also, use symbolic stack frame offsets.
41828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
41829         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
41830         our own stack frame instead of the caller's.
41831         (__socket): Use symbolic stack frame offsets.
41833 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41834             Alan Modra  <amodra@gmail.com>
41836         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
41837         Define.
41838         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
41839         (PPC64_LOCAL_ENTRY_OFFSET): Define.
41840         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
41841         New function.
41842         (elf_machine_fixup_plt): Call it.
41843         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
41844         reloc arguments.
41845         (elf_machine_rela): Update call to elf_machine_plt_conflict.
41846         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41847         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
41848         r2 before calling target.
41850 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41851             Alan Modra  <amodra@gmail.com>
41853         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
41854         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
41855         versions of macros to support ELFv2 ABI.
41856         (LOCALENTRY): New macro.
41857         (ENTRY, EALIGN): Use it.
41858         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
41859         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
41860         fall through into ENTRY entry point.
41861         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
41862         Only define if _CALL_ELF != 2.
41864         (elf_machine_matches_host): Verify ABI version matches.
41865         (RTLD_START): Use LOCALENTRY.
41866         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
41867         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
41868         (PLT_ENTRY_WORDS): New macro.
41869         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
41870         (elf_machine_runtime_setup): Support ELFv2 ABI.
41871         (elf_machine_fixup_plt): Likewise.
41872         (elf_machine_plt_conflict): Likewise.
41873         (resolve_ifunc): Likewise.
41874         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41875         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41876         Likewise.
41877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
41878         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
41879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41880         (makecontext): Support ELFv2 ABI.
41881         * elf/elf.h (EF_PPC64_ABI): Define.
41883 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41885         * sysdeps/powerpc/powerpc64/sysdep.h
41886         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
41887         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
41888         (ENTRY) [ASSEMBLER]: ... but instead here ...
41889         (EALIGN) [ASSEMBLER]: ... and here.
41890         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
41891         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
41892         (ENTRY_2) [!ASSEMBLER]: Use it.
41893         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
41894         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
41895         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41896         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
41897         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
41898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
41899         Use PPC64_LOAD_FUNCPTR.
41901         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
41903 2013-12-04  Alan Modra  <amodra@gmail.com>
41905         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
41906         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
41907         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
41908         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
41910         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
41911         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
41912         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
41913         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
41914         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
41915         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
41917 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41920         (__makecontext): Fix incorrect CFI when backtracing out of
41921         context created via makecontext.
41922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
41923         (__setcontext): Fix incorrect CFI during switch to new context.
41924         (__novec_setcontext): Likewise.
41926 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41928         [BZ #4772]
41929         * time/strptime_l.c (__strptime_internal): Allow modifiers
41930         in strptime.
41931         * time/tst-strptime.c (day_tests): Add testcase.
41933 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41935         * scripts/bench.pl: Skip over blank lines.
41937 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
41939         [BZ #926]
41940         * manual/time.texi (Calendar Time): Clarify what timezone functions
41941         use.
41943 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41945         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41947 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41949         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
41950         implementation.
41951         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
41952         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
41953         * debug/memset_chk.c (__memset_chk): Likewise.
41954         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
41955         * debug/strncpy_chk.c: Likewise.
41957 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41959         [BZ #15268]
41960         [BZ #15425]
41961         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
41962         (__ieee754_exp): For possibly underflowing results, check size of
41963         result and force underflow exception if required.
41964         * math/auto-libm-test-in: Add more tests of exp.
41965         * math/auto-libm-test-out: Regenerated.
41966         * sysdeps/i386/fpu/libm-test-ulps: Update.
41967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41969         [BZ #16283]
41970         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
41971         * math/w_exp2f.c (__exp2f): Likewise.
41972         * math/w_exp2l.c (__exp2l): Likewise.
41973         * math/auto-libm-test-in: Do not allow missing errno on exp2
41974         underflow.
41975         * math/auto-libm-test-out: Regenerated.
41977 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
41979         [BZ #16274]
41980         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
41981         handle filename validation.
41982         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
41983         (do_open): Delete.
41985 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41987         [BZ #6786]
41988         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
41989         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
41990         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
41991         <float.h>.
41992         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
41993         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
41994         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41995         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
41996         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41997         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
41998         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41999         * math/auto-libm-test-in: Don't allow missing errno from erfc.
42000         Add more erfc tests.
42001         * math/auto-libm-test-out: Regenerated.
42002         * sysdeps/i386/fpu/libm-test-ulps: Update.
42003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42005         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
42006         exp2, expm1, j0 and j1.
42007         * math/auto-libm-test-out: Regenerated.
42008         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
42009         (erfc_test_data): Likewise.
42010         (exp_test_data): Likewise.
42011         (exp_tonearest_test_data): Likewise.
42012         (exp_towardzero_test_data): Likewise.
42013         (exp_downward_test_data): Likewise.
42014         (exp_upward_test_data): Likewise.
42015         (exp10_test_data): Likewise.
42016         (exp2_test_data): Likewise.
42017         (expm1_test_data): Likewise.
42018         (j0_test_data): Likewise.
42019         (j1_test_data): Likewise.
42020         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
42021         (input_flag_type): Add flag_xfail_rounding.
42022         (input_flags): Add xfail-rounding.
42023         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
42024         (output_for_one_input_case): Handle flag_xfail_rounding.
42025         * sysdeps/i386/fpu/libm-test-ulps: Update.
42026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42028 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
42030         [BZ #16289]
42031         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
42032         division by 0.
42034 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42036         [BZ #16195]
42037         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
42038         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
42039         (STAP_PROBE0): New macro.
42040         (STAP_PROBE1): Likewise.
42041         (STAP_PROBE2): Likewise.
42042         (STAP_PROBE3): Likewise.
42043         (STAP_PROBE4): Likewise.
42045 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
42047         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
42049 2013-12-02  Steve Ellcey  <sellcey@mips.com>
42051         * benchtests/Makefile (bench): Add sqrt.
42052         (LDLIBS-bench-sqrt): New.
42053         * benchtests/sqrt-input: New.
42055 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
42057         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
42058         (GAIH_EAI): Likewise.
42059         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
42060         (gaih_inet): Likewise.
42061         (getaddrinfo): Don't use GAIH_EAI.
42063         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
42064         (struct gaih): Remove definition.
42066 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42068         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
42069         Use HERRNOP directly.
42071 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42075 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
42077         * math/gen-auto-libm-tests.c (test_functions): Add more
42078         single-argument functions.
42079         (special_fill_pi_2): New function.
42080         (special_fill_minus_pi_2): Likewise.
42081         (special_fill_pi_6): Likewise.
42082         (special_fill_minus_pi_6): Likewise.
42083         (special_fill_pi_3): Likewise.
42084         (special_fill_2pi_3): Likewise.
42085         (special_fill_e): Likewise.
42086         (special_fill_1_e): Likewise.
42087         (special_fill_e_minus_1): Likewise.
42088         (special_real_inputs): Add more special inputs.
42089         (output_for_one_input_case): Do not require ERANGE on underflow to
42090         zero if round-to-nearest result does not underflow to zero, unless
42091         exact results required.
42092         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
42093         atan, atanh, cbrt, cos and cosh.
42094         * math/auto-libm-test-out: Regenerated.
42095         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
42096         (acos_tonearest_test_data): Likewise.
42097         (acos_towardzero_test_data): Likewise.
42098         (acos_downward_test_data): Likewise.
42099         (acos_upward_test_data): Likewise.
42100         (acosh_test_data): Likewise.
42101         (asin_test_data): Likewise.
42102         (asin_tonearest_test_data): Likewise.
42103         (asin_towardzero_test_data): Likewise.
42104         (asin_upward_test_data): Likewise.
42105         (asinh_test_data): Likewise.
42106         (atan_test_data): Likewise.
42107         (atanh_test_data): Likewise.
42108         (cbrt_test_data): Likewise.
42109         (cos_test_data): Likewise.
42110         (cos_tonearest_test_data): Likewise.
42111         (cos_towardzero_test_data): Likewise.
42112         (cos_downward_test_data): Likewise.
42113         (cos_upward_test_data): Likewise.
42114         (cosh_test_data): Likewise.
42115         (cosh_tonearest_test_data): Likewise.
42116         (cosh_towardzero_test_data): Likewise.
42117         (cosh_downward_test_data): Likewise.
42118         (cosh_upward_test_data): Likewise.
42119         * sysdeps/i386/fpu/libm-test-ulps: Update.
42120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42122 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
42124         [BZ #6787]
42125         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
42126         * math/w_exp10f.c (__exp10f): Likewise.
42127         * math/w_exp10l.c (__exp10l): Likewise.
42128         * math/libm-test.inc (exp10_test_data): Add more tests and expect
42129         errno settings in existing tests.
42131         [BZ #14032]
42132         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
42133         precision control set to double precision.
42134         * sysdeps/i386/fpu/w_sqrt.c: New file.
42135         * math/auto-libm-test-in: Add more tests.
42136         * math/auto-libm-test-out: Update.
42138         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
42139         (sqrt_test_tonearest): New function.
42140         (sqrt_towardzero_test_data): New variable.
42141         (sqrt_test_towardzero): New function.
42142         (sqrt_downward_test_data): New variable.
42143         (sqrt_test_downward): New function.
42144         (sqrt_upward_test_data): New variable.
42145         (sqrt_test_upward): New function.
42146         (main): Call the new functions.
42148         * math/gen-auto-libm-tests.c: New file.
42149         * math/auto-libm-test-in: Likewise.
42150         * math/auto-libm-test-out: New generated file.
42151         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
42152         variables.
42153         (%beautify): Add generated representations of zero.
42154         (top level): Set $auto_input and call parse_auto_input.
42155         (beautify): Remove trailing "f" from hex float constants.
42156         (parse_args): Handle XFAIL_TEST.
42157         (convert_condition): New function.
42158         (or_value): Likewise.
42159         (or_cond_value): Likewise.
42160         (generate_testfile): Handle AUTO_TESTS_* lines.
42161         (parse_auto_input): New function.
42162         * math/libm-test.inc (XFAIL_TEST): New macro.
42163         (ERRNO_UNCHANGED): Update value.
42164         (ERRNO_EDOM): Likewise.
42165         (ERRNO_ERANGE): Likewise.
42166         (IGNORE_RESULT): Likewise.
42167         (TEST_COND_flt_32): New macro.
42168         (TEST_COND_dbl_64): Likewise.
42169         (TEST_COND_ldbl_96_intel): Likewise.
42170         (TEST_COND_ldbl_96_m68k): Likewise.
42171         (TEST_COND_ldbl_128): Likewise.
42172         (TEST_COND_ldbl_128ibm): Likewise.
42173         (TEST_COND_long32): Likewise.
42174         (TEST_COND_long64): Likewise.
42175         (TEST_COND_before_rounding): Likewise.
42176         (TEST_COND_after_rounding): Likewise.
42177         (enable_test): Handle XFAIL_TEST flag.
42178         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
42179         with finite results.
42180         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
42181         auto-libm-test-out.
42183 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42184             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42186         [BZ #16214]
42187         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
42188         __tls_get_addr_internal instead of __tls_get_offset in order to
42189         avoid GOT pointer dependency.  Make rtld export
42190         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
42191         __tls_get_addr since we are a __tls_get_offset platform.
42192         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
42193         GOT pointer being set up before.
42194         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
42196 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
42198         * manual/math.texi (Errors in Math Functions): Document accuracy
42199         goals.
42201         [BZ #15004]
42202         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
42203         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
42204         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42205         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42206         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42207         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42208         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42209         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42210         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42211         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42212         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42213         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42214         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42215         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42216         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42217         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42219         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
42220         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
42221         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
42222         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
42223         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
42224         Likewise.
42225         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
42226         Likewise.
42227         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
42228         Likewise.
42229         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
42230         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
42231         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
42232         atomic-feupdateenv and flt-rounds.
42233         * sysdeps/powerpc/nofpu/Versions (libc): Add
42234         __atomic_feholdexcept, __atomic_feclearexcept,
42235         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
42236         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
42237         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
42238         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
42239         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
42240         here.
42241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42242         Update.
42244         * manual/arith.texi (FP Exceptions): Document that exceptions may
42245         not be raised when matherr is used.
42246         (Math Error Reporting): Document overflow in directed rounding
42247         modes.  Document that errno may not be set when finite values are
42248         returned on overflow.  Document intent to set errno on underflow
42249         only for underflow to zero.
42251         [BZ #16271]
42252         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
42253         round-to-nearest then adjust result for other rounding modes.
42254         * include/fenv.h (fegetround): Use libm_hidden_proto.
42255         * math/fegetround.c (fegetround): Use libm_hidden_def.
42256         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
42257         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
42258         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42259         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
42260         Likewise.
42261         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
42262         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42263         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
42264         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
42266 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42268         [BZ #16077]
42269         * nss/Versions (libnss_files): Add
42270         _nss_files_gethostbyname3_r.
42271         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
42272         New function.
42273         (HOST_DB_LOOKUP): Remove macro.
42274         (_nss_files_gethostbyname_r): Implement function without the
42275         HOST_DB_LOOKUP macro.
42276         (_nss_files_gethostbyname2_r): Likewise.
42278 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
42280         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
42282 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
42284         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
42285         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
42286         warning.
42288 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42290         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
42291         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
42292         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42293         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
42294         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
42295         __fe_nomask_env_priv and attribute_hidden.
42296         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
42297         (libc_feupdateenv_test_ppc): Likewise.
42298         (libc_feresetround_ppc): Likewise.
42299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42300         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
42301         compat_symbol macro.
42302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42303         (__fe_nomask_env): Likewise.
42304         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
42306 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42308         * string/Makefile: Remove ifunc tests.
42309         * string/test-string.h: Define TEST_IFUNC.
42310         * string/test-bcopy-ifunc.c: Remove.
42311         * string/test-bzero-ifunc.c: Likewise.
42312         * string/test-memccpy-ifunc.c: Likewise.
42313         * string/test-memchr-ifunc.c: Likewise.
42314         * string/test-memcmp-ifunc.c: Likewise.
42315         * string/test-memcpy-ifunc.c: Likewise.
42316         * string/test-memmem-ifunc.c: Likewise.
42317         * string/test-memmove-ifunc.c: Likewise.
42318         * string/test-mempcpy-ifunc.c: Likewise.
42319         * string/test-memrchr-ifunc.c: Likewise.
42320         * string/test-memset-ifunc.c: Likewise.
42321         * string/test-rawmemchr-ifunc.c: Likewise.
42322         * string/test-stpcpy-ifunc.c: Likewise.
42323         * string/test-stpncpy-ifunc.c: Likewise.
42324         * string/test-strcasecmp-ifunc.c: Likewise.
42325         * string/test-strcasestr-ifunc.c: Likewise.
42326         * string/test-strcat-ifunc.c: Likewise.
42327         * string/test-strchr-ifunc.c: Likewise.
42328         * string/test-strchrnul-ifunc.c: Likewise.
42329         * string/test-strcmp-ifunc.c: Likewise.
42330         * string/test-strcpy-ifunc.c: Likewise.
42331         * string/test-strcspn-ifunc.c: Likewise.
42332         * string/test-strlen-ifunc.c: Likewise.
42333         * string/test-strncasecmp-ifunc.c: Likewise.
42334         * string/test-strncat-ifunc.c: Likewise.
42335         * string/test-strncmp-ifunc.c: Likewise.
42336         * string/test-strncpy-ifunc.c: Likewise.
42337         * string/test-strnlen-ifunc.c: Likewise.
42338         * string/test-strpbrk-ifunc.c: Likewise.
42339         * string/test-strrchr-ifunc.c: Likewise.
42340         * string/test-strspn-ifunc.c: Likewise.
42341         * string/test-strstr-ifunc.c: Likewise.
42343 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42345         * benchtests/Makefile: Remove ifunc tests.
42346         * benchtests/bench-string.h: Define TEST_IFUNC.
42347         * benchtests/bench-bcopy-ifunc.c: Remove.
42348         * benchtests/bench-bzero-ifunc.c: Likewise.
42349         * benchtests/bench-memccpy-ifunc.c: Likewise.
42350         * benchtests/bench-memchr-ifunc.c: Likewise.
42351         * benchtests/bench-memcmp-ifunc.c: Likewise.
42352         * benchtests/bench-memcpy-ifunc.c: Likewise.
42353         * benchtests/bench-memmem-ifunc.c: Likewise.
42354         * benchtests/bench-memmove-ifunc.c: Likewise.
42355         * benchtests/bench-mempcpy-ifunc.c: Likewise.
42356         * benchtests/bench-memrchr-ifunc.c: Likewise.
42357         * benchtests/bench-memset-ifunc.c: Likewise.
42358         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
42359         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
42360         * benchtests/bench-stpcpy-ifunc.c: Likewise.
42361         * benchtests/bench-stpncpy-ifunc.c: Likewise.
42362         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
42363         * benchtests/bench-strcasestr-ifunc.c: Likewise.
42364         * benchtests/bench-strcat-ifunc.c: Likewise.
42365         * benchtests/bench-strchr-ifunc.c: Likewise.
42366         * benchtests/bench-strchrnul-ifunc.c: Likewise.
42367         * benchtests/bench-strcmp-ifunc.c: Likewise.
42368         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
42369         * benchtests/bench-strcpy-ifunc.c: Likewise.
42370         * benchtests/bench-strcspn-ifunc.c: Likewise.
42371         * benchtests/bench-strlen-ifunc.c: Likewise.
42372         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
42373         * benchtests/bench-strncat-ifunc.c: Likewise.
42374         * benchtests/bench-strncmp-ifunc.c: Likewise.
42375         * benchtests/bench-strncpy-ifunc.c: Likewise.
42376         * benchtests/bench-strnlen-ifunc.c: Likewise.
42377         * benchtests/bench-strpbrk-ifunc.c: Likewise.
42378         * benchtests/bench-strrchr-ifunc.c: Likewise.
42379         * benchtests/bench-strsep-ifunc.c: Likewise.
42380         * benchtests/bench-strspn-ifunc.c: Likewise.
42381         * benchtests/bench-strstr-ifunc.c: Likewise.
42383 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42385         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
42387 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42389         * resolv/netdb.h: Use __glibc_reserved instead __unused.
42390         * rt/aio.h: Likewise.
42391         * sysdeps/gnu/bits/utmp.h: Likewise.
42392         * sysdeps/gnu/bits/utmpx.h: Likewise.
42393         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42394         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
42395         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
42396         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
42397         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
42398         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
42399         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
42400         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
42401         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
42402         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
42403         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
42404         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
42405         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
42406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
42407         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42408         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
42409         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
42410         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
42411         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
42412         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
42413         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
42414         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
42415         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
42416         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42417         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
42418         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42419         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
42420         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
42421         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
42422         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
42423         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
42424         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
42425         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
42426         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42427         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
42428         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
42429         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
42430         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
42431         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
42432         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
42433         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
42434         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42436 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
42438         [BZ #16245]
42439         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
42440         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
42442 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
42444         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
42445         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
42446         Likewise.
42448 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42450         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
42451         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
42452         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
42453         (__fesetround): Remove define.
42454         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
42455         rounding and exceptions handling.
42456         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
42457         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
42458         (__fe_nomask_env): Likewise.
42459         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
42460         __fegetround instead of fegetround.
42461         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42462         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
42464 2013-11-21  Roland McGrath  <roland@hack.frob.com>
42466         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
42467         it's there.
42469         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
42471 2013-11-21  Meador Inge  <meadori@codesourcery.com>
42473         [BZ #11157]
42474         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
42475         (encrypt_r): Likewise.
42476         * malloc/obstack.h (obstack_free): Likewise.
42477         * posix/unistd.h (encrypt): Likewise.
42479 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
42481         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
42482         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
42483         DL_CALL_DT_FINI() that call the functions directly.
42484         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
42485         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
42486         * elf/dl-fini.c: Likewise.
42488 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
42490         * malloc/hooks.c (memalign_check): Add alignment rounding.
42491         * malloc/malloc.c (_mid_memalign): New function.
42492         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
42493         Implement by calling _mid_memalign.
42494         * manual/probes.texi (Memory Allocation Probes): Remove
42495         memory_valloc_retry and memory_pvalloc_retry.
42497 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42499         * locale/programs/locarchive.c (open_archive): Add const
42500         qualifier to ARCHIVEFNAME and copy default fname to
42501         DEFAULT_FNAME.
42503         [BZ #15601]
42504         * libio/tst-widetext.input: Rename Oriya to Odia.
42505         * locale/iso-639.def: Likewise.
42507         * manual/probes.texi (Mathematical Function Probes): Add
42508         documentation for sin, cos, asin and acos probes.
42509         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
42510         (__sin32): Add slowasin probe.
42511         (__cos32): Add slowacos probe.
42512         (__mpsin): Add slowsin probe.
42513         (__mpcos): Add slowcos probe.
42515 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
42517         [BZ #15483]
42518         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
42519         thread-local __sim_exceptions_thread and global
42520         __sim_exceptions_global.
42521         (__sim_disabled_exceptions): Change to thread-local
42522         __sim_disabled_exceptions_thread and global
42523         __sim_disabled_exceptions_global.
42524         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42525         and global __sim_round_mode_global.
42526         (__simulate_exceptions): Use thread-local floating-point state and
42527         set global state from it as needed.
42528         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
42529         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
42530         __sim_round_mode_thread.
42531         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
42532         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
42533         and global __sim_exceptions_global.
42534         (__sim_disabled_exceptions): Change to thread-local
42535         __sim_disabled_exceptions_thread and global
42536         __sim_disabled_exceptions_global.
42537         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42538         and global __sim_round_mode_global.
42539         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
42540         (SIM_SET_GLOBAL): Likewise.
42541         * sysdeps/powerpc/soft-fp/sfp-machine.h
42542         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
42543         __sim_round_mode_thread.
42544         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
42545         __sim_disabled_exceptions_thread.
42546         (__sim_exceptions): Change to __sim_exceptions_thread.
42547         (__sim_disabled_exceptions): Change to
42548         __sim_disabled_exceptions_thread.
42549         (__sim_round_mode): Change to __sim_round_mode_thread.
42550         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
42551         thread-local floating-point state and set global state from it as
42552         needed.
42553         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
42554         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
42555         (__sim_disabled_exceptions): Remove extern declaration.
42556         (feenableexcept): Use thread-local floating-point state and set
42557         global state from it as needed.
42558         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
42559         extern declaration.
42560         (__sim_disabled_exceptions): Likewise.
42561         (__sim_round_mode): Likewise.
42562         (__fegetenv): Use thread-local floating-point state.
42563         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
42564         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42565         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
42566         floating-point state and set global state from it as needed.
42567         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
42568         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
42569         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
42570         Likewise.
42571         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
42572         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
42573         Likewise.
42574         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
42575         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
42576         Use __sim_round_mode_thread.
42577         * math/test-fenv-tls.c: New file.
42578         * math/Makefile (tests): Add test-fenv-tls.
42579         ($(objpfx)test-fenv-tls): Depend on
42580         $(common-objpfx)nptl/libpthread.so.
42582 2013-11-19  Andreas Schwab  <schwab@suse.de>
42584         * locale/programs/locale.c (show_info): Decode wordarray elements.
42585         * locale/categories.def (LC_MONETARY): Add element for
42586         _NL_MONETARY_CRNCYSTR.
42587         * locale/C-monetary.c (conversion_rate): New variable.
42588         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
42589         element.
42591 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
42593         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
42594         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
42596 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42598         * elf/Makefile (tst-auxv): New test.
42599         * elf/tst-auxv.c: New
42600         * elf/rtld.c (dl_main): Adjust AT_EXECFN
42602 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
42604         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
42605         (hidden_proto): Caller changed.
42606         (hidden_tls_proto): New macro.
42607         (libc_hidden_tls_proto): Likewise.
42608         (rtld_hidden_tls_proto): Likewise.
42609         (libm_hidden_tls_proto): Likewise.
42610         (libresolv_hidden_tls_proto): Likewise.
42611         (librt_hidden_tls_proto): Likewise.
42612         (libdl_hidden_tls_proto): Likewise.
42613         (libnss_files_hidden_tls_proto): Likewise.
42614         (libnsl_hidden_tls_proto): Likewise.
42615         (libnss_nisplus_hidden_tls_proto): Likewise.
42616         (libutil_hidden_tls_proto): Likewise.
42618 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
42620         [BZ #10253]
42621         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
42622         (decompose_rpath): Defer expansion to fillin_rpath.
42623         (_dl_init_paths): Pass linkmap to fillin_rpath.
42625 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42627         * benchtests/Makefile: Add strsep.
42628         * benchtests/bench-strsep.c: New file: strsep benchtest.
42629         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
42631 2013-11-18  Andreas Schwab  <schwab@suse.de>
42633         * locale/programs/locale.c (show_info) [case byte]: Check for
42634         '\377' instead of '\177'.
42635         * locale/C-monetary.c (not_available): Always use "\377".
42636         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
42637         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
42638         detect unavailable sign_posn locale elements.
42639         * locale/localeconv.c (__localeconv): For grouping and
42640         mon_grouping handle "\177" and "\377" like no grouping.
42641         (INT_ELEM): New macro.  Use it to set all numeric members.
42642         * locale/programs/ld-monetary.c (monetary_read)
42643         <tok_mon_grouping>: Normalize single -1 to the empty string.
42644         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
42645         Likewise.
42647 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42649         [BZ #16055]
42650         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
42651         when we match (nil).
42652         * stdio-common/tst-sscanf.c (struct test): Add testcase.
42654 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
42656         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
42657         (NO_TEST_INLINE): Update value.
42658         (ERRNO_UNCHANGED): Likewise.
42659         (ERRNO_EDOM): Likewise.
42660         (ERRNO_ERANGE): Likewise.
42661         (IGNORE_RESULT): Likewise.
42662         (check_float_internal): Check signs of NaN results if
42663         TEST_NAN_SIGN used.
42664         (check_complex): Pass TEST_NAN_SIGN flag through to second
42665         check_float_internal call.
42666         (copysign_test_data): Add tests with quiet NaNs as second
42667         argument.  Use TEST_NAN_SIGN.
42668         (fabs_test_data): Add test of negative quiet NaN argument.  Use
42669         TEST_NAN_SIGN.
42670         (signbit_test_data): Add tests of quiet NaN argument.
42671         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
42673         * math/gen-libm-test.pl (show_exceptions): Take extra argument
42674         $ignore_result.
42675         (parse_args): Handle function results specified as IGNORE.
42676         * math/libm-test.inc (IGNORE_RESULT): New macro.
42677         (check_float_internal): Do not check numerical result if flag
42678         IGNORE_RESULT set.
42679         (check_complex): Pass through IGNORE_RESULT to second
42680         check_float_internal call.
42681         (check_int): Do not check numerical result if flag IGNORE_RESULT
42682         set.
42683         (check_long): Likewise.
42684         (check_bool): Likewise.
42685         (check_longlong): Likewise.
42686         (lrint_test_data): Add tests of infinite and NaN arguments.
42687         (lrint_tonearest_test_data): Likewise.
42688         (lrint_towardzero_test_data): Likewise.
42689         (lrint_downward_test_data): Likewise.
42690         (lrint_upward_test_data): Likewise.
42691         (llrint_test_data): Likewise.
42692         (llrint_tonearest_test_data): Likewise.
42693         (llrint_towardzero_test_data): Likewise.
42694         (llrint_downward_test_data): Likewise.
42695         (llrint_upward_test_data): Likewise.
42696         (lround_test_data): Likewise.
42697         (llround_test_data): Likewise.
42699         * math/libm-test.inc (NO_TEST_INLINE): New macro.
42700         (ERRNO_UNCHANGED): Update value.
42701         (ERRNO_EDOM): Likewise.
42702         (ERRNO_ERANGE): Likewise.
42703         (NO_TEST_INLINE_FLOAT): New macro.
42704         (NO_TEST_INLINE_DOUBLE): Likewise.
42705         (enable_test): New function.
42706         (RUN_TEST_f_f): Check enable_test before running test.
42707         (RUN_TEST_2_f): Likewise.
42708         (RUN_TEST_fff_f): Likewise.
42709         (RUN_TEST_c_f): Likewise.
42710         (RUN_TEST_f_f1): Likewise.
42711         (RUN_TEST_fF_f1): Likewise.
42712         (RUN_TEST_fI_f1): Likewise.
42713         (RUN_TEST_ffI_f1): Likewise.
42714         (RUN_TEST_c_c): Likewise.
42715         (RUN_TEST_cc_c): Likewise.
42716         (RUN_TEST_f_i): Likewise.
42717         (RUN_TEST_f_i_tg): Likewise.
42718         (RUN_TEST_ff_i_tg): Likewise.
42719         (RUN_TEST_f_b): Likewise.
42720         (RUN_TEST_f_b_tg): Likewise.
42721         (RUN_TEST_f_l): Likewise.
42722         (RUN_TEST_f_L): Likewise.
42723         (RUN_TEST_fFF_11): Likewise.
42724         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
42725         conditionals.
42726         (cosh_test_data): Likewise.
42727         (exp_test_data): Likewise.
42728         (expm1_test_data): Likewise.
42729         (hypot_test_data): Likewise.
42730         (pow_test_data): Likewise.
42731         (sinh_test_data): Likewise.
42732         (tanh_test_data): Likewise.
42733         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
42734         flags argument.
42736         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
42737         tests with quiet NaN input and output.
42738         (acosh_test_data): Likewise.
42739         (asin_test_data): Likewise.
42740         (asinh_test_data): Likewise.
42741         (atan_test_data): Likewise.
42742         (atanh_test_data): Likewise.
42743         (atan2_test_data): Likewise.
42744         (cbrt_test_data): Likewise.
42745         (cos_test_data): Likewise.
42746         (cosh_test_data): Likewise.
42747         (erf_test_data): Likewise.
42748         (erfc_test_data): Likewise.
42749         (exp_test_data): Likewise.
42750         (exp10_test_data): Likewise.
42751         (exp2_test_data): Likewise.
42752         (expm1_test_data): Likewise.
42753         (hypot_test_data): Likewise.
42754         (j0_test_data): Likewise.
42755         (j1_test_data): Likewise.
42756         (jn_test_data): Likewise.
42757         (lgamma_test_data): Likewise.
42758         (log_test_data): Likewise.
42759         (log10_test_data): Likewise.
42760         (log1p_test_data): Likewise.
42761         (log2_test_data): Likewise.
42762         (pow_test_data): Likewise.
42763         (scalb_test_data): Likewise.
42764         (sin_test_data): Likewise.
42765         (sincos_test_data): Likewise.
42766         (sinh_test_data): Likewise.
42767         (tan_test_data): Likewise.
42768         (tanh_test_data): Likewise.
42769         (tgamma_test_data): Likewise.
42770         (y0_test_data): Likewise.
42771         (y1_test_data): Likewise.
42772         (yn_test_data): Likewise.
42774         [BZ #16167]
42775         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
42776         argument being NaN and avoid computations with second argument in
42777         that case.
42778         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42779         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42780         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42782 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
42784         * locale/iso-639.def: Add Chitwani Tharu (the).
42786 2013-11-14  Andreas Schwab  <schwab@suse.de>
42788         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
42789         word instead of empty string.
42791 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42794         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
42795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42796         (__fe_nomask_env): Likewise.
42798 2013-11-13  Steve Ellcey  <sellcey@mips.com>
42800         * benchtests/bench-timing.h: Include time.h.
42802 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
42804         [BZ #15997]
42805         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
42806         to 3.4.0 for x32.
42807         * sysdeps/unix/sysv/linux/configure: Regenerated.
42809 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
42811         [BZ #16151]
42812         * stdlib/strtod_l.c (round_and_return): Do not consider
42813         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
42814         exponent one less than half the least subnormal exponent.
42815         * stdlib/test-strtod-round-data: Add more tests.
42816         * stdlib/tst-strtod-round.c (tests): Regenerated.
42818 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42820         [BZ #14143]
42821         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
42822         (__fe_mask_env): Likewise.
42823         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
42824         libm_hidden_proto and add function prototype.
42825         (__fe_mask_env): Add function prototype.
42826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42827         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
42828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42829         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
42830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42831         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
42833 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42835         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
42836         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
42838 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42840         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
42841         of htab_find_slot().
42843 2013-11-11  David S. Miller  <davem@davemloft.net>
42845         [BZ #16150]
42846         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
42847         symbol in the non-vis3 case in static builds.
42848         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
42849         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
42850         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
42851         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
42853 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
42855         [BZ #387]
42856         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
42857         it is empty.
42859 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42861         * benchtests/Makefile: Add bench-strtod.
42862         * benchtests/bench-strtod.c: New file: strtod benchtest
42864 2013-11-11  Andreas Schwab  <schwab@suse.de>
42866         [BZ #16153]
42867         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
42868         terminating NUL in key length.
42870 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42872         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42873         Add artificial ODP entry for vDSO symbol for PPC64.
42874         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
42875         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
42877 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42879         [BZ #15374]
42880         * nss/getent.c (services_keys): Recognize services starting with digit.
42882 2013-11-06  David S. Miller  <davem@davemloft.net>
42884         [BZ #15985]
42885         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
42886         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
42888 2013-11-06  Will Newton  <will.newton@linaro.org>
42890         * manual/memory.texi (Malloc Examples): Remove register
42891         keyword from examples.
42893 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
42895         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
42897 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
42899         [BZ #6981]
42900         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
42901         depending on [__GCC_IEC_559 > 0].
42902         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
42903         depending on [__GCC_IEC_559_COMPLEX > 0].
42905 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
42907         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
42908         to iso-639.def.
42910 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
42912         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
42914 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
42916         [BZ #16112]
42917         * malloc/malloc (malloc_info): Do not handle first bin as
42918         special case.
42920 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
42922         * locale/iso-639.def: Add Central Nahuatl (nhn).
42924 2013-11-01  Bruno Haible  <bruno@clisp.org>
42926         [BZ #7003]
42927         * manual/math.texi (BSD Random): Specify range upper bound as
42928         in POSIX.
42930 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
42932         * locale/iso-639.def: Add Meadow Mari (mhr).
42934 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
42936         [BZ #14752], [BZ #15763]
42937         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
42938         Validate name.
42939         * rt/tst_shm.c: Add test for escaping directory.
42941 2013-10-31  Andreas Schwab  <schwab@suse.de>
42943         [BZ #15917]
42944         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
42945         followed by 'x' as part of digit sequence.
42946         * stdio-common/tst-sscanf.c (double_tests2): New tests.
42948 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
42950         [BZ #16037]
42951         * configure.ac: allow GNU Make 4.0 and greater.
42952         * configure: Regenerated.
42954 2013-10-30  Will Newton  <will.newton@linaro.org>
42956         [BZ #16038]
42957         * malloc/hooks.c (memalign_check): Limit alignment to the
42958         maximum representable power of two.
42959         * malloc/malloc.c (__libc_memalign): Likewise.
42960         * malloc/tst-memalign.c (do_test): Add test for very
42961         large alignment values.
42962         * malloc/tst-posix_memalign.c (do_test): Likewise.
42964 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42966         [BZ #11087]
42967         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
42968         (munmap_chunk): Likewise.
42969         (mremap_chunk): Likewise.
42971 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42973         [BZ #15799]
42974         * stdlib/div.c (div): Remove obsolete code.
42975         * stdlib/ldiv.c (ldiv): Likewise.
42976         * stdlib/lldiv.c (lldiv): Likewise.
42978 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42980         [BZ #16071]
42981         * nss/nss_files/files-XXX.c (get_contents_ret): New
42982         enumerator.
42983         (get_contents): New function.
42984         (internal_getent): Use it.  Expand size of LINEBUFLEN.
42986 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
42988         * configure.in: Moved to ...
42989         * configure.ac: ... here. Change reference to configure.in
42990         to configure.ac.
42991         * sysdeps/arm/preconfigure.ac: ... here.
42992         configure.in to configure.ac.
42993         * sysdeps/gnu/configure.in: Moved to ...
42994         * sysdeps/gnu/configure.ac: ... here.
42995         * sysdeps/i386/configure.in: Moved to ...
42996         * sysdeps/i386/configure.ac: ... here.
42997         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
42998         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
42999         * sysdeps/mach/configure.in: Moved to ...
43000         * sysdeps/mach/configure.ac: ... here.
43001         * sysdeps/mach/hurd/configure.in: Moved to ...
43002         * sysdeps/mach/hurd/configure.ac: ... here.
43003         * sysdeps/powerpc/configure.in: Moved to ...
43004         * sysdeps/powerpc/configure.ac: ... here.
43005         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
43006         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
43007         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
43008         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
43009         * sysdeps/s390/s390-32/configure.in: Moved to ...
43010         * sysdeps/s390/s390-32/configure.ac: ... here.
43011         * sysdeps/s390/s390-64/configure.in: Moved to ...
43012         * sysdeps/s390/s390-64/configure.ac: ... here.
43013         * sysdeps/sh/configure.in: Moved to ...
43014         * sysdeps/sh/configure.ac: ... here.
43015         * sysdeps/sparc/configure.in: Moved to ...
43016         * sysdeps/sparc/configure.ac: ... here.
43017         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
43018         * sysdeps/unix/sysv/linux/configure.ac: ... here.
43019         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
43020         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
43021         * sysdeps/x86_64/configure.in: Moved to ...
43022         * sysdeps/x86_64/configure.ac: ... here.
43023         * sysdeps/x86_64/preconfigure.in: Moved to ...
43024         * sysdeps/x86_64/preconfigure.ac: ... here.
43025         * aclocal.m4: Change reference to configure.in to configure.ac.
43026         * config.h.in: Likewise.
43027         * manual/install.texi: Likewise.
43028         * manual/maint.texi: Likewise.
43029         * Makefile: Likewise.
43030         * malloc/Makefile: Likewise.
43031         * nscd/Makefile: Likewise.
43032         * Makeconfig: Change reference to configure.in and
43033         preconfigure.in to configure.ac and preconfigure.ac
43034         respectively.
43035         * INSTALL: Regenerated.
43036         * configure: Likewise.
43037         * sysdeps/gnu/configure: Likewise.
43038         * sysdeps/i386/configure: Likewise.
43039         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
43040         * sysdeps/mach/configure: Likewise.
43041         * sysdeps/mach/hurd/configure: Likewise.
43042         * sysdeps/powerpc/configure: Likewise.
43043         * sysdeps/powerpc/powerpc32/configure: Likewise.
43044         * sysdeps/powerpc/powerpc64/configure: Likewise.
43045         * sysdeps/s390/s390-32/configure: Likewise.
43046         * sysdeps/s390/s390-64/configure: Likewise.
43047         * sysdeps/sh/configure: Likewise.
43048         * sysdeps/sparc/configure: Likewise.
43049         * sysdeps/unix/sysv/linux/configure: Likewise.
43050         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
43051         * sysdeps/x86_64/configure: Likewise.
43052         * sysdeps/x86_64/preconfigure: Likewise.
43054 2013-10-29  Andreas Schwab  <schwab@suse.de>
43056         * stdio-common/Makefile (tst-swscanf-ENV): Define.
43058 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43060         * benchtests/pow-inputs: Add new inputs.
43062         * benchtests/exp-inputs: Add new inputs.
43064         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
43065         conditional check for return value.
43066         (__cos32): Likewise.
43068 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43070         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
43071         to provide a boost for large inputs with word alignment.
43072         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
43073         implementation based on optimized PPC64 strcpy.
43074         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
43075         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
43076         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
43077         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
43079 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43081         [BZ #2801]
43082         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
43084 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43086         [BZ #14876]
43087         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
43088         * time/tst-strptime.c (day_tests): Add testcase.
43090 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43092         [BZ #14029]
43093         * manual/pattern.texi: Acknowledge that fnmatch can fail.
43095 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
43097         [BZ #16074]
43098         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
43099         MAP_FAILED on error.
43101 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43103         [BZ #16072]
43104         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
43105         heap for large requests.
43107 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
43109         [BZ #9954]
43110         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
43111         result if the result has no associated interface.
43112         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
43113         interface for all 127.X.Y.Z addresses.
43115 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
43117         * locale/iso-639.def: Add Ligurian (lij)
43119 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
43121         [BZ #15825]
43122         * sunrpc/rpc_main.c: Document rpcgen -5.
43124 2013-10-19  Michael Stahl  <mstahl@redhat.com>
43126         * elf/rtld.c (do_preload): Print the reason why preloading failed.
43128 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43130         [BZ #10278]
43131         * posix/glob.c: Match only directories when trailing slash is present.
43132         * posix/tst-gnuglob.c (my_opendir): Do not open files.
43133         (main): Add testcase.
43135 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43137         [BZ #15670]
43138         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
43140 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
43142         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
43143         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
43144         AUTH_DES and cindex for FIPS 140-2.
43145         (DES Encryption): Add cindex FIPS 46-3.
43147         * locale/locarchive.h (struct locarhandle): Add fname.
43148         * locale/programs/localedef.c (main): Pass ARGV[remaining]
43149         if an optional argument was specified to --list-archive,
43150         otherwise NULL.
43151         * locale/programs/locarchive.c (show_archive_content): Take new
43152         argument fname and pass it via ah.fname to open_archive.
43153         * locale/programs/localedef.h: Update decl.
43154         (open_archive): If AH->fname is non-null, open that file
43155         rather than the default file name, and don't ignore ENOENT.
43156         (create_archive): Set AH.fname to NULL.
43157         (delete_locales_from_archive): Likewise.
43158         (add_locales_to_archive): Likewise.
43159         * locale/programs/locfile.c (write_all_categories): Likewise.
43161 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
43162             Aldy Hernandez  <aldyh@redhat.com>
43164         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
43165         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
43166         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
43167         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
43168         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
43169         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
43170         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
43171         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
43172         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
43173         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
43174         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
43175         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
43176         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
43177         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
43178         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
43179         Likewise.
43180         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
43181         Likewise.
43182         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
43183         Likewise.
43184         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
43185         Likewise.
43186         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
43187         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
43188         Likewise.
43189         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
43190         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
43191         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
43192         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
43193         Likewise.
43194         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
43195         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
43196         * sysdeps/powerpc/preconfigure: Likewise.
43197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
43198         Likewise.
43199         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
43200         Replace contents of file by #include of <fenv_libc.h>.
43201         * sysdeps/powerpc/soft-fp/sfp-machine.h
43202         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
43203         and <sys/prctl.h>.
43204         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
43205         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
43206         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
43207         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
43208         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
43209         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
43210         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
43211         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
43212         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
43213         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
43214         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
43215         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
43216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43217         Allow copysignl PLT reference to be missing.
43219 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
43220             Joseph Myers  <joseph@codesourcery.com
43222         [BZ #15948]
43223         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
43224         single character.
43225         (add_to_tablewc): Assert sequence of wide characters is nonempty.
43227 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43229         * elf/tst-tls-dlinfo.c: Don't include tls.h.
43230         * elf/tst-tls1.c: Likewise.
43231         * elf/tst-tls10.h: Likewise.
43232         * elf/tst-tls14.c: Likewise.
43233         * elf/tst-tls2.c: Likewise.
43234         * elf/tst-tls3.c: Likewise.
43235         * elf/tst-tls4.c: Likewise.
43236         * elf/tst-tls5.c: Likewise.
43237         * elf/tst-tls6.c: Likewise.
43238         * elf/tst-tls7.c: Likewise.
43239         * elf/tst-tls8.c: Likewise.
43240         * elf/tst-tls9.c: Likewise.
43241         * elf/tst-tlsmod1.c: Likewise.
43242         * elf/tst-tlsmod13.c: Likewise.
43243         * elf/tst-tlsmod13a.c: Likewise.
43244         * elf/tst-tlsmod14a.c: Likewise.
43245         * elf/tst-tlsmod16a.c: Likewise.
43246         * elf/tst-tlsmod16b.c: Likewise.
43247         * elf/tst-tlsmod2.c: Likewise.
43248         * elf/tst-tlsmod3.c: Likewise.
43249         * elf/tst-tlsmod4.c: Likewise.
43250         * elf/tst-tlsmod5.c: Likewise.
43251         * elf/tst-tlsmod6.c: Likewise.
43253 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
43255         [BZ #12486]
43256         * malloc/malloc.c: remove checks for statistics.
43258 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43260         [BZ #15277]
43261         * inet/inet_net.c (inet_network): Detect additional invalid strings.
43262         * inet/tst-network.c: Add testcase.
43264 2013-10-17  Andreas Schwab  <schwab@suse.de>
43266         [BZ #15218]
43267         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
43268         to determine canonical name.
43270 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43272         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
43273         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
43274         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43275         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43276         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43277         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43278         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43279         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43280         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43281         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43282         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43283         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43284         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43285         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43286         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43287         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43288         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43289         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43290         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43291         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43292         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43293         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43294         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43295         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
43296         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
43297         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43298         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43299         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
43300         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43301         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
43302         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43303         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43304         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43305         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43306         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43307         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43308         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43309         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43310         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43311         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43312         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43313         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43314         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43315         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43316         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43317         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43318         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43319         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43320         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43321         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43322         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43323         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43324         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43325         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43326         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43327         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43328         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43329         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43331 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
43333         [BZ #16041]
43334         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
43335         make result into a quiet NaN.
43337 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
43339         * soft-fp/adddf3.c: Fix horizontal whitespace.
43340         * soft-fp/addsf3.c: Likewise.
43341         * soft-fp/addtf3.c: Likewise.
43342         * soft-fp/divdf3.c: Likewise.
43343         * soft-fp/divsf3.c: Likewise.
43344         * soft-fp/divtf3.c: Likewise.
43345         * soft-fp/double.h: Likewise.
43346         * soft-fp/eqdf2.c: Likewise.
43347         * soft-fp/eqsf2.c: Likewise.
43348         * soft-fp/eqtf2.c: Likewise.
43349         * soft-fp/extenddftf2.c: Likewise.
43350         * soft-fp/extended.h: Likewise.
43351         * soft-fp/extendsfdf2.c: Likewise.
43352         * soft-fp/extendsftf2.c: Likewise.
43353         * soft-fp/extendxftf2.c: Likewise.
43354         * soft-fp/fixdfdi.c: Likewise.
43355         * soft-fp/fixdfsi.c: Likewise.
43356         * soft-fp/fixdfti.c: Likewise.
43357         * soft-fp/fixsfdi.c: Likewise.
43358         * soft-fp/fixsfsi.c: Likewise.
43359         * soft-fp/fixsfti.c: Likewise.
43360         * soft-fp/fixtfdi.c: Likewise.
43361         * soft-fp/fixtfsi.c: Likewise.
43362         * soft-fp/fixtfti.c: Likewise.
43363         * soft-fp/fixunsdfdi.c: Likewise.
43364         * soft-fp/fixunsdfsi.c: Likewise.
43365         * soft-fp/fixunsdfti.c: Likewise.
43366         * soft-fp/fixunssfdi.c: Likewise.
43367         * soft-fp/fixunssfsi.c: Likewise.
43368         * soft-fp/fixunssfti.c: Likewise.
43369         * soft-fp/fixunstfdi.c: Likewise.
43370         * soft-fp/fixunstfsi.c: Likewise.
43371         * soft-fp/fixunstfti.c: Likewise.
43372         * soft-fp/floatdidf.c: Likewise.
43373         * soft-fp/floatdisf.c: Likewise.
43374         * soft-fp/floatditf.c: Likewise.
43375         * soft-fp/floatsidf.c: Likewise.
43376         * soft-fp/floatsisf.c: Likewise.
43377         * soft-fp/floatsitf.c: Likewise.
43378         * soft-fp/floattidf.c: Likewise.
43379         * soft-fp/floattisf.c: Likewise.
43380         * soft-fp/floattitf.c: Likewise.
43381         * soft-fp/floatundidf.c: Likewise.
43382         * soft-fp/floatundisf.c: Likewise.
43383         * soft-fp/floatunditf.c: Likewise.
43384         * soft-fp/floatunsidf.c: Likewise.
43385         * soft-fp/floatunsisf.c: Likewise.
43386         * soft-fp/floatunsitf.c: Likewise.
43387         * soft-fp/floatuntidf.c: Likewise.
43388         * soft-fp/floatuntisf.c: Likewise.
43389         * soft-fp/floatuntitf.c: Likewise.
43390         * soft-fp/fmadf4.c: Likewise.
43391         * soft-fp/fmasf4.c: Likewise.
43392         * soft-fp/fmatf4.c: Likewise.
43393         * soft-fp/gedf2.c: Likewise.
43394         * soft-fp/gesf2.c: Likewise.
43395         * soft-fp/getf2.c: Likewise.
43396         * soft-fp/ledf2.c: Likewise.
43397         * soft-fp/lesf2.c: Likewise.
43398         * soft-fp/letf2.c: Likewise.
43399         * soft-fp/muldf3.c: Likewise.
43400         * soft-fp/mulsf3.c: Likewise.
43401         * soft-fp/multf3.c: Likewise.
43402         * soft-fp/negdf2.c: Likewise.
43403         * soft-fp/negsf2.c: Likewise.
43404         * soft-fp/negtf2.c: Likewise.
43405         * soft-fp/op-1.h: Likewise.
43406         * soft-fp/op-2.h: Likewise.
43407         * soft-fp/op-4.h: Likewise.
43408         * soft-fp/op-8.h: Likewise.
43409         * soft-fp/op-common.h: Likewise.
43410         * soft-fp/quad.h: Likewise.
43411         * soft-fp/single.h: Likewise.
43412         * soft-fp/soft-fp.h: Likewise.
43413         * soft-fp/sqrtdf2.c: Likewise.
43414         * soft-fp/sqrtsf2.c: Likewise.
43415         * soft-fp/sqrttf2.c: Likewise.
43416         * soft-fp/subdf3.c: Likewise.
43417         * soft-fp/subsf3.c: Likewise.
43418         * soft-fp/subtf3.c: Likewise.
43419         * soft-fp/truncdfsf2.c: Likewise.
43420         * soft-fp/trunctfdf2.c: Likewise.
43421         * soft-fp/trunctfsf2.c: Likewise.
43422         * soft-fp/trunctfxf2.c: Likewise.
43423         * soft-fp/unorddf2.c: Likewise.
43424         * soft-fp/unordsf2.c: Likewise.
43425         * soft-fp/unordtf2.c: Likewise.
43427 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
43429         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
43430         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
43432 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
43434         * elf/dl-libc.c: Clear initfini list after freeing.
43436 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
43438         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
43439         * soft-fp/addsf3.c: Likewise.
43440         * soft-fp/addtf3.c: Likewise.
43441         * soft-fp/divdf3.c: Likewise.
43442         * soft-fp/divsf3.c: Likewise.
43443         * soft-fp/divtf3.c: Likewise.
43444         * soft-fp/double.h: Likewise.
43445         * soft-fp/eqdf2.c: Likewise.
43446         * soft-fp/eqsf2.c: Likewise.
43447         * soft-fp/eqtf2.c: Likewise.
43448         * soft-fp/extenddftf2.c: Likewise.
43449         * soft-fp/extended.h: Likewise.
43450         * soft-fp/extendsfdf2.c: Likewise.
43451         * soft-fp/extendsftf2.c: Likewise.
43452         * soft-fp/extendxftf2.c: Likewise.
43453         * soft-fp/fixdfdi.c: Likewise.
43454         * soft-fp/fixdfsi.c: Likewise.
43455         * soft-fp/fixdfti.c: Likewise.
43456         * soft-fp/fixsfdi.c: Likewise.
43457         * soft-fp/fixsfsi.c: Likewise.
43458         * soft-fp/fixsfti.c: Likewise.
43459         * soft-fp/fixtfdi.c: Likewise.
43460         * soft-fp/fixtfsi.c: Likewise.
43461         * soft-fp/fixtfti.c: Likewise.
43462         * soft-fp/fixunsdfdi.c: Likewise.
43463         * soft-fp/fixunsdfsi.c: Likewise.
43464         * soft-fp/fixunsdfti.c: Likewise.
43465         * soft-fp/fixunssfdi.c: Likewise.
43466         * soft-fp/fixunssfsi.c: Likewise.
43467         * soft-fp/fixunssfti.c: Likewise.
43468         * soft-fp/fixunstfdi.c: Likewise.
43469         * soft-fp/fixunstfsi.c: Likewise.
43470         * soft-fp/fixunstfti.c: Likewise.
43471         * soft-fp/floatdidf.c: Likewise.
43472         * soft-fp/floatdisf.c: Likewise.
43473         * soft-fp/floatditf.c: Likewise.
43474         * soft-fp/floatsidf.c: Likewise.
43475         * soft-fp/floatsisf.c: Likewise.
43476         * soft-fp/floatsitf.c: Likewise.
43477         * soft-fp/floattidf.c: Likewise.
43478         * soft-fp/floattisf.c: Likewise.
43479         * soft-fp/floattitf.c: Likewise.
43480         * soft-fp/floatundidf.c: Likewise.
43481         * soft-fp/floatundisf.c: Likewise.
43482         * soft-fp/floatunsidf.c: Likewise.
43483         * soft-fp/floatunsisf.c: Likewise.
43484         * soft-fp/floatuntidf.c: Likewise.
43485         * soft-fp/floatuntisf.c: Likewise.
43486         * soft-fp/floatuntitf.c: Likewise.
43487         * soft-fp/fmadf4.c: Likewise.
43488         * soft-fp/fmasf4.c: Likewise.
43489         * soft-fp/fmatf4.c: Likewise.
43490         * soft-fp/gedf2.c: Likewise.
43491         * soft-fp/gesf2.c: Likewise.
43492         * soft-fp/getf2.c: Likewise.
43493         * soft-fp/ledf2.c: Likewise.
43494         * soft-fp/lesf2.c: Likewise.
43495         * soft-fp/letf2.c: Likewise.
43496         * soft-fp/muldf3.c: Likewise.
43497         * soft-fp/mulsf3.c: Likewise.
43498         * soft-fp/multf3.c: Likewise.
43499         * soft-fp/negdf2.c: Likewise.
43500         * soft-fp/negsf2.c: Likewise.
43501         * soft-fp/negtf2.c: Likewise.
43502         * soft-fp/op-1.h: Likewise.
43503         * soft-fp/op-2.h: Likewise.
43504         * soft-fp/op-4.h: Likewise.
43505         * soft-fp/op-8.h: Likewise.
43506         * soft-fp/op-common.h: Likewise.
43507         * soft-fp/quad.h: Likewise.
43508         * soft-fp/single.h: Likewise.
43509         * soft-fp/soft-fp.h: Likewise.
43510         * soft-fp/sqrtdf2.c: Likewise.
43511         * soft-fp/sqrtsf2.c: Likewise.
43512         * soft-fp/sqrttf2.c: Likewise.
43513         * soft-fp/subdf3.c: Likewise.
43514         * soft-fp/subsf3.c: Likewise.
43515         * soft-fp/subtf3.c: Likewise.
43516         * soft-fp/truncdfsf2.c: Likewise.
43517         * soft-fp/trunctfdf2.c: Likewise.
43518         * soft-fp/trunctfsf2.c: Likewise.
43519         * soft-fp/trunctfxf2.c: Likewise.
43520         * soft-fp/unorddf2.c: Likewise.
43521         * soft-fp/unordsf2.c: Likewise.
43522         * soft-fp/unordtf2.c: Likewise.
43524 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
43526         [BZ #15672]
43527         * misc/error.c (error_tail): Fix possible buffer overflow.
43529 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
43531         [BZ #13028]
43532         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
43533         address.
43535 2013-10-14  P. J. McDermott  <pj@pehjota.net>
43537         [BZ #832]
43538         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
43539         testing pipefail option.
43541 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43543         * soft-fp/double.h: Indent preprocessor directives inside #if.
43544         * soft-fp/extended.h: Likewise.
43545         * soft-fp/op-2.h: Likewise.
43546         * soft-fp/op-4.h: Likewise.
43547         * soft-fp/op-common.h: Likewise.
43548         * soft-fp/quad.h: Likewise.
43549         * soft-fp/single.h: Likewise.
43550         * soft-fp/soft-fp.h: Likewise.
43552 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
43554         * iconv/iconv_prog.c: Fix typos.
43555         * stdio-common/psiginfo-data.h: Likewise.
43557 2013-10-12   Reuben Thomas <rrt@sc3d.org>
43559         [BZ #15764]
43560         * locale/setlocale.c: Fix typo.
43562 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43564         [BZ #16036]
43565         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
43566         signaling NaN arguments.
43567         * soft-fp/unordsf2.c (__unordsf2): Likewise.
43568         * soft-fp/unordtf2.c (__unordtf2): Likewise.
43570         [BZ #14910]
43571         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
43572         unordered operands.
43573         * soft-fp/gesf2.c (__gesf2): Likewise.
43574         * soft-fp/getf2.c (__getf2): Likewise.
43575         * soft-fp/ledf2.c (__ledf2): Likewise.
43576         * soft-fp/lesf2.c (__lesf2): Likewise.
43577         * soft-fp/letf2.c (__letf2): Likewise.
43579         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
43580         * soft-fp/eqsf2.c (__eqsf2): Likewise.
43581         * soft-fp/eqtf2.c (__eqtf2): Likewise.
43582         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
43583         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
43584         * soft-fp/fixdfti.c (__fixdfti): Likewise.
43585         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
43586         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
43587         * soft-fp/fixsfti.c (__fixsfti): Likewise.
43588         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
43589         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
43590         * soft-fp/fixtfti.c (__fixtfti): Likewise.
43591         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
43592         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
43593         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
43594         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
43595         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
43596         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
43597         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
43598         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
43599         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
43600         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
43601         * soft-fp/floatdisf.c (__floatdisf): Likewise.
43602         * soft-fp/floatsisf.c (__floatsisf): Likewise.
43603         * soft-fp/floattidf.c (__floattidf): Likewise.
43604         * soft-fp/floattisf.c (__floattisf): Likewise.
43605         * soft-fp/floattitf.c (__floattitf): Likewise.
43606         * soft-fp/floatundidf.c (__floatundidf): Likewise.
43607         * soft-fp/floatundisf.c (__floatundisf): Likewise.
43608         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
43609         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
43610         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
43611         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
43612         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
43613         * soft-fp/gesf2.c (__gesf2): Likewise.
43614         * soft-fp/getf2.c (__getf2): Likewise.
43615         * soft-fp/ledf2.c (__ledf2): Likewise.
43616         * soft-fp/lesf2.c (__lesf2): Likewise.
43617         * soft-fp/letf2.c (__letf2): Likewise.
43619         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
43620         Undefine and redefine.
43621         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
43622         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
43623         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
43624         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
43625         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43626         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
43627         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43628         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
43629         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43630         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
43631         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43632         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
43633         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43634         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
43635         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43637         [BZ #16032]
43638         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
43639         without decrementing exponent if mantissa >= that for the
43640         denominator, not >.
43641         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
43642         denominator, not >.  Decrement exponent in < case instead of
43643         incrementing in >= case.
43644         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
43645         without decrementing exponent if mantissa >= that for the
43646         denominator, not >.
43648         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
43649         computing saturated result for unsigned overflow.
43651 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43652             Jeff Law  <law@redhat.com>
43654         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
43655         (atan2Mp): Add systemtap probe marker.
43656         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
43657         (__ieee754_log): Add systemtap probe marker.
43658         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
43659         (atanMp): Add systemtap probe marker.
43660         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
43661         (tanMp): Add systemtap probe marker.
43662         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
43663         (__slowexp): Add systemtap probe marker.
43664         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
43665         (__slowpow): Add systemtap probe marker.
43666         * manual/probes.texi: Document probes.
43668 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
43670         [BZ #15362]
43671         * libio/fileops.c (_IO_new_file_write): Return count of bytes
43672         written.
43673         (_IO_new_file_xsputn): Don't return EOF if nothing has been
43674         written.
43675         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
43676         written to buffer but not flushed.
43677         * libio/iofwrite_u.c:  Likewise.
43678         * libio/iopadn.c:  Return bytes returned even if EOF was
43679         encountered.
43680         * libio/iowpadn.c:  Likewise.
43681         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
43682         if _IO_padn does not write the whole buffer.
43683         [!COMPILE_WPRINTF] (PAD): Likewise.
43685 2013-10-10  David S. Miller  <davem@davemloft.net>
43687         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
43688         directory block.
43690 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43692         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
43693         instead of FSF address.
43694         * soft-fp/fixdfti.c: Likewise.
43695         * soft-fp/fixsfti.c: Likewise.
43696         * soft-fp/fixtfti.c: Likewise.
43697         * soft-fp/fixunsdfti.c: Likewise.
43698         * soft-fp/fixunssfti.c: Likewise.
43699         * soft-fp/fixunstfti.c: Likewise.
43700         * soft-fp/floattidf.c: Likewise.
43701         * soft-fp/floattisf.c: Likewise.
43702         * soft-fp/floattitf.c: Likewise.
43703         * soft-fp/floatuntidf.c: Likewise.
43704         * soft-fp/floatuntisf.c: Likewise.
43705         * soft-fp/floatuntitf.c: Likewise.
43706         * soft-fp/trunctfxf2.c: Likewise.
43708         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
43709         * soft-fp/fixdfti.c: Likewise.
43710         * soft-fp/fixsfti.c: Likewise.
43711         * soft-fp/fixtfti.c: Likewise.
43712         * soft-fp/fixunsdfti.c: Likewise.
43713         * soft-fp/fixunssfti.c: Likewise.
43714         * soft-fp/fixunstfti.c: Likewise.
43715         * soft-fp/floattidf.c: Likewise.
43716         * soft-fp/floattisf.c: Likewise.
43717         * soft-fp/floattitf.c: Likewise.
43718         * soft-fp/floatuntidf.c: Likewise.
43719         * soft-fp/floatuntisf.c: Likewise.
43720         * soft-fp/floatuntitf.c: Likewise.
43721         * soft-fp/trunctfxf2.c: Likewise.
43723 2013-10-10  David S. Miller  <davem@davemloft.net>
43725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43727 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
43729         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43730         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
43731         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
43732         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
43733         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
43734         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
43735         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
43737         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
43738         for NaNs before doing comparisons on argument.
43739         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
43740         Likewise.
43742 2013-10-10  Will Newton  <will.newton@linaro.org>
43744         * malloc/hooks.c (memalign_check): Ensure the value of bytes
43745         passed to _int_memalign does not overflow.
43747 2013-10-10  Torvald Riegel  <triegel@redhat.com>
43749         * scripts/bench.pl: Add include-sources directive.
43750         * benchtests/README: Update documentation.
43752 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43754         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
43755         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
43756         instead of FP_INIT_ROUNDMODE.
43757         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
43758         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
43760         [BZ #16034]
43761         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
43762         copy class of input value.
43763         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
43764         not handle exceptions.
43765         * soft-fp/negsf2.c (__negsf2): Likewise.
43766         * soft-fp/negtf2.c (__negtf2): Likewise.
43767         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
43769 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
43771         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
43772         semicolon.  From Linux kernel.
43774 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
43776         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
43778 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
43780         [BZ #156]
43781         * manual/socket.texi: Added statement about buffer
43782         for gethostbyname2_r.
43784 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
43786         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
43787         Use .p2align directive instead, throughout.
43788         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43789         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43790         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
43791         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43792         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43793         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
43794         * sysdeps/x86_64/strchr.S: Likewise.
43795         * sysdeps/x86_64/strrchr.S: Likewise.
43797 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43799         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
43801         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
43803         * sysdeps/generic/math_private.h (__mpsin1): Remove
43804         declaration.
43805         (__mpcos1): Likewise.
43806         (__mpsin): New argument __range_reduce.
43807         (__mpcos): Likewise.
43808         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43809         (slow): Use __mpsin and __mpcos.
43810         (slow1): Likewise.
43811         (slow2): Likewise.
43812         (sloww): Likewise.
43813         (sloww1): Likewise.
43814         (sloww2): Likewise.
43815         (bsloww): Likewise.
43816         (bsloww1): Likewise.
43817         (bsloww2): Likewise.
43818         (cslow2): Likewise.
43819         (csloww): Likewise.
43820         (csloww1): Likewise.
43821         (csloww2): Likewise.
43822         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
43823         range_reduce.  Merge in __mpsin1.
43824         (__mpcos): Likewise.
43825         (__mpsin1): Remove.
43826         (__mpcos1): Likewise.
43828 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
43830         * locale/loadlocale.c (_nl_intern_locale_data): Use
43831         LOCFILE_ALIGNED_P.
43832         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
43833         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
43834         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
43835         obstack data is appropriately aligned.
43836         (obstack_int32_grow_fast): Likewise.
43837         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
43838         * locale/programs/locfile.c (add_locale_uint32): Likewise.
43839         (add_locale_uint32_array): Likewise.
43841 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43843         * benchtests/Makefile: Remove ARGLIST and RET variables.
43844         ($(objpfx)bench-%.c): Pass only function name to the script.
43845         * benchtests/README: Update documentation.
43846         * benchtests/acos-inputs: Add new directives.
43847         * benchtests/acosh-inputs: Likewise.
43848         * benchtests/asin-inputs: Likewise.
43849         * benchtests/asinh-inputs: Likewise.
43850         * benchtests/atan-inputs: Likewise.
43851         * benchtests/atanh-inputs: Likewise.
43852         * benchtests/cos-inputs: Likewise.
43853         * benchtests/cosh-inputs: Likewise.
43854         * benchtests/exp-inputs: Likewise.
43855         * benchtests/log-inputs: Likewise.
43856         * benchtests/pow-inputs: Likewise.
43857         * benchtests/rint-inputs: Likewise.
43858         * benchtests/sin-inputs: Likewise.
43859         * benchtests/sinh-inputs: Likewise.
43860         * benchtests/tan-inputs: Likewise.
43861         * benchtests/tanh-inputs: Likewise.
43862         * scripts/bench.pl: Add support for new directives.
43864 2013-10-07  Alan Modra  <amodra@gmail.com>
43866         * README: Fix careless merge.
43868 2013-10-05  Alan Modra  <amodra@gmail.com>
43870         * NEWS: Mention powerpc64le support and bugs fixed.
43871         * README: Both big-endian and little-endian powerpc64 supported.
43873 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43875         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
43876         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
43877         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
43878         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
43880 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
43882         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
43883         match prototype.
43885 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
43887         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
43888         Move -mhard-float appending from
43889         ports/sysdeps/powerpc/powerpc32/Makefile.
43890         [$(with-fp) = yes] (ASFLAGS): Likewise.
43891         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
43892         * sysdeps/powerpc/nofpu: Move directory from
43893         ports/sysdeps/powerpc/nofpu.
43894         * sysdeps/powerpc/soft-fp: Move directory from
43895         ports/sysdeps/powerpc/soft-fp.
43896         * sysdeps/powerpc/powerpc32/405: Move directory from
43897         ports/sysdeps/powerpc/powerpc32/405.
43898         * sysdeps/powerpc/powerpc32/440: Move directory from
43899         ports/sysdeps/powerpc/powerpc32/440.
43900         * sysdeps/powerpc/powerpc32/464: Move directory from
43901         ports/sysdeps/powerpc/powerpc32/464.
43902         * sysdeps/powerpc/powerpc32/476: Move directory from
43903         ports/sysdeps/powerpc/powerpc32/476.
43904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
43905         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
43906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
43907         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
43908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
43909         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
43910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
43911         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
43912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
43913         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
43914         * README: Update for powerpc-*-linux-gnu software floating point
43915         support in libc.
43917         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
43918         case to powerpc/powerpc32*.
43919         * sysdeps/unix/sysv/linux/configure: Regenerated.
43921         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
43922         (_FPU_MASK_OM): Define as 0x04.
43923         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
43924         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
43925         0x00c10080.
43926         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
43927         0x0000003c.
43928         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
43930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
43931         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43932         getcontext_e500.
43933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
43934         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43935         setcontext_e500.
43936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
43937         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
43938         and setcontext_e500.
43940 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
43942         * locale/iso-3166.def: Update iso-1366.def and related occurrences
43944 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43946         * manual/threads.texi (Default Thread Attributes): Fix typo.
43948 2013-10-04  Will Newton  <will.newton@linaro.org>
43950         * malloc/Makefile: Add tst-memalign.
43951         * malloc/tst-memalign.c: New file.
43953         * malloc/tst-posix_memalign.c: Add comments.
43954         (do_test): Add comments and call free on all potentially
43955         allocated pointers. Add space after cast.
43957         * malloc/tst-pvalloc.c: Add comments.
43958         (do_test): Add comments and call free on all potentially
43959         allocated pointers. Remove duplicate check for NULL pointer.
43960         Add space after cast.
43962         * malloc/tst-valloc.c: Add comments.
43963         (do_test): Add comments and call free on all potentially
43964         allocated pointers. Remove duplicate check for NULL pointer.
43965         Add space after cast.
43967 2013-10-04  Alan Modra  <amodra@gmail.com>
43969         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43970         Use stdint types in rather than __attribute__((mode())).
43971         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43973 2013-10-04  Alan Modra  <amodra@gmail.com>
43975         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43976         Correct handling of unaligned relocs for little-endian.
43977         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43979 2013-10-04  Alan Modra  <amodra@gmail.com>
43981         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
43982         * configure: Regenerate.
43983         * nptl/shlib-versions: Powerpc*le starts at 2.18.
43984         * shlib-versions: Likewise.
43986 2013-10-04  Alan Modra  <amodra@gmail.com>
43988         * string/tester.c (test_memrchr): Increment reported test cycle.
43990 2013-10-04  Alan Modra  <amodra@gmail.com>
43992         * string/test-memcpy.c (do_one_test): When reporting errors, print
43993         string address and don't overrun end of string.
43995 2013-10-04  Alan Modra  <amodra@gmail.com>
43997         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
43998         insrdi.  Make better use of reg selection to speed exit slightly.
43999         Schedule entry path a little better.  Remove useless "are we done"
44000         checks on entry to main loop.  Handle wrapping around zero address.
44001         Correct main loop count.  Handle single left-over word from main
44002         loop inline rather than by using loop_small.  Remove extra word
44003         case in loop_small caused by wrong loop count.  Add little-endian
44004         support.
44005         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
44006         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
44007         cache hint.
44008         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
44009         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
44010         support.  Avoid rlwimi.
44011         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
44013 2013-10-04  Alan Modra  <amodra@gmail.com>
44015         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
44016         insrdi.  Formatting.
44017         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
44018         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44019         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44020         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44021         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44022         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
44024 2013-10-04  Alan Modra  <amodra@gmail.com>
44026         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
44027         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44028         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44029         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
44030         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
44031         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44032         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44033         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44034         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
44035         use of regs.  Use power7 mtocrf.  Tidy function tails.
44037 2013-10-04  Alan Modra  <amodra@gmail.com>
44039         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
44040         Formatting.  Consistently use rXXX register defines or rN defines.
44041         Use early exit labels that avoid restoring unused non-volatile regs.
44042         Make cr field use more consistent with rWORDn compares.  Rename
44043         regs used as shift registers for unaligned loop, using rN defines
44044         for short lifetime/multiple use regs.
44045         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44046         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
44047         addi 1,1,64 to pop stack frame.  Simplify return value code.
44048         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44050 2013-10-04  Alan Modra  <amodra@gmail.com>
44052         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
44053         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
44054         rather than rlwimi.
44055         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
44056         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
44057         little-endian support.  Correct typos.
44058         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
44059         rather than rlwimi.
44060         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
44061         in loop and entry code to keep "and." results.
44062         (strchr): Add little-endian support.  Comment.  Move cntlzd
44063         earlier in tail.
44064         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
44066 2013-10-04  Alan Modra  <amodra@gmail.com>
44068         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
44069         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
44070         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
44071         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
44073 2013-10-04  Alan Modra  <amodra@gmail.com>
44075         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
44076         (rTMP): Define as r11.
44077         (strcmp): Add little-endian support.  Optimise tail.
44078         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
44079         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44080         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
44081         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44082         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
44083         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44084         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44086 2013-10-04  Alan Modra  <amodra@gmail.com>
44088         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
44089         little-endian support.  Remove unnecessary "are we done" tests.
44090         Handle "s" wrapping around zero and extremely large "size".
44091         Correct main loop count.  Handle single left-over word from main
44092         loop inline rather than by using small_loop.  Correct comments.
44093         Delete "zero" tail, use "end_max" instead.
44094         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
44096 2013-10-04  Alan Modra  <amodra@gmail.com>
44098         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
44099         support.  Don't branch over align.
44100         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
44101         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
44102         support.  Rearrange tmp reg use to suit.  Comment.
44103         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
44105 2013-10-04  Alan Modra  <amodra@gmail.com>
44107         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
44109 2013-10-04  Alan Modra  <amodra@gmail.com>
44111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
44112         conditional form of branch and link when obtaining pc.
44113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
44115 2013-10-04  Alan Modra  <amodra@gmail.com>
44117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
44118         HIWORD/LOWORD.
44119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
44120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
44122 2013-10-04  Alan Modra  <amodra@gmail.com>
44124         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
44125         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
44126         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
44127         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
44128         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44129         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44130         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
44131         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44132         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
44133         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
44135 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44136             Alistair Popple <alistair@ozlabs.au.ibm.com>
44137             Alan Modra <amodra@gmail.com>
44139         [BZ #15723]
44140         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
44141         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
44142         _dl_hwcap access for little-endian.
44143         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
44144         destroy vmx regs when saving unaligned.
44145         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
44146         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
44147         destroy vmx regs when saving unaligned.
44149 2013-10-04  Alan Modra  <amodra@gmail.com>
44151         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
44152         Don't use a union to pack hi/low value.
44154 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44156         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
44157         for little-endian.
44158         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44159         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
44160         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44161         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44162         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44164 2013-10-04  Alan Modra  <amodra@gmail.com>
44166         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
44167         constants to usual value for .cst8 section, and remove redundant
44168         high address load.
44169         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
44170         constant for 0x1p52.  Load little-endian words of double from
44171         correct stack offsets.
44173 2013-10-04  Alan Modra  <amodra@gmail.com>
44175         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
44176         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
44177         words of double from correct stack offsets.
44178         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
44179         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
44180         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44181         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44182         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44183         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44184         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44185         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
44186         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
44187         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44188         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44189         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44190         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44191         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44192         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44193         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
44194         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
44196 2013-10-04  Alan Modra  <amodra@gmail.com>
44198         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
44199         64-bit int/double union.
44200         (_FPU_SETCW): Likewise.
44201         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
44202         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
44204 2013-10-04  Alan Modra  <amodra@gmail.com>
44206         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
44207         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
44209 2013-10-04  Alan Modra  <amodra@gmail.com>
44211         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
44212         use vector int constants.
44213         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
44215 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44217         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
44218         array with long long.
44219         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
44220         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
44221         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
44222         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
44223         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
44224         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
44225         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
44226         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
44227         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
44228         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
44229         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
44230         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
44231         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
44233 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44235         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
44236         (__signbit): Likewise.  Correct for little-endian.
44237         (__signbitl): Call __signbit.
44238         (lrint): Correct for little-endian.
44239         (lrintf): Call lrint.
44241 2013-10-04  Alan Modra  <amodra@gmail.com>
44243         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
44244         union 32-bit int array member with 64-bit int array.
44245         (t515, tm256): Double rather than long double.
44246         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
44248 2013-10-04  Alan Modra  <amodra@gmail.com>
44250         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
44251         Delete.
44252         (IEEE854_LONG_DOUBLE_BIAS): Delete.
44253         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
44254         version of math_ldbl.h.
44256 2013-10-04  Alan Modra  <amodra@gmail.com>
44258         [BZ #15734], [BZ #15735]
44259         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
44260         all uses of ieee875 long double macros and unions.  Simplify test
44261         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
44262         ldbl_extract_mantissa value for ix,iy exponents.  Properly
44263         normalize after ldbl_extract_mantissa, and don't add hidden bit
44264         already handled.  Don't treat low word of ieee854 mantissa like
44265         low word of IBM long double and mask off bit when testing for
44266         zero.
44267         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
44268         all uses of ieee875 long double macros and unions.  Simplify tests
44269         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
44270         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
44271         two1022, instead use their values.  Recognise that tests for large
44272         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
44273         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
44274         Rewrite all uses of ieee875 long double macros and unions.  Simplify
44275         test for 0.0L and nan.  Correct negation.
44276         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
44277         ieee875 long double macros and unions.  Correct output for large
44278         magnitude x.  Correct absolute value calculation.
44279         (__erfcl): Likewise.
44280         * math/libm-test.inc: Add tests for errors discovered in IBM long
44281         double versions of fmodl, remainderl, erfl and erfcl.
44283 2013-10-04  Alan Modra  <amodra@gmail.com>
44285         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
44286         all uses of ieee854 long double macros and unions.  Simplify tests
44287         for long doubles that are fully specified by the high double.
44288         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
44289         Likewise.
44290         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
44291         Remove dead code too.
44292         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
44293         (__ieee754_ynl): Likewise.
44294         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
44295         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
44296         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
44297         Remove dead code too.
44298         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
44299         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
44300         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
44301         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
44302         Simplify.
44303         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
44304         Simplify.
44305         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
44306         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
44307         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
44308         Comment on variable precision.
44309         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
44310         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44311         Likewise.
44312         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
44313         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44314         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44315         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
44316         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
44318 2013-10-04  Alan Modra  <amodra@gmail.com>
44320         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
44321         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
44322         all uses of ieee854 long double macros and unions.
44323         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
44324         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44325         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
44326         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
44327         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
44328         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
44329         Likewise.
44330         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
44331         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44332         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
44333         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44334         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
44335         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
44336         Simplify sign and nan test too.
44337         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
44338         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
44339         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
44340         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
44341         Likewise.
44342         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
44343         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
44344         Likewise.
44345         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44346         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
44347         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
44348         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
44349         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
44350         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
44352 2013-10-04  Alan Modra  <amodra@gmail.com>
44354         * stdio-common/printf_size.c (__printf_size): Don't use
44355         union ieee854_long_double in fpnum union.
44356         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
44357         signbit macro to retrieve sign from long double.
44358         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
44359         retrieve sign from long double.
44360         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
44361         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
44362         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
44363         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44364         * math/test-misc.c (main): Don't use union ieee854_long_double.
44366 2013-10-04  Alan Modra  <amodra@gmail.com>
44368         [BZ #15680]
44369         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
44370         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
44371         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
44372         calculation.  Remove unnecessary test for denormal exponent.
44373         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
44374         Correct handling of denormals.  Avoid undefined shift behaviour.
44375         Correct normalisation of low mantissa when low double is denormal.
44376         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
44377         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
44378         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
44379         Correct normalisation of low mantissa.  Test for overflow of high
44380         mantissa and normalise.
44381         (ldbl_nearbyint): Use more readable constant for two52.
44382         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
44383         (__mpn_construct_long_double): Fix test for overflow of high
44384         mantissa and correct normalisation.  Avoid undefined shift.
44386 2013-10-04  Alan Modra  <amodra@gmail.com>
44388         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44389         (union ibm_extended_long_double): Define as an array of ieee754_double.
44390         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
44391         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
44392         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
44393         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44394         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44395         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
44396         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44397         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
44398         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44399         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
44400         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44402 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
44404         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
44405         page size instead of calling getpagesize.
44407         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
44408         (LOCFILE_ALIGN_MASK): Likewise.
44409         (LOCFILE_ALIGN_UP): Likewise.
44410         (LOCFILE_ALIGNED_P): Likewise.
44411         * locale/programs/ld-collate.c (collate_output): Use the new
44412         macros instead of __alignof__ (int32_t).
44413         * locale/weight.h (findidx): Likewise.
44415 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
44417         [BZ #431]
44418         * manual/string.texi: Fix strncat and wcsncat.
44420 2013-10-03  Brooks Moses  <bmoses@google.com>
44422         [BZ #15915]
44423         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
44424         * Makerules: ...here, and adjust associated comments.
44426 2013-10-02  Will Newton  <will.newton@linaro.org>
44428         * malloc/Makefile: Add tst-pvalloc.
44429         * malloc/tst-pvalloc.c: New file.
44431 2013-10-02  Will Newton  <will.newton@linaro.org>
44433         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
44434         improve test coverage.
44436 2013-10-02  Will Newton  <will.newton@linaro.org>
44438         * malloc/Makefile: Add tst-posix_memalign.
44439         * malloc/tst-posix_memalign.c: New file.
44441 2013-10-01  Eric Blake  <eblake@redhat.com>
44443         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
44444         Use __THROWNL rather than __THROW on static functions.
44446 2013-09-30  Petr Machata  <pmachata@redhat.com>
44448         * elf/elf.h (R_AARCH64_ABS16): New macro.
44449         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
44450         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
44451         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
44452         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
44453         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
44454         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
44455         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
44456         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
44457         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
44458         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
44459         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
44460         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
44461         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
44462         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
44463         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
44464         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
44465         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
44466         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
44467         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
44468         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
44469         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
44470         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
44471         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
44472         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
44473         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
44474         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
44475         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
44476         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
44477         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
44478         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
44479         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
44480         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
44481         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
44482         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
44483         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
44484         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
44485         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
44486         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
44487         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
44488         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
44489         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
44490         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
44491         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
44492         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
44493         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
44494         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
44495         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
44496         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
44497         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
44498         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
44499         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
44500         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
44501         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
44502         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
44503         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
44504         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
44505         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
44506         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
44507         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
44508         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
44509         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
44510         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
44511         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
44512         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
44513         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
44514         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
44515         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
44516         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
44517         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
44518         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
44519         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
44520         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
44521         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
44522         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
44523         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
44524         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
44525         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
44526         (R_AARCH64_TLSDESC_LDR): Likewise.
44527         (R_AARCH64_TLSDESC_ADD): Likewise.
44528         (R_AARCH64_TLSDESC_CALL): Likewise.
44530 2013-09-30  Andreas Schwab  <schwab@suse.de>
44532         [BZ #15048]
44533         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
44534         the nss database lookup.
44535         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44536         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44538 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
44540         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
44542 2013-09-28  P. J. McDermott  <pj@pehjota.net>
44544         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
44545         ${Bash-specific parameter/pattern/string} parameter expansion.
44546         * sysdeps/unix/make-syscalls.sh: Likewise.
44548 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44550         * sysdeps/sh/stackguard-macros.h: New file.
44552 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
44554         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44555         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
44556         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
44557         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
44558         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44559         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
44561 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44563         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
44564         Fix thread ID register.
44566 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
44568         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
44569         [POSIX || UNIX98]: Require rather than permitting all symbols from
44570         <time.h>.
44571         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
44572         element of struct sched_param.
44573         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
44574         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
44575         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
44576         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
44577         constant.
44579 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
44581         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
44582         argument calculation.
44584 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44586         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
44587         Expect macro.
44588         [POSIX] (pthread_attr_t): Do not require type.
44589         [POSIX] (pthread_cond_t): Likewise.
44590         [POSIX] (pthread_condattr_t): Likewise.
44591         [POSIX] (pthread_key_t): Likewise.
44592         [POSIX] (pthread_mutex_t): Likewise.
44593         [POSIX] (pthread_mutexattr_t): Likewise.
44594         [POSIX] (pthread_once_t): Likewise.
44595         [POSIX] (pthread_t): Likewise.
44596         [POSIX-based standards] (pthread_atfork): Expect function.
44598 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44599             Richard Sandiford  <richard@codesourcery.com>
44601         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
44602         (swap_endianness_p): New extern variable.
44603         (set_big_endian): New inline function.
44604         (maybe_swap_uint32): Likewise.
44605         (maybe_swap_uint32_array): Likewise.
44606         (maybe_swap_uint32_obstack): Likewise.
44607         * locale/programs/locfile.c: Include <stdbool.h>.
44608         (swap_endianness_p): New variable.
44609         (add_locale_uint32): Call maybe_swap_uint32.
44610         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
44611         (write_locale_data): Call maybe_swap_uint32_array.
44612         * locale/programs/ld-collate.c (obstack_int32_grow): Call
44613         maybe_swap_uint32.
44614         (obstack_int32_grow_fast): Likewise.
44615         (output_weightwc): Call maybe_swap_uint32_obstack.
44616         (collate_output): Likewise.
44617         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
44618         (OPT_LITTLE_ENDIAN): Likewise.
44619         (options): Add --little-endian and --big-endian options.
44620         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
44621         * locale/programs/locarchive.c: Include "locfile.h".
44622         (GET): New macro.
44623         (SET): Likewise.
44624         (INC): Likewise.
44625         (create_archive): Use the new macros to access fields of
44626         structures directly mapped from or written to locale archives.
44627         (oldlocrecentcmp): Likewise.
44628         (enlarge_archive): Likewise.
44629         (insert_name): Likewise.
44630         (add_alias): Likewise.
44631         (add_locale): Likewise.
44632         (delete_locales_from_archive): Likewise.
44633         (show_archive_content): Likewise.
44634         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
44635         locale data.
44637 2013-09-24  Roland McGrath  <roland@hack.frob.com>
44639         * manual/freemanuals.texi: Updated from (newly) canonical copy at
44640         http://www.gnu.org/doc/freemanuals.texi.
44641         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
44643 2013-09-24  Will Newton  <will.newton@linaro.org>
44645         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
44646         macro.
44648 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
44650         * locale/hashval.h (compute_hashval): Interpret bytes of key as
44651         unsigned char.
44653 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
44655         * manual/threads.texi (POSIX Threads): Fix a typo.
44657 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44659         [BZ #14547]
44660         * string/tst-strcoll-overflow.c: New test case.
44661         * string/Makefile (xtests): Add tst-strcoll-overflow.
44662         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
44663         cache if string sizes may cause integer overflow.
44665         [BZ #14547]
44666         * string/strcoll_l.c (coll_seq): New members rule, idx,
44667         save_idx and back_us.
44668         (get_next_seq_nocache): New function.
44669         (do_compare_nocache): New function.
44670         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
44671         when malloc fails.
44673 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
44675         [BZ #15754]
44676         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
44677         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
44678         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
44680         [BZ #15754]
44681         * elf/Makefile (tests): Add tst-ptrguard1.
44682         (tests-static): Add tst-ptrguard1-static.
44683         (tst-ptrguard1-ARGS): Define.
44684         (tst-ptrguard1-static-ARGS): Define.
44685         * elf/tst-ptrguard1.c: New file.
44686         * elf/tst-ptrguard1-static.c: New file.
44687         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
44688         * sysdeps/i386/stackguard-macros.h: Likewise.
44689         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44690         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44691         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44692         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44693         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44694         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44696 2013-09-23  Hector Marco  <hecmargi@upv.es>
44697             Ismael Ripoll  <iripoll@disca.upv.es>
44698             Carlos O'Donell  <carlos@redhat.com>
44700         [BZ #15754]
44701         * sysdeps/generic/stackguard-macros.h: Define
44702         __pointer_chk_guard_local and POINTER_CHK_GUARD.
44703         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
44704         Define __pointer_chk_guard_local.
44705         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
44706         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
44708 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
44710         [BZ #15859]
44711         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
44713 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
44715         * include/string.h (__ffs): Declare as hidden.
44716         * string/ffs.c (__ffs): Define as hidden.
44717         * sysdeps/i386/ffs.c (__ffs): Likewise.
44718         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
44719         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
44720         * sysdeps/s390/ffs.c (__ffs): Likewise.
44721         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
44723 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
44725         * NEWS: Mention malloc probes.
44727         * malloc/arena.c (new_heap): New memory_heap_new probe.
44728         (grow_heap): New memory_heap_more probe.
44729         (shrink_heap): New memory_heap_less probe.
44730         (heap_trim): New memory_heap_free probe.
44731         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
44732         (systrim): New memory_sbrk_less probe.
44733         * manual/probes.texi: Document them.
44735         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
44736         * manual/probes.texi: Document it.
44738         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
44739         (__libc_realloc): Add memory_realloc_retry probe.
44740         (__libc_memalign): Add memory_memalign_retry probe.
44741         (__libc_valloc): Add memory_valloc_retry probe.
44742         (__libc_pvalloc): Add memory_pvalloc_retry probe.
44743         (__libc_calloc): Add memory_calloc_retry probe.
44744         * manual/probes.texi: Document them.
44746         * malloc/arena.c (get_free_list): Add probe
44747         memory_arena_reuse_free_list.
44748         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
44749         and memory_arena_reuse.
44750         (arena_get2) [!PER_THREAD]: Likewise.
44751         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
44752         memory_arena_reuse_realloc.
44753         * manual/probes.texi: Document them.
44755         * malloc/malloc.c (__libc_free): Add
44756         memory_mallopt_free_dyn_thresholds probe.
44757         (__libc_mallopt): Add multiple memory_mallopt probes.
44758         * manual/probes.texi: Document them.
44760         * malloc/malloc.c: Include stap-probe.h.
44761         (__libc_mallopt): Add memory_mallopt probe.
44762         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
44763         * manual/probes.texi: New.
44764         * manual/Makefile (chapters): Add probes.
44765         * manual/threads.texi: Set next node.
44767 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
44769         [BZ #15963, #13985]
44770         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
44771         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
44772         Add `Chinese' to `nan' entry name.
44774 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44776         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
44777         (POLYNOMIAL): Likewise.
44778         (TAYLOR_SINCOS): Likewise.
44779         (TAYLOR_SLOW): Likewise.
44780         (__sin): Use TAYLOR_SINCOS.
44781         (__cos): Likewise.
44782         (slow): Use TAYLOR_SLOW.
44783         (sloww): Likewise.
44784         (bsloww): Likewise.
44785         (csloww): Likewise.
44787 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44789         * stdlib/strtod_l.c: Fix buffer overrun.
44791 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44793         * benchtests/Makefile (bench): Add sincos.
44794         * benchtests/bench-sincos.c: New file.
44796         * math/libm-test.inc (cos_test_data): New test inputs.
44797         (sin_test_data): Likewise.
44799         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
44800         macro.
44801         (__sin): Use it.
44802         (__cos): Likewise.
44803         (slow1): Likewise.
44804         (slow2): Likewise.
44805         (sloww1): Likewise.
44806         (sloww2): Likewise.
44807         (bsloww1): Likewise.
44808         (bsloww2): Likewise.
44809         (cslow2): Likewise.
44810         (csloww1): Likewise.
44811         (csloww2): Likewise.
44813         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
44814         function.
44815         (__sin): Use it.
44816         (__cos): Likewise.
44818         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
44819         gotos.
44820         (__cos): Likewise.
44822 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
44824         * config.h.in (HAVE_MIPS_NAN2008): New macro.
44825         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
44826         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
44827         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
44828         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
44829         * elf/cache.c (print_entry): Handle the new cache flags.
44831 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44832             Aldy Hernandez  <aldyh@redhat.com>
44834         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
44835         Change condition to [_SOFT_FLOAT].
44836         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
44837         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
44838         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
44839         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
44840         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
44841         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
44842         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
44843         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
44844         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
44845         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
44846         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
44847         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
44848         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
44849         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
44850         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
44851         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
44852         declaration.
44854 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44856         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
44857         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44858         (__longjmp): Use LOAD_GP to load saved GPRs.
44859         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
44860         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44861         (__sigsetjmp): Use SAVE_GP to save GPRs.
44863         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
44864         Do not append -msoft-float.
44865         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
44867 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44869         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
44871 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
44873         [BZ #15966]
44874         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
44875         (_FPU_GETCW): Use initial "__" on variable and field names but not
44876         on macro parameter name.
44877         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
44878         parentheses around reference to macro parameter.
44880 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
44882         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
44883         prototype.
44884         (ctype_startup): Use uint32_t in cast and sizeof for
44885         ctype->charnames.
44887 2013-09-11  Jia Liu  <proljc@gmail.com>
44889         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
44890         __daddr_t_defined.
44891         [__FreeBSD__]: Likewise.
44893 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
44895         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
44896         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
44897         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
44898         (strchr): Remove __strchr_sse42 ifunc selection.
44899         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
44900         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
44902 2013-09-11  Will Newton  <will.newton@linaro.org>
44904         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
44905         parameter to RES. Remove hardcoded 1000 value.
44906         * benchtests/bench-skeleton.c (main): Pass RES parameter
44907         to TIMING_INIT and multiply result by 1000.
44909 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44913 2013-09-11  Andreas Schwab  <schwab@suse.de>
44915         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
44916         if not defined.
44917         (O_TMPFILE) [__USE_GNU]: Define.
44918         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
44919         Define.
44921 2013-09-11  Will Newton  <will.newton@linaro.org>
44923         [BZ #15857]
44924         * malloc/malloc.c (__libc_memalign): Check the value of bytes
44925         does not overflow.
44927 2013-09-11  Will Newton  <will.newton@linaro.org>
44929         [BZ #15856]
44930         * malloc/malloc.c (__libc_valloc): Check the value of bytes
44931         does not overflow.
44933 2013-09-11  Will Newton  <will.newton@linaro.org>
44935         [BZ #15855]
44936         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
44937         does not overflow.
44939 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
44941         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
44942         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44943         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44944         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44945         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44947 2013-09-10  Allan McRae  <allan@archlinux.org>
44949         [BZ #15748]
44950         * manual/arith.texi (Parsing of Floats): Clarify
44951         cross-reference.
44953         [BZ #15849]
44954         * manual/install.texi (Running make install): Mention
44955         --enable-pt-chown.
44956         * INSTALL: Regenerated.
44958 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
44960         * csu/init-first.c (_init): Remove the !SHARED condition around
44961         FPU control word initialization.
44962         * elf/dl-support.c (_dl_fpu_control): New variable.
44963         (_dl_aux_init) <AT_FPUCW>: Initialize it.
44964         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
44965         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
44966         * math/test-fpucw-static.c: New file.
44967         * math/test-fpucw-ieee.c: New file.
44968         * math/test-fpucw-ieee-static.c: New file.
44969         * math/Makefile (tests): Add `test-fpucw-ieee' and
44970         `$(tests-static)'.
44971         (tests-static): New variable.
44972         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
44973         dependency to...
44974         [($(build-shared),yes)]
44975         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44976         ... this.
44977         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
44978         New dependency.
44980 2013-09-09  Allan McRae  <allan@archlinux.org>
44982         [BZ #15939]
44983         * manual/string.texi (Collation Functions): Fix typo in
44984         strcoll example.
44985         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
44987         [BZ #15893]
44988         * stdlib/isomac.c (get_null_defines): Fix memory leak.
44990         [BZ #15892]
44991         * libio/memstream.c (open_memstream): Fix memory leak.
44992         * libio/wmemstream.c (open_wmemstream): Likewise.
44994         [BZ #15895]
44995         * nscd/netgroupcache.c: Fix nesting of ifdefs.
44997 2013-09-09  Will Newton  <will.newton@linaro.org>
44999         * malloc/Makefile: Add tst-realloc to tests.
45000         * malloc/tst-realloc.c: New file.
45002 2013-09-09  Allan McRae  <allan@archlinux.org>
45004         [BZ #15844]
45005         * COPYING: Update from GNU website to fix FSF address.
45006         * COPYING.LIB: Likewise.
45008 2013-09-06  David S. Miller  <davem@davemloft.net>
45010         * po/zh_TW.po: Update Chinese (traditional) translation from
45011         translation project.
45013 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
45014             Joseph Myers  <joseph@codesourcery.com>
45016         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
45017         "localeinfo.h".
45018         (obstack_chunk_alloc): New macro.
45019         (obstack_chunk_free): Likewise.
45020         (record_offset): New function.
45021         (init_locale_data): Likewise.
45022         (align_locale_data): Likewise.
45023         (add_locale_empty): Likewise.
45024         (add_locale_raw_data): Likewise.
45025         (add_locale_raw_obstack): Likewise.
45026         (add_locale_string): Likewise.
45027         (add_locale_wstring): Likewise.
45028         (add_locale_uint32): Likewise.
45029         (add_locale_uint32_array): Likewise.
45030         (add_locale_char): Likewise.
45031         (start_locale_structure): Likewise.
45032         (end_locale_structure): Likewise.
45033         (start_locale_prelude): Likewise.
45034         (end_locale_prelude): Likewise.
45035         (write_locale_data): Take locale_file structure rather than an
45036         iovec.
45037         * locale/programs/locfile.h: Include "obstack.h".
45038         (struct locale_file): Change to store locale file contents instead
45039         of header.
45040         (init_locale_data): New prototype.
45041         (align_locale_data): Likewise.
45042         (add_locale_empty): Likewise.
45043         (add_locale_raw_data): Likewise.
45044         (add_locale_raw_obstack): Likewise.
45045         (add_locale_string): Likewise.
45046         (add_locale_wstring): Likewise.
45047         (add_locale_uint32): Likewise.
45048         (add_locale_uint32_array): Likewise.
45049         (add_locale_char): Likewise.
45050         (start_locale_structure): Likewise.
45051         (end_locale_structure): Likewise.
45052         (start_locale_prelude): Likewise.
45053         (end_locale_prelude): Likewise.
45054         (write_locale_data): Update prototype.
45055         * locale/programs/3level.h (struct TABLE): Remove result field.
45056         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
45057         Use new locale_file interface.
45058         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
45059         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
45060         * locale/programs/ld-address.c (address_output): Use new
45061         locale_file interface.
45062         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
45063         NO_ADD_LOCALE.
45064         (collate_finish): Don't call collseq_table_finalize.
45065         (collate_output): Use new locale_file interface.
45066         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
45067         in file.
45068         (NO_FINALIZE): Change to NO_ADD_LOCALE.
45069         (TABLE): Move defines earlier in file.
45070         (ELEMENT): Likewise.
45071         (DEFAULT): Likewise.
45072         (wctrans_table_add): Move macro and inline function earlier in
45073         file.
45074         (struct wctype_table): Move type earlier in file.
45075         (add_locale_wctype_table): New static prototype.
45076         (struct locale_ctype_t): Use logical types instead of struct iovec
45077         pointers for members.
45078         (ctype_output): Use new locale_file interface.
45079         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
45080         new locale_file interface.
45081         (allocate_arrays): Update for use of new locale_file interface.
45082         * locale/programs/ld-identification.c (identification_output): Use
45083         new locale_file interface.
45084         * locale/programs/ld-measurement.c (measurement_output): Likewise.
45085         * locale/programs/ld-messages.c (messages_output): Likewise.
45086         * locale/programs/ld-monetary.c (monetary_output): Likewise.
45087         * locale/programs/ld-name.c (name_output): Likewise.
45088         * locale/programs/ld-numeric.c (numeric_output): Likewise.
45089         * locale/programs/ld-paper.c (paper_output): Likewise.
45090         * locale/programs/ld-telephone.c (telephone_output): Likewise.
45091         * locale/programs/ld-time.c (time_output): Likewise.
45093 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45095         * benchtests/Makefile: Add memrchr benchmark.
45096         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
45097         benchmark as memrchr.
45098         * benchtests/bench-memrchr-ifunc.c: New file.
45099         * benchtests/bench-memrchr.c: New file.
45101 2013-09-06   Will Newton  <will.newton@linaro.org>
45103         * benchtests/Makefile (string-bench): Add memcpy.
45105 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
45106             Cong Wang  <amwang@redhat.com>
45108         [BZ #15850]
45109         * sysdeps/unix/sysv/linux/bits/in.h
45110         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
45111         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
45112         before __USE_KERNEL_IPV6_DEFS uses.
45113         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
45114         IPPROTO_BEETPH.
45115         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
45116         sockaddr_in6, or ipv6_mreq.
45118 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45120         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
45121         memory access for final bytes in some large inputs.
45122         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
45124 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45126         * string/test-memrchr.c: New file.
45127         * string/test-memrchr-ifunc.c: New file.
45128         * string/Makefile: Add new memrchr testcase.
45130 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
45132         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
45133         fanotify_init returns EPERM.
45135 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
45137         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
45138         errors.
45139         (top level): Treat second token from macro or constant entries for
45140         allowed headers as allowed.
45141         * include/complex.h: Condition internal declarations on
45142         [!_ISOMAC].
45143         * include/fenv.h: Condition include of <stdbool.h> and internal
45144         declarations on [!_ISOMAC].
45146 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
45148         [BZ #15923]
45149         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
45151 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
45153         * configure.in (--enable-versioning): Remove configure option.
45154         (libc_cv_asm_symver_directive): Remove configure test.
45155         (libc_cv_ld_version_script_option): Likewise.
45156         (VERSIONING): Remove variable and AC_SUBST.
45157         (DO_VERSIONING): Remove AC_DEFINE.
45158         * configure: Regenerated.
45159         * config.h.in (DO_VERSIONING): Remove macro.
45160         * Makerules [$(versioning) = yes]: Change conditionals to
45161         [$(build-shared) = yes].
45162         * config.make.in (versioning): Remove variable.
45163         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
45164         [$(build-shared) = yes].
45165         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
45166         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
45167         * elf/Makefile [$(versioning) = yes]: Change conditionals to
45168         [$(build-shared) = yes].
45169         * extra-lib.mk [$(versioning) = yes]: Likewise.
45170         * hurd/Makefile [$(versioning) = yes]: Likewise.
45171         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
45172         [SHARED].
45173         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
45174         [SHARED].
45175         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45176         [SHARED && !NO_HIDDEN].
45177         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
45178         [SHARED].
45179         [SHARED && DO_VERSIONING]: Likewise..
45180         * libio/Makefile [$(versioning) = yes]: Change conditionals to
45181         [$(build-shared) = yes].
45182         * manual/install.texi (--disable-versioning): Remove
45183         documentation.
45184         * INSTALL: Regenerated.
45185         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
45186         to [SHARED].
45187         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
45188         [$(build-shared) = yes].
45189         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
45190         * sysdeps/i386/i686/multiarch/strstr-c.c
45191         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45192         [SHARED && !NO_HIDDEN].
45193         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
45194         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
45195         * sysdeps/powerpc/powerpc32/dl-machine.c
45196         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
45197         * sysdeps/powerpc/powerpc32/sysdep.h
45198         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
45199         to [SHARED && PIC && !NO_HIDDEN].
45200         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
45201         conditional to [SHARED].
45203 2013-09-04   Will Newton  <will.newton@linaro.org>
45205         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
45206         * benchtests/bench-string.h: Include bench-timing.h instead
45207         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
45208         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
45209         call to HP_TIMING_DIFF_INIT.
45210         * benchtests/bench-memccpy.c: Use bench-timing.h macros
45211         instead of hp-timing.h macros.
45212         * benchtests/bench-memchr.c: Likewise.
45213         * benchtests/bench-memcmp.c: Likewise.
45214         * benchtests/bench-memcpy.c: Likewise.
45215         * benchtests/bench-memmem.c: Likewise.
45216         * benchtests/bench-memmove.c: Likewise.
45217         * benchtests/bench-memset.c: Likewise.
45218         * benchtests/bench-rawmemchr.c: Likewise.
45219         * benchtests/bench-strcasecmp.c: Likewise.
45220         * benchtests/bench-strcasestr.c: Likewise.
45221         * benchtests/bench-strcat.c: Likewise.
45222         * benchtests/bench-strchr.c: Likewise.
45223         * benchtests/bench-strcmp.c: Likewise.
45224         * benchtests/bench-strcpy.c: Likewise.
45225         * benchtests/bench-strcpy_chk.c: Likewise.
45226         * benchtests/bench-strlen.c: Likewise.
45227         * benchtests/bench-strncasecmp.c: Likewise.
45228         * benchtests/bench-strncat.c: Likewise.
45229         * benchtests/bench-strncmp.c: Likewise.
45230         * benchtests/bench-strncpy.c: Likewise.
45231         * benchtests/bench-strnlen.c: Likewise.
45232         * benchtests/bench-strpbrk.c: Likewise.
45233         * benchtests/bench-strrchr.c: Likewise.
45234         * benchtests/bench-strspn.c: Likewise.
45235         * benchtests/bench-strstr.c: Likewise.
45237 2013-09-04  Will Newton  <will.newton@linaro.org>
45239         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
45241 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
45243         [BZ #15427]
45244         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
45245         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
45246         * math/libm-test.inc (lgamma_test_data): Add more tests.
45247         * sysdeps/i386/fpu/libm-test-ulps: Update.
45248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45250 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
45252         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
45253         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45254         Add ifunc.
45255         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45256         Add strcmp-sse2-unaligned
45257         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
45259 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45261         * Versions.def (libc): Add GLIBC_2.19.
45263 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45265         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
45266         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
45268 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
45270         [BZ #14155]
45271         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
45272         intermediate calculations in recurrence.
45273         (__ieee754_ynf): Likewise.
45274         * math/libm-test.inc (jn_test_data): Do not allow spurious
45275         underflow exception.  Add more tests.
45276         (yn_test_data): Add more tests.
45277         * sysdeps/i386/fpu/libm-test-ulps: Update.
45278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45280 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
45282         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
45284 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45286         * csu/init-first.c: Fix then/than typos.
45287         * locale/programs/ld-collate.c: Likewise.
45288         * locale/programs/linereader.h: Likewise.
45289         * manual/charset.texi: Likewise.
45290         * manual/filesys.texi: Likewise.
45291         * manual/stdio.texi: Likewise.
45292         * manual/string.texi: Likewise.
45293         * stdlib/fmtmsg.c: Likewise.
45294         * sysdeps/i386/stpncpy.S: Likewise.
45295         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45296         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45297         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45298         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45300 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45302         * elf/dl-open.c: Fix typos.
45303         * iconvdata/gbbig5.c: Likewise.
45304         * iconvdata/iso-2022-jp.c: Likewise.
45305         * iconv/gconv_int.h: Likewise.
45306         * iconv/loop.c: Likewise.
45307         * nis/rpcsvc/nis.h: Likewise.
45308         * resolv/ns_name.c: Likewise.
45309         * stdio-common/vfscanf.c: Likewise.
45310         * streams/stropts.h: Likewise.
45311         * sunrpc/rpc_thread.c: Likewise.
45312         * sysdeps/i386/strpbrk.S: Likewise.
45313         * sysdeps/ieee754/k_standard.c: Likewise.
45314         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45315         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45316         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
45317         * sysdeps/mach/hurd/profil.c: Likewise.
45318         * sysdeps/s390/dl-procinfo.h: Likewise.
45319         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
45320         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45321         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
45322         * sysdeps/x86_64/dl-trampoline.S: Likewise.
45323         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45325 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
45327         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
45328         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
45330 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
45332         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
45333         aix specific files.
45334         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
45335         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
45336         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
45337         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
45338         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
45339         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
45340         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
45341         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
45343 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
45344             Roland McGrath  <roland@hack.frob.com>
45346         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
45347         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
45349 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45351         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
45352         __executable_start symbol instead of _start.
45354 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
45356         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
45357         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
45358         Move macros to...
45359         * sysdeps/gnu/ldsodefs.h: ... this new file.
45361         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
45362         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
45363         instead of ELFOSABI_LINUX.
45365         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
45366         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
45367         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
45368         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
45369         Likewise.
45370         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
45371         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
45372         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
45373         Likewise.
45374         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45375         (ibm_extended_long_double): Add ieee_nan member.
45376         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
45377         (do_test): New function.
45379         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
45380         TEST_TRUNC.
45381         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
45382         functions, renamed from truncdfsf_test, trunctfsf_test,
45383         trunctfdf_test.
45384         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
45385         functions.
45386         (do_test): Run all these.
45388 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
45390         * argp/argp-help.c: Fix typos.
45391         * argp/argp-parse.c: Likewise.
45392         * debug/backtracesyms.c: Likewise.
45393         * elf/elf.h: Likewise.
45394         * malloc/malloc.c: Likewise.
45395         * nis/nis_print.c: Likewise.
45396         * resolv/res_comp.c: Likewise.
45397         * stdlib/stdlib.h: Likewise.
45398         * sunrpc/clnt_tcp.c: Likewise.
45399         * sunrpc/clnt_udp.c: Likewise.
45400         * sunrpc/clnt_unix.c: Likewise.
45401         * sysdeps/unix/bsd/ptsname.c: Likewise.
45402         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45403         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
45404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
45405         Likewise.
45406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
45407         Likewise.
45408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
45409         Likewise.
45410         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45412 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45414         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
45415         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45417 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
45419         [BZ #15897]
45420         * dlfcn/Makefile (tests): Add bug-dl-leaf.
45421         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
45422         ($(objpfx)bug-dl-leaf): New rule.
45423         ($(objpfx)bug-dl-leaf.so): Likewise.
45424         ($(objpfx)bug-dl-leaf.out): Likewise.
45425         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
45426         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
45427         * dlfcn/bug-dl-leaf.c: New test.
45428         * dlfcn/bug-dl-leaf-lib.c: Likewise.
45429         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
45430         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
45431         (dlclose): Likewise.
45432         (dlmopen): Likewise.
45434 2013-08-27  Roland McGrath  <roland@hack.frob.com>
45436         * include/netdb.h [!_ISOMAC]:
45437         Don't include <tls.h>.
45438         (h_errno, __libc_h_errno): Move declaration and macros out of
45439         [_LIBC_REENTRANT].
45441         * include/resolv.h [_RESOLV_H_]:
45442         Don't include <tls.h>.
45443         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
45444         * resolv/res_libc.c: Don't include <tls.h>.
45445         (_res): Use __attribute__ ((nocommon)) in place of
45446         __attribute__ ((section (".bss"))).
45448         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
45449         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
45451         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
45453         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
45454         only under [SIOCGIFCONF && SIOCGIFNETMASK].
45456         * resolv/res_mkquery.c: Include <sys/time.h>.
45458         * inet/ifreq.c: Moved to ...
45459         * sysdeps/unix/ifreq.c: ... here.
45460         * inet/ifreq.c: New file, true stub version.
45462         * socket/sa_len.c: New file.
45463         * socket/Makefile (aux): Add it.
45464         * sysdeps/unix/sysv/linux/Makefile
45465         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
45466         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
45467         and #include <socket/sa_len.c>.
45468         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
45469         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
45471         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
45472         * bits/socket.h: ... here.
45474         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
45475         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
45476         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
45478 2013-08-27  Andreas Schwab  <schwab@suse.de>
45480         [BZ #15736]
45481         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
45482         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
45483         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
45484         * string/test-strcasecmp.c (test_main): Run tests in several
45485         locales.
45486         * string/test-strncasecmp.c (test_main): Likewise.
45488         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
45489         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
45490         to __strcasecmp_nonascii and __strncasecmp_nonascii.
45491         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
45492         (__strncasecmp_ssse3) [PIC]: Likewise.
45494 2013-08-26  Roland McGrath  <roland@hack.frob.com>
45496         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
45498         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
45499         instead of explicitly declaring xdecrypt.
45500         * nis/nss_nis/nis-publickey.c: Likewise.
45502 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45504         [BZ #15890]
45505         * nscd/aicache.c: Include res_hconf.h.
45506         (addhstaiX): Initialize res_hconf.
45508 2013-08-26  Andreas Schwab  <schwab@suse.de>
45510         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
45511         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
45513 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45515         * nscd/aicache.c (addhstaiX): Fix indentation.
45517 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
45519         * configure.ac: Quote $build_pt_chown test.
45520         * configure: Regenerated.
45522 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
45524         [BZ #15532]
45525         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
45526         * math/s_cexpf.c (__cexpf): Likewise.
45527         * math/s_cexpl.c (__cexpl): Likewise.
45528         * math/libm-test.inc (cexp_test_data): Correct expected return
45529         value for NaN + i0.  Add another test.
45531 2013-08-22  David S. Miller  <davem@davemloft.net>
45533         * po/ca.po: Update Catalan translation from translation project.
45534         * po/uk.po: Add Ukrainian translations from translation project.
45536 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
45538         [BZ #15797]
45539         * math/s_fdim.c (__fdim): Check for infinite arguments if result
45540         is infinite, not alongside NaN test.
45541         * math/s_fdimf.c (__fdimf): Likewise.
45542         * math/s_fdiml.c (__fdiml): Likewise.
45543         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
45544         errno is unchanged.
45546 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
45548         * argp/argp-help.c: Fix typos.
45549         * crypt/speeds.c: Likewise.
45550         * csu/check_fds.c: Likewise.
45551         * elf/dl-load.c: Likewise.
45552         * elf/dl-open.c: Likewise.
45553         * elf/reldep3.c: Likewise.
45554         * elf/reldep.c: Likewise.
45555         * elf/sprof.c: Likewise.
45556         * iconv/iconv_charmap.c: Likewise.
45557         * iconv/skeleton.c: Likewise.
45558         * iconv/strtab.c: Likewise.
45559         * io/lockf64.c: Likewise.
45560         * libio/libioP.h: Likewise.
45561         * resolv/gai_notify.c: Likewise.
45562         * resolv/ns_name.c: Likewise.
45563         * resolv/ns_samedomain.c: Likewise.
45564         * resolv/res_send.c: Likewise.
45565         * stdlib/random.c: Likewise.
45566         * sunrpc/rpc/xdr.h: Likewise.
45567         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
45568         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45569         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45570         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45571         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45572         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45573         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45574         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45575         * sysdeps/mach/hurd/check_fds.c: Likewise.
45576         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45577         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45578         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45579         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45580         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45581         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45582         * sysdeps/pthread/aio_notify.c: Likewise.
45583         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
45584         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
45585         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
45586         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45587         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45589 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45591         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
45592         version if bit_Slow_SSE4_2 is set.
45593         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45594         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45596 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45598         [BZ #15867]
45599         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
45600         trampoline stack frame information.
45601         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
45602         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
45603         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
45604         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
45605         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
45606         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45607         (_libc_vdso_platform_setup): Initialize the signal trampolines.
45608         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
45609         sa_flags value.
45610         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
45611         interrupting a syscall and set with option SA_SIGINFO.
45613 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45615         [BZ #15531]
45616         * math/s_cproj.c (__cproj): Only return an infinity if one part of
45617         argument is infinite.
45618         * math/s_cprojf.c (__cprojf): Likewise.
45619         * math/s_cprojl.c (__cprojl): Likewise.
45620         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
45621         * math/libm-test.inc (cproj_test_data): Add more tests.
45623         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
45625         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
45626         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
45627         size.  Use __ffs to determine corresponding shift.
45629 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45630             Roland McGrath  <roland@hack.frob.com>
45632         * Makefile (INSTALL): Remove trailing blank lines from output of
45633         makeinfo.
45635 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45637         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
45638         Align 32 bit compat elf_greg to 8 bytes.
45640 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
45642         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
45644 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45646         * string/strcoll_l.c (coll_seq): New structure.
45647         (get_next_seq_cached): New function.
45648         (get_next_seq): New function.
45649         (do_compare): New function.
45650         (STRCOLL): Use GNU style definition.  Simplify implementation
45651         by using get_next_seq, get_next_seq_cached and do_compare.
45653 2013-08-16  Florian Weimer  <fweimer@redhat.com>
45655         [BZ #14699]
45656         CVE-2013-4237
45657         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
45658         member.
45659         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
45660         member.
45661         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
45662         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
45663         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
45664         conditional.
45665         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
45666         GETDENTS_64BIT_ALIGNED.
45667         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45668         * manual/filesys.texi (Reading/Closing Directory): Document
45669         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
45670         strongly.
45671         * manual/conf.texi (Limits for Files): Add portability note to
45672         NAME_MAX, PATH_MAX.
45673         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
45675 2013-08-13  Andreas Schwab  <schwab@suse.de>
45677         [BZ #15749]
45678         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
45679         of fabs.
45680         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
45681         LDBL_MAX_EXP >= 16384]: Add tests for it.
45683 2013-08-12  David S. Miller  <davem@davemloft.net>
45685         * version.h (RELEASE): Set to "development".
45686         (VERSION): Set to "2.18.90".
45687         * NEWS: Add 2.19 section.
45689 2013-08-03  David S. Miller  <davem@davemloft.net>
45691         * po/ko.po: Update Korean translation from translation project.
45693 2013-08-01  David S. Miller  <davem@davemloft.net>
45695         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
45696         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
45697         Bilka.
45699 2013-07-30  David S. Miller  <davem@davemloft.net>
45701         * po/fr.po: Update French translation from translation project.
45703 2013-07-28  David S. Miller  <davem@davemloft.net>
45705         * po/cs.po: Update Czech translation from translation project.
45707         * po/sv.po: Update Swedish translation from translation project.
45709 2013-07-27  David S. Miller  <davem@davemloft.net>
45711         * po/eo.po: Update Esperanto translation from translation project.
45713         * po/vi.po: Update Vietnamese translation from translation project.
45715         * po/de.po: Update German translation from translation project.
45717 2013-07-26  David S. Miller  <davem@davemloft.net>
45719         * po/bg.po: Update Bulgarian translation from translation project.
45721         * po/nl.po: Update Dutch translation from translation project.
45722         * po/pl.po: Update Polish translation from translation project.
45723         * po/ru.po: Update Russian translation from translation project.
45725 2013-07-24  David S. Miller  <davem@davemloft.net>
45727         * po/libc.pot: Update.
45729 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45731         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
45732         variable page size.
45733         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
45734         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
45735         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
45737 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45739         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
45741 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45742             Andreas Schwab  <schwab@suse.de>
45743             Roland McGrath  <roland@hack.frob.com>
45744             Joseph Myers  <joseph@codesourcery.com>
45745             Carlos O'Donell  <carlos@redhat.com>
45747         [BZ #15755]
45748         * config.h.in: Define HAVE_PT_CHOWN.
45749         * config.make.in (build-pt-chown): New variable.
45750         * configure.in (--enable-pt_chown): New configure option.
45751         * configure: Regenerate.
45752         * login/Makefile: Include Makeconfig.  Build pt_chown only if
45753         build-pt-chown is enabled.
45754         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
45755         pt_chown to fix pty ownership.
45756         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
45757         CLOSE_ALL_FDS.
45758         * manual/install.texi (Configuring and compiling): Mention
45759         --enable-pt_chown. Add @findex for grantpt.
45760         * INSTALL: Regenerate.
45762 2013-07-20  David S. Miller  <davem@davemloft.net>
45764         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
45765         difference between 32-bit and 64-bit.
45767 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
45769         [BZ #15711]
45770         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
45771         Avoid system header dependency with -ffreestanding.
45772         ($(objpfx)bits/syscall%d): Likewise.
45774 2013-07-13  David S. Miller  <davem@davemloft.net>
45776         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
45777         underflows from atanl/atan2l due to bug 15319.
45778         (casinh_test_data): Likewise.
45780 2013-07-07  David S. Miller  <davem@davemloft.net>
45782         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
45784 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
45786         * sysdeps/i386/fpu/libm-test-ulps: Update.
45787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45789 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45791         * configure.in (--enable-lock-elision): Fix message text.
45792         * INSTALL: Regenerate.
45793         * configure: Regenerate.
45795 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45799 2013-07-03  Andreas Jaeger  <aj@suse.de>
45801         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
45802         define.
45803         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
45804         (ptrace_peeksiginfo_args): Add.
45805         (__ptrace_peeksiginfo_flags): Add.
45806         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45807         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45808         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45810 2013-07-03  Allan McRae  <allan@archlinux.org>
45812         * sysdeps/i386/fpu/libm-test-ulps: Update.
45814 2013-07-02  David S. Miller  <davem@davemloft.net>
45816         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45818 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
45820         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45822 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45824         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45827 2013-07-02  Andi Kleen <ak@linux.intel.com>
45829         * config.h.in (ENABLE_LOCK_ELISION): Add.
45830         * configure.in (--enable-lock-elision): Add option.
45831         * manual/install.texi: Document --enable lock elision.
45832         * configure: Regenerate
45833         * INSTALL: Regenerate.
45835 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
45837         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
45838         SSE4.2 strcasecmp for libc.a.
45839         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45841 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45843         [BZ #13304]
45844         * soft-fp/op-common.h (_FP_FMA): New macro.
45845         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
45846         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
45847         (_FP_MUL_MEAT_1_imm): ... here.
45848         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
45849         (_FP_MUL_MEAT_1_wide): ... here.
45850         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
45851         (_FP_MUL_MEAT_1_hard): ... here.
45852         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
45853         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
45854         (_FP_MUL_MEAT_2_wide): ... here.
45855         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
45856         (_FP_MUL_MEAT_2_wide_3mul): ... here.
45857         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
45858         (_FP_MUL_MEAT_2_gmp): ... here.
45859         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
45860         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
45861         (_FP_MUL_MEAT_4_wide): ... here.
45862         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
45863         (_FP_MUL_MEAT_4_gmp): ... here.
45864         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
45865         (_FP_WFRACBITS_DW_S): Likewise.
45866         (_FP_WFRACXBITS_DW_S): Likewise.
45867         (_FP_HIGHBIT_DW_S): Likewise.
45868         (FP_FMA_S): Likewise.
45869         (_FP_FRAC_HIGH_DW_S): Likewise.
45870         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
45871         (_FP_WFRACBITS_DW_D): Likewise.
45872         (_FP_WFRACXBITS_DW_D): Likewise.
45873         (_FP_HIGHBIT_DW_D): Likewise.
45874         (FP_FMA_D): Likewise.
45875         (_FP_FRAC_HIGH_DW_D): Likewise.
45876         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
45877         (_FP_WFRACBITS_DW_E): Likewise.
45878         (_FP_WFRACXBITS_DW_E): Likewise.
45879         (_FP_HIGHBIT_DW_E): Likewise.
45880         (FP_FMA_E): Likewise.
45881         (_FP_FRAC_HIGH_DW_E): Likewise.
45882         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
45883         (_FP_WFRACBITS_DW_Q): Likewise.
45884         (_FP_WFRACXBITS_DW_Q): Likewise.
45885         (_FP_HIGHBIT_DW_Q): Likewise.
45886         (FP_FMA_Q): Likewise.
45887         (_FP_FRAC_HIGH_DW_Q): Likewise.
45888         * soft-fp/fmasf4.c: New file.
45889         * soft-fp/fmadf4.c: Likewise.
45890         * soft-fp/fmatf4.c: Likewise.
45892 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45894         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45895         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
45896         Silvermont.
45897         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
45898         macro.
45899         (index_Slow_SSE4_2): Likewise.
45900         (index_Prefer_PMINUB_for_stringop): Likewise.
45901         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
45902         bit_Slow_SSE4_2 is set.
45903         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45904         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45906 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45908         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
45909         rtld_global._dl_hwcap2.
45910         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
45911         POWER8.
45912         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
45913         POWER8 feature descriptions defined in _dl_hwcap2.
45914         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
45915         string handling for POWER8 feature bits.
45916         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
45917         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
45918         _dl_powerpc_cap_flags.
45919         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
45920         * sysdeps/powerpc/rtld-global-offsets.sym
45921         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
45922         _dl_hwcap2 in the rtld_global_ro structure.
45924 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45926         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
45927         hardware capabilities in support of AT_HWCAP2.
45928         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
45929         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
45930         GLRO(dl_hwcap2).
45931         (_dl_show_auxv): Add support for calling _dl_procinfo to display
45932         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
45933         explicitly the unknown a_type display mechanism is used.
45934         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
45935         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
45936         struct member.
45937         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
45938         to macro prototype for AT_HWCAP2 support.
45939         * sysdeps/i386/dl-procinfo.h: Likewise.
45940         * sysdeps/s390/dl-procinfo.h: Likewise.
45941         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
45942         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
45943         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
45944         return -1 for unknown a_type display fallback.
45945         * sysdeps/sparc/dl-procinfo.h: Likewise.
45946         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
45947         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
45949 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
45951         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
45952         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
45954 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
45956         [BZ #12492]
45957         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
45958         mprotect making __stack_prot writable.
45960 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
45961             Joseph Myers  <joseph@codesourcery.com>
45963         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
45964         as being properly aligned.
45966 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
45968         * dlfcn/modstatic5.c: New file.
45969         * dlfcn/tststatic5.c: New file.
45970         * dlfcn/Makefile (tests): Add tststatic5.
45971         (tests-static): Likewise.
45972         (modules-names): Add modstatic5.
45973         (tststatic5-ENV): New variable.
45974         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
45976         [BZ #15022]
45977         * elf/dl-support.c (_dl_main_map): New variable.
45978         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
45979         (_dl_nns, _dl_load_adds): Set to 1.
45980         (_dl_initial_searchlist): Refer to _dl_main_map.
45981         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
45982         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
45983         call to _dl_get_origin.
45984         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
45985         around call_map.
45986         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
45987         * dlfcn/modstatic3.c: New file.
45988         * dlfcn/tststatic3.c: New file.
45989         * dlfcn/tststatic4.c: New file.
45990         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
45991         (tests-static): Likewise.
45992         (modules-names): Add modstatic3.
45993         (tststatic3-ENV, tststatic4-ENV): New variables.
45994         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
45995         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
45997 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
45999         * configure.in (CC): Require GCC version 4.4 or later.
46000         * configure: Regenerated.
46001         * manual/install.texi (Tools for Compilation): Update GCC version
46002         requirement.
46003         * INSTALL: Regenerated.
46005 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46007         [BZ #15674]
46008         * string/test-memcmp.c (check2): New.
46009         (main): Call check2.
46011         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
46013 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
46015         [BZ #15022]
46016         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
46017         over to...
46018         (dl_open_worker) [!SHARED]: ... here.
46020 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46022         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
46024 2013-06-25  Richard Henderson  <rth@redhat.com>
46026         * locale/programs/locarchive.c: Include <libc-internal.h>
46028 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
46030         * manual/texinfo.tex: Update to version 2013-06-21.17, with
46031         trailing whitespace removed.
46033 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46035         [BZ #10283]
46036         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
46037         * locale/programs/locarchive.c: Include libc-mmap.h.
46038         (prepare_address_space): Take two new outputs (the mmap base and len).
46039         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
46040         values.
46041         (create_archive): Declare new mmap base and len values for
46042         prepare_address_space, and store the result in ah.
46043         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
46044         (enlarge_archive): If ah->mmap_base is not NULL, use that and
46045         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46046         Declare new mmap base and len values for
46047         prepare_address_space, and store the result in new_ah.
46048         (open_archive): Declare new mmap base and len values for
46049         prepare_address_space, and store the result in ah.
46050         (close_archive): If ah->mmap_base is not NULL, use that and
46051         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46052         * sysdeps/generic/libc-mmap.h: New file.
46054 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46056         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
46057         (ALIGN_UP): Likewise.
46058         (PTR_ALIGN_DOWN): Likewise.
46059         (PTR_ALIGN_UP): Likewise.
46061 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46063         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
46064         entry mapped to PPC_PLATFORM_POWER8.
46065         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
46066         POWER8.
46067         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
46068         (_dl_string_platform): Add case for exporting platform position for
46069         POWER8.
46070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
46071         search path to sysdeps/powerpc/powerpc32/power8 directory.
46072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
46073         search path to sysdeps/powerpc/powerpc64/power8 directory.
46074         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
46075         power7 directories.
46076         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
46077         power7 directories.
46079 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46081         * INSTALL: Regenerate.
46083         * nscd/connections.c (nscd_init): Fix comment.
46085 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
46087         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
46089         [BZ #15667]
46090         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
46091         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
46093 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
46095         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
46096         DL_DST_REQ_STATIC.
46097         (DL_DST_REQ_STATIC): Remove macro.
46099 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
46101         [BZ #7006]
46102         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
46103         with a shift of 0 bits.
46105 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
46107         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
46108         $(tststatic-ENV).
46110 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46112         [BZ #15655]
46113         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
46115 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46117         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
46118         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
46119         accepts -fno-tree-loop-distribute-patterns.
46120         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
46121         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
46122         recursive call.
46123         * string/memset.c (memset): Likewise.
46124         * string/test-memmove.c (simple_memmove): Disable loop transformation
46125         to library calls.
46126         * string/test-memset.c (simple_memset): Likewise.
46127         * benchtests/bench-memmove.c (simple_memmove): Likewise.
46128         * benchtests/bench-memset.c (simple_memset): Likewise.
46129         * configure: Regenerated.
46131 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
46133         * math/test-misc.c (main): Ignore fesetround failure when failures
46134         of subsequent rounding tests would be ignored.
46136         [BZ #15654]
46137         * math/fedisblxcpt.c (fedisableexcept): Return 0.
46138         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
46139         * math/fegetenv.c (__fegetenv): Return 0.
46140         * math/fegetexcept.c (fegetexcept): Return 0.
46141         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
46142         FE_TONEAREST.
46143         * math/feholdexcpt.c (feholdexcept): Return 0.
46144         * math/fesetenv.c (__fesetenv): Return 0.
46145         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
46146         argument FE_TONEAREST.
46147         * math/feupdateenv.c (__feupdateenv): Return 0.
46148         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
46150 2013-06-18  Roland McGrath  <roland@hack.frob.com>
46152         * elf/rtld-Rules (rtld-compile-command.S): New variable.
46153         (rtld-compile-command.s, rtld-compile-command.c): New variables.
46154         ($(objpfx)rtld-%.os rules): Use them.
46156 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46158         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
46159         fields.
46161 2013-06-17  Roland McGrath  <roland@hack.frob.com>
46163         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
46164         length of target pattern, then descending length of dependency pattern.
46165         * configure.in (AWK): Require gawk 3.1.2 or newer.
46166         * manual/install.texi (Tools for Compilation): Say that we do.
46167         * configure: Regenerated.
46169         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
46170         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
46171         * scripts/sysd-rules.awk: ... this new script.
46172         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
46173         than a glob-style pattern.
46175 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
46177         * math/test-misc.c (main): Do not treat incorrectly rounded
46178         conversions as failure unless ROUNDING_TESTS passes.
46180 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
46182         [BZ #15631]
46183         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
46184         restore exception state around main square root computation, then
46185         check for inexactness explicitly.
46187         * math/libm-test.inc (fma_test_data): Add another test.
46189 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46191         * manual/threads.texi (Non-POSIX Extensions): New document
46192         node.  Document pthread_getattr_default_np and
46193         pthread_setattr_default_np.
46195         * Versions.def (libpthread): Add GLIBC_2.18.
46196         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
46197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46198         Likewise.
46199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46200         Likewise.
46201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46202         Likewise.
46203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46204         Likewise.
46205         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
46206         Likewise.
46207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46208         Likewise.
46209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46210         Likewise.
46211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46212         Likewise.
46213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46214         Likewise.
46216 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46218         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46219         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
46221 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46222             H.J. Lu  <hjl.tools@gmail.com>
46224         [BZ #15627]
46225         * sysdeps/x86_64/rtld-memset.c: Remove file.
46226         * sysdeps/x86_64/rtld-memset.S: New file.
46228 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
46230         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
46231         (test_in_one_mode): Take arguments for whether the rounding mode
46232         is supported for each floating-point type.
46233         (do_test): Pass new arguments to test_in_one_mode using
46234         ROUNDING_TESTS.
46236 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46238         * posix/tst-waitid.c (do_test): Distinguish different instances of
46239         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
46240         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
46241         before entering the kernel for waitpid.
46243 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46245         * NEWS: Fix note on clock function precision.  Text by Roland
46246         McGrath.
46248 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46250         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
46251         it into place only when and if the sanity check passes.
46253 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
46255         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
46256         output for whether conversion result is exact.  Take argument
46257         indicating whether type is IBM long double.
46258         (round_for_all): Change need_exact field to ibm_ld.
46259         * stdlib/tst-strtod-round.c (struct exactness): New type.
46260         (struct test): Change bool ld_ok field to struct exactness exact.
46261         (TEST): Update all definitions for change to field.
46262         (tests): Regenerate array contents.
46263         (test_in_one_mode): Take pointer to new field instead of old ld_ok
46264         field value.  Check for IBM long double here.
46265         (do_test): Update calls to test_in_one_mode.
46267 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46269         [BZ #12515]
46270         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
46271         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
46273 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46275         [BZ #15605]
46276         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
46277         generated by the compiler on loop optimizations.
46278         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
46279         general definitions.
46281 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
46283         * math/bug-nextafter.c: Include <math-tests.h>.
46284         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46285         the relevant type.
46286         * math/bug-nexttoward.c: Include <math-tests.h>.
46287         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46288         the relevant type.
46289         * math/test-misc.c: Include <math-tests.h>.
46290         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46291         the relevant type.
46293 2013-06-12  Andreas Jaeger  <aj@suse.de>
46295         * po/ia.po: Update Interlingua translation from translation
46296         project.
46298 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46300         * include/fenv.h: Include stdbool.h.
46301         (struct rm_ctx): New structure.
46302         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
46303         Define macro.
46304         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
46305         (SET_RESTORE_ROUNDF): Likewise.
46306         (SET_RESTORE_ROUNDL): Likewise.
46307         (SET_RESTORE_ROUND_NOEX): Likewise.
46308         (SET_RESTORE_ROUND_NOEXF): Likewise.
46309         (SET_RESTORE_ROUND_NOEXL): Likewise.
46310         (SET_RESTORE_ROUND_53BIT): Likewise.
46311         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
46312         (libc_feresetround_noexf_ctx): Likewise.
46313         (libc_feresetround_noexl_ctx): Likewise.
46314         (libc_feholdsetround_53bit_ctx): Likewise.
46315         (libc_feresetround_53bit_ctx): Likewise.
46316         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
46317         (libc_feholdexcept_setround_sse_ctx): New function.
46318         (libc_fesetenv_sse_ctx): Likewise.
46319         (libc_feupdateenv_sse_ctx): Likewise.
46320         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
46321         (libc_feholdexcept_setround_387_ctx): Likewise.
46322         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
46323         (libc_feholdsetround_387_prec_ctx): Likewise.
46324         (libc_feholdsetround_387_ctx): Likewise.
46325         (libc_feholdsetround_387_53bit_ctx): Likewise.
46326         (libc_feholdsetround_sse_ctx): Likewise.
46327         (libc_feresetround_sse_ctx): Likewise.
46328         (libc_feresetround_387_ctx): Likewise.
46329         (libc_feupdateenv_387_ctx): Likewise.
46330         (libc_feholdexcept_setroundf_ctx): Define macro.
46331         (libc_fesetenvf_ctx): Likewise.
46332         (libc_feupdateenvf_ctx): Likewise.
46333         (libc_feholdsetroundf_ctx): Likewise.
46334         (libc_feresetroundf_ctx): Likewise.
46335         (libc_feholdexcept_setround_ctx): Likewise.
46336         (libc_fesetenv_ctx): Likewise.
46337         (libc_feupdateenv_ctx): Likewise.
46338         (libc_feholdsetround_ctx): Likewise.
46339         (libc_feresetround_ctx): Likewise.
46340         (libc_feholdexcept_setroundl_ctx): Likewise.
46341         (libc_feupdateenvl_ctx): Likewise.
46342         (libc_feholdsetroundl_ctx): Likewise.
46343         (libc_feresetroundl_ctx): Likewise.
46344         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
46345         (libc_feresetround_53bit_ctx): Likewise.
46347 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46349         * locale/iso-639.def: Convert to UTF-8.
46351 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
46353         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
46354         (EXCEPTION_TESTS_double): Likewise.
46355         (EXCEPTION_TESTS_long_double): Likewise.
46356         (EXCEPTION_TESTS): Likewise.
46357         * math/libm-test.inc (test_exceptions): Only test exceptions if
46358         EXCEPTION_TESTS (FLOAT).
46360 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46362         * benchtests/Makefile (string-bench): Add strcpy_chk and
46363         stpcpy_chk.
46364         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
46365         * benchtests/bench-stpcpy_chk.c: New file.
46366         * benchtests/bench-strcpy_chk-ifunc.c: New file.
46367         * benchtests/bench-strcpy_chk.c: New file.
46368         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
46369         code.
46370         (do_test): Likewise.
46372 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46374         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
46375         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
46376         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
46377         with tabs where appropriate.
46378         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
46379         dl-procinfo.h.
46380         [PPC_PLATFORM_PPC440]: Likewise.
46381         [PPC_PLATFORM_PPC464]: Likewise.
46382         [PPC_PLATFORM_PPC476]: Likewise.
46383         (_dl_string_platform): Add support for detecting ppc405, ppc440,
46384         ppc464, and ppc476 platform strings merging from ports/
46385         dl-procinfo.h.
46387 2013-06-11  Andreas Schwab  <schwab@suse.de>
46389         [BZ #14991]
46390         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
46391         (from_ucs4_idx): Regenerate.
46392         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
46393         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
46394         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
46395         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
46396         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
46397         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
46398         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
46399         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
46400         from FROM_LOOP and TO_LOOP specific macros.
46401         (BODY): Handle combining characters.
46402         * iconvdata/BIG5HKSCS.irreversible: Update.
46403         * iconvdata/BIG5HKSCS.precomposed: New file.
46404         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
46405         characters.
46406         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
46408 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46410         * include/sys/time.h: Fix indentation and add copyright header.
46412         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
46413         (do_test): Likewise.
46414         * string/test-memchr.c (do_one_test): Likewise.
46415         (do_test): Likewise.
46416         * string/test-memcmp.c (do_one_test): Likewise.
46417         (do_test): Likewise.
46418         * string/test-memcpy.c (do_one_test): Likewise.
46419         (do_test): Likewise.
46420         * string/test-memmem.c (do_one_test): Likewise.
46421         (do_test): Likewise.
46422         (do_random_tests): Likewise.
46423         * string/test-memmove.c (do_one_test): Likewise.
46424         (do_test): Likewise.
46425         * string/test-memset.c (do_one_test): Likewise.
46426         (do_test): Likewise.
46427         * string/test-rawmemchr.c (do_one_test): Likewise.
46428         (do_test): Likewise.
46429         * string/test-strcasecmp.c (do_one_test): Likewise.
46430         (do_test): Likewise.
46431         * string/test-strcasestr.c (do_one_test): Likewise.
46432         (do_test): Likewise.
46433         * string/test-strcat.c (do_one_test): Likewise.
46434         (do_test): Likewise.
46435         * string/test-strchr.c (do_one_test): Likewise.
46436         (do_test): Likewise.
46437         * string/test-strcmp.c (do_one_test): Likewise.
46438         (do_test): Likewise.
46439         * string/test-strcpy.c (do_one_test): Likewise.
46440         (do_test): Likewise.
46441         * string/test-string.h: Likewise.
46442         (test_init): Likewise.
46443         * string/test-strlen.c (do_one_test): Likewise.
46444         (do_test): Likewise.
46445         * string/test-strncasecmp.c (do_one_test): Likewise.
46446         (do_test): Likewise.
46447         * string/test-strncat.c (do_one_test): Likewise.
46448         (do_test): Likewise.
46449         * string/test-strncmp.c (do_one_test): Likewise.
46450         (do_test_limit): Likewise.
46451         (do_test): Likewise.
46452         * string/test-strncpy.c (do_one_test): Likewise.
46453         (do_test): Likewise.
46454         * string/test-strnlen.c (do_one_test): Likewise.
46455         (do_test): Likewise.
46456         * string/test-strpbrk.c (do_one_test): Likewise.
46457         (do_test): Likewise.
46458         * string/test-strrchr.c (do_one_test): Likewise.
46459         (do_test): Likewise.
46460         * string/test-strspn.c (do_one_test): Likewise.
46461         (do_test): Likewise.
46462         * string/test-strstr.c (do_one_test): Likewise.
46463         (do_test): Likewise.
46465         * benchtests/Makefile (string-bench): Add string benchmarks.
46466         * benchtests/bench-bcopy-ifunc.c: New file.
46467         * benchtests/bench-bcopy.c: New file.
46468         * benchtests/bench-bzero-ifunc.c: New file.
46469         * benchtests/bench-bzero.c: New file.
46470         * benchtests/bench-memccpy-ifunc.c: New file.
46471         * benchtests/bench-memccpy.c: New file.
46472         * benchtests/bench-memchr-ifunc.c: New file.
46473         * benchtests/bench-memchr.c: New file.
46474         * benchtests/bench-memcmp-ifunc.c: New file.
46475         * benchtests/bench-memcmp.c: New file.
46476         * benchtests/bench-memmem-ifunc.c: New file.
46477         * benchtests/bench-memmem.c: New file.
46478         * benchtests/bench-memmove-ifunc.c: New file.
46479         * benchtests/bench-memmove.c: New file.
46480         * benchtests/bench-mempcpy-ifunc.c: New file.
46481         * benchtests/bench-mempcpy.c: New file.
46482         * benchtests/bench-memset-ifunc.c: New file.
46483         * benchtests/bench-memset.c: New file.
46484         * benchtests/bench-rawmemchr-ifunc.c: New file.
46485         * benchtests/bench-rawmemchr.c: New file.
46486         * benchtests/bench-stpcpy-ifunc.c: New file.
46487         * benchtests/bench-stpcpy.c: New file.
46488         * benchtests/bench-stpncpy-ifunc.c: New file.
46489         * benchtests/bench-stpncpy.c: New file.
46490         * benchtests/bench-strcasecmp-ifunc.c: New file.
46491         * benchtests/bench-strcasecmp.c: New file.
46492         * benchtests/bench-strcasestr-ifunc.c: New file.
46493         * benchtests/bench-strcasestr.c: New file.
46494         * benchtests/bench-strcat-ifunc.c: New file.
46495         * benchtests/bench-strcat.c: New file.
46496         * benchtests/bench-strchr-ifunc.c: New file.
46497         * benchtests/bench-strchr.c: New file.
46498         * benchtests/bench-strchrnul-ifunc.c: New file.
46499         * benchtests/bench-strchrnul.c: New file.
46500         * benchtests/bench-strcmp-ifunc.c: New file.
46501         * benchtests/bench-strcmp.c: New file.
46502         * benchtests/bench-strcpy-ifunc.c: New file.
46503         * benchtests/bench-strcpy.c: New file.
46504         * benchtests/bench-strcspn-ifunc.c: New file.
46505         * benchtests/bench-strcspn.c: New file.
46506         * benchtests/bench-strlen-ifunc.c: New file.
46507         * benchtests/bench-strlen.c: New file.
46508         * benchtests/bench-strncasecmp-ifunc.c: New file.
46509         * benchtests/bench-strncasecmp.c: New file.
46510         * benchtests/bench-strncat-ifunc.c: New file.
46511         * benchtests/bench-strncat.c: New file.
46512         * benchtests/bench-strncmp-ifunc.c: New file.
46513         * benchtests/bench-strncmp.c: New file.
46514         * benchtests/bench-strncpy-ifunc.c: New file.
46515         * benchtests/bench-strncpy.c: New file.
46516         * benchtests/bench-strnlen-ifunc.c: New file.
46517         * benchtests/bench-strnlen.c: New file.
46518         * benchtests/bench-strpbrk-ifunc.c: New file.
46519         * benchtests/bench-strpbrk.c: New file.
46520         * benchtests/bench-strrchr-ifunc.c: New file.
46521         * benchtests/bench-strrchr.c: New file.
46522         * benchtests/bench-strspn-ifunc.c: New file.
46523         * benchtests/bench-strspn.c: New file.
46524         * benchtests/bench-strstr-ifunc.c: New file.
46525         * benchtests/bench-strstr.c: New file.
46527         * benchtests/Makefile: Disable parallel execution of targets.
46528         (string-bench): Add memcpy.
46529         (benchset): New variable to store a list of benchmark sets.
46530         (bench-func): Renamed from bench.
46531         (bench-set): New target.
46532         (bench): Depend on bench-func and bench-set.
46533         * benchtests/README: Add section on benchmark sets.
46534         * benchtests/bench-memcpy-ifunc.c: New file.
46535         * benchtests/bench-memcpy.c: New file.
46536         * benchtests/bench-string.h: New file.
46538 2013-06-11  Andreas Schwab  <schwab@suse.de>
46540         [BZ #15577]
46541         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
46542         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
46543         values in the triple.
46544         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
46545         terminator in the group key.
46547 2013-06-11  Andreas Jaeger  <aj@suse.de>
46549         * po/zh_TW.po: Update Chinese (traditional) translation from
46550         translation project.
46552 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46554         * include/time.h (__clock_gettime): Add libc_hidden_proto.
46555         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
46556         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
46557         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46558         (clock_getcpuclockid): Likewise.
46559         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
46560         Add weak_alias and libc_hidden_def.
46561         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
46562         * rt/clock_gettime.c (clock_gettime): Rename to
46563         __clock_gettime.  Add weak_alias and libc_hidden_def.
46564         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
46565         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
46566         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
46567         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
46568         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
46569         Likewise.
46570         * rt/clock_settime.c (clock_settime): Rename to
46571         __clock_settime.  Add weak_alias and libc_hidden_def.
46572         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
46574 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
46576         * mach/err_boot.sub: Remove trailing whitespace.
46577         * mach/err_ipc.sub: Likewise.
46578         * mach/err_mach.sub: Likewise.
46580         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
46581         (ROUNDING_TESTS_double): Likewise.
46582         (ROUNDING_TESTS_long_double): Likewise.
46583         (ROUNDING_TESTS): Likewise.
46584         * math/libm-test.inc: Include <math-tests.h>.
46585         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
46586         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46587         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46588         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46590 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46592         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
46593         of assigning.
46595 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
46597         * sysdeps/gnu/errlist.awk: Do not generate space at end of
46598         otherwise empty TRANS lines.
46599         * sysdeps/gnu/errlist.c: Regenerated.
46601         * catgets/gencat.c (error_print): Use (void) in function
46602         definition.
46603         * crypt/crypt_util.c (__init_des): Likewise.
46604         * crypt/speeds.c (Stop): Likewise.
46605         (main): Likewise.
46606         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
46607         * inet/ruserpass.c (token): Likewise.
46608         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
46609         * intl/localealias.c (extend_alias_table): Likewise.
46610         * intl/plural-exp.c (init_germanic_plural): Likewise.
46611         * libio/fcloseall.c (__fcloseall): Likewise.
46612         * libio/genops.c (_IO_flush_all): Likewise.
46613         (_IO_flush_all_linebuffered): Likewise.
46614         (_IO_cleanup): Likewise.
46615         (_IO_iter_begin): Likewise.
46616         (_IO_iter_end): Likewise.
46617         (_IO_list_lock): Likewise.
46618         (_IO_list_unlock): Likewise.
46619         (_IO_list_resetlock): Likewise.
46620         * libio/getchar.c (getchar): Likewise.
46621         * libio/getchar_u.c (getchar_unlocked): Likewise.
46622         * libio/getwchar.c (getwchar): Likewise.
46623         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
46624         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
46625         * login/getpt.c (__getpt): Likewise.
46626         * login/tst-utmp.c (main): Likewise.
46627         * malloc/hooks.c (__malloc_check_init): Likewise.
46628         * malloc/malloc.c (__malloc_stats): Likewise.
46629         * malloc/mtrace.c (tr_break): Likewise.
46630         (mtrace): Likewise.
46631         (muntrace): Likewise.
46632         * misc/fstab.c (endfsent): Likewise.
46633         * misc/getclktck.c (__getclktck): Likewise.
46634         * misc/getdtsz.c (__getdtablesize): Likewise.
46635         * misc/gethostid.c (gethostid): Likewise.
46636         * misc/getpagesize.c (__getpagesize): Likewise.
46637         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
46638         (__get_nprocs): Likewise.
46639         (__get_phys_pages): Likewise.
46640         (__get_avphys_pages): Likewise.
46641         * misc/getttyent.c (getttyent): Likewise.
46642         (setttyent): Likewise.
46643         (endttyent): Likewise.
46644         * misc/getusershell.c (getusershell): Likewise.
46645         (endusershell): Likewise.
46646         (setusershell): Likewise.
46647         (initshells): Likewise.
46648         * misc/hsearch.c (__hdestroy): Likewise.
46649         * misc/sync.c (sync): Likewise.
46650         * misc/syslog.c (closelog_internal): Likewise.
46651         (closelog): Likewise.
46652         * misc/ttyslot.c (ttyslot): Likewise.
46653         * misc/vhangup.c (vhangup): Likewise.
46654         * posix/fork.c (__fork): Likewise.
46655         * posix/getegid.c (__getegid): Likewise.
46656         * posix/geteuid.c (__geteuid): Likewise.
46657         * posix/getgid.c (__getgid): Likewise.
46658         * posix/getpid.c (__getpid): Likewise.
46659         * posix/getppid.c (__getppid): Likewise.
46660         * posix/getuid.c (__getuid): Likewise.
46661         * posix/pause.c (pause): Likewise.
46662         * posix/setpgrp.c (setpgrp): Likewise.
46663         * posix/setsid.c (__setsid): Likewise.
46664         * posix/test-vfork.c (noop): Likewise.
46665         * resolv/gethnamaddr.c (_endhtent): Likewise.
46666         (_gethtent): Likewise.
46667         (ht_endhostent): Likewise.
46668         (gethostent): Likewise.
46669         (dns_service): Likewise.
46670         * stdlib/drand48.c (drand48): Likewise.
46671         * stdlib/lrand48.c (lrand48): Likewise.
46672         * stdlib/mrand48.c (mrand48): Likewise.
46673         * stdlib/rand.c (rand): Likewise.
46674         * stdlib/random.c (__random): Likewise.
46675         * stdlib/setenv.c (clearenv): Likewise.
46676         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
46677         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
46678         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
46679         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
46680         (__get_nprocs): Likewise.
46681         (__get_phys_pages): Likewise.
46682         (__get_avphys_pages): Likewise.
46683         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
46684         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
46685         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
46686         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
46687         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
46688         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
46689         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
46690         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
46691         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
46692         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
46693         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
46694         * sysdeps/mach/hurd/sync.c (sync): Likewise.
46695         * sysdeps/posix/clock.c (clock): Likewise.
46696         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
46697         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
46698         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
46699         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
46700         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
46701         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
46702         (__get_nprocs_conf): Likewise.
46703         (__get_phys_pages): Likewise.
46704         (__get_avphys_pages): Likewise.
46705         * time/clock.c (clock): Likewise.
46706         * time/tzset.c (__tzname_max): Likewise.
46708 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
46710         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
46711         (__bswap_32): Do not use "register".
46712         * crypt/crypt.c (_ufc_doit_r): Likewise.
46713         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46714         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46715         * gmon/gmon.c (__monstartup): Likewise.
46716         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
46717         * hurd/hurdmalloc.c (more_memory): Likewise.
46718         (malloc): Likewise.
46719         (free): Likewise.
46720         (realloc): Likewise.
46721         (malloc_fork_prepare): Likewise.
46722         (malloc_fork_parent): Likewise.
46723         (malloc_fork_child): Likewise.
46724         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
46725         (_svcauth_des): Likewise.
46726         * inet/inet_lnaof.c (inet_lnaof): Likewise.
46727         * inet/inet_net.c (inet_network): Likewise.
46728         * inet/inet_netof.c (inet_netof): Likewise.
46729         * inet/rcmd.c (__validuser2_sa): Likewise.
46730         * io/fts.c (fts_open): Likewise.
46731         (fts_load): Likewise.
46732         (fts_close): Likewise.
46733         (fts_read): Likewise.
46734         (fts_children): Likewise.
46735         (fts_build): Likewise.
46736         (fts_stat): Likewise.
46737         (fts_sort): Likewise.
46738         (fts_alloc): Likewise.
46739         (fts_lfree): Likewise.
46740         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
46741         (_IO_file_xsgetn): Likewise.
46742         (_IO_file_xsgetn_mmap): Likewise.
46743         * libio/iofopncook.c (_IO_cookie_read): Likewise.
46744         (_IO_cookie_write): Likewise.
46745         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
46746         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
46747         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
46748         * malloc/obstack.c (_obstack_begin): Likewise.
46749         (_obstack_begin_1): Likewise.
46750         (_obstack_newchunk): Likewise.
46751         (_obstack_allocated_p): Likewise.
46752         (obstack_free): Likewise.
46753         (_obstack_memory_used): Likewise.
46754         * misc/getttyent.c (getttynam): Likewise.
46755         (getttyent): Likewise.
46756         (skip): Likewise.
46757         (value): Likewise.
46758         * misc/getusershell.c (initshells): Likewise.
46759         * misc/syslog.c (__vsyslog_chk): Likewise.
46760         * misc/ttyslot.c (ttyslot): Likewise.
46761         * nis/nis_hash.c (__nis_hash): Likewise.
46762         * posix/fnmatch_loop.c (FCT): Likewise.
46763         * posix/getconf.c (print_all): Likewise.
46764         (main): Likewise.
46765         * posix/getopt.c (exchange): Likewise.
46766         * posix/glob.c (globfree): Likewise.
46767         (prefix_array): Likewise.
46768         (__glob_pattern_type): Likewise.
46769         * resolv/arpa/nameser.h (NS_GET16): Likewise.
46770         (NS_GET32): Likewise.
46771         (NS_PUT16): Likewise.
46772         (NS_PUT32): Likewise.
46773         * resolv/gethnamaddr.c (getanswer): Likewise.
46774         (gethostbyname2): Likewise.
46775         (gethostbyaddr): Likewise.
46776         (_gethtent): Likewise.
46777         (_gethtbyname2): Likewise.
46778         (_gethtbyaddr): Likewise.
46779         * resolv/ns_print.c (dst_s_get_int16): Likewise.
46780         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
46781         * resolv/res_init.c (__res_vinit): Likewise.
46782         (net_mask): Likewise.
46783         * resolv/res_mkquery.c (outchar): Likewise.
46784         (PRINT): Likewise.
46785         * stdio-common/printf_fp.c (outchar): Likewise.
46786         (PRINT): Likewise.
46787         * stdio-common/printf_fphex.c (outchar): Likewise.
46788         (PRINT): Likewise.
46789         * stdio-common/printf_size.c (outchar): Likewise.
46790         (PRINT): Likewise.
46791         * stdio-common/test_rdwr.c (main): Likewise.
46792         * stdio-common/tfformat.c (matches): Likewise.
46793         * stdio-common/vfprintf.c (outchar): Likewise.
46794         (printf_unknown): Likewise.
46795         (buffered_vfprintf): Likewise.
46796         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46797         * stdio-common/xbug.c (AppendToBuffer): Likewise.
46798         (ReadFile): Likewise.
46799         * stdlib/qsort.c (SWAP): Likewise.
46800         (_quicksort): Likewise.
46801         * stdlib/setenv.c (__add_to_environ): Likewise.
46802         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46803         * stdlib/strtol_l.c (__strtol_l): Likewise.
46804         * stdlib/tst-strtod.c (main): Likewise.
46805         * stdlib/tst-strtol.c (main): Likewise.
46806         * stdlib/tst-strtoll.c (main): Likewise.
46807         * string/bits/string2.h (__strcmp_cc): Likewise.
46808         (__strcmp_cg): Likewise.
46809         (__strcspn_c1): Likewise.
46810         (__strcspn_c2): Likewise.
46811         (__strcspn_c3): Likewise.
46812         (__strspn_c1): Likewise.
46813         (__strspn_c2): Likewise.
46814         (__strspn_c3): Likewise.
46815         (__strsep_1c): Likewise.
46816         (__strsep_2c): Likewise.
46817         (__strsep_3c): Likewise.
46818         * string/memccpy.c (__memccpy): Likewise.
46819         * string/stpcpy.c (__stpcpy): Likewise.
46820         * string/strcmp.c (strcmp): Likewise.
46821         * string/strrchr.c (strrchr): Likewise.
46822         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
46823         Likewise.
46824         * sysdeps/mach/hurd/getcwd.c
46825         (_hurd_canonicalize_directory_name_internal): Likewise.
46826         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
46827         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
46828         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
46829         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
46830         Likewise, in both definitions.
46831         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
46832         definitions.
46833         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
46834         64] (__bswap_64): Likewise.
46835         * time/test_time.c (main): Likewise.
46836         * time/tzfile.c (__tzfile_read): Likewise.
46837         (__tzfile_compute): Likewise.
46838         * time/tzset.c (__tzset_parse_tz): Likewise.
46839         (tzset_internal): Likewise.
46840         (compute_change): Likewise.
46841         * wcsmbs/wcscat.c (__wcscat): Likewise.
46842         * wcsmbs/wcschr.c (wcschr): Likewise.
46843         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
46844         * wcsmbs/wcscspn.c (wcscspn): Likewise.
46845         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
46846         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
46847         * wcsmbs/wcsspn.c (wcsspn): Likewise.
46848         * wcsmbs/wcsstr.c (wcsstr): Likewise.
46849         * wcsmbs/wmemchr.c (wmemchr): Likewise.
46850         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46851         * wcsmbs/wmemset.c (wmemset): Likewise.
46853 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
46855         * scripts/config.guess: Update to version 2013-05-16.
46856         * scripts/config.sub: Update to version 2013-04-24.
46857         * scripts/install-sh: Update to version 2011-11-20.07.
46858         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
46859         * scripts/move-if-change: Update to version 2012-01-06 07:23.
46861 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
46863         * debug/fgetws_u_chk.c: Fix leading whitespaces.
46864         * elf/sln.c: Likewise.
46865         * hurd/hurd/ioctl.h: Likewise.
46866         * hurd/hurdmalloc.c: Likewise.
46867         * hurd/xattr.c: Likewise.
46868         * include/shlib-compat.h: Likewise.
46869         * inet/ruserpass.c: Likewise.
46870         * libio/iofgets_u.c: Likewise.
46871         * libio/iofgetws_u.c: Likewise.
46872         * locale/programs/ld-identification.c: Likewise.
46873         * locale/programs/ld-time.c: Likewise.
46874         * mach/msg-destroy.c: Likewise.
46875         * nss/nss_files/files-netgrp.c: Likewise.
46876         * resolv/res_data.c: Likewise.
46877         * soft-fp/op-1.h: Likewise.
46878         * soft-fp/op-2.h: Likewise.
46879         * soft-fp/op-4.h: Likewise.
46880         * soft-fp/op-common.h: Likewise.
46881         * stdio-common/printf_fphex.c: Likewise.
46882         * stdlib/strtod_l.c: Likewise.
46883         * sunrpc/rpc/clnt.h: Likewise.
46884         * sysdeps/generic/framestate.c: Likewise.
46885         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46886         * sysdeps/i386/bsd-setjmp.S: Likewise.
46887         * sysdeps/i386/__longjmp.S: Likewise.
46888         * sysdeps/i386/setjmp.S: Likewise.
46889         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46890         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46891         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46892         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46893         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46894         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46895         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46896         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46897         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46898         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46899         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46900         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46901         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46902         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46903         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46904         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46905         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46906         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
46907         * sysdeps/ieee754/support.c: Likewise.
46908         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46909         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
46910         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
46911         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
46912         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
46913         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
46914         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
46915         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
46916         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
46917         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
46918         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
46919         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
46920         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
46921         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
46922         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
46923         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
46924         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46927 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
46929         * posix/transbug.c: Remove executable mode.
46931 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
46933         * crypt/speeds.c: Remove trailing whitespace.
46934         * dlfcn/default.c: Likewise.
46935         * elf/ifuncdep2.c: Likewise.
46936         * elf/ifuncmain1.c: Likewise.
46937         * elf/ifuncmain1vis.c: Likewise.
46938         * elf/testobj.h: Likewise.
46939         * elf/tst-stackguard1.c: Likewise.
46940         * gmon/sys/gmon.h: Likewise.
46941         * hurd/hurdmsg.c: Likewise.
46942         * hurd/new-fd.c: Likewise.
46943         * hurd/ports-get.c: Likewise.
46944         * iconvdata/ibm1008_420.c: Likewise.
46945         * inet/tst-getni1.c: Likewise.
46946         * inet/tst-getni2.c: Likewise.
46947         * libio/ioungetc.c: Likewise.
46948         * libio/wfiledoalloc.c: Likewise.
46949         * manual/libm-err-tab.pl: Likewise.
46950         * math/w_dremf.c: Likewise.
46951         * misc/ftruncate.c: Likewise.
46952         * posix/bug-glob2.c: Likewise.
46953         * posix/tst-pcre.c: Likewise.
46954         * posix/wait4.c: Likewise.
46955         * resolv/README: Likewise.
46956         * resolv/res_debug.h: Likewise.
46957         * resolv/tst-inet_ntop.c: Likewise.
46958         * setjmp/bug269-setjmp.c: Likewise.
46959         * soft-fp/extended.h: Likewise.
46960         * soft-fp/op-1.h: Likewise.
46961         * soft-fp/op-2.h: Likewise.
46962         * soft-fp/op-4.h: Likewise.
46963         * soft-fp/op-8.h: Likewise.
46964         * soft-fp/testit.c: Likewise.
46965         * stdio-common/bug16.c: Likewise.
46966         * stdlib/random.c: Likewise.
46967         * sunrpc/rpcsvc/rquota.x: Likewise.
46968         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
46969         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46970         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46971         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46972         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46973         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46974         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46975         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46976         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46977         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46978         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46979         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46980         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46981         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46982         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46983         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46984         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46985         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46986         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46987         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46988         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46989         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46990         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
46991         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46992         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46993         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46994         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46995         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46996         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46997         * sysdeps/ieee754/s_lib_version.c: Likewise.
46998         * sysdeps/mach/hurd/check_fds.c: Likewise.
46999         * sysdeps/mach/hurd/getsockname.c: Likewise.
47000         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
47001         * sysdeps/mach/hurd/recvfrom.c: Likewise.
47002         * sysdeps/powerpc/bits/link.h: Likewise.
47003         * sysdeps/powerpc/dl-procinfo.c: Likewise.
47004         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
47005         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
47006         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
47007         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47008         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47009         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
47010         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47011         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
47012         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47013         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
47014         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47015         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
47016         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47017         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47018         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47019         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47020         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47021         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47022         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47023         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47024         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
47025         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47026         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47027         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
47028         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47029         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47030         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47031         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47032         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47033         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47034         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47035         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47036         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47037         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
47038         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47039         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
47040         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47041         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
47042         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
47043         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
47044         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
47045         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
47046         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
47047         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47048         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
47049         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
47050         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47051         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
47052         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
47053         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47054         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47055         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47056         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47057         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
47058         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
47059         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
47060         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47061         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
47062         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
47063         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
47064         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
47065         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
47066         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47067         * sysdeps/powerpc/sysdep.h: Likewise.
47068         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47069         * sysdeps/s390/s390-64/sub_n.S: Likewise.
47070         * sysdeps/sh/dl-trampoline.S: Likewise.
47071         * sysdeps/sh/memset.S: Likewise.
47072         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
47073         * sysdeps/sh/strlen.S: Likewise.
47074         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
47075         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
47076         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
47077         * sysdeps/sparc/sparc32/rem.S: Likewise.
47078         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
47079         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
47080         * sysdeps/sparc/sparc32/strchr.S: Likewise.
47081         * sysdeps/sparc/sparc32/udiv.S: Likewise.
47082         * sysdeps/sparc/sparc32/urem.S: Likewise.
47083         * sysdeps/sparc/sparc64/add_n.S: Likewise.
47084         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47085         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
47086         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
47087         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
47088         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
47089         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
47090         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
47091         * sysdeps/unix/bsd/times.c: Likewise.
47092         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
47093         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
47094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47097         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
47098         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47099         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
47100         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
47101         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
47102         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
47103         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47104         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
47105         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47106         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47107         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
47108         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47109         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
47110         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
47111         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
47112         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
47113         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
47114         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47115         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
47116         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
47117         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
47118         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
47119         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47120         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
47121         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
47122         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
47123         * sysdeps/x86_64/strcspn.S: Likewise.
47125 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47127         * locale/C-translit.h: Revert #include <stdint.h> because this is a
47128         generated file.  Regenerate properly from gen-translit.pl.
47129         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
47130         locale/C-translit.h.
47132 2013-06-05  Andreas Schwab  <schwab@suse.de>
47134         [BZ #15100]
47135         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
47136         week as 6 instead of -1.
47137         * time/tst-strptime.c (day_tests): Add test case.
47139 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47141         * sysdeps/generic/math_private.h
47142         (libc_feholdexcept_setround_53bit): Replace with
47143         libc_feholdsetround_53bit.
47144         (libc_feupdateenv_53bit): Replace with
47145         libc_feresetround_53bit.
47146         (SET_RESTORE_ROUND_53BIT): Adjust.
47148 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47150         * string/test-strchrnul.c: Add copyright header.
47152         * posix/tst-getaddrinfo4.c: Increase test timeout.
47154 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
47156         [BZ #15536]
47157         * math/libm-test.inc (MAX_EXP): Remove
47158         (MIN_EXP): Define.
47159         (ulp): Use MIN_EXP - MANT_DIG.
47160         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
47162 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
47164         * po/be.po: Revert last change.
47165         * po/zh_CN.po: Likewise.
47166         * po/header.pot: Likewise.
47168 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
47170         * Makefile ($(common-objpfx)linkobj/libc.so): Define
47171         link-libc-deps to empty as target-specific variable.
47172         * Makerules (link-libc-args): New variable.
47173         (libc-for-link): Likewise.
47174         (link-libc-deps): Likewise.
47175         (lib%.so): Depend on $(link-libc-deps).  Link with
47176         $(link-libc-args).
47177         (build-module): Link with $(link-libc-args).
47178         (build-module-asneeded): Likewise.
47179         (build-module-helper-objlist): Filter out $(link-libc-deps) from
47180         list of objects.
47181         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
47182         target-specific variable.
47183         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
47184         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
47185         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
47186         libc.
47187         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
47188         libc and ld.so.
47189         ($(objpfx)libpcprofile.so): Likewise.
47190         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
47191         libc_nonshared.a.
47192         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
47193         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
47194         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
47195         $(link-libc-deps).
47196         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
47197         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
47198         * login/Makefile ($(objpfx)libutil.so): Likewise.
47199         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
47200         * math/Makefile ($(objpfx)libm.so): Likewise.
47201         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
47202         $(objpfx)libnsl.so): Define libc-for-link as target-specific
47203         variable instead of depending directly on libc.
47204         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
47205         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
47206         $(link-libc-deps).
47207         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
47208         libc.
47209         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
47210         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
47211         ($(objpfx)libanl.so): Likewise.
47212         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
47213         ld.so.
47214         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
47215         $(link-libc-deps).
47216         * sysdeps/i386/fpu/Makefile: Remove file.
47217         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
47218         ($(objpfx)libm.so): Remove dependency on ld.so.
47220 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
47222         [BZ # 15553]
47223         * nis/yp_xdr.c (XDRMAXNAME): Define.
47224         (XDRMAXRECORD): Define.
47225         (xdr_domainname): Use XDRMAXNAME.
47226         (xdr_mapname): Likewise.
47227         (xdr_peername): Likewise.
47228         (xdr_keydat): Use XDRMAXRECORD.
47229         (xdr_valdat): Likewise.
47231 2013-05-30  Jeff Law  <law@redhat.com>
47233         [BZ #14256]
47234         * manual/errno.texi (ESTALE): Update to account for more than
47235         just NFS file systems.
47236         * sysdeps/gnu/errlist.c: Regenerated.
47238 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47240         [BZ #15465]
47241         * elf/Makefile (tests): Add tst-null-argv.
47242         (modules-names):  Add tst-null-argv-lib.
47243         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
47244         (tst-null-argv-ENV): Set environment for tst-null-argv.
47245         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
47246         (RTLD_PROGNAME): New macro.
47247         * elf/tst-null-argv.c: New test case.
47248         * elf/tst-null-argv-lib.c: Library for test case.
47249         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
47250         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
47251         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
47252         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
47253         * elf/dl-init.c (call_init): Likewise.
47254         (_dl_init): Likewise.
47255         * elf/dl-load.c (print_search_path): Likewise.
47256         (_dl_map_object): Likewise.
47257         * elf/dl-lookup.c (do_lookup_x): Likewise.
47258         (add_dependency): Likewise.
47259         (_dl_lookup_symbol_x): Likewise.
47260         (_dl_debug_bindings): Likewise.
47261         * elf/dl-open.c (_dl_show_scope): Likewise.
47262         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
47263         * elf/dl-version.c (match_symbol): Likewise.
47264         (_dl_check_map_versions): Likewise.
47265         * elf/rtld.c (dl_main): Likewise.
47266         (print_unresolved): Use RTLD_PROGNAME.
47267         (print_missing_version): Likewise.
47268         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
47269         (elf_machine_rela): Likewise.
47270         * sysdeps/powerpc/powerpc32/dl-machine.c
47271         (__process_machine_rela): Likewise.
47272         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47273         Likewise.
47274         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47275         Likewise.
47276         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
47277         Likewise.
47278         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47279         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
47280         Likewise.
47281         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
47282         Likewise.
47283         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47285 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
47287         * po/be.po: Add descriptive title.
47288         * po/zh_CN.po: Likewise.
47289         * po/header.pot: Likewise.
47291 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
47293         * locale/programs/locarchive.c (create_archive): Inlucde fname in
47294         error message.
47295         (enlarge_archive): Likewise.
47297 2013-05-28  Ben North  <ben@redfrontdoor.org>
47299         * manual/arith.texi (frexp): It is the magnitude of the return
47300         value which lies in [0.5, 1), not the return value itself.
47302 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47304         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47306 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
47308         * stdio-common/bug26.c (main): Correct fscanf template.
47310         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
47311         declare _dl_skip_args.
47313         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
47314         Don't declare.
47316         * manual/platform.texi: Add missing @end deftypefun.
47318 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
47320         [BZ #15529]
47321         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
47322         bit of mantissa of 2^16382.
47323         * math/libm-test.inc (hypot_test_data): Add more tests.
47325         * math/libm-test.inc: Add drem and pow10 to list of tested
47326         functions.
47327         (pow10_test): New function.
47328         (drem_test): Likewise.
47329         (drem_test_tonearest): Likewise.
47330         (drem_test_towardzero): Likewise.
47331         (drem_test_downward): Likewise.
47332         (drem_test_upward): Likewise.
47333         (main): Call the new functions.
47335         * math/libm-test.inc (finite_test_data): Remove.
47336         (finite_test): Run tests from isfinite_test_data.
47337         (gamma_test_data): Remove.
47338         (gamma_test): Run tests from lgamma_test_data.
47339         * sysdeps/i386/fpu/libm-test-ulps: Update.
47340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47342 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47344         * manual/platform.texi: Add PowerPC PPR function set documentation.
47345         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
47346         implementation.
47348 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
47350         * math/libm-test.inc (MAX_EXP): Define.
47351         (ULPDIFF): Define.
47352         (ulp): New function.
47353         (check_float_internal): Use ULPDIFF.
47354         (cpow_test): Disable failing test.
47355         (check_ulp): Test ulp() implemetnation.
47356         (main): Call check_ulp before starting tests.
47358 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
47360         * math/gen-libm-test.pl (generate_testfile): Do not handle
47361         START_DATA and END_DATA.
47362         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
47363         END_DATA.
47364         (acos_tonearest_test_data): Likewise.
47365         (acos_towardzero_test_data): Likewise.
47366         (acos_downward_test_data): Likewise.
47367         (acos_upward_test_data): Likewise.
47368         (acosh_test_data): Likewise.
47369         (asin_test_data): Likewise.
47370         (asin_tonearest_test_data): Likewise.
47371         (asin_towardzero_test_data): Likewise.
47372         (asin_downward_test_data): Likewise.
47373         (asin_upward_test_data): Likewise.
47374         (asinh_test_data): Likewise.
47375         (atan_test_data): Likewise.
47376         (atanh_test_data): Likewise.
47377         (atan2_test_data): Likewise.
47378         (cabs_test_data): Likewise.
47379         (cacos_test_data): Likewise.
47380         (cacosh_test_data): Likewise.
47381         (carg_test_data): Likewise.
47382         (casin_test_data): Likewise.
47383         (casinh_test_data): Likewise.
47384         (catan_test_data): Likewise.
47385         (catanh_test_data): Likewise.
47386         (cbrt_test_data): Likewise.
47387         (ccos_test_data): Likewise.
47388         (ccosh_test_data): Likewise.
47389         (ceil_test_data): Likewise.
47390         (cexp_test_data): Likewise.
47391         (cimag_test_data): Likewise.
47392         (clog_test_data): Likewise.
47393         (clog10_test_data): Likewise.
47394         (conj_test_data): Likewise.
47395         (copysign_test_data): Likewise.
47396         (cos_test_data): Likewise.
47397         (cos_tonearest_test_data): Likewise.
47398         (cos_towardzero_test_data): Likewise.
47399         (cos_downward_test_data): Likewise.
47400         (cos_upward_test_data): Likewise.
47401         (cosh_test_data): Likewise.
47402         (cosh_tonearest_test_data): Likewise.
47403         (cosh_towardzero_test_data): Likewise.
47404         (cosh_downward_test_data): Likewise.
47405         (cosh_upward_test_data): Likewise.
47406         (cpow_test_data): Likewise.
47407         (cproj_test_data): Likewise.
47408         (creal_test_data): Likewise.
47409         (csin_test_data): Likewise.
47410         (csinh_test_data): Likewise.
47411         (csqrt_test_data): Likewise.
47412         (ctan_test_data): Likewise.
47413         (ctan_tonearest_test_data): Likewise.
47414         (ctan_towardzero_test_data): Likewise.
47415         (ctan_downward_test_data): Likewise.
47416         (ctan_upward_test_data): Likewise.
47417         (ctanh_test_data): Likewise.
47418         (ctanh_tonearest_test_data): Likewise.
47419         (ctanh_towardzero_test_data): Likewise.
47420         (ctanh_downward_test_data): Likewise.
47421         (ctanh_upward_test_data): Likewise.
47422         (erf_test_data): Likewise.
47423         (erfc_test_data): Likewise.
47424         (exp_test_data): Likewise.
47425         (exp_tonearest_test_data): Likewise.
47426         (exp_towardzero_test_data): Likewise.
47427         (exp_downward_test_data): Likewise.
47428         (exp_upward_test_data): Likewise.
47429         (exp10_test_data): Likewise.
47430         (exp2_test_data): Likewise.
47431         (expm1_test_data): Likewise.
47432         (fabs_test_data): Likewise.
47433         (fdim_test_data): Likewise.
47434         (finite_test_data): Likewise.
47435         (floor_test_data): Likewise.
47436         (fma_test_data): Likewise.
47437         (fma_towardzero_test_data): Likewise.
47438         (fma_downward_test_data): Likewise.
47439         (fma_upward_test_data): Likewise.
47440         (fmax_test_data): Likewise.
47441         (fmin_test_data): Likewise.
47442         (fmod_test_data): Likewise.
47443         (fpclassify_test_data): Likewise.
47444         (frexp_test_data): Likewise.
47445         (gamma_test_data): Likewise.
47446         (hypot_test_data): Likewise.
47447         (ilogb_test_data): Likewise.
47448         (isfinite_test_data): Likewise.
47449         (isgreater_test_data): Likewise.
47450         (isgreaterequal_test_data): Likewise.
47451         (isinf_test_data): Likewise.
47452         (isless_test_data): Likewise.
47453         (islessequal_test_data): Likewise.
47454         (islessgreater_test_data): Likewise.
47455         (isnan_test_data): Likewise.
47456         (isnormal_test_data): Likewise.
47457         (issignaling_test_data): Likewise.
47458         (isunordered_test_data): Likewise.
47459         (j0_test_data): Likewise.
47460         (j1_test_data): Likewise.
47461         (jn_test_data): Likewise.
47462         (ldexp_test_data): Likewise.
47463         (lgamma_test_data): Likewise.
47464         (lrint_test_data): Likewise.
47465         (lrint_tonearest_test_data): Likewise.
47466         (lrint_towardzero_test_data): Likewise.
47467         (lrint_downward_test_data): Likewise.
47468         (lrint_upward_test_data): Likewise.
47469         (llrint_test_data): Likewise.
47470         (llrint_tonearest_test_data): Likewise.
47471         (llrint_towardzero_test_data): Likewise.
47472         (llrint_downward_test_data): Likewise.
47473         (llrint_upward_test_data): Likewise.
47474         (log_test_data): Likewise.
47475         (log10_test_data): Likewise.
47476         (log1p_test_data): Likewise.
47477         (log2_test_data): Likewise.
47478         (logb_test_data): Likewise.
47479         (logb_downward_test_data): Likewise.
47480         (lround_test_data): Likewise.
47481         (llround_test_data): Likewise.
47482         (modf_test_data): Likewise.
47483         (nearbyint_test_data): Likewise.
47484         (nextafter_test_data): Likewise.
47485         (nexttoward_test_data): Likewise.
47486         (pow_test_data): Likewise.
47487         (pow_tonearest_test_data): Likewise.
47488         (pow_towardzero_test_data): Likewise.
47489         (pow_downward_test_data): Likewise.
47490         (pow_upward_test_data): Likewise.
47491         (remainder_test_data): Likewise.
47492         (remainder_tonearest_test_data): Likewise.
47493         (remainder_towardzero_test_data): Likewise.
47494         (remainder_downward_test_data): Likewise.
47495         (remainder_upward_test_data): Likewise.
47496         (remquo_test_data): Likewise.
47497         (rint_test_data): Likewise.
47498         (rint_tonearest_test_data): Likewise.
47499         (rint_towardzero_test_data): Likewise.
47500         (rint_downward_test_data): Likewise.
47501         (rint_upward_test_data): Likewise.
47502         (round_test_data): Likewise.
47503         (scalb_test_data): Likewise.
47504         (scalbn_test_data): Likewise.
47505         (scalbln_test_data): Likewise.
47506         (signbit_test_data): Likewise.
47507         (sin_test_data): Likewise.
47508         (sin_tonearest_test_data): Likewise.
47509         (sin_towardzero_test_data): Likewise.
47510         (sin_downward_test_data): Likewise.
47511         (sin_upward_test_data): Likewise.
47512         (sincos_test_data): Likewise.
47513         (sinh_test_data): Likewise.
47514         (sinh_tonearest_test_data): Likewise.
47515         (sinh_towardzero_test_data): Likewise.
47516         (sinh_downward_test_data): Likewise.
47517         (sinh_upward_test_data): Likewise.
47518         (sqrt_test_data): Likewise.
47519         (tan_test_data): Likewise.
47520         (tan_tonearest_test_data): Likewise.
47521         (tan_towardzero_test_data): Likewise.
47522         (tan_downward_test_data): Likewise.
47523         (tan_upward_test_data): Likewise.
47524         (tanh_test_data): Likewise.
47525         (tgamma_test_data): Likewise.
47526         (trunc_test_data): Likewise.
47527         (y0_test_data): Likewise.
47528         (y1_test_data): Likewise.
47529         (yn_test_data): Likewise.
47530         (significand_test_data): Likewise.
47532         * math/gen-libm-test.pl (@functions): Remove variable.
47533         (generate_testfile): Don't handle START and END lines.
47534         * math/libm-test.inc (START): New macro.
47535         (END): Likewise.
47536         (END_COMPLEX): Likewise.
47537         (acos_test): Use END macro without arguments.
47538         (acos_test_tonearest): Likewise.
47539         (acos_test_towardzero): Likewise.
47540         (acos_test_downward): Likewise.
47541         (acos_test_upward): Likewise.
47542         (acosh_test): Likewise.
47543         (asin_test): Likewise.
47544         (asin_test_tonearest): Likewise.
47545         (asin_test_towardzero): Likewise.
47546         (asin_test_downward): Likewise.
47547         (asin_test_upward): Likewise.
47548         (asinh_test): Likewise.
47549         (atan_test): Likewise.
47550         (atanh_test): Likewise.
47551         (atan2_test): Likewise.
47552         (cabs_test): Likewise.
47553         (cacos_test): Use END_COMPLEX macro without arguments.
47554         (cacosh_test): Likewise.
47555         (carg_test): Use END macro without arguments.
47556         (casin_test): Use END_COMPLEX macro without arguments.
47557         (casinh_test): Likewise.
47558         (catan_test): Likewise.
47559         (catanh_test): Likewise.
47560         (cbrt_test): Use END macro without arguments.
47561         (ccos_test): Use END_COMPLEX macro without arguments.
47562         (ccosh_test): Likewise.
47563         (ceil_test): Use END macro without arguments.
47564         (cexp_test): Use END_COMPLEX macro without arguments.
47565         (cimag_test): Use END macro without arguments.
47566         (clog_test): Use END_COMPLEX macro without arguments.
47567         (clog10_test): Likewise.
47568         (conj_test): Likewise.
47569         (copysign_test): Use END macro without arguments.
47570         (cos_test): Likewise.
47571         (cos_test_tonearest): Likewise.
47572         (cos_test_towardzero): Likewise.
47573         (cos_test_downward): Likewise.
47574         (cos_test_upward): Likewise.
47575         (cosh_test): Likewise.
47576         (cosh_test_tonearest): Likewise.
47577         (cosh_test_towardzero): Likewise.
47578         (cosh_test_downward): Likewise.
47579         (cosh_test_upward): Likewise.
47580         (cpow_test): Use END_COMPLEX macro without arguments.
47581         (cproj_test): Likewise.
47582         (creal_test): Use END macro without arguments.
47583         (csin_test): Use END_COMPLEX macro without arguments.
47584         (csinh_test): Likewise.
47585         (csqrt_test): Likewise.
47586         (ctan_test): Likewise.
47587         (ctan_test_tonearest): Likewise.
47588         (ctan_test_towardzero): Likewise.
47589         (ctan_test_downward): Likewise.
47590         (ctan_test_upward): Likewise.
47591         (ctanh_test): Likewise.
47592         (ctanh_test_tonearest): Likewise.
47593         (ctanh_test_towardzero): Likewise.
47594         (ctanh_test_downward): Likewise.
47595         (ctanh_test_upward): Likewise.
47596         (erf_test): Use END macro without arguments.
47597         (erfc_test): Likewise.
47598         (exp_test): Likewise.
47599         (exp_test_tonearest): Likewise.
47600         (exp_test_towardzero): Likewise.
47601         (exp_test_downward): Likewise.
47602         (exp_test_upward): Likewise.
47603         (exp10_test): Likewise.
47604         (exp2_test): Likewise.
47605         (expm1_test): Likewise.
47606         (fabs_test): Likewise.
47607         (fdim_test): Likewise.
47608         (finite_test): Likewise.
47609         (floor_test): Likewise.
47610         (fma_test): Likewise.
47611         (fma_test_towardzero): Likewise.
47612         (fma_test_downward): Likewise.
47613         (fma_test_upward): Likewise.
47614         (fmax_test): Likewise.
47615         (fmin_test): Likewise.
47616         (fmod_test): Likewise.
47617         (fpclassify_test): Likewise.
47618         (frexp_test): Likewise.
47619         (gamma_test): Likewise.
47620         (hypot_test): Likewise.
47621         (ilogb_test): Likewise.
47622         (isfinite_test): Likewise.
47623         (isgreater_test): Likewise.
47624         (isgreaterequal_test): Likewise.
47625         (isinf_test): Likewise.
47626         (isless_test): Likewise.
47627         (islessequal_test): Likewise.
47628         (islessgreater_test): Likewise.
47629         (isnan_test): Likewise.
47630         (isnormal_test): Likewise.
47631         (issignaling_test): Likewise.
47632         (isunordered_test): Likewise.
47633         (j0_test): Likewise.
47634         (j1_test): Likewise.
47635         (jn_test): Likewise.
47636         (ldexp_test): Likewise.
47637         (lgamma_test): Likewise.
47638         (lrint_test): Likewise.
47639         (lrint_test_tonearest): Likewise.
47640         (lrint_test_towardzero): Likewise.
47641         (lrint_test_downward): Likewise.
47642         (lrint_test_upward): Likewise.
47643         (llrint_test): Likewise.
47644         (llrint_test_tonearest): Likewise.
47645         (llrint_test_towardzero): Likewise.
47646         (llrint_test_downward): Likewise.
47647         (llrint_test_upward): Likewise.
47648         (log_test): Likewise.
47649         (log10_test): Likewise.
47650         (log1p_test): Likewise.
47651         (log2_test): Likewise.
47652         (logb_test): Likewise.
47653         (logb_test_downward): Likewise.
47654         (lround_test): Likewise.
47655         (llround_test): Likewise.
47656         (modf_test): Likewise.
47657         (nearbyint_test): Likewise.
47658         (nextafter_test): Likewise.
47659         (nexttoward_test): Likewise.
47660         (pow_test): Likewise.
47661         (pow_test_tonearest): Likewise.
47662         (pow_test_towardzero): Likewise.
47663         (pow_test_downward): Likewise.
47664         (pow_test_upward): Likewise.
47665         (remainder_test): Likewise.
47666         (remainder_test_tonearest): Likewise.
47667         (remainder_test_towardzero): Likewise.
47668         (remainder_test_downward): Likewise.
47669         (remainder_test_upward): Likewise.
47670         (remquo_test): Likewise.
47671         (rint_test): Likewise.
47672         (rint_test_tonearest): Likewise.
47673         (rint_test_towardzero): Likewise.
47674         (rint_test_downward): Likewise.
47675         (rint_test_upward): Likewise.
47676         (round_test): Likewise.
47677         (scalb_test): Likewise.
47678         (scalbn_test): Likewise.
47679         (scalbln_test): Likewise.
47680         (signbit_test): Likewise.
47681         (sin_test): Likewise.
47682         (sin_test_tonearest): Likewise.
47683         (sin_test_towardzero): Likewise.
47684         (sin_test_downward): Likewise.
47685         (sin_test_upward): Likewise.
47686         (sincos_test): Likewise.
47687         (sinh_test): Likewise.
47688         (sinh_test_tonearest): Likewise.
47689         (sinh_test_towardzero): Likewise.
47690         (sinh_test_downward): Likewise.
47691         (sinh_test_upward): Likewise.
47692         (sqrt_test): Likewise.
47693         (tan_test): Likewise.
47694         (tan_test_tonearest): Likewise.
47695         (tan_test_towardzero): Likewise.
47696         (tan_test_downward): Likewise.
47697         (tan_test_upward): Likewise.
47698         (tanh_test): Likewise.
47699         (tgamma_test): Likewise.
47700         (trunc_test): Likewise.
47701         (y0_test): Likewise.
47702         (y1_test): Likewise.
47703         (yn_test): Likewise.
47704         (significand_test): Likewise.
47706 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
47708         [BZ #15381]
47709         * libio/genops.c (_IO_no_init): Initialize wide struct info.
47711 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47713         [BZ #14894]
47714         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
47715         __ppc_mdoio and __ppc_mdoom.
47716         * manual/platform.texi: Document new functions __ppc_yield,
47717         __ppc_mdoio and __ppc_mdoom.
47719 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
47721         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
47722         (main): Mention "tls" pseudo-hwcap is legacy.
47723         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
47725 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47727         * math/gen-libm-test.pl (parse_args): Output only string of
47728         arguments as text for test name, not full call or descriptions of
47729         tests for extra outputs.
47730         (generate_testfile): Do not pass function name to parse_args.
47731         Generate this_func variable from START.
47732         * math/libm-test.inc (struct test_f_f_data): Rename test_name
47733         field to arg_str.
47734         (struct test_ff_f_data): Likewise.
47735         (test_ff_f_data_nexttoward): Likewise.
47736         (struct test_fi_f_data): Likewise.
47737         (struct test_fl_f_data): Likewise.
47738         (struct test_if_f_data): Likewise.
47739         (struct test_fff_f_data): Likewise.
47740         (struct test_c_f_data): Likewise.
47741         (struct test_f_f1_data): Likewise.  Remove field extra_name.
47742         (struct test_fF_f1_data): Likewise.
47743         (struct test_ffI_f1_data): Likewise.
47744         (struct test_c_c_data): Rename test_name field to arg_str.
47745         (struct test_cc_c_data): Likewise.
47746         (struct test_f_i_data): Likewise.
47747         (struct test_ff_i_data): Likewise.
47748         (struct test_f_l_data): Likewise.
47749         (struct test_f_L_data): Likewise.
47750         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
47751         and extra2_name.
47752         (COMMON_TEST_SETUP): New macro.
47753         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
47754         (COMMON_TEST_CLEANUP): Likewise.
47755         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
47756         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
47757         macros.
47758         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
47759         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
47760         macros.
47761         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
47762         (RUN_TEST_fff_f): Take argument string.  Call new setup and
47763         cleanup macros.
47764         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
47765         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
47766         macros.
47767         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
47768         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
47769         macros.
47770         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47771         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
47772         cleanup macros.
47773         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47774         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
47775         cleanup macros.
47776         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47777         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
47778         cleanup macros.
47779         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47780         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
47781         macros.
47782         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
47783         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
47784         macros.
47785         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
47786         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
47787         macros.
47788         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
47789         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
47790         cleanup macros.
47791         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
47792         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
47793         cleanup macros.
47794         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
47795         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
47796         macros.
47797         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
47798         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
47799         cleanup macros.
47800         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
47801         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
47802         macros.
47803         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
47804         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
47805         macros.
47806         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
47807         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
47808         cleanup macros.
47809         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
47811 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
47813         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
47814         to _sifields.sigfault.
47815         (si_addr_lsb): Define new macro.
47816         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47817         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47818         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
47820 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
47822         [BZ #15441]
47823         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
47824         returns -1.
47825         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
47826         null return -1.
47827         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
47828         loading the domain.
47830 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47832         * math/gen-libm-test.pl (parse_args): Do not include expected
47833         result in test name.
47834         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
47835         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47836         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47837         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47838         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47841 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47843         * benchtests/Makefile: Sort function entries.
47845         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
47846         tanh, asinh, acosh, atanh.
47847         * benchtests/acos-inputs: New file.
47848         * benchtests/acosh-inputs: New file.
47849         * benchtests/asin-inputs: New file.
47850         * benchtests/asinh-inputs: New file.
47851         * benchtests/atanh-inputs: New file.
47852         * benchtests/cosh-inputs: New file.
47853         * benchtests/log-inputs: New file.
47854         * benchtests/sinh-inputs: New file.
47855         * benchtests/tanh-inputs: New file.
47857 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
47859         [BZ #15339]
47860         * posix/tst-getaddrinfo4.c: New test.
47861         * posix/Makefile (tests): Add it.
47863 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47865         [BZ #15339]
47866         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
47867         when no services were used.
47868         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
47869         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
47871 2013-05-21  Andreas Schwab  <schwab@suse.de>
47873         [BZ #15014]
47874         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
47875         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
47876         successful.
47877         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
47878         redundant variable declarations and reallocation of buffer when
47879         parsing as IPv6 address.  Always set NSS status when called from
47880         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
47881         buffer too small.  Correct computation of needed size.
47882         * nss/Makefile (tests): Add test-digits-dots.
47883         * nss/test-digits-dots.c: New test.
47885 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47887         * benchtests/Makefile: Remove instructions for adding
47888         benchmark tests.
47889         * benchtests/README: New file to explain how to execute and
47890         enhance the benchmark tests.
47892 2013-05-21  Andreas Schwab  <schwab@suse.de>
47894         [BZ #15493]
47895         * setjmp/Makefile (tests): Add tst-sigsetjmp.
47896         * setjmp/tst-sigsetjmp.c: New test.
47898 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47900         * sysdeps/x86_64/memset.S (memset): New implementation.
47901         (__bzero): Likewise.
47902         (__memset_tail): New function.
47904 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47906         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
47907         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
47908         __memcpy_sse2_unaligned ifunc selection.
47909         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47910         Add memcpy-sse2-unaligned.S.
47911         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47912         Add: __memcpy_sse2_unaligned.
47914 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
47916         [BZ #15490]
47917         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47918         math_force_eval before restoring floating-point envrionment.
47919         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
47920         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
47921         Likewise.
47922         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
47923         <math_private.h>.
47924         (__nearbyintl): Use math_force_eval before restoring
47925         floating-point environment.
47926         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
47928         * math/gen-libm-test.pl (special_functions): Remove.
47929         (parse_args): Don't handle TEST_extra.  Handle functions with no
47930         return value.
47931         * math/libm-test.inc (struct test_sincos_data): Replace with
47932         struct test_fFF_11_data.
47933         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
47934         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
47935         (sincos_test_data): Change element type to struct
47936         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
47937         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
47938         RUN_TEST_LOOP_sincos.
47939         * math/README.libm-test: Don't mention special handling of
47940         individual functions.
47941         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
47942         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47943         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47944         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47945         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47948         * math/gen-libm-test.pl (get_variable): Remove function.
47949         (parse_args): Don't show pointer parameters to call in test
47950         names.  Use "extra output N" in test names for extra outputs
47951         rather than naming variables.
47953 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
47955         [BZ #15488]
47956         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
47957         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
47958         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
47959         double tests.
47960         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
47961         disable.
47962         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
47963         check_long_double.
47965         * math/gen-libm-test.pl (@tests): Remove variable.
47966         ($count): Likewise.
47967         (new_test): Remove function.
47968         (show_exceptions): New function.
47969         (special_functions): Use show_exceptions instead of new_test.
47970         (parse_args): Likewise.
47971         (generate_testfile): Pass only function name in generated call to
47972         print_max_error or print_complex_max_error.
47973         (get_ulps): Do not handle complex tests specially.
47974         (output_test): Rename to ...
47975         (get_all_ulps_for_test): ... this.  Return a string rather than
47976         printing to a file.  Require ulps to be present.
47977         (output_ulps): Generate arrays rather than #defines.
47978         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
47979         (struct ulp_data): New type.
47980         (BUILD_COMPLEX_ULP): Remove macro.
47981         (compare_ulp_data): New function.
47982         (find_ulps): Likewise.
47983         (find_test_ulps): Likewise.
47984         (find_function_ulps): Likewise.
47985         (find_complex_function_ulps): Likewise.
47986         (print_max_error): Determine allowed ulps using
47987         find_function_ulps.
47988         (print_complex_max_error): Determine allowed ulps using
47989         find_complex_function_ulps.
47990         (check_float_internal): Determine max ulps using find_test_ulps.
47991         (check_float): Do not take max_ulp parameter.  Update call to
47992         check_float_internal.
47993         (check_complex): Likewise.
47994         (check_int): Do not take max_ulp parameter.
47995         (check_long): Likewise.
47996         (check_bool): Likewise.
47997         (check_longlong): Likewise.
47998         (struct test_f_f_data): Remove max_ulp field.
47999         (struct test_ff_f_data): Likewise.
48000         (struct test_ff_f_data_nexttoward): Likewise.
48001         (struct test_fi_f_data): Likewise.
48002         (struct test_fl_f_data): Likewise.
48003         (struct test_if_f_data): Likewise.
48004         (struct test_fff_f_data): Likewise.
48005         (struct test_c_f_data): Likewise.
48006         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
48007         (struct test_fF_f1_data): Likewise.
48008         (struct test_ffI_f1_data): Likewise.
48009         (struct test_c_c_data): Remove max_ulp field.
48010         (struct test_cc_c_data): Likewise.
48011         (struct test_f_i_data): Likewise.
48012         (struct test_ff_i_data): Likewise.
48013         (struct test_f_l_data): Likewise.
48014         (struct test_f_L_data): Likewise.
48015         (struct test_sincos_data): Likewise.
48016         (RUN_TEST_f_f): Do not handle ulps.
48017         (RUN_TEST_LOOP_f_f): Likewise.
48018         (RUN_TEST_2_f): Likewise.
48019         (RUN_TEST_LOOP_2_f): Likewise.
48020         (RUN_TEST_fff_f): Likewise.
48021         (RUN_TEST_LOOP_fff_f): Likewise.
48022         (RUN_TEST_c_f): Likewise.
48023         (RUN_TEST_LOOP_c_f): Likewise.
48024         (RUN_TEST_f_f1): Likewise.
48025         (RUN_TEST_LOOP_f_f1): Likewise.
48026         (RUN_TEST_fF_f1): Likewise.
48027         (RUN_TEST_LOOP_fF_f1): Likewise.
48028         (RUN_TEST_fI_f1): Likewise.
48029         (RUN_TEST_LOOP_fI_f1): Likewise.
48030         (RUN_TEST_ffI_f1): Likewise.
48031         (RUN_TEST_LOOP_ffI_f1): Likewise.
48032         (RUN_TEST_c_c): Likewise.
48033         (RUN_TEST_LOOP_c_c): Likewise.
48034         (RUN_TEST_cc_c): Likewise.
48035         (RUN_TEST_LOOP_cc_c): Likewise.
48036         (RUN_TEST_f_i): Likewise.
48037         (RUN_TEST_LOOP_f_i): Likewise.
48038         (RUN_TEST_f_i_tg): Likewise.
48039         (RUN_TEST_LOOP_f_i_tg): Likewise.
48040         (RUN_TEST_ff_i_tg): Likewise.
48041         (RUN_TEST_LOOP_ff_i_tg): Likewise.
48042         (RUN_TEST_f_b): Likewise.
48043         (RUN_TEST_LOOP_f_b): Likewise.
48044         (RUN_TEST_f_b_tg): Likewise.
48045         (RUN_TEST_LOOP_f_b_tg): Likewise.
48046         (RUN_TEST_f_l): Likewise.
48047         (RUN_TEST_LOOP_f_l): Likewise.
48048         (RUN_TEST_f_L): Likewise.
48049         (RUN_TEST_LOOP_f_L): Likewise.
48050         (RUN_TEST_sincos): Likewise.
48051         (RUN_TEST_LOOP_sincos): Likewise.
48053 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
48055         [BZ #15480]
48056         [BZ #15485]
48057         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
48058         main case of finite arguments, set rounding mode to FE_TONEAREST
48059         and discard exceptions.
48060         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
48061         exceptions.
48062         (remainder_tonearest_test_data): New variable.
48063         (remainder_test_tonearest): New function.
48064         (remainder_towardzero_test_data): New variable.
48065         (remainder_test_towardzero): New function.
48066         (remainder_downward_test_data): New variable.
48067         (remainder_test_downward): New function.
48068         (remainder_upward_test_data): New variable.
48069         (remainder_test_upward): New function.
48070         (main): Call the new test functions.
48072         * math/libm-test.inc (struct test_f_f1_data): Remove field
48073         extra_init.
48074         (struct test_fF_f1_data): Likewise.
48075         (struct test_ffI_f1_data): Likewise.
48076         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
48077         based on value of EXTRA_EXPECTED.
48078         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48079         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
48080         EXTRA_VAR based on value of EXTRA_EXPECTED.
48081         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48082         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
48083         EXTRA_VAR based on value of EXTRA_EXPECTED.
48084         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48085         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
48086         EXTRA_VAR based on value of EXTRA_EXPECTED.
48087         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48088         * math/gen-libm-test.pl (parse_args): Don't output initializers
48089         for extra output values.
48091         * math/libm-test.inc (check_int): Expect result to be exactly
48092         equal to expected value and do not handle ulps.
48093         (check_long): Likewise.
48094         (check_longlong): Likewise.
48096         * math/libm-test.inc (ceil_test_data): Test for "inexact"
48097         exceptions.
48098         (cimag_test_data): Likewise.
48099         (conj_test_data): Likewise.
48100         (copysign_test_data): Likewise.
48101         (cproj_test_data): Likewise.
48102         (creal_test_data): Likewise.
48103         (fabs_test_data): Likewise.
48104         (fdim_test_data): Likewise.
48105         (finite_test_data): Likewise.
48106         (floor_test_data): Likewise.
48107         (fmax_test_data): Likewise.
48108         (fmin_test_data): Likewise.
48109         (fmod_test_data): Likewise.
48110         (fpclassify_test_data): Likewise.
48111         (frexp_test_data): Likewise.
48112         (ilogb_test_data): Likewise.
48113         (isfinite_test_data): Likewise.
48114         (isgreater_test_data): Likewise.
48115         (isgreaterequal_test_data): Likewise.
48116         (isinf_test_data): Likewise.
48117         (isless_test_data): Likewise.
48118         (islessequal_test_data): Likewise.
48119         (islessgreater_test_data): Likewise.
48120         (isnan_test_data): Likewise.
48121         (isnormal_test_data): Likewise.
48122         (issignaling_test_data): Likewise.
48123         (isunordered_test_data): Likewise.
48124         (ldexp_test_data): Likewise.
48125         (lrint_test_data): Likewise.
48126         (lrint_test_data) [TEST_FLOAT]: Disable one test.
48127         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
48128         (lrint_tonearest_test_data): Test for "inexact" exceptions.
48129         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48130         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
48131         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48132         test input.
48133         (lrint_towardzero_test_data): Test for "inexact" exceptions.
48134         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48135         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
48136         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
48137         that test input.
48138         (lrint_downward_test_data): Test for "inexact" exceptions.
48139         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48140         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
48141         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48142         test input.
48143         (lrint_upward_test_data): Test for "inexact" exceptions.
48144         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
48145         test input.
48146         (llrint_test_data): Test for "inexact" exceptions.
48147         (llrint_test_data) [TEST_FLOAT]: Disable one test.
48148         (llrint_tonearest_test_data): Test for "inexact" exceptions.
48149         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48150         (llrint_towardzero_test_data): Test for "inexact" exceptions.
48151         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48152         (llrint_downward_test_data): Test for "inexact" exceptions.
48153         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48154         (llrint_upward_test_data): Test for "inexact" exceptions.
48155         (logb_test_data): Likewise.
48156         (logb_downward_test_data): Likewise.
48157         (nextafter_test_data): Likewise.
48158         (nexttoward_test_data): Likewise.
48159         (remainder_test_data): Likewise.
48160         (remquo_test_data): Likewise.
48161         (scalbn_test_data): Likewise.
48162         (scalbln_test_data): Likewise.
48163         (signbit_test_data): Likewise.
48164         (sqrt_test_data): Likewise.
48165         (significand_test_data): Likewise.
48167 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48169         [BZ #15424]
48170         * benchtests/bench-modf.c (struct args): Mark arg0 as
48171         volatile.
48172         * scripts/bench.pl: Mark members of struct args as volatile.
48174 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48176         [BZ # 15497]
48177         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
48178         negative infinity on POWER6 or lower.
48179         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
48181 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
48183         [BZ #15442]
48184         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
48185         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
48186         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
48187         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
48188         (_FP_SETQNAN): New macro.
48189         (_FP_SETQNAN_SEMIRAW): Likewise.
48190         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
48191         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
48192         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
48193         (FP_EXTEND): Use _FP_FRAC_SNANP.
48194         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
48195         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
48196         into account.
48197         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48198         New macro.
48199         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48200         Likewise.
48202 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48204         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
48205         with DIVIDE_BY_ZERO_EXCEPTION.
48206         (gamma_test_data): Likewise.
48207         (lgamma_test_data): Likewise.
48208         (log_test_data): Likewise.
48209         (log10_test_data): Likewise.
48210         (log2_test_data): Likewise.
48211         (tgamma_test_data): Likewise.
48213         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
48214         (acos_test_tonearest): Likewise.
48215         (acos_test_towardzero): Likewise.
48216         (acos_test_downward): Likewise.
48217         (acos_test_upward): Likewise.
48218         (acosh_test): Likewise.
48219         (asin_test): Likewise.
48220         (asin_test_tonearest): Likewise.
48221         (asin_test_towardzero): Likewise.
48222         (asin_test_downward): Likewise.
48223         (asin_test_upward): Likewise.
48224         (asinh_test): Likewise.
48225         (atan_test): Likewise.
48226         (atanh_test): Likewise.
48227         (atan2_test): Likewise.
48228         (cabs_test): Likewise.
48229         (cacos_test): Likewise.
48230         (cacosh_test): Likewise.
48231         (casin_test): Likewise.
48232         (casinh_test): Likewise.
48233         (catan_test): Likewise.
48234         (catanh_test): Likewise.
48235         (cbrt_test): Likewise.
48236         (ccos_test): Likewise.
48237         (ccosh_test): Likewise.
48238         (cexp_test): Likewise.
48239         (clog_test): Likewise.
48240         (clog10_test): Likewise.
48241         (cos_test): Likewise.
48242         (cos_test_tonearest): Likewise.
48243         (cos_test_towardzero): Likewise.
48244         (cos_test_downward): Likewise.
48245         (cos_test_upward): Likewise.
48246         (cosh_test): Likewise.
48247         (cosh_test_tonearest): Likewise.
48248         (cosh_test_towardzero): Likewise.
48249         (cosh_test_downward): Likewise.
48250         (cosh_test_upward): Likewise.
48251         (cpow_test): Likewise.
48252         (csin_test): Likewise.
48253         (csinh_test): Likewise.
48254         (csqrt_test): Likewise.
48255         (ctan_test): Likewise.
48256         (ctan_test_tonearest): Likewise.
48257         (ctan_test_towardzero): Likewise.
48258         (ctan_test_downward): Likewise.
48259         (ctan_test_upward): Likewise.
48260         (ctanh_test): Likewise.
48261         (ctanh_test_tonearest): Likewise.
48262         (ctanh_test_towardzero): Likewise.
48263         (ctanh_test_downward): Likewise.
48264         (ctanh_test_upward): Likewise.
48265         (erf_test): Likewise.
48266         (erfc_test): Likewise.
48267         (exp_test): Likewise.
48268         (exp_test_tonearest): Likewise.
48269         (exp_test_towardzero): Likewise.
48270         (exp_test_downward): Likewise.
48271         (exp_test_upward): Likewise.
48272         (exp10_test): Likewise.
48273         (exp2_test): Likewise.
48274         (expm1_test): Likewise.
48275         (fmod_test): Likewise.
48276         (gamma_test): Likewise.
48277         (hypot_test): Likewise.
48278         (j0_test): Likewise.
48279         (j1_test): Likewise.
48280         (jn_test): Likewise.
48281         (lgamma_test): Likewise.
48282         (log_test): Likewise.
48283         (log10_test): Likewise.
48284         (log1p_test): Likewise.
48285         (log2_test): Likewise.
48286         (logb_test_downward): Likewise.
48287         (pow_test): Likewise.
48288         (pow_test_tonearest): Likewise.
48289         (pow_test_towardzero): Likewise.
48290         (pow_test_downward): Likewise.
48291         (pow_test_upward): Likewise.
48292         (remainder_test): Likewise.
48293         (remquo_test): Likewise.
48294         (sin_test): Likewise.
48295         (sin_test_tonearest): Likewise.
48296         (sin_test_towardzero): Likewise.
48297         (sin_test_downward): Likewise.
48298         (sin_test_upward): Likewise.
48299         (sincos_test): Likewise.
48300         (sinh_test): Likewise.
48301         (sinh_test_tonearest): Likewise.
48302         (sinh_test_towardzero): Likewise.
48303         (sinh_test_downward): Likewise.
48304         (sinh_test_upward): Likewise.
48305         (sqrt_test): Likewise.
48306         (tan_test): Likewise.
48307         (tan_test_tonearest): Likewise.
48308         (tan_test_towardzero): Likewise.
48309         (tan_test_downward): Likewise.
48310         (tan_test_upward): Likewise.
48311         (tanh_test): Likewise.
48312         (tgamma_test): Likewise.
48313         (y0_test): Likewise.
48314         (y1_test): Likewise.
48315         (yn_test): Likewise.
48317         * math/gen-libm-test.pl (adjust_arg): Remove function.
48318         (special_function): Remove argument $in_func.  Only handle
48319         generating output for tables of tests, not inside functions.
48320         (parse_args): Likewise.
48321         (generate_testfile): Remove variable $in_func.  Update call to
48322         parse_args.
48323         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
48324         (MINUS_ZERO_INIT): Rename macro to minus_zero.
48325         (PLUS_INFTY_INIT): Rename macro to plus_infty.
48326         (MINUS_INFTY_INIT): Rename macro to minus_infty.
48327         (QNAN_VALUE_INIT): Rename macro to qnan_value.
48328         (MAX_VALUE_INIT): Rename macro to max_value.
48329         (MIN_VALUE_INIT): Rename macro to min_value.
48330         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
48331         (plus_zero): Remove variable.
48332         (minus_zero): Likewise.
48333         (plus_infty): Likewise.
48334         (minus_infty): Likewise.
48335         (qnan_value): Likewise.
48336         (max_value): Likewise.
48337         (min_value): Likewise.
48338         (min_subnorm_value): Likewise.
48340 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48342         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
48343         uint64_t or uint32_t usage.
48344         * crypt/sha256-block.c: Likewise.
48345         * crypt/sha256-crypt.c: Likewise.
48346         * crypt/sha256.c: Likewise.
48347         * crypt/sha512-block.c: Likewise.
48348         * crypt/sha512-crypt.c: Likewise.
48349         * crypt/sha512.c: Likewise.
48350         * debug/backtrace-tst.c: Likewise.
48351         * debug/pcprofiledump.c: Likewise.
48352         * elf/cache.c: Likewise.
48353         * elf/dl-cache.c: Likewise.
48354         * elf/dl-misc.c: Likewise.
48355         * elf/dl-profile.c: Likewise.
48356         * elf/dl-support.c: Likewise.
48357         * elf/ldconfig.c: Likewise.
48358         * elf/sprof.c: Likewise.
48359         * iconv/dummy-repertoire.c: Likewise.
48360         * iconv/iconv_charmap.c: Likewise.
48361         * iconv/skeleton.c: Likewise.
48362         * iconvdata/8bit-generic.c: Likewise.
48363         * iconvdata/cp737.h: Likewise.
48364         * iconvdata/cp775.h: Likewise.
48365         * iconvdata/ibm1008.h: Likewise.
48366         * iconvdata/ibm1025.h: Likewise.
48367         * iconvdata/ibm1046.h: Likewise.
48368         * iconvdata/ibm1097.h: Likewise.
48369         * iconvdata/ibm1112.h: Likewise.
48370         * iconvdata/ibm1122.h: Likewise.
48371         * iconvdata/ibm1123.h: Likewise.
48372         * iconvdata/ibm1124.h: Likewise.
48373         * iconvdata/ibm1129.h: Likewise.
48374         * iconvdata/ibm1130.h: Likewise.
48375         * iconvdata/ibm1132.h: Likewise.
48376         * iconvdata/ibm1133.h: Likewise.
48377         * iconvdata/ibm1137.h: Likewise.
48378         * iconvdata/ibm1140.h: Likewise.
48379         * iconvdata/ibm1141.h: Likewise.
48380         * iconvdata/ibm1142.h: Likewise.
48381         * iconvdata/ibm1143.h: Likewise.
48382         * iconvdata/ibm1144.h: Likewise.
48383         * iconvdata/ibm1145.h: Likewise.
48384         * iconvdata/ibm1146.h: Likewise.
48385         * iconvdata/ibm1147.h: Likewise.
48386         * iconvdata/ibm1148.h: Likewise.
48387         * iconvdata/ibm1149.h: Likewise.
48388         * iconvdata/ibm1153.h: Likewise.
48389         * iconvdata/ibm1154.h: Likewise.
48390         * iconvdata/ibm1155.h: Likewise.
48391         * iconvdata/ibm1156.h: Likewise.
48392         * iconvdata/ibm1157.h: Likewise.
48393         * iconvdata/ibm1158.h: Likewise.
48394         * iconvdata/ibm1160.h: Likewise.
48395         * iconvdata/ibm1161.h: Likewise.
48396         * iconvdata/ibm1162.h: Likewise.
48397         * iconvdata/ibm1163.h: Likewise.
48398         * iconvdata/ibm1164.h: Likewise.
48399         * iconvdata/ibm1166.h: Likewise.
48400         * iconvdata/ibm1167.h: Likewise.
48401         * iconvdata/ibm12712.h: Likewise.
48402         * iconvdata/ibm1390.h: Likewise.
48403         * iconvdata/ibm1399.h: Likewise.
48404         * iconvdata/ibm16804.h: Likewise.
48405         * iconvdata/ibm4517.h: Likewise.
48406         * iconvdata/ibm4899.h: Likewise.
48407         * iconvdata/ibm4909.h: Likewise.
48408         * iconvdata/ibm4971.h: Likewise.
48409         * iconvdata/ibm5347.h: Likewise.
48410         * iconvdata/ibm803.h: Likewise.
48411         * iconvdata/ibm856.h: Likewise.
48412         * iconvdata/ibm901.h: Likewise.
48413         * iconvdata/ibm902.h: Likewise.
48414         * iconvdata/ibm9030.h: Likewise.
48415         * iconvdata/ibm9066.h: Likewise.
48416         * iconvdata/ibm921.h: Likewise.
48417         * iconvdata/ibm922.h: Likewise.
48418         * iconvdata/ibm9448.h: Likewise.
48419         * iconvdata/isiri-3342.h: Likewise.
48420         * iconvdata/jis0201.h: Likewise.
48421         * include/link.h: Likewise.
48422         * include/netdb.h: Likewise.
48423         * inet/check_native.c: Likewise.
48424         * inet/check_pf.c: Likewise.
48425         * inet/getipv4sourcefilter.c: Likewise.
48426         * inet/getnameinfo.c: Likewise.
48427         * inet/getsourcefilter.c: Likewise.
48428         * inet/htonl.c: Likewise.
48429         * inet/setipv4sourcefilter.c: Likewise.
48430         * inet/setsourcefilter.c: Likewise.
48431         * inet/test-inet6_opt.c: Likewise.
48432         * inet/tst-network.c: Likewise.
48433         * locale/C-collate.c: Likewise.
48434         * locale/C-ctype.c: Likewise.
48435         * locale/C-time.c: Likewise.
48436         * locale/C-translit.h: Likewise.
48437         * locale/loadarchive.c: Likewise.
48438         * locale/programs/3level.h: Likewise.
48439         * locale/programs/charmap.c: Likewise.
48440         * locale/programs/charmap.h: Likewise.
48441         * locale/programs/ld-address.c: Likewise.
48442         * locale/programs/ld-collate.c: Likewise.
48443         * locale/programs/ld-ctype.c: Likewise.
48444         * locale/programs/ld-identification.c: Likewise.
48445         * locale/programs/ld-measurement.c: Likewise.
48446         * locale/programs/ld-messages.c: Likewise.
48447         * locale/programs/ld-monetary.c: Likewise.
48448         * locale/programs/ld-name.c: Likewise.
48449         * locale/programs/ld-numeric.c: Likewise.
48450         * locale/programs/ld-paper.c: Likewise.
48451         * locale/programs/ld-telephone.c: Likewise.
48452         * locale/programs/ld-time.c: Likewise.
48453         * locale/programs/linereader.c: Likewise.
48454         * locale/programs/locale.c: Likewise.
48455         * locale/programs/locarchive.c: Likewise.
48456         * locale/programs/locfile.h: Likewise.
48457         * locale/programs/repertoire.c: Likewise.
48458         * locale/programs/simple-hash.c: Likewise.
48459         * locale/programs/simple-hash.h: Likewise.
48460         * malloc/memusage.c: Likewise.
48461         * malloc/memusagestat.c: Likewise.
48462         * nis/nis_defaults.c: Likewise.
48463         * nis/nis_hash.c: Likewise.
48464         * nis/nis_print.c: Likewise.
48465         * nis/nis_xdr.c: Likewise.
48466         * nscd/connections.c: Likewise.
48467         * nscd/hstcache.c: Likewise.
48468         * nscd/nscd_gethst_r.c: Likewise.
48469         * nscd/nscd_getserv_r.c: Likewise.
48470         * nscd/nscd_helper.c: Likewise.
48471         * nscd/servicescache.c: Likewise.
48472         * nss/makedb.c: Likewise.
48473         * nss/nss_db/db-XXX.c: Likewise.
48474         * nss/nss_db/db-initgroups.c: Likewise.
48475         * nss/nss_db/db-netgrp.c: Likewise.
48476         * nss/nss_files/files-network.c: Likewise.
48477         * nss/nss_files/files-parse.c: Likewise.
48478         * posix/bug-regex5.c: Likewise.
48479         * posix/fnmatch_loop.c: Likewise.
48480         * posix/regcomp.c: Likewise.
48481         * posix/regexec.c: Likewise.
48482         * posix/tst-rfc3484-2.c: Likewise.
48483         * posix/tst-rfc3484-3.c: Likewise.
48484         * posix/tst-rfc3484.c: Likewise.
48485         * resolv/nss_dns/dns-canon.c: Likewise.
48486         * resolv/nss_dns/dns-network.c: Likewise.
48487         * resolv/res_init.c: Likewise.
48488         * resolv/res_mkquery.c: Likewise.
48489         * resolv/tst-aton.c: Likewise.
48490         * stdlib/cxa_atexit.c: Likewise.
48491         * stdlib/cxa_finalize.c: Likewise.
48492         * stdlib/gen-fpioconst.c: Likewise.
48493         * stdlib/strtol_l.c: Likewise.
48494         * string/tst-endian.c: Likewise.
48495         * sunrpc/auth_des.c: Likewise.
48496         * sunrpc/clnt_udp.c: Likewise.
48497         * sunrpc/rtime.c: Likewise.
48498         * sunrpc/svcauth_des.c: Likewise.
48499         * sunrpc/xdr.c: Likewise.
48500         * sunrpc/xdr_intXX_t.c: Likewise.
48501         * sunrpc/xdr_rec.c: Likewise.
48502         * sysdeps/generic/ldconfig.h: Likewise.
48503         * sysdeps/generic/ldsodefs.h: Likewise.
48504         * sysdeps/generic/memusage.h: Likewise.
48505         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48506         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
48507         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
48508         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48509         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48510         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48511         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48512         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48513         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48514         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48515         * sysdeps/posix/getaddrinfo.c: Likewise.
48516         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48517         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48518         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48519         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48520         * sysdeps/powerpc/test-gettimebase.c: Likewise.
48521         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48522         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
48523         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
48524         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48525         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
48526         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48527         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48528         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
48529         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
48530         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
48531         * sysdeps/x86_64/dl-tls.h: Likewise.
48532         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
48533         * time/alt_digit.c: Likewise.
48534         * time/era.c: Likewise.
48535         * wcsmbs/tst-c16c32-1.c: Likewise.
48537 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48539         * math/libm-test.inc (struct test_sincos_data): New type.
48540         (RUN_TEST_LOOP_sincos): New macro.
48541         (sincos_test_data): New variable.
48542         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
48544 2013-05-16  Richard Henderson  <rth@redhat.com>
48546         * math/atest-exp2.c (LIMB64): New macro.
48547         (CONSTSZ): New macro.
48548         (mp_exp1, mp_exp_m1, mp_log2): New variables.
48549         (hexdig): Move ...
48550         (print_mpn_fp): ... to function scope.
48551         (read_mpn_hex): Remove.
48552         (get_log2): Remove.
48553         (exp2_mpn): Use mp_log2.
48554         (main): Use mp_exp1.
48556 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48558         * math/libm-test.inc: Remove comment about not testing "inexact"
48559         exceptions.
48560         (INEXACT_EXCEPTION): New macro.
48561         (NO_INEXACT_EXCEPTION): Likewise.
48562         (INVALID_EXCEPTION_OK): Update value.
48563         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48564         (OVERFLOW_EXCEPTION_OK): Likewise.
48565         (UNDERFLOW_EXCEPTION_OK): Likewise.
48566         (IGNORE_ZERO_INF_SIGN): Likewise.
48567         (ERRNO_UNCHANGED): Likewise.
48568         (ERRNO_EDOM): Likewise.
48569         (ERRNO_ERANGE): Likewise.
48570         (test_exceptions): Handle testing "inexact" exceptions.
48571         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
48572         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
48573         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
48574         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
48575         INEXACT_EXCEPTION.
48576         (rint_towardzero_test_data): Likewise.
48577         (rint_downward_test_data): Likewise.
48578         (rint_upward_test_data): Likewise.
48580         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
48581         with OVERFLOW_EXCEPTION.
48582         (exp10_test_data): Likewise.
48583         (exp2_test_data): Likewise.
48584         (expm1_test_data): Likewise.
48585         (lgamma_test_data): Likewise.
48586         (pow_test_data): Likewise.
48587         (tgamma_test_data): Likewise.
48588         (yn_test_data): Remove duplicate test of overflow.
48590         * math/libm-test.inc (struct test_cc_c_data): New type.
48591         (RUN_TEST_LOOP_cc_c): New macro.
48592         (cpow_test_data): New variable.
48593         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
48595         * math/libm-test.inc (struct test_f_L_data): New type.
48596         (RUN_TEST_LOOP_f_L): New macro.
48597         (llrint_test_data): New variable.
48598         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
48599         (llrint_tonearest_test_data): New variable.
48600         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
48601         (llrint_towardzero_test_data): New variable.
48602         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
48603         (llrint_downward_test_data): New variable.
48604         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
48605         (llrint_upward_test_data): New variable.
48606         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
48607         (llround_test_data): New variable.
48608         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
48610 2013-05-13  Peter Collingbourne  <pcc@google.com>
48612         * math/atest-exp2.c (get_log2): Remove const attribute.
48614 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48616         * math/libm-test.inc (struct test_f_l_data): New type.
48617         (RUN_TEST_LOOP_f_l): New macro.
48618         (lrint_test_data): New variable.
48619         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
48620         (lrint_tonearest_test_data): New variable.
48621         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
48622         (lrint_towardzero_test_data): New variable.
48623         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
48624         (lrint_downward_test_data): New variable.
48625         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
48626         (lrint_upward_test_data): New variable.
48627         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
48628         (lround_test_data): New variable.
48629         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
48631 2013-05-15  Peter Collingbourne  <pcc@google.com>
48633         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
48634         (EXTRACT_WORDS64) Use where appropriate.
48635         (INSERT_WORDS64) Likewise.
48637         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
48638         constraints with x constraints.
48639         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
48641         * malloc/obstack.c (_obstack_compat): Add initializer.
48643 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48645         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
48646         si_trapno and add si_addr_lsb to _sifields.sigfault.
48647         (si_trapno): Remove macro.
48648         (si_addr_lsb): Define new macro.
48649         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48651 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48653         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
48654         instead of TEST_f_l.
48655         (llrint_test_tonearest): Likewise.
48656         (llrint_test_towardzero): Likewise.
48657         (llrint_test_downward): Likewise.
48658         (llrint_test_upward): Likewise.
48659         (llround_test): Likewise.
48661         * math/libm-test.inc (struct test_f_i_data): Add comment.
48662         (RUN_TEST_LOOP_f_b): New macro.
48663         (RUN_TEST_LOOP_f_b_tg): Likewise.
48664         (finite_test_data): New variable.
48665         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
48666         (isfinite_test_data): New variable.
48667         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48668         (isinf_test_data): New variable.
48669         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48670         (isnan_test_data): New variable.
48671         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48672         (isnormal_test_data): New variable.
48673         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48674         (issignaling_test_data): New variable.
48675         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48676         (signbit_test_data): New variable.
48677         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48679         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
48680         with INVALID_EXCEPTION.
48681         (acosh_test_data): Likewise.
48682         (asin_test_data): Likewise.
48683         (atanh_test_data): Likewise.
48684         (fmod_test_data): Likewise.
48685         (log_test_data): Likewise.
48686         (log10_test_data): Likewise.
48687         (log2_test_data): Likewise.
48688         (pow_test_data): Likewise.
48689         (sqrt_test_data): Likewise.
48690         (y0_test_data): Likewise.
48691         (y1_test_data): Likewise.
48692         (yn_test_data): Likewise.
48694         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
48695         function contents.
48697         * math/libm-test.inc (struct test_ff_i_data): New type.
48698         (RUN_TEST_LOOP_ff_i_tg): New macro.
48699         (isgreater_test_data): New variable.
48700         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48701         (isgreaterequal_test_data): New variable.
48702         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48703         (isless_test_data): New variable.
48704         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48705         (islessequal_test_data): New variable.
48706         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48707         (islessgreater_test_data): New variable.
48708         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48709         (isunordered_test_data): New variable.
48710         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48712 2013-05-14  David S. Miller  <davem@davemloft.net>
48714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48716 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
48718         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
48720         * math/libm-test.inc (struct test_fF_f1_data): Change type of
48721         extra_test to int.
48722         (struct test_f_i_data): Change type of max_ulp to int.
48724         * math/libm-test.inc (test_ffI_f1_data): New type.
48725         (RUN_TEST_LOOP_ffI_f1): New macro.
48726         (remquo_test_data): New variable.
48727         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
48729         * setjmp/tst-setjmp-fp.c: New file.
48730         * setjmp/Makefile (tests): Add tst-setjmp-fp.
48731         (link-libm): New variable.
48732         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
48734         * math/libm-test.inc (struct test_f_i_data): New type.
48735         (RUN_TEST_LOOP_f_i): New macro.
48736         (RUN_TEST_LOOP_f_i_tg): Likewise.
48737         (fpclassify_test_data): New variable.
48738         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
48739         (ilogb_test_data): New variable.
48740         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
48742         * math/libm-test.inc (scalbln_test): Correct function name in END
48743         call.
48745         * math/libm-test.inc (struct test_f_f1_data): Add comment.
48746         (RUN_TEST_LOOP_fI_f1): New macro.
48747         (frexp_test_data): New variable.
48748         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
48750         * math/libm-test.inc (struct test_fF_f1_data): New type.
48751         (RUN_TEST_LOOP_fF_f1): New macro.
48752         (modf_test_data): New variable.
48753         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
48755         * math/libm-test.inc (struct test_f_f1_data): New type.
48756         (RUN_TEST_LOOP_f_f1): New macro.
48757         (gamma_test_data): New variable.
48758         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48759         (lgamma_test_data): New variable.
48760         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48762 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
48764         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
48765         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
48766         (main): Comment "tls" pseudo-hwcap.
48768 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
48770         * math/libm-test.inc (struct test_fl_f_data): New type.
48771         (RUN_TEST_LOOP_fl_f): New variable.
48772         (scalbln_test_data): New variable.
48773         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
48775         * math/libm-test.inc (struct test_fi_f_data): New type.
48776         (RUN_TEST_LOOP_fi_f): New macro.
48777         (ldexp_test_data): New variable.
48778         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
48779         (scalbn_test_data): New variable.
48780         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
48782         * math/libm-test.inc (struct test_c_f_data): New type.
48783         (RUN_TEST_LOOP_c_f): New macro.
48784         (cabs_test_data): New variable.
48785         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
48786         (carg_test_data): New variable.
48787         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
48788         (cimag_test_data): New variable.
48789         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
48790         (creal_test_data): New variable.
48791         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
48793         * math/libm-test.inc (struct test_if_f_data): New type.
48794         (RUN_TEST_LOOP_if_f): New macro.
48795         (jn_test_data): New variable.
48796         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
48797         (yn_test_data): New variable.
48798         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
48800         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
48802 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48804         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
48805         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
48807 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48809         * benchtests/Makefile (CPPFLAGS-nonlib): Add
48810         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
48811         (bench-deps): Add bench-timing.h.
48812         * benchtests-bench-skeleton.c: Include bench-timing.h.
48813         (main): Use TIMING_* macros instead of clock_gettime.
48814         * benchtests/bench-timing.h: New file.
48816         [BZ #14582]
48817         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
48818         Renamed from _LIB_VERSION.
48819         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
48821 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
48823         * math/libm-test.inc (struct test_fff_f_data): New type.
48824         (RUN_TEST_LOOP_fff_f): New macro.
48825         (fma_test_data): New variable.
48826         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
48827         (fma_towardzero_test_data): New variable.
48828         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
48829         (fma_downward_test_data): New variable.
48830         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
48831         (fma_upward_test_data): New variable.
48832         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
48834         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
48835         (struct test_c_c_data): New type.
48836         (RUN_TEST_LOOP_c_c): New macro.
48837         (cacos_test_data): New variable.
48838         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
48839         (cacosh_test_data): New variable.
48840         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
48841         (casin_test_data): New variable.
48842         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
48843         (casinh_test_data): New variable.
48844         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
48845         (catan_test_data): New variable.
48846         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
48847         (catanh_test_data): New variable.
48848         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
48849         (ccos_test_data): New variable.
48850         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
48851         (ccosh_test_data): New variable.
48852         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
48853         (cexp_test_data): New variable.
48854         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
48855         (clog_test_data): New variable.
48856         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
48857         (clog10_test_data): New variable.
48858         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
48859         (conj_test_data): New variable.
48860         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
48861         (cproj_test_data): New variable.
48862         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
48863         (csin_test_data): New variable.
48864         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
48865         (csinh_test_data): New variable.
48866         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
48867         (csqrt_test_data): New variable.
48868         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
48869         (ctan_test_data): New variable.
48870         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
48871         (ctan_tonearest_test_data): New variable.
48872         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48873         (ctan_towardzero_test_data): New variable.
48874         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48875         (ctan_downward_test_data): New variable.
48876         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48877         (ctan_upward_test_data): New variable.
48878         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48879         (ctanh_test_data): New variable.
48880         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
48881         (ctanh_tonearest_test_data): New variable.
48882         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48883         (ctanh_towardzero_test_data): New variable.
48884         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48885         (ctanh_downward_test_data): New variable.
48886         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48887         (ctanh_upward_test_data): New variable.
48888         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48889         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
48890         of BUILD_COMPLEX.
48892         * math/libm-test.inc (struct test_ff_f_data): New type.
48893         (struct test_ff_f_data_nexttoward): Likewise.
48894         (RUN_TEST_LOOP_2_f): New macro.
48895         (RUN_TEST_LOOP_ff_f): Likewise.
48896         (atan2_test_data): New variable.
48897         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
48898         (copysign_test_data): New variable.
48899         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
48900         (fdim_test_data): New variable.
48901         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
48902         (fmax_test_data): New variable.
48903         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
48904         (fmin_test_data): New variable.
48905         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
48906         (fmod_test_data): New variable.
48907         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
48908         (hypot_test_data): New variable.
48909         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
48910         (nextafter_test_data): New variable.
48911         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
48912         (nexttoward_test_data): New variable.
48913         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
48914         (pow_test_data): New variable.
48915         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
48916         (pow_tonearest_test_data): New variable.
48917         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
48918         (pow_towardzero_test_data): New variable.
48919         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
48920         (pow_downward_test_data): New variable.
48921         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
48922         (pow_upward_test_data): New variable.
48923         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
48924         (remainder_test_data): New variable.
48925         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
48926         (scalb_test_data): New variable.
48927         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
48928         * sysdeps/i386/fpu/libm-test-ulps: Update.
48930 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
48932         * math/libm-test.inc (fma_test): Use max_value instead of local
48933         variable fltmax.
48934         (nextafter_test): Likewise.
48936         * math/libm-test.inc (acos_towardzero_test_data): New variable.
48937         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48938         (acos_downward_test_data): New variable.
48939         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48940         (acos_upward_test_data): New variable.
48941         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48942         (acosh_test_data): New variable.
48943         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
48944         (asin_test_data): New variable.
48945         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
48946         (asin_tonearest_test_data): New variable.
48947         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48948         (asin_towardzero_test_data): New variable.
48949         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48950         (asin_downward_test_data): New variable.
48951         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48952         (asin_upward_test_data): New variable.
48953         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48954         (asinh_test_data): New variable.
48955         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
48956         (atan_test_data): New variable.
48957         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
48958         (atanh_test_data): New variable.
48959         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
48960         (cbrt_test_data): New variable.
48961         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
48962         (ceil_test_data): New variable.
48963         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
48964         (cos_test_data): New variable.
48965         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
48966         (cos_tonearest_test_data): New variable.
48967         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48968         (cos_towardzero_test_data): New variable.
48969         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48970         (cos_downward_test_data): New variable.
48971         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48972         (cos_upward_test_data): New variable.
48973         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48974         (cosh_test_data): New variable.
48975         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
48976         (cosh_tonearest_test_data): New variable.
48977         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48978         (cosh_towardzero_test_data): New variable.
48979         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48980         (cosh_downward_test_data): New variable.
48981         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48982         (cosh_upward_test_data): New variable.
48983         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48984         (erf_test_data): New variable.
48985         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
48986         (erfc_test_data): New variable.
48987         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
48988         (exp_test_data): New variable.
48989         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
48990         (exp_tonearest_test_data): New variable.
48991         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48992         (exp_towardzero_test_data): New variable.
48993         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48994         (exp_downward_test_data): New variable.
48995         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48996         (exp_upward_test_data): New variable.
48997         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48998         (exp10_test_data): New variable.
48999         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
49000         (exp2_test_data): New variable.
49001         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
49002         (expm1_test_data): New variable.
49003         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
49004         (fabs_test_data): New variable.
49005         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
49006         (floor_test_data): New variable.
49007         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
49008         (j0_test_data): New variable.
49009         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
49010         (j1_test_data): New variable.
49011         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
49012         (log_test_data): New variable.
49013         (log_test): Run tests with RUN_TEST_LOOP_f_f.
49014         (log10_test_data): New variable.
49015         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
49016         (log1p_test_data): New variable.
49017         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
49018         (log2_test_data): New variable.
49019         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
49020         (logb_test_data): New variable.
49021         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
49022         (logb_downward_test_data): New variable.
49023         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49024         (nearbyint_test_data): New variable.
49025         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
49026         (rint_test_data): New variable.
49027         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
49028         (rint_tonearest_test_data): New variable.
49029         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49030         (rint_towardzero_test_data): New variable.
49031         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49032         (rint_downward_test_data): New variable.
49033         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49034         (rint_upward_test_data): New variable.
49035         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49036         (round_test_data): New variable.
49037         (round_test): Run tests with RUN_TEST_LOOP_f_f.
49038         (sin_test_data): New variable.
49039         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
49040         (sin_tonearest_test_data): New variable.
49041         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49042         (sin_towardzero_test_data): New variable.
49043         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49044         (sin_downward_test_data): New variable.
49045         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49046         (sin_upward_test_data): New variable.
49047         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49048         (sinh_test_data): New variable.
49049         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
49050         (sinh_tonearest_test_data): New variable.
49051         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49052         (sinh_towardzero_test_data): New variable.
49053         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49054         (sinh_downward_test_data): New variable.
49055         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49056         (sinh_upward_test_data): New variable.
49057         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49058         (sqrt_test_data): New variable.
49059         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
49060         (tan_test_data): New variable.
49061         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
49062         (tan_tonearest_test_data): New variable.
49063         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49064         (tan_towardzero_test_data): New variable.
49065         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49066         (tan_downward_test_data): New variable.
49067         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49068         (tan_upward_test_data): New variable.
49069         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49070         (tanh_test_data): New variable.
49071         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
49072         (tgamma_test_data): New variable.
49073         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
49074         (trunc_test_data): New variable.
49075         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
49076         (y0_test_data): New variable.
49077         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
49078         (y1_test_data): New variable.
49079         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
49080         (significand_test_data): New variable.
49081         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
49083 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
49085         [BZ #12387]
49086         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
49088 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49090         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
49092 2013-05-10  Andreas Jaeger  <aj@suse.de>
49094         [BZ #15448]
49095         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
49096         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
49098 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
49100         * math/gen-libm-test.pl (adjust_arg): New function.
49101         (special_functions): Handle generating output in both functions
49102         and arrays.
49103         (parse_args): Likewise.
49104         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
49105         $in_func argument to parse_args.
49106         * math/libm-test.inc (struct test_f_f_data): New type.
49107         (IF_ROUND_INIT_): New macro.
49108         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
49109         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49110         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49111         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49112         (ROUND_RESTORE_): Likewise.
49113         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
49114         (ROUND_RESTORE_FE_TONEAREST): Likewise.
49115         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
49116         (ROUND_RESTORE_FE_UPWARD): Likewise.
49117         (RUN_TEST_LOOP_f_f): New macro.
49118         (acos_test_data): New variable.
49119         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
49120         (acos_tonearest_test_data): New variable.
49121         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49123 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49125         * benchtests/bench-skeleton.c (startup): Fix coding style.
49127 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
49129         [BZ #6809]
49130         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
49131         negative infinity argument.
49132         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
49133         negative infinity argument.
49134         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
49135         negative infinity argument.
49136         * math/libm-test.inc (tgamma_test): Expect errno to be set for
49137         domain errors.
49139 2013-05-10  Florian Weimer  <fweimer@redhat.com>
49141         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
49142         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
49143         * iconv/iconv_prog.c (main): Likewise.
49144         * locale/programs/charmap-dir.c (charmap_readdir)
49145         (fopen_uncompressed): Likewise.
49146         * locale/programs/locfile.c (siblings_uncached)
49147         (write_locale_data): Use lstat64 instead of lstat.
49148         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
49149         stat.
49151 2013-05-10  Andreas Jaeger  <aj@suse.de>
49153         [BZ #15395]
49154         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
49155         localization.
49156         Include <locale.h>.
49158 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
49160         * elf/dl-close.c (_dl_close_worker): Add comments.
49162 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
49164         [BZ #15359]
49165         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
49166         high part of pi/2.
49167         (__ieee754_rem_pio2l): Update comments.
49169         [BZ #15429]
49170         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
49171         high part of pi/2.
49172         (__ieee754_rem_pio2l): Update comments.
49174         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
49175         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
49177         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
49178         M_PI_4l.
49180         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
49181         (M_PI_34_LOG10El): Likewise.
49182         (M_PI2_LOG10El): Likewise.
49183         (M_PI4_LOG10El): Likewise.
49184         (M_PI_LOG10El): Likewise.
49186 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49190 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
49192         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
49193         (MINUS_ZERO_INIT): Likewise.
49194         (PLUS_INFTY_INIT): Likewise.
49195         (MINUS_INFTY_INIT): Likewise.
49196         (QNAN_VALUE_INIT): Likewise.
49197         (MAX_VALUE_INIT): Likewise.
49198         (MIN_VALUE_INIT): Likewise.
49199         (MIN_SUBNORM_VALUE_INIT): Likewise.
49200         (plus_zero): Initialize with PLUS_ZERO_INIT.
49201         (minus_zero): Initialize with MINUS_ZERO_INIT.
49202         (plus_infty): Initialize with PLUS_INFTY_INIT.
49203         (minus_infty): Initialize with MINUS_INFTY_INIT.
49204         (qnan_value): Initialize with QNAN_VALUE_INIT.
49205         (max_value): Initialize with MAX_VALUE_INIT.
49206         (min_value): Initialize with MIN_VALUE_INIT.
49207         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
49209         * math/libm-test.inc (RUN_TEST_if_f): New macro.
49210         (jn_test): Use TEST_if_f instead of TEST_ff_f.
49211         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
49212         (yn_test): Use TEST_if_f instead of TEST_ff_f.
49214         * math/libm-test.inc (RUN_TEST_f_f): New macro.
49215         (RUN_TEST_2_f): Likewise.
49216         (RUN_TEST_ff_f): Likewise.
49217         (RUN_TEST_fi_f): Likewise.
49218         (RUN_TEST_fl_f): Likewise.
49219         (RUN_TEST_fff_f): Likewise.
49220         (RUN_TEST_c_f): Likewise.
49221         (RUN_TEST_f_f1): Likewise.
49222         (RUN_TEST_fF_f1): Likewise.
49223         (RUN_TEST_fI_f1): Likewise.
49224         (RUN_TEST_ffI_f1): Likewise.
49225         (RUN_TEST_c_c): Likewise.
49226         (RUN_TEST_cc_c): Likewise.
49227         (RUN_TEST_f_i): Likewise.
49228         (RUN_TEST_f_i_tg): Likewise.
49229         (RUN_TEST_ff_i_tg): Likewise.
49230         (RUN_TEST_f_b): Likewise.
49231         (RUN_TEST_f_b_tg): Likewise.
49232         (RUN_TEST_f_l): Likewise.
49233         (RUN_TEST_f_L): Likewise.
49234         (RUN_TEST_sincos): Likewise.
49235         * math/gen-libm-test.pl (new_test): Take new argument to indicate
49236         whether to show exceptions.  Do not include ");\n" in return
49237         value.
49238         (special_functions): Output call to RUN_TEST_sincos instead of
49239         check_float calls.  Update calls to new_test.
49240         (parse_args): Output call to single RUN_TEST_* macro instead of
49241         check_* calls and other assignments.  Update calls to new_test.
49243         [BZ #2546]
49244         [BZ #2560]
49245         [BZ #5159]
49246         [BZ #15426]
49247         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
49248         input to result for tgamma overflow.
49249         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
49250         (gamma_coeff): New variable.
49251         (NCOEFF): New macro.
49252         (gamma_positive): New function.
49253         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
49254         underflow here.  Use gamma_positive instead of exp (lgamma) for
49255         other arguments.
49256         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
49257         (gamma_coeff): New variable.
49258         (NCOEFF): New macro.
49259         (gammaf_positive): New function.
49260         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
49261         underflow here.  Use gamma_positive instead of exp (lgamma) for
49262         other arguments.
49263         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
49264         (gamma_coeff): New variable.
49265         (NCOEFF): New macro.
49266         (gammal_positive): New function.
49267         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
49268         underflow here.  Use gamma_positive instead of exp (lgamma) for
49269         other arguments.
49270         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
49271         (gamma_coeff): New variable.
49272         (NCOEFF): New macro.
49273         (gammal_positive): New function.
49274         (__ieee754_gammal_r): Handle positive infinity, overflow and
49275         underflow here.  Handle NaN the same as positive infinity.  Remove
49276         check x < 0xffffffff for negative integers.  Use gamma_positive
49277         instead of exp (lgamma) for other arguments.
49278         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
49279         (gamma_coeff): New variable.
49280         (NCOEFF): New macro.
49281         (gammal_positive): New function.
49282         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
49283         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
49284         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
49285         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
49286         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
49287         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
49288         * sysdeps/generic/math_private.h (__gamma_productf): New
49289         prototype.
49290         (__gamma_product): Likewise.
49291         (__gamma_productl): Likewise.
49292         * math/Makefile (libm-calls): Add gamma_product.
49293         * math/libm-test.inc (tgamma_test): Add more tests.
49294         * sysdeps/i386/fpu/libm-test-ulps: Update.
49295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49297 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
49299         * benchtests/bench-skeleton.c (main): Preheat CPU.
49301 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
49303         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
49305 2013-05-07  Roland McGrath  <roland@hack.frob.com>
49307         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
49308         and _dl_skip_args_internal.
49310 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
49312         * manual/message.texi (Message Translation): Talk about users.
49313         Message to key mapping impacts design.
49315 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49317         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
49319         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
49321         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
49322         * sysdeps/wordsize-64/glob64.c: ... here.
49324         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
49325         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
49326         New macros.
49328         * debug/getlogin_r_chk.c: Moved to ...
49329         * login/getlogin_r_chk.c: ... here.
49330         * debug/Makefile (routines): Move getlogin_r_chk to ...
49331         * login/Makefile (routines): ... here.
49332         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
49333         * login/Versions (libc: GLIBC_2.4): ... here.
49335         * io/poll.c (__poll): Renamed from poll.
49336         Add libc_hidden_def.
49337         (poll): Define as weak alias.
49339         * debug/ptsname_r_chk.c: Moved to ...
49340         * login/ptsname_r_chk.c: ... here.
49341         * debug/Makefile (routines): Move ptsname_r_chk to ...
49342         * login/Makefile (routines): ... here.
49343         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
49344         * login/Versions (libc: GLIBC_2.4): ... here.
49346         * posix/getlogin.c: Moved to ...
49347         * login/getlogin.c: ... here.
49348         * posix/getlogin_r.c: Moved to ...
49349         * login/getlogin_r.c: ... here.
49350         * posix/getlogin_r.c: Moved to ...
49351         * login/getlogin_r.c: ... here.
49352         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
49353         * login/Makefile (routines): ... here.
49354         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
49355         * login/Versions (libc: GLIBC_2.0): ... here.
49357         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
49358         (setrlimit): Define as weak alias.
49360         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
49361         Call __ names for open, ftruncate, and close.
49362         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
49363         (truncate): Define as weak alias.
49365 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
49367         * math/gen-libm-test.pl (parse_args): Initialize x before each
49368         test of frexp, modf and remquo.
49370         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
49371         test signgam value.
49373 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49375         [BZ #15418]
49376         [BZ #15419]
49377         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
49378         internal tests.
49379         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49381 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49383         * elf/dl-writev.h: New file.
49384         * elf/dl-misc.c: Include it.
49385         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
49386         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
49388 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
49390         * math/libm-test.inc (noXFails): Remove variable.
49391         (noXPasses): Likewise.
49392         (BUILD_COMPLEX_INT): Remove macro.
49393         (print_screen): Remove xfail argument.
49394         (print_screen_max_error): Likewise.
49395         (update_stats): Likewise.
49396         (print_max_error): Likewise.  Update calls to other affected
49397         functions.
49398         (print_complex_max_error): Likewise.
49399         (test_single_exception): Update calls to print_screen.
49400         (test_single_errno): Likewise.
49401         (check_float_internal): Remove xfail argument.  Update calls to
49402         other affected functions.
49403         (check_float): Likewise.
49404         (check_complex): Likewise.
49405         (check_int): Likewise.
49406         (check_long): Likewise.
49407         (check_bool): Likewise.
49408         (check_longlong): Likewise.
49409         (main): Don't print noXFails and noXPasses.
49410         * math/gen-libm-test.pl (top level): Don't mention expected
49411         failure handling in comment.
49412         (new_test): Don't handle expected failures.
49413         (parse_args): Don't mention expected failure handling in comment.
49414         (generate_testfile): Don't handle expected failures.
49415         (parse_ulps): Likewise.
49416         (print_ulps_file): Likewise.
49417         (get_failure): Remove function.
49418         (output_test): Don't handle expected failures.
49419         * make/README.libm-test: Don't mention expected failure handling.
49421         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
49422         (minus_zero): Likewise.
49423         (plus_infty): Likewise.
49424         (minus_infty): Likewise.
49425         (qnan_value): Likewise.
49426         (max_value): Likewise.
49427         (min_value): Likewise.
49428         (min_subnorm_value): Likewise.
49429         (initialize): Do not initialize those variables dynamically.
49431 2013-05-03  Roland McGrath  <roland@hack.frob.com>
49433         * io/open.c (__open_2): Moved to ...
49434         * io/open_2.c: ... this new file.
49435         * io/open64.c (__open64_2): Moved to ...
49436         * io/open64_2.c: ... this new file.
49437         * io/openat.c (__openat_2): Moved to ...
49438         * io/openat_2.c: ... this new file.
49439         * io/openat64.c (__openat64_2): Moved to ...
49440         * io/openat64_2.c: ... this new file.
49441         * io/Makefile (routines): Add them.
49442         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
49443         * sysdeps/unix/sysv/linux/open_2.c: File removed.
49444         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
49445         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
49446         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
49447         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
49448         (__openat64): Add hidden_ver.
49449         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
49450         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
49452         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
49453         Separately conditionalize setting of GLRO(dl_sysinfo) so
49454         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
49455         as well, but the actual setting is only under [NEED_DL_SYSINFO].
49457 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49459         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
49460         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
49461         definition.
49462         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
49463         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49464         (_libc_vdso_platform_setup): Add __vdso_time initialization.
49465         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
49466         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
49468 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
49470         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
49471         test signgam value.
49473         * math/libm-test.inc (hypot_test): Do not use
49474         IGNORE_ZERO_INF_SIGN.
49476 2013-05-03  Andreas Jaeger  <aj@suse.de>
49478         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
49479         Linux 3.9.
49480         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
49481         (PF_MAX): Adjust for VSOCK change.
49483 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49487 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
49489         [BZ #15264]
49490         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
49491         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
49492         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
49494 2013-05-02  David S. Miller  <davem@davemloft.net>
49496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49498 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
49500         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
49502 2013-05-01  Roland McGrath  <roland@hack.frob.com>
49504         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
49506 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
49508         [BZ #14952]
49509         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
49510         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49511         Use __attribute__ ((__gnu_inline__)).
49512         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49513         Don't use __attribute__ ((__gnu_inline__)).
49515 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
49517         [BZ #15423]
49518         * math/s_catan.c (__catan): Handle small real or imaginary part of
49519         input specially to avoid spurious underflow.
49520         * math/s_catanf.c (__catanf): Likewise.
49521         * math/s_catanh.c (__catanh): Likewise.
49522         * math/s_catanhf.c (__catanhf): Likewise.
49523         * math/s_catanhl.c (__catanhl): Likewise.
49524         * math/s_catanl.c (__catanl): Likewise.
49525         * math/libm-test.inc (catan_test): Add more tests.
49526         (catanh_test): Likewise.
49527         * sysdeps/i386/fpu/libm-test-ulps: Update.
49528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49530 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49534 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
49536         [BZ #15416]
49537         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
49538         accurately for denominator in atan2.
49539         * math/s_catanf.c (__catanf): Likewise.
49540         * math/s_catanh.c (__catanh): Likewise.
49541         * math/s_catanhf.c (__catanhf): Likewise.
49542         * math/s_catanhl.c (__catanhl): Likewise.
49543         * math/s_catanl.c (__catanl): Likewise.
49544         * math/libm-test.inc (catan_test): Add more tests.
49545         (catanh_test): Likewise.
49546         * sysdeps/i386/fpu/libm-test-ulps: Update.
49547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49549 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49551         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
49553         * benchtests/Makefile (bench): Remove slow benchmarks.
49554         * benchtests/atan-inputs: Add slow benchmark inputs.
49555         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
49556         (BENCH_FUNC): Accept variant offset.
49557         (VARIANT): Define.
49558         * benchtests/bench-skeleton.c (main): Run benchmark for each
49559         variant.
49560         * benchtests/cos-inputs: Add slow benchmark inputs.
49561         * benchtests/exp-inputs: Likewise.
49562         * benchtests/pow-inputs: Likewise.
49563         * benchtests/sin-inputs: Likewise.
49564         * benchtests/slowatan-inputs: Remove.
49565         * benchtests/slowatan.c: Remove.
49566         * benchtests/slowcos-inputs: Remove.
49567         * benchtests/slowcos.c: Remove.
49568         * benchtests/slowexp-inputs: Remove.
49569         * benchtests/slowexp.c: Remove.
49570         * benchtests/slowpow-inputs: Remove.
49571         * benchtests/slowpow.c: Remove.
49572         * benchtests/slowsin-inputs: Remove.
49573         * benchtests/slowsin.c: Remove.
49574         * benchtests/slowtan-inputs: Remove.
49575         * benchtests/slowtan.c: Remove.
49576         * benchtests/tan-inputs: Add slow benchmark inputs.
49577         * scripts/bench.pl: Parse comments and directives.
49579         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
49580         in CPPFLAGS.
49581         ($(objpfx)bench-%.c): Remove *-ITER.
49582         * benchtests/bench-modf.c: Remove definition of ITER.
49583         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
49584         (main): Loop for DURATION seconds instead of fixed number of
49585         iterations.
49586         * scripts/bench.pl: Don't expect iterations in parameters.
49588 2013-04-29  Roland McGrath  <roland@hack.frob.com>
49590         * io/fchdir.c (__fchdir): Renamed from fchdir.
49591         (fchdir): Define as weak alias.
49593 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49595         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
49596         (ERRNO_EDOM): Likewise.
49597         (ERRNO_ERANGE): Likewise.
49598         (noErrnoTests): New variable.
49599         (init_max_error): Set errno to 0.
49600         (test_single_errno): New function.
49601         (test_errno): Likewise.
49602         (check_float_internal): Call test_errno.  Set errno to 0.
49603         (check_complex): Refer to errno tests in comment.
49604         (check_int): Call test_errno.  Set errno to 0.
49605         (check_long): Likewise.
49606         (check_bool): Likewise.
49607         (check_longlong): Likewise.
49608         (cos_test): Use ERRNO_* flags for errno tests instead of
49609         check_int.
49610         (expm1_test): Likewise.
49611         (fmod_test): Likewise.
49612         (ilogb_test): Likewise.
49613         (lgamma_test): Likewise.
49614         (pow_test): Likewise.
49615         (remainder_test): Likewise.
49616         (sin_test): Likewise.
49617         (tan_test): Likewise.
49618         (yn_test): Likewise.
49619         (initialize): Set errno to 0.
49620         (main): Print number of errno tests.
49621         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
49623 2013-04-29  Andreas Jaeger  <aj@suse.de>
49625         [BZ #15084]
49626         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
49627         and RES_USEVC.
49629         [BZ #15085]
49630         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
49631         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
49632         unimplemented.
49634         [BZ #15380]
49635         * stdlib/random.c (__initstate): Return NULL if
49636         __initstate fails.
49638         [BZ #15086]
49639         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
49640         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
49641         RES_SNGLKUPREOP.
49643 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49645         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49647 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49649         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
49650         of individual tests.
49651         (casin_test): Likewise.
49652         (casinh_test): Likewise.
49654 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
49656         [BZ #15409]
49657         * math/s_catan.c (__catan): Handle arguments with large real or
49658         imaginary part separately without squaring.
49659         * math/s_catanf.c (__catanf): Likewise.
49660         * math/s_catanh.c (__catanh): Likewise.
49661         * math/s_catanhf.c (__catanhf): Likewise.
49662         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49663         and redefine.
49664         (__catanhl): Handle arguments with large real or imaginary part
49665         separately without squaring.
49666         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49667         and redefine.
49668         (__catanl): Handle arguments with large real or imaginary part
49669         separately without squaring.
49670         * math/libm-test.inc (catan_test): Add more tests.
49671         (catanh_test): Likewise.
49672         * sysdeps/i386/fpu/libm-test-ulps: Update.
49673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49675 2013-04-27  Andreas Jaeger  <aj@suse.de>
49677         [BZ #15007]
49678         * stdlib/stdlib.h: Update guards for qecvt.
49679         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
49680         <stdlib.h>.
49682 2013-04-27  Allan McRae  <allan@archlinux.org>
49684         * sysdeps/i386/fpu/libm-test-ulps: Update.
49686 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
49688         [BZ #15406]
49689         * math/s_catan.c: Include <float.h>.
49690         (__catan): Ensure underflow exception occurs for underflowed
49691         result.
49692         * math/s_catanf.c: Include <float.h>.
49693         (__catanf): Ensure underflow exception occurs for underflowed
49694         result.
49695         * math/s_catanh.c: Include <float.h>.
49696         (__catanh): Ensure underflow exception occurs for underflowed
49697         result.
49698         * math/s_catanhf.c: Include <float.h>.
49699         (__catanhf): Ensure underflow exception occurs for underflowed
49700         result.
49701         * math/s_catanhl.c: Include <float.h>.
49702         (__catanhl): Ensure underflow exception occurs for underflowed
49703         result.
49704         * math/s_catanl.c: Include <float.h>.
49705         (__catanl): Ensure underflow exception occurs for underflowed
49706         result.
49707         * math/libm-test.inc (catan_test): Add more tests.
49708         (catanh_test): Likewise.
49710         [BZ #15405]
49711         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
49712         underflowed result.
49713         * math/s_ccoshf.c (__ccoshf): Likewise.
49714         * math/s_ccoshl.c (__ccoshl): Likewise.
49715         * math/s_csin.c (__csin): Likewise.
49716         * math/s_csinf.c (__csinf): Likewise.
49717         * math/s_csinh.c (__csinh): Likewise.
49718         * math/s_csinhf.c (__csinhf): Likewise.
49719         * math/s_csinhl.c (__csinhl): Likewise.
49720         * math/s_csinl.c (__csinl): Likewise.
49721         * math/libm-test.inc (ccos_test): Add more tests.
49722         (ccosh_test): Likewise.
49723         (csin_test): Likewise.
49724         (csinh_test): Likewise.
49726 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49728         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
49729         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
49730         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
49731         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
49732         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
49733         powerpc/power5+/fpu folders.
49734         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
49737 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49739         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49741 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
49743         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
49744         additions to variable.
49745         [$(config-machine) = x86_64] (modules-names): Likewise.
49746         ($(objpfx)tst-audit3): Remove dependency.
49747         ($(objpfx)tst-audit3.out): Likewise.
49748         ($(objpfx)tst-audit4): Likewise.
49749         ($(objpfx)tst-audit4.out): Likewise.
49750         ($(objpfx)tst-audit5): Likewise.
49751         ($(objpfx)tst-audit5.out): Likewise.
49752         ($(objpfx)tst-audit6): Likewise.
49753         ($(objpfx)tst-audit6.out): Likewise.
49754         ($(objpfx)tst-audit7): Likewise.
49755         ($(objpfx)tst-audit7.out): Likewise.
49756         (tst-audit3-ENV): Remove variable.
49757         (tst-audit4-ENV): Likewise.
49758         (tst-audit5-ENV): Likewise.
49759         (tst-audit6-ENV): Likewise.
49760         (tst-audit7-ENV): Likewise.
49761         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
49762         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
49763         addition to variable.
49764         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
49765         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
49766         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
49767         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
49768         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
49769         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
49770         tst-audit3, tst-audit4 and tst-audit5.
49771         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
49772         tst-audit6 and tst-audit7.
49773         [$(subdir) = elf] (modules-names): Add audit modules for those
49774         tests.
49775         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
49776         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
49777         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
49778         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
49779         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
49780         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
49781         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
49782         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
49783         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
49784         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
49785         [$(subdir) = elf] (tst-audit3-ENV): New variable.
49786         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
49787         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
49788         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
49789         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
49790         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
49791         Likewise.
49792         [$(subdir) = elf && $(config-cflags-avx) = yes]
49793         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
49794         [$(subdir) = elf && $(config-cflags-avx) = yes]
49795         (CFLAGS-tst-auditmod4a.c): Likewise.
49796         [$(subdir) = elf && $(config-cflags-avx) = yes]
49797         (CFLAGS-tst-auditmod4b.c): Likewise.
49798         [$(subdir) = elf && $(config-cflags-avx) = yes]
49799         (CFLAGS-tst-auditmod6b.c): Likewise.
49800         [$(subdir) = elf && $(config-cflags-avx) = yes]
49801         (CFLAGS-tst-auditmod6c.c): Likewise.
49802         [$(subdir) = elf && $(config-cflags-avx) = yes]
49803         (CFLAGS-tst-auditmod7b.c): Likewise.
49804         * elf/tst-audit3.c: Move to ...
49805         * sysdeps/x86_64/tst-audit3.c: ... here.
49806         * elf/tst-audit4.c: Move to ...
49807         * sysdeps/x86_64/tst-audit4.c: ... here.
49808         * elf/tst-audit5.c: Move to ...
49809         * sysdeps/x86_64/tst-audit5.c: ... here.
49810         * elf/tst-audit6.c: Move to ...
49811         * sysdeps/x86_64/tst-audit6.c: ... here.
49812         * elf/tst-audit7.c: Move to ...
49813         * sysdeps/x86_64/tst-audit7.c: ... here.
49814         * elf/tst-auditmod3a.c: Move to ...
49815         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
49816         * elf/tst-auditmod3b.c: Move to ...
49817         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
49818         * elf/tst-auditmod4a.c: Move to ...
49819         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
49820         * elf/tst-auditmod4b.c: Move to ...
49821         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
49822         * elf/tst-auditmod5a.c: Move to ...
49823         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
49824         * elf/tst-auditmod5b.c: Move to ...
49825         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
49826         * elf/tst-auditmod6a.c: Move to ...
49827         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
49828         * elf/tst-auditmod6b.c: Move to ...
49829         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
49830         * elf/tst-auditmod6c.c: Move to ...
49831         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
49832         * elf/tst-auditmod7a.c: Move to ...
49833         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
49834         * elf/tst-auditmod7b.c: Move to ...
49835         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
49837 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
49839         [BZ #15366]
49840         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
49841         define unconditionally.
49842         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
49843         define unconditionally.
49844         (INT8_C, INT16_C, etc.): Likewise.
49846 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
49848         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
49849         __ehdr_start with hidden visibility.
49851         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
49853 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
49855         * math/libm-test.inc (cos_test): Use accurate hex constants.
49856         (sincost_test): Likewise.
49858 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
49860         * math/libm-test.inc (catan_test): Add more tests.
49861         (catanh_test): Likewise.
49863         * math/s_catanf.c (__catanf): Use suffixed floating-point
49864         constants.
49865         * math/s_catanhf.c (__catanhf): Likewise.
49866         * math/s_catanhl.c (__catanhl): Likewise.
49867         * math/s_catanl.c (__catanl): Likewise.
49869         [BZ #15394]
49870         * math/s_catan.c (__catan): Calculate imaginary part of result
49871         with log1p not log unless computing log of number close to 0.
49872         * math/s_catanf.c (__catanf): Likewise.
49873         * math/s_catanl.c (__catanl): Likewise.
49874         * math/s_catanh.c (__catanh): Calculate real part of result with
49875         log1p not log unless computing log of number close to 0.
49876         * math/s_catanhf.c (__catanhf): Likewise.
49877         * math/s_catanhl.c (__catanhl): Likewise.
49878         * math/libm-test.inc (catan_test): Add more tests.
49879         (catanh_test): Likewise.
49880         * sysdeps/i386/fpu/libm-test-ulps: Update.
49881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49883 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49885         * benchtests/Makefile: Mention files in which fast and slow
49886         paths of math functions are implemented.
49888 2013-04-23  Roland McGrath  <roland@hack.frob.com>
49890         * sysdeps/posix/timespec_get.c: New file.
49892 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49894         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
49895         POWER.
49896         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
49897         for POWER.
49898         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
49899         powerpc/power5/fpu folders.
49900         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
49901         * benchtests/Makefile: Add modf testcase.
49902         * benchtests/bench-modf.c: New file: Benchmark test for mo
49904 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49906         [BZ #14888]
49907         * time/Makefile (tests): Add tst-strptime-whitespace.
49908         * time/strptime_l.c (get_number): Use ISSPACE.
49909         (__strptime_internal): Likewise.
49910         * time/tst-strptime-whitespace.c: New test case.
49912 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
49914         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
49915         member.
49916         (_nss_files_init): Set it here.
49918 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
49920         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
49921         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
49922         unsigned.
49924 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
49926         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
49928 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49930         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
49931         size just once.
49933 2013-04-21  David S. Miller  <davem@davemloft.net>
49935         * po/ru.po: Update Russion translation from translation project.
49937 2013-04-17  Adam Conrad  <adconrad@0c3.net>
49939         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
49940         and setfsgid.
49942 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
49944         * configure.in: Remove i386 configure warning. Remove i386 case.
49945         * configure: Regenerate.
49946         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
49947         Add example to error message.
49948         * sysdeps/i386/configure: Regenerate.
49950 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49952         * benchtests/Makefile (bench): Add cos, tan, slowcos and
49953         slowtan.
49954         * benchtests/cos-inputs: New file.
49955         * benchtests/slowcos-inputs: New file.
49956         * benchtests/slowcos.c: New file.
49957         * benchtests/slowtan-inputs: New file.
49958         * benchtests/slowtan.c: New file.
49959         * benchtests/tan-inputs: New file.
49961 2013-04-16  Roland McGrath  <roland@hack.frob.com>
49963         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
49964         considered kosher.
49966 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49968         * benchtests/Makefile: Include cppflags-iterator.mk to add
49969         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
49971         * Makefile.in (bench-clean): New target.
49972         * benchtests/Makefile (bench-clean): Likewise.
49974 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
49976         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
49978 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
49980         * stdio-common/tstdiomisc.c: Fix coding-style violation.
49982 2013-04-15  Andreas Schwab  <schwab@suse.de>
49984         * nscd/grpcache.c (cache_addgr): Properly check for short write.
49985         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49986         * nscd/pwdcache.c (cache_addpw): Likewise.
49987         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
49988         more than recsize.
49990 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49992         * benchtests/Makefile (bench): Write all output to
49993         bench-out.tmp together.
49995 2013-04-15  Andreas Schwab  <schwab@suse.de>
49997         * nscd/nscd.c (main): Don't fork again after closing files.
49999 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50001         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
50003         * benchtests/Rules (bench-deps): Collect dependencies into a
50004         single variable.  Add Makefile to dependencies.
50005         ($(objpfx)bench-%.c): Depend on bench-deps.
50007 2013-04-12  Roland McGrath  <roland@hack.frob.com>
50008             Xavier Roche  <roche+kml2@exalead.com>
50010         [BZ #15361]
50011         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
50012         just that it's a file descriptor.
50013         * manual/llio.texi (Synchronizing AIO Operations): Update description
50014         for EBADF error from aio_fsync.
50016 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50018         * Rules (bench): Move target definition...
50019         * benchtests/Makefile: ... here.
50021 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
50023         * math/libm-test.inc (cos_test): Fix PI/2 test.
50024         (sincos_test): Likewise.
50025         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50026         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
50028 2013-04-11  Andreas Schwab  <schwab@suse.de>
50030         [BZ #13988]
50031         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
50032         accept exponent character only when digits were seen.
50033         * stdio-common/Makefile (tests): Add bug26.
50034         * stdio-common/bug26.c: New file.
50036         [BZ #14293]
50037         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
50038         non-freeable.
50040 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50042         * Makeconfig (rtld-prefix): Define built linker prefix.
50043         * Rules (run-bench): Use it.
50044         * math/Makefile (run-regen-ulps): Likewise.
50046         * Rules (bench): Remove eval.
50048 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50049             Roland McGrath  <roland@hack.frob.com>
50050             Ondrej Bilka  <neleai@seznam.cz>
50052         [BZ #15346]
50053         * time/getdate.c: Include ctype.h and alloca.h.
50054         (__getdate_r): Trim leading and trailing spaces of input.
50055         * time/tst-getdate.c (tests): Add tests with leading and
50056         trailing spaces.
50058 2013-04-08  Roland McGrath  <roland@hack.frob.com>
50060         [BZ #14280]
50061         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
50062         when computing value.
50064 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50066         * math/README.libm-test (How can I generate "libm-test-ulps"?):
50067         Use testrun.sh to run libm tests.
50069         [BZ #15309]
50070         * elf/dl-open.c (dl_open_worker): memset all of seen array.
50072 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
50074         [BZ #15264]
50075         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
50077 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50079         * Makefile.in (regen-ulps): New target.
50080         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
50081         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
50082         [ifneq (no,$(PERL)] (regen-ulps): New target.
50083         [ifeq (no,$(PERL)] (regen-ulps): New target.
50084         * math/libm-test.inc (ulps_file_name): Define.
50085         (output_dir): New variable.
50086         (options): Add "output-dir" option.
50087         (parse_opt): Handle 'o' case.
50088         (main): If output_dir is non-NULL use it as a prefix
50089         otherwise use "".
50090         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
50092 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50094         [BZ #10060, #10062]
50095         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
50096         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
50097         fail configure if __sync_val_compare_and_swap is not inlined.
50098         * sysdeps/i386/configure: Regenerate.
50099         * configure.in: Build for i686 when configured for i386.
50100         * configure: Regenerate.
50101         * README: Remove i386 reference.
50103 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50105         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
50106         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50108 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
50110         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
50111         (lmsnanval): New variables.
50112         (F): Add conversion tests.
50113         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
50114         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
50116         * stdio-common/tstdiomisc.c (F): Properly collect individual
50117         tests' results.
50119         [BZ #14686, #15336]
50120         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
50121         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
50122         Instead, use input NaN values or generate a qNaN by arithmetic
50123         operation.  Also fix bugs to comply with the standard.
50124         * math/libm-test.inc (remainder_test): Add more tests.
50126         [BZ #15335, #15342]
50127         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
50128         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
50129         input NaN values or generate a qNaN by arithmetic operation.
50131         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
50132         unreachable code.
50134         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
50135         definitions.
50137 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
50139         [BZ #14478]
50140         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
50141         underflowed result.
50142         * math/s_cexpf.c (__cexpf): Likewise.
50143         * math/s_cexpl.c (__cexpl): Likewise.
50144         * math/libm-test.inc (cexp_test): Add more tests.
50146 2013-04-03  Andreas Schwab  <schwab@suse.de>
50148         [BZ #15330]
50149         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
50150         order arrays from heap if bigger than alloca cutoff.
50152 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
50154         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
50155         (SNAN_TESTS_double): Refer to GCC PR56831.
50156         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
50157         GCC PR56828.
50159 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50161         * Rules (bench): Move bench.out after the run is complete.
50163         * Rules (bench): Echo currently running benchmark.
50165         * benchtests/Makefile (bench): Add atan and slowatan.
50166         * benchtests/atan-inputs: New file.
50167         * benchtests/slowatan-inputs: New file.
50168         * benchtests/slowatan.c: New file.
50170         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
50171         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
50172         its value.
50174         [BZ #15305]
50175         * sysdeps/unix/sysv/linux/kernel-features.h
50176         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
50177         __ASSUME_XFS_RESTRICTED_CHOWN.
50178         * sysdeps/unix/sysv/linux/pathconf.c
50179         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
50180         Save and restore errno.
50182 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
50184         [BZ #15327]
50185         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
50186         arguments using __kernel_casinh.
50187         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
50188         arguments using __kernel_casinhf.
50189         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
50190         arguments using __kernel_casinhl.
50191         * math/libm-test.inc (cacosh_test): Add more tests.
50192         * sysdeps/i386/fpu/libm-test-ulps: Update.
50193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50195 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50197         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
50198         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
50200         * bench/Makefile (bench): Add sin and slowsin.
50201         * benchtests/sin-inputs: New file.
50202         * benchtests/slowsin-inputs: New file.
50203         * benchtests/slowsin.c: New file.
50205         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
50206         (bench): Add slowexp and slowpow.
50207         (exp-ITER): Increase iterations.
50208         (pow-ITER): Likewise.
50209         * benchtests/exp-inputs: Change input.
50210         * benchtests/pow-inputs: Likewise.
50211         * benchtests/slowexp-inputs: New file.
50212         * benchtests/slowexp.c: New file.
50213         * benchtests/slowpow-inputs: New file.
50214         * benchtests/slowpow.c: New file.
50216 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50218         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
50219         instructions.
50220         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50221         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
50222         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
50223         * benchtests/Makefile: Add rint benchtest.
50224         * benchtests/rint-inputs: Input for rint benchtest.
50226 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50228         * Versions.def (libm): Add GLIBC_2.18.
50229         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
50230         hidden libm prototypes.
50231         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
50232         * math/Makefile (libm-calls): Add s_issignaling.
50233         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
50234         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
50235         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
50236         declaration.
50237         * math/math.h [__USE_GNU] (issignaling): New macro.
50238         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
50239         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
50240         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
50241         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
50242         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
50243         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
50244         * manual/arith.texi (issignaling): New section.
50245         * manual/libm-err-tab.pl (@all_functions): Update comment.
50246         * math/gen-libm-test.pl (parse_args): Apply special handling for
50247         issignaling.
50248         * math/libm-test.inc (print_float, issignaling_test): New
50249         functions.
50250         (check_float_internal): Add issignaling checks.
50251         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
50252         default definition.
50253         * sysdeps/powerpc/math-tests.h: New file.
50254         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
50255         tests.
50256         * math/test-snan.c (TEST_FUNC): Likewise.
50258 2013-03-30  David S. Miller  <davem@davemloft.net>
50260         * po/de.po: Update from translation team.
50262 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
50264         [BZ #10357]
50265         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50266         imaginary part less than 1.0 and real part less than 0.5
50267         specially.
50268         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50269         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50270         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
50271         (cacos_test): Add more tests.
50272         (casin_test): Likewise.
50273         (casinh_test): Likewise.
50274         * sysdeps/i386/fpu/libm-test-ulps: Update.
50275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50277 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50279         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
50280         ONE with its value.
50282         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
50283         (__pow_mp): Replace ONE and MONE with their values.
50284         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50285         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
50286         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50287         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
50288         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50289         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50291         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
50293         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
50294         (__pow_mp): Replace ZERO and MZERO with their values.
50295         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50296         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50297         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50298         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50299         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50300         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
50301         (__sqr): Likewise.
50303         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
50305         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
50307 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50309         * include/stdlib.h [!SHARED] (__call_tls_dtors):
50310         Declare with __attribute__ ((weak)).
50311         * stdlib/exit.c (__libc_atexit) [!SHARED]:
50312         Call __call_tls_dtors only if it's not NULL.
50314 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50316         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
50317         didn't do it already, then set _dl_phdr and _dl_phnum based on the
50318         magic __ehdr_start linker symbol if it's defined.
50319         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
50320         them up here if it was already done.
50322         * elf/dl-support.c (_dl_phdr): Make pointer to const.
50323         (_dl_aux_init): Use const in cast when setting it.
50324         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
50325         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
50326         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
50328         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
50329         Declare them here.
50330         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
50331         * csu/libc-tls.c: Nor here.
50332         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
50334         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
50335         (__libc_message): Never call vsyslog.
50337 2013-03-28  Alan Modra  <amodra@gmail.com>
50339         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
50340         Define as empty.
50341         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
50342         Likewise.
50344 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50346         [BZ #15214]
50347         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
50348         underflow.
50349         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50351 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50353         [BZ #15304]
50354         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
50355         Don't add gid passed as argument.
50357         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
50359 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
50361         [BZ #15307]
50362         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50363         imaginary part between 1.0 and 1.5 and real part less than 0.5
50364         specially.
50365         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50366         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50367         * math/libm-test.inc (cacos_test): Add more tests.
50368         (casin_test): Likewise.
50369         (casinh_test): Likewise.
50370         * sysdeps/i386/fpu/libm-test-ulps: Update.
50371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50373 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50375         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
50376         constants.
50377         (norm): Likewise.
50378         (denorm): Likewise.
50379         (__dbl_mp): Likewise.
50380         (add_magnitudes): Likewise.
50381         (sub_magnitudes): Likewise.
50382         (__add): Likewise.
50383         (__sub): Likewise.
50384         (__mul): Likewise.
50385         (__sqr): Likewise.
50386         (__inv): Likewise.
50387         (__dvd): Likewise.
50389         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
50390         commented code.
50391         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
50392         (__dubcos): Likewise.
50393         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
50394         (__ieee754_acos): Likewise.
50395         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50396         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
50397         (__exp1): Likewise.
50398         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50399         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50400         (log1): Likewise.
50401         (my_log2): Likewise.
50402         (checkint): Likewise.
50403         * sysdeps/ieee754/dbl-64/e_remainder.c
50404         (__ieee754_remainder): Likewise.
50405         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50406         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
50407         (bsloww): Likewise.
50408         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50410         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50411         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
50412         MANTISSA_STORE_T to store computations on mantissa.  Use
50413         macros for rounding and division.
50414         (denorm): Likewise.
50415         (__dbl_mp): Likewise.
50416         (add_magnitudes): Likewise.
50417         (sub_magnitudes): Likewise.
50418         (__mul): Likewise.
50419         (__sqr): Likewise.
50420         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50421         powers of two in terms of TWOPOW macro.
50422         (mp_no): Make type of mantissa as MANTISSA_T.
50423         [!RADIXI]: Define RADIXI.
50424         [!TWO52]: Define TWO52.
50425         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50427 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50429         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
50430         llroundl symbol when building for PPC32.
50432 2013-03-24  Mark H Weaver  <mhw@netris.org>
50434         * manual/arith.texi (Normalization Functions): Fix prototypes for
50435         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
50437 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50439         [BZ #13889]
50440         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
50441         high value to check if expl overflow.
50442         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
50443         to check for underflow and overflow.
50444         * math/libm-test.inc: Add exp test.
50446 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
50448         [BZ #11120]
50449         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
50450         with NOT_IN_libc.
50452 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50454         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
50455         symbol.
50457 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50459         * math/gen-libm-test.pl (parse_args, special_functions): Properly
50460         wrap blocks consisting of several statements.
50462         * sysdeps/generic/math-tests.h: New file.
50463         * sysdeps/i386/fpu/math-tests.h: Likewise.
50464         * math/test-snan.c: Include it.
50465         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
50467 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50469         [BZ #15285]
50470         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
50471         (__ieee754_j0l): Do not improve calculations using cos of twice
50472         input for inputs above LDBL_MAX / 2.0L.
50473         (__ieee754_y0l): Likewise.
50474         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
50475         (__ieee754_j1l): Do not improve calculations using cos of twice
50476         input for inputs above LDBL_MAX / 2.0L.
50477         (__ieee754_y1l): Likewise.
50478         * math/libm-test.inc (j0_test): Add another test.
50479         (j1_test): Likewise.
50480         (y0_test): Likewise.
50481         (y1_test): Likewise.
50482         * sysdeps/i386/fpu/libm-test-ulps: Update.
50484 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50486         * Rules ($(objpfx)bench-%.c): Include code from a C source
50487         file.
50489 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50491         [BZ #15287]
50492         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50493         imaginary part 1.0 and real part less than 0.5 specially.
50494         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50495         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50496         * math/libm-test.inc (cacos_test): Add more tests.
50497         (casin_test): Likewise.
50498         (casinh_test): Likewise.
50499         * sysdeps/i386/fpu/libm-test-ulps: Update.
50500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50502 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50504         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
50505         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
50507 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
50509         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
50510         * config.make.in (config-cflags-sse4): Remove variable.
50511         (config-cflags-avx): Likewise.
50512         (config-cflags-sse2avx): Likewise.
50513         (config-cflags-novzeroupper): Likewise.
50514         (config-asflags-i686): Likewise.
50515         (have-mfma4): Likewise.
50516         (have-as-vis3): Likewise.
50517         (MIG): Likewise.
50518         * configure.in (MIG): Do not AC_SUBST.
50519         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
50520         (libc_cv_cc_sse4): Do not AC_SUBST.
50521         (libc_cv_cc_avx): Likewise.
50522         (libc_cv_cc_sse2avx): Likewise.
50523         (libc_cv_cc_novzeroupper): Likewise.
50524         (libc_cv_cc_fma4): Likewise.
50525         (libc_cv_as_i686): Likewise.
50526         (libc_cv_sparc_as_vis3): Likewise.
50527         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
50528         LIBC_CONFIG_VAR.
50529         (config-asflags-i686): Likewise.
50530         (config-cflags-avx): Likewise.
50531         (config-cflags-sse2avx): Likewise.
50532         (have-mfma4): Likewise.
50533         (config-cflags-novzeroupper): Likewise.
50534         * sysdeps/mach/configure.in (MIG): Likewise.
50535         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
50536         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
50537         LIBC_CONFIG_VAR.
50538         (config-cflags-avx): Likewise.
50539         (config-cflags-sse2avx): Likewise.
50540         (have-mfma4): Likewise.
50541         (config-cflags-novzeroupper): Likewise.
50542         * configure: Regenerated.
50543         * sysdeps/i386/configure: Likewise.
50544         * sysdeps/mach/configure: Likewise.
50545         * sysdeps/sparc/configure: Likewise.
50546         * sysdeps/x86_64/configure: Likewise.
50548 2013-03-20  Roland McGrath  <roland@hack.frob.com>
50550         [BZ #14812]
50551         * locale/programs/localedef.c (options): Put N_ translation marker
50552         on argument names, not just descriptions.
50554 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50556         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
50558 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
50560         [BZ #14176]
50561         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
50563 2013-03-19  Roland McGrath  <roland@hack.frob.com>
50565         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
50566         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
50567         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
50568         [!BEFORE_ABORT] (before_abort): New function.
50569         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
50570         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
50571         (writev_for_fatal): New function.
50572         (WRITEV_FOR_FATAL): New macro; call that.
50573         (backtrace_and_maps): New function.
50574         (BEFORE_ABORT): New macro; call that.
50575         (struct str_list): Type removed.
50576         (__libc_message, __libc_fatal): Functions removed.
50577         Include <sysdeps/posix/libc_fatal.c> instead.
50579 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
50581         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
50582         constants.
50583         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
50584         double constants.
50586 2013-03-19  Andreas Schwab  <schwab@suse.de>
50588         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
50589         * sysdeps/gnu/configure: Regenerate.
50591         * configure.in: Substitute libc_cv_rtlddir.
50592         * configure: Regenerate.
50593         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
50594         * Makeconfig (rtlddir, inst_rtlddir): New variables.
50595         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
50596         * elf/Makefile (install-others, CFLAGS-interp.c)
50597         (ldso_install, common-ldd-rewrite): Likewise.
50598         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
50599         $(inst_slibdir)/$(rtld-installed-name).
50600         * scripts/rellns-sh: Add -p option.
50601         * Makerules (make-shlib-link): Use rellns-sh to get relative name
50602         for source.
50604 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50606         * manual/nptl.texi: Renamed to ...
50607         * manual/threads.texi: ... this.
50608         * manual/Makefile (chapters): Update.
50610 2013-03-18  Roland McGrath  <roland@hack.frob.com>
50612         [BZ #14812]
50613         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
50614         on argument names, not just descriptions.
50615         * malloc/memusagestat.c (options): Likewise.
50616         * nss/getent.c (options): Likewise.
50618 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
50620         [BZ #14812]
50621         * iconv/iconv_prog.c (options): Put N_ translation marker
50622         on argument names, not just descriptions.
50623         * iconv/iconvconfig.c (options): Likewise.
50625 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
50627         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
50628         implementation which is faster on all x86_64 architectures.
50629         Tested on AMD, Intel Nehalem, SNB, IVB.
50630         * sysdeps/x86_64/strnlen.S: Likewise.
50632         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50633         Remove all multiarch strlen and strnlen versions.
50634         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50635         Remove strlen and strnlen related parts.
50637         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
50638         Inline strlen part.
50639         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
50641         * sysdeps/x86_64/multiarch/strlen.S: Remove.
50642         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
50643         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
50644         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
50645         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50646         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
50648 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
50650         * manual/memory.texi (Malloc Tunable Parameters):
50651         Sort parameters alphabetically. Add comments for missing entries.
50653 2013-03-17  David S. Miller  <davem@davemloft.net>
50655         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50657 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
50659         [BZ #15283]
50660         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
50661         for arguments at most half maximum finite value.
50662         * math/libm-test.inc (j0_test): Add more tests.
50663         (j1_test): Likewise.
50664         (y0_test): Likewise.
50665         (y1_test): Likewise.
50666         * sysdeps/i386/fpu/libm-test-ulps: Update.
50667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50669         [BZ #14155]
50670         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
50671         1 / x and functions P and Q for arguments above 0x1p256L.
50672         (__ieee754_y0l): Likewise.
50673         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
50674         (__ieee754_y1l): Likewise.
50675         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
50676         (j1_test): Likewise.
50677         (y0_test): Likewise.
50678         (y1_test): Likewise.
50680 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
50682         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
50683         variable.
50685 2013-03-15  Roland McGrath  <roland@hack.frob.com>
50687         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
50688         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
50689         zero since it's initialized to EXEC_PAGESIZE.
50691         * sysdeps/unix/sysv/linux/ldsodefs.h
50692         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
50693         * sysdeps/generic/ldsodefs.h: ... here.
50695 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
50697         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
50699         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
50700         math/test-snan.c.
50701         * math/test-snan.c: Renamed from
50702         sysdeps/powerpc/fpu/test-powerpc-snan.c.
50703         * math/Makefile (tests): Add test-snan.
50704         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
50705         test-powerpc-snan.
50707         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
50708         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
50709         functions.
50710         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
50711         __builtin_nan family of functions.
50712         * math/libm-test.inc (initialize): Initialize qnan_value with
50713         __builtin_nan family of functions.
50714         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
50715         Remove variables.
50716         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
50717         Remove functions.
50718         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
50719         storage class.  Initialize qNaN_var and sNaN_var with
50720         __builtin_nan and __builtin_nans families of functions,
50721         respectively.
50723         * math/libm-test.inc (acosh_test): Also test with qNaN input.
50724         (sqrt_test): Remove duplicate test with qNaN input.
50725         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
50726         (round_test, signbit_test, significand_test): Note missing +/-Inf
50727         as well as qNaN tests.
50729         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
50730         qNaN_var.  Fix a few strings, too.
50731         * math/libm-test.inc (nan_value): Rename to qnan_value.
50732         * math/gen-libm-test.pl (%beautify): Adjust to that.
50733         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
50734         * math/test-misc.c (main): Likewise.
50735         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
50736         to __qnan_bytes, and __qnan_union, respectively.
50737         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
50738         Likewise.
50739         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
50740         and lqnanval, respectively.
50741         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
50742         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
50743         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
50744         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
50746         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
50747         * math/test-misc.c (main) [__x86_64__]: Enable test for long
50748         doubles.
50750         * math/test-misc.c (main): Fix copy'n'pastos.
50751         * misc/tst-efgcvt.c (special): Likewise.
50753         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
50754         Remove declarations.
50756 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50758         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
50759         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
50760         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
50761         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
50763 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50765         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
50766         macro to return vdso values correctly in IFUNC implementations.
50767         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50768         Optimization by using IFUNC.
50770 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50771             Richard Henderson  <rth@redhat.com>
50772             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50774         * Makefile.in (bench): New target.
50775         * NEWS: Mention the benchmark framework.
50776         * Rules (bench): Likewise.
50777         (binaries-bench): Generate binaries for functions to
50778         benchmark.
50779         * benchtests/Makefile: New makefile for benchmark tests.
50780         * benchtests/bench-skeleton.c: New skeleton file for benchmark
50781         programs.
50782         * benchtests/exp-inputs: New input file for EXP function.
50783         * benchtests/pow-inputs: New input file for POW function.
50784         * scripts/bench.pl: New script to generate source files for
50785         benchmark programs.
50787 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50789         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50790         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
50791         computations on mantissa.  Use macros for rounding and
50792         division.
50793         (denorm): Likewise.
50794         (__dbl_mp): Likewise.
50795         (add_magnitudes): Likewise.
50796         (sub_magnitudes): Likewise.
50797         (__mul): Likewise.
50798         (__sqr): Likewise.
50799         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50800         powers of two in terms of TWOPOW macro.
50801         (mp_no): Make type of mantissa as MANTISSA_T.
50802         [!RADIXI]: Define RADIXI.
50803         [!TWO52]: Define TWO52.
50804         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50806         * manual/nptl.texi (cindex): Modify threads to pthreads.
50808 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
50810         * sysdeps/x86_64/preconfigure: Regenerated.
50812 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
50814         [BZ #14155]
50815         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
50816         0x1p28 and above.
50817         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
50818         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
50819         0x1p28 and above.
50820         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
50821         * math/libm-test.inc (j0_test): Do not allow one spurious
50822         underflow exception.
50823         (y1_test): Likewise.
50825 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50827         * manual/Makefile (chapters): Add nptl.
50828         * manual/debug.texi (Debugging Support): Add link to Threads
50829         chapter.
50830         * manual/nptl.texi: New file.
50832         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
50834 2013-03-14  Petr Baudis  <pasky@ucw.cz>
50836         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
50837         for non-NULL pointer before the memory validity test. Pointed
50838         out by Holger Brunck <holger.brunck@keymile.com>.
50840 2013-03-13  Andreas Schwab  <schwab@suse.de>
50842         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
50843         instead of .os.
50845 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
50847         * timezone/zic.c: Update from tzcode 2013b.
50849 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
50851         * manual/install.texi (Configuring and compiling):
50852         Mention i686 and i586.
50853         * INSTALL: Regenerate.
50855 2013-03-12  Roland McGrath  <roland@hack.frob.com>
50857         * sysdeps/init_array/elf-init.c: New file.
50858         * csu/elf-init.c
50859         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
50860         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
50862         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
50863         __gmon_start__ as global, but as static with a .preinit_array pointer.
50864         * sysdeps/init_array/gmon-start.c: New file.  Use that.
50865         * sysdeps/init_array/crti.S: New file, empty except for comments.
50866         * sysdeps/init_array/crtn.S: Likewise.
50868 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
50870         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
50871         definining bcopy.
50872         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50873         Remove Prefer_SSE_for_memop.
50874         * sysdeps/x86_64/multiarch/init-arch.h: Remove
50875         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
50876         HAS_PREFER_SSE_FOR_MEMOP.
50877         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
50878         memset-x86-64.
50879         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50880         Remove bzero, memset ifunc support.
50881         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
50882         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
50883         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50884         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50886 2013-03-11  Andreas Schwab  <schwab@suse.de>
50888         [BZ #15234]
50889         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
50890         by SHLIB_COMPAT.
50891         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
50892         (GLIBC_2.16): Remove pthread_atfork.
50894 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
50896         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
50897         (ptestcases.h): Likewise.
50899 2013-03-08  Roland McGrath  <roland@hack.frob.com>
50901         * Makeconfig ($(common-objpfx)config.status): Depend on
50902         sysdeps/*/preconfigure{,.in} too.
50904 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
50906         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
50907         (__free_hook): Use void * instead of __malloc_ptr_t.
50908         (__malloc_hook): Likewise.
50909         (__realloc_hook): Likewise.
50910         (__memalign_hook): Likewise.
50911         (__after_morecore_hook): Likewise.
50912         * malloc/arena.c (save_malloc_hook): Likewise.
50913         (save_free_hook): Likewise.
50914         * malloc/hooks.c (malloc_hook_ini): Likewise.
50915         (realloc_hook_ini): Likewise.
50916         (memalign_hook_ini): Likewise.
50917         * malloc/malloc.c (malloc_hook_ini): Likewise.
50918         (realloc_hook_ini): Likewise.
50919         (memalign_hook_ini): Likewise.
50920         (__free_hook): Likewise.
50921         (__malloc_hook): Likewise.
50922         (__realloc_hook): Likewise.
50923         (__memalign_hook): Likewise.
50924         (__libc_malloc): Likewise.
50925         (__libc_free): Likewise.
50926         (__libc_realloc): Likewise.
50927         (__libc_memalign): Likewise.
50928         (__libc_valloc): Likewise.
50929         (__libc_pvalloc): Likewise.
50930         (__libc_calloc): Likewise.
50931         (__posix_memalign): Likewise.
50932         * malloc/morecore.c (__sbrk): Likewise.
50933         (__default_morecore): Likewise.
50935         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
50937         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
50938         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
50939         __malloc_ptrdiff_t.
50941         * malloc/malloc.h (__malloc_size_t): Remove macro.
50942         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
50943         __malloc_size_t.
50944         (old_memalign_hook): Likewise.
50945         (old_realloc_hook): Likewise.
50946         (struct hdr): Likewise.
50947         (flood): Likewise.
50948         (mallochook): Likewise.
50949         (memalignhook): Likewise.
50950         (reallochook): Likewise.
50951         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
50952         (tr_old_realloc_hook): Likewise.
50953         (tr_old_memalign_hook): Likewise.
50954         (tr_mallochook): Likewise.
50955         (tr_reallochook): Likewise.
50956         (tr_memalignhook): Likewise.
50958 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50960         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
50961         default_ldbl_pack and using as default implementation.
50962         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
50963         implementation.
50964         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
50965         redundant definition.
50966         (ldbl_insert_mantissa): Likewise.
50967         (ldbl_canonicalize): Likewise.
50968         (ldbl_nearbyint): Likewise.
50969         (ldbl_pack): Rename to ldbl_pack_ppc.
50970         (ldbl_unpack): Rename to ldbl_unpack_ppc.
50971         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
50972         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
50974 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50976         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
50977         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
50978         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
50979         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
50980         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
50981         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
50982         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
50983         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
50985 2013-03-07  Andreas Jaeger  <aj@suse.de>
50987         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50988         bits/mman-linux.h.
50990 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
50992         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
50993         Include mpa.h and declare __MPEXP.
50994         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
50995         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50996         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50997         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
50998         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50999         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51000         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
51002         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
51003         (__slowpow): Use long double EXPL and LOGL functions to
51004         compute POW.
51005         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51006         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51007         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
51008         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51009         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51010         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
51012         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
51013         intermediate variable to calculate exponent.
51014         (__sqr): Likewise.
51015         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51016         Likewise.
51017         (__sqr): Likewise.
51019         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
51020         [!NO__SQR]: Define __sqr.
51021         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
51022         and NO__SQR.  Remove all code except __mul and __sqr.  Include
51023         sysdeps/ieee754/dbl-64/mpa.c.
51024         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51026         [BZ #12723]
51027         * posix/Makefile (tests): Add tst-pathconf.
51028         * posix/tst-pathconf.c: New test case.
51029         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
51030         _PC_PIPE_BUF.
51031         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
51033 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
51035         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
51037 2013-03-06  Andreas Jaeger  <aj@suse.de>
51039         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
51040         definition via __MAP_ANONYMOUS.
51042         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
51043         it's not part of Linux headers.
51045         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
51046         (MAP_HUGE_MASK): Define.
51048         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51049         Define.
51050         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51051         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51052         Define.
51053         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51054         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51055         Define.
51056         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51057         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
51058         Define.
51059         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51061         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
51062         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
51063         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
51064         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
51065         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
51066         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
51068         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51069         Handle f2fs.
51071         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51072         Handle f2fs and efivarfs.
51074         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
51075         f2fs.
51077         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
51078         (EFIVARFS_MAGIC): Add.
51079         (F2FS_LINK_MAX): Add.
51081 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51083         * stdio-common/vfprintf.c: Replace __builtin_expect with
51084         __glibc_unlikely.
51086 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
51088         [BZ #13550]
51089         * sysdeps/generic/bp-sym.h: Remove file.
51090         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
51091         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
51092         <bp-sym.h> and <bp-asm.h>.
51093         (__longjmp): Don't use BP_SYM.
51094         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
51095         and <bp-asm.h>.
51096         (memcpy): Don't use BP_SYM.
51097         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
51098         <bp-sym.h> and <bp-asm.h>.
51099         (memcpy): Don't use BP_SYM.
51100         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
51101         <bp-asm.h>.
51102         (memcpy): Don't use BP_SYM.
51103         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
51104         <bp-asm.h>.
51105         (memset): Don't use BP_SYM.
51106         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51107         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51108         (__bzero): Don't use BP_SYM.
51109         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51110         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51111         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
51112         <bp-sym.h> and <bp-asm.h>.
51113         (memcmp): Don't use BP_SYM.  Remove comment about bounded
51114         pointers.
51115         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
51116         <bp-sym.h> and <bp-asm.h>.
51117         (memcpy): Don't use BP_SYM.
51118         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
51119         <bp-sym.h> and <bp-asm.h>.
51120         (memset): Don't use BP_SYM.
51121         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51122         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51123         (__bzero): Don't use BP_SYM.
51124         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51125         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51126         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
51127         <bp-sym.h> and <bp-asm.h>.
51128         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51129         pointers.
51130         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
51131         <bp-sym.h> and <bp-asm.h>.
51132         (memcpy): Don't use BP_SYM.
51133         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
51134         <bp-sym.h> and <bp-asm.h>.
51135         (memset): Don't use BP_SYM.
51136         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51137         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51138         (__bzero): Don't use BP_SYM.
51139         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51140         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51141         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
51142         <bp-sym.h> and <bp-asm.h>.
51143         (__memchr): Don't use BP_SYM.
51144         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
51145         <bp-sym.h> and <bp-asm.h>.
51146         (memcmp): Don't use BP_SYM.  Remove comment about bounded
51147         pointers.
51148         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
51149         <bp-sym.h> and <bp-asm.h>.
51150         (memcpy): Don't use BP_SYM.
51151         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
51152         <bp-sym.h> and <bp-asm.h>.
51153         (__mempcpy): Don't use BP_SYM.
51154         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
51155         <bp-sym.h> and <bp-asm.h>.
51156         (__memrchr): Don't use BP_SYM.
51157         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
51158         <bp-sym.h> and <bp-asm.h>.
51159         (memset): Don't use BP_SYM.
51160         (__bzero): Likewise.
51161         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
51162         <bp-sym.h> and <bp-asm.h>.
51163         (__rawmemchr): Don't use BP_SYM.
51164         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
51165         <bp-sym.h> and <bp-asm.h>.
51166         (__STRCMP): Don't use BP_SYM.
51167         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
51168         <bp-sym.h> and <bp-asm.h>.
51169         (strchr): Don't use BP_SYM.
51170         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
51171         <bp-sym.h> and <bp-asm.h>.
51172         (__strchrnul): Don't use BP_SYM.
51173         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
51174         <bp-sym.h> and <bp-asm.h>.
51175         (strlen): Don't use BP_SYM.
51176         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
51177         <bp-sym.h> and <bp-asm.h>.
51178         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51179         pointers.
51180         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
51181         <bp-sym.h> and <bp-asm.h>.
51182         (__strnlen): Don't use BP_SYM.
51183         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
51184         <bp-sym.h> and <bp-asm.h>.
51185         (__GI__setjmp): Don't use BP_SYM.
51186         (_setjmp): Likewise.
51187         (__sigsetjmp): Likewise.
51188         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
51189         (L(start_addresses)): Don't use BP_SYM.
51190         (_start): Likewise.
51191         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
51192         <bp-asm.h>.
51193         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
51194         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
51195         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51196         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51197         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
51198         <bp-asm.h>.
51199         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
51200         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
51201         about bounded pointers.
51202         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51203         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51204         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
51205         <bp-asm.h>.
51206         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51207         about bounded pointers.  Remove GKM FIXME comments.
51208         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51209         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
51210         <bp-asm.h>.
51211         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
51212         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
51213         Remove GKM FIXME comments.
51214         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51215         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51216         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
51217         <bp-asm.h>.
51218         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51219         about bounded pointers.  Remove GKM FIXME comment.
51220         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
51221         and <bp-asm.h>.
51222         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51223         pointers.
51224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
51225         <bp-sym.h> and <bp-asm.h>.
51226         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
51228         <bp-sym.h> and <bp-asm.h>.
51229         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51230         comment.
51232 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51234         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
51235         call free(NULL).
51237 2013-03-05  David S. Miller  <davem@davemloft.net>
51239         * po/es.po: Update from translation team.
51241 2013-03-05  Andreas Jaeger  <aj@suse.de>
51243         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
51244         <bits/mman-linux.h>.
51245         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51246         is fine.
51247         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
51248         <bits/mman-linux.h> to end of file.
51249         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51250         is fine.
51251         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
51252         <bits/mman-linux.h> to end of file.
51253         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51254         is fine.
51255         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
51256         <bits/mman-linux.h> to end of file.
51258         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
51259         (MCL_CURRENT, MCL_FUTURE): Define here.
51261 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51263         [BZ #15232]
51264         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
51265         attribute_hidden.
51266         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51268 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51270         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
51271         fourth parameter needed for rt_sigprocmask syscall.
51272         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
51273         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51274         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
51275         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51276         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51277         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
51279 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
51281         [BZ #13550]
51282         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
51283         comment about bounded pointers.
51284         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
51285         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
51287 2013-03-04  Andreas Jaeger  <aj@suse.de>
51289         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
51290         common definitions.
51292         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
51293         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
51294         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
51295         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51296         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51297         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51299 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51301         [BZ #15055]
51302         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
51303         __ieee754_sqrl instead of __sqrl.
51305 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
51307         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
51308         * sysdeps/powerpc/fpu_control.h: ... here.
51309         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
51310         * sysdeps/powerpc/bits/fenvinline.h: ... here.
51311         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
51312         * sysdeps/powerpc/bits/mathinline.h: ... here.
51314 2013-03-01  Roland McGrath  <roland@hack.frob.com>
51316         * elf/dl-hwcaps.c (_dl_important_hwcaps):
51317         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
51318         to just [NEED_DL_SYSINFO_DSO].
51319         * elf/dl-support.c: Likewise.
51320         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
51321         * elf/rtld.c (dl_main): Likewise.
51322         * elf/setup-vdso.h (setup_vdso): Likewise.
51323         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
51324         * sysdeps/unix/sysv/linux/dl-sysdep.c
51325         (_dl_discover_osversion): Likewise.
51327 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
51329         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
51330         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51332 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
51334         * NEWS: Mention libm performance improvements and non-x86 PI
51335         futex support.
51337         * csu/libc-start.c (__pthread_initialize_minimal): Change
51338         function arguments.
51339         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51341 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
51343         [BZ #13550]
51344         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
51345         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
51346         <bp-sym.h> and <bp-asm.h>.
51347         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51348         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
51349         and <bp-asm.h>.
51350         (memcpy): Don't use BP_SYM.
51351         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
51352         <bp-asm.h>.
51353         (__mpn_add_n): Don't use BP_SYM.
51354         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
51355         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
51356         and <bp-asm.h>.
51357         (__mpn_addmul_1): Don't use BP_SYM.
51358         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51359         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
51360         <bp-sym.h>.
51361         (_setjmp): Don't use BP_SYM.
51362         (__novmx_setjmp): Likewise.
51363         (__GI__setjmp): Likewise.
51364         (__vmx_setjmp): Likewise.
51365         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
51366         <bp-sym.h>.
51367         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
51368         (__bzero): Don't use BP_SYM.
51369         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51370         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51371         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
51372         <bp-sym.h> and <bp-asm.h>.
51373         (memcpy): Don't use BP_SYM.
51374         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
51375         <bp-sym.h> and <bp-asm.h>.
51376         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51377         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
51378         <bp-sym.h> and <bp-asm.h>.
51379         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51380         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
51381         <bp-asm.h>.
51382         (__mpn_lshift): Don't use BP_SYM.
51383         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51384         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
51385         <bp-asm.h>.
51386         (memset): Don't use BP_SYM.
51387         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51388         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51389         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
51390         <bp-asm.h>.
51391         (__mpn_mul_1): Don't use BP_SYM.
51392         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51393         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
51394         <bp-sym.h> and <bp-asm.h>.
51395         (memcmp): Don't use BP_SYM.
51396         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
51397         <bp-sym.h> and <bp-asm.h>.
51398         (memcpy): Don't use BP_SYM.
51399         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
51400         <bp-sym.h> and <bp-asm.h>.
51401         (memset): Don't use BP_SYM.
51402         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
51403         <bp-sym.h> and <bp-asm.h>.
51404         (strncmp): Don't use BP_SYM.
51405         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
51406         <bp-sym.h> and <bp-asm.h>.
51407         (memcpy): Don't use BP_SYM.
51408         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
51409         <bp-sym.h> and <bp-asm.h>.
51410         (memset): Don't use BP_SYM.
51411         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
51412         <bp-sym.h> and <bp-asm.h>.
51413         (__memchr): Don't use BP_SYM.
51414         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
51415         <bp-sym.h> and <bp-asm.h>.
51416         (memcmp): Don't use BP_SYM.
51417         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
51418         <bp-sym.h> and <bp-asm.h>.
51419         (memcpy): Don't use BP_SYM.
51420         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
51421         <bp-sym.h> and <bp-asm.h>.
51422         (__mempcpy): Don't use BP_SYM.
51423         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
51424         <bp-sym.h> and <bp-asm.h>.
51425         (__memrchr): Don't use BP_SYM.
51426         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
51427         <bp-sym.h> and <bp-asm.h>.
51428         (memset): Don't use BP_SYM.
51429         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
51430         <bp-sym.h> and <bp-asm.h>.
51431         (__rawmemchr): Don't use BP_SYM.
51432         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
51433         <bp-sym.h> and <bp-asm.h>.
51434         (__STRCMP): Don't use BP_SYM.
51435         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
51436         <bp-sym.h> and <bp-asm.h>.
51437         (strchr): Don't use BP_SYM.
51438         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
51439         <bp-sym.h> and <bp-asm.h>.
51440         (__strchrnul): Don't use BP_SYM.
51441         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
51442         <bp-sym.h> and <bp-asm.h>.
51443         (strlen): Don't use BP_SYM.
51444         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
51445         <bp-sym.h> and <bp-asm.h>.
51446         (strncmp): Don't use BP_SYM.
51447         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
51448         <bp-sym.h> and <bp-asm.h>.
51449         (__strnlen): Don't use BP_SYM.
51450         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
51451         <bp-asm.h>.
51452         (__mpn_rshift): Don't use BP_SYM.
51453         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51454         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
51455         <bp-sym.h> and <bp-asm.h>.
51456         (__sigsetjmp): Don't use BP_SYM.
51457         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
51458         (L(start_addresses)): Don't use BP_SYM.
51459         (_start): Likewise.
51460         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
51461         <bp-asm.h>.
51462         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
51463         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51464         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51465         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
51466         <bp-asm.h>.
51467         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
51468         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51469         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51470         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
51471         <bp-asm.h>.
51472         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51473         comments.
51474         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51475         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
51476         <bp-asm.h>.
51477         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
51478         FIXME comments.
51479         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51480         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51481         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
51482         <bp-asm.h>.
51483         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51484         comment.
51485         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
51486         and <bp-asm.h>.
51487         (strncmp): Don't use BP_SYM,
51488         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
51489         <bp-asm.h>.
51490         (__mpn_sub_n): Don't use BP_SYM.
51491         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51492         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
51493         and <bp-asm.h>.
51494         (__mpn_submul_1): Don't use BP_SYM.
51495         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
51497         <bp-sym.h> and <bp-asm.h>.
51498         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
51500         <bp-sym.h> and <bp-asm.h>.
51501         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51502         comment.
51504 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51506         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
51507         Use ZK to minimize writes to Z.
51508         (sub_magnitudes): Simplify code a bit.
51509         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
51510         Use ZK to minimize writes to Z.
51511         (sub_magnitudes): Simplify code a bit.
51513 2013-02-27  Roland McGrath  <roland@hack.frob.com>
51515         * csu/gmon-start.c: Add special exception to license text.
51517 2013-02-27  Richard Henderson  <rth@redhat.com>
51519         * scripts/config.guess: Update from config.git.
51520         * scripts/config.sub: Likewise.
51522 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51524         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
51526         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
51528         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
51530         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
51532         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
51534 2013-02-26  Roland McGrath  <roland@hack.frob.com>
51536         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
51537         [$(build-shared = yes].
51539 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51541         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
51542         (__mul): Reduce iterations for calculating mantissa.
51544         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
51545         MPTWO.
51546         (__mpranred): Likewise.
51548         [BZ #15160]
51549         * malloc/memusagestat.c (main): Draw graphs for heap and stack
51550         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
51552 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
51554         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
51555         Define __attribute__.
51557 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51559         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
51560         unused.
51561         * posix/regex_internal.h (__attribute): Remove.
51562         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
51563         (re_string_context_at): Likewise.
51564         (bitset_not): Use __attribute__ and mark function as possibly
51565         unused.
51566         (bitset_merge): Likewise.
51567         (bitset_mask): Likewise.
51568         (re_string_char_size_at): Likewise.
51569         (re_string_wchar_at): Likewise.
51570         (re_string_elem_size_at): Likewise.
51572 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51574         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
51575         code.
51576         (cc32): Likewise.
51578         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
51579         (__acr): Likewise.
51580         (__cpy): Likewise.
51581         (norm): Likewise.
51582         (denorm): Likewise.
51583         (__dbl_mp): Likewise.
51584         (add_magnitudes): Likewise.
51585         (sub_magnitudes): Likewise.
51586         (__mul): Likewise.
51587         (__inv): Likewise.
51589         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
51590         style.
51592         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
51593         style.
51595         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
51596         code.
51598         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
51599         up changes with default code.
51600         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
51601         Likewise.
51603 2013-02-24  Allan McRae  <allan@archlinux.org>
51605         * manual/socket.texi (The Internet Namespace): Order menu items
51606         to match that in the file.
51608         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
51609         node listing of the info page menu.
51611 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
51613         [BZ #13550]
51614         * sysdeps/i386/bp-asm.h: Remove file.
51615         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51616         (PARMS): Do not use macros from bp-asm.h.
51617         (S1): Likewise.
51618         (S2): Likewise.
51619         (SIZE): Likewise.
51620         (__mpn_add_n): Do not use BP_SYM
51621         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
51622         "bp-asm.h".
51623         (PARMS): Do not use macros from bp-asm.h.
51624         (S1): Likewise.
51625         (SIZE): Likewise.
51626         (__mpn_addmul_1): Do not use BP_SYM
51627         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
51628         "bp-asm.h".
51629         (PARMS): Do not use macros from bp-asm.h.
51630         (SIGMSK): Likewise.
51631         (_setjmp): Likewise.  Do not use BP_SYM.
51632         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
51633         "bp-asm.h".
51634         (PARMS): Do not use macros from bp-asm.h.
51635         (SIGMSK): Likewise.
51636         (setjmp): Likewise.  Do not use BP_SYM.
51637         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
51638         "bp-asm.h".
51639         (PARMS): Do not use macros from bp-asm.h.
51640         (__frexp): Do not use BP_SYM.
51641         (frexp): Likewise.
51642         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
51643         "bp-asm.h".
51644         (PARMS): Do not use macros from bp-asm.h.
51645         (__frexpf): Do not use BP_SYM.
51646         (frexpf): Likewise.
51647         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
51648         "bp-asm.h".
51649         (PARMS): Do not use macros from bp-asm.h.
51650         (__frexpl): Do not use BP_SYM.
51651         (frexpl): Likewise.
51652         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
51653         "bp-asm.h".
51654         (PARMS): Do not use macros from bp-asm.h.
51655         (__remquo): Do not use BP_SYM.
51656         (remquo): Likewise.
51657         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
51658         "bp-asm.h".
51659         (PARMS): Do not use macros from bp-asm.h.
51660         (__remquof): Do not use BP_SYM.
51661         (remquof): Likewise.
51662         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
51663         "bp-asm.h".
51664         (PARMS): Do not use macros from bp-asm.h.
51665         (__remquol): Do not use BP_SYM.
51666         (remquol): Likewise.
51667         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
51668         "bp-asm.h".
51669         (PARMS): Do not use macros from bp-asm.h.
51670         (DEST): Likewise.
51671         (SRC): Likewise.
51672         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
51673         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
51674         "bp-asm.h".
51675         (PARMS): Do not use macros from bp-asm.h.
51676         (strlen): Do not use BP_SYM.
51677         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
51678         "bp-asm.h".
51679         (PARMS): Do not use macros from bp-asm.h.
51680         (S1): Likewise.
51681         (S2): Likewise.
51682         (SIZE): Likewise.
51683         (__mpn_add_n): Do not use BP_SYM.
51684         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
51685         "bp-asm.h".
51686         (PARMS): Do not use macros from bp-asm.h.
51687         (S1): Likewise.
51688         (SIZE): Likewise.
51689         (__mpn_addmul_1): Do not use BP_SYM.
51690         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
51691         weak_alias.
51692         (bzero): Likewise.
51693         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
51694         "bp-asm.h".
51695         (PARMS): Do not use macros from bp-asm.h.
51696         (S): Likewise.
51697         (SIZE): Likewise.
51698         (__mpn_lshift): Do not use BP_SYM.
51699         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
51700         "bp-asm.h".
51701         (PARMS): Do not use macros from bp-asm.h.
51702         (DEST): Likewise.
51703         (SRC): Likewise.
51704         (LEN): Likewise.
51705         (memcpy): Likewise.  Do not use BP_SYM.
51706         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
51707         libc_hidden_def and weak_alias.
51708         (mempcpy): Do not use BP_SYM in weak_alias.
51709         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
51710         "bp-asm.h".
51711         (PARMS): Do not use macros from bp-asm.h.
51712         (DEST): Likewise.
51713         (LEN): Likewise.
51714         [!BZERO_P] (CHR): Likewise.
51715         (memset): Likewise.  Do not use BP_SYM.
51716         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
51717         "bp-asm.h".
51718         (PARMS): Do not use macros from bp-asm.h.
51719         (S1): Likewise.
51720         (SIZE): Likewise.
51721         (__mpn_mul_1): Do not use BP_SYM.
51722         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
51723         "bp-asm.h".
51724         (PARMS): Do not use macros from bp-asm.h.
51725         (S): Likewise.
51726         (SIZE): Likewise.
51727         (__mpn_rshift): Do not use BP_SYM.
51728         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
51729         "bp-asm.h".
51730         (PARMS): Do not use macros from bp-asm.h.
51731         (STR): Likewise.
51732         (CHR): Likewise.
51733         (strchr): Likewise.  Do not use BP_SYM.
51734         (index): Do not use BP_SYM in weak_alias.
51735         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
51736         "bp-asm.h".
51737         (PARMS): Do not use macros from bp-asm.h.
51738         (DEST): Likewise.
51739         (SRC): Likewise.
51740         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
51741         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
51742         "bp-asm.h".
51743         (PARMS): Do not use macros from bp-asm.h.
51744         (strlen): Do not use BP_SYM.
51745         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
51746         "bp-asm.h".
51747         (PARMS): Do not use macros from bp-asm.h.
51748         (S1): Likewise.
51749         (S2): Likewise.
51750         (SIZE): Likewise.
51751         (__mpn_sub_n): Do not use BP_SYM.
51752         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
51753         "bp-asm.h".
51754         (PARMS): Do not use macros from bp-asm.h.
51755         (S1): Likewise.
51756         (SIZE): Likewise.
51757         (__mpn_submul_1): Do not use BP_SYM.
51758         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
51759         "bp-asm.h".
51760         (PARMS): Do not use macros from bp-asm.h.
51761         (S1): Likewise.
51762         (S2): Likewise.
51763         (SIZE): Likewise.
51764         (__mpn_add_n): Do not use BP_SYM.
51765         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
51766         weak_alias.
51767         (bzero): Likewise.
51768         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
51769         "bp-asm.h".
51770         (PARMS): Do not use macros from bp-asm.h.
51771         (BLK2): Likewise.
51772         (LEN): Likewise.
51773         (memcmp): Do not use BP_SYM.
51774         (bcmp): Do not use BP_SYM in weak_alias.
51775         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
51776         "bp-asm.h".
51777         (PARMS): Do not use macros from bp-asm.h.
51778         (DEST): Likewise.
51779         (SRC): Likewise.
51780         (LEN): Likewise.
51781         (memcpy): Likewise.  Do not use BP_SYM.
51782         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
51783         "bp-asm.h".
51784         (PARMS): Do not use macros from bp-asm.h.
51785         (DEST): Likewise.
51786         (SRC): Likewise.
51787         (LEN): Likewise.
51788         (memmove): Likewise.  Do not use BP_SYM.
51789         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
51790         "bp-asm.h".
51791         (PARMS): Do not use macros from bp-asm.h.
51792         (DEST): Likewise.
51793         (SRC): Likewise.
51794         (LEN): Likewise.
51795         (__mempcpy): Likewise.  Do not use BP_SYM.
51796         (mempcpy): Do not use BP_SYM in weak_alias.
51797         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
51798         "bp-asm.h".
51799         (PARMS): Do not use macros from bp-asm.h.
51800         (DEST): Likewise.
51801         (LEN): Likewise.
51802         [!BZERO_P] (CHR): Likewise.
51803         (memset): Likewise.  Do not use BP_SYM.
51804         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
51805         "bp-asm.h".
51806         (PARMS): Do not use macros from bp-asm.h.
51807         (STR2): Likewise.
51808         (strcmp): Do not use BP_SYM.
51809         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
51810         "bp-asm.h".
51811         (PARMS): Do not use macros from bp-asm.h.
51812         (STR): Likewise.
51813         (DELIM): Likewise.
51814         [USE_AS_STRTOK_R] (SAVE): Likewise.
51815         (FUNCTION): Likewise.  Do not use BP_SYM.
51816         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
51817         aliases.
51818         (strtok_r): Likewise.
51819         (__GI___strtok_r): Likewise.
51820         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51821         (PARMS): Do not use macros from bp-asm.h.
51822         (S): Likewise.
51823         (SIZE): Likewise.
51824         (__mpn_lshift): Do not use BP_SYM.
51825         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51826         (PARMS): Do not use macros from bp-asm.h.
51827         (STR): Likewise.
51828         (CHR): Likewise.
51829         (__memchr): Do not use BP_SYM.
51830         (memchr): Do not use BP_SYM in weak_alias.
51831         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51832         (PARMS): Do not use macros from bp-asm.h.
51833         (BLK2): Likewise.
51834         (LEN): Likewise.
51835         (memcmp): Do not use BP_SYM.
51836         (bcmp): Do not use BP_SYM in weak_alias.
51837         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
51838         (PARMS): Do not use macros from bp-asm.h.
51839         (S1): Likewise.
51840         (SIZE): Likewise.
51841         (__mpn_mul_1): Do not use BP_SYM.
51842         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
51843         "bp-asm.h".
51844         (PARMS): Do not use macros from bp-asm.h.
51845         (STR): Likewise.
51846         (CHR): Likewise.
51847         (__rawmemchr): Do not use BP_SYM.
51848         (rawmemchr): Do not use BP_SYM in weak_alias.
51849         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51850         (PARMS): Do not use macros from bp-asm.h.
51851         (S): Likewise.
51852         (SIZE): Likewise.
51853         (__mpn_rshift): Do not use BP_SYM.
51854         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51855         (PARMS): Do not use macros from bp-asm.h.
51856         (SIGMSK): Likewise.
51857         (__sigsetjmp): Likewise.  Do not use BP_SYM.
51858         * sysdeps/i386/start.S: Do not include "bp-sym.h".
51859         (_start): Do not use BP_SYM.
51860         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
51861         (PARMS): Do not use macros from bp-asm.h.
51862         (DEST): Likewise.
51863         (SRC): Likewise.
51864         (__stpcpy): Likewise.  Do not use BP_SYM.
51865         (stpcpy): Do not use BP_SYM in weak_alias.
51866         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
51867         "bp-asm.h".
51868         (PARMS): Do not use macros from bp-asm.h.
51869         (DEST): Likewise.
51870         (SRC): Likewise.
51871         (LEN): Likewise.
51872         (__stpncpy): Likewise.  Do not use BP_SYM.
51873         (stpncpy): Do not use BP_SYM in weak_alias.
51874         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51875         (PARMS): Do not use macros from bp-asm.h.
51876         (STR): Likewise.
51877         (CHR): Likewise.
51878         (strchr): Likewise.  Do not use BP_SYM.
51879         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
51880         "bp-asm.h".
51881         (PARMS): Do not use macros from bp-asm.h.
51882         (STR): Likewise.
51883         (CHR): Likewise.
51884         (__strchrnul): Likewise.  Do not use BP_SYM.
51885         (strchrnul): Do not use BP_SYM in weak_alias.
51886         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
51887         "bp-asm.h".
51888         (PARMS): Do not use macros from bp-asm.h.
51889         (STOP): Likewise.
51890         (strcspn): Do not use BP_SYM.
51891         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
51892         "bp-asm.h".
51893         (PARMS): Do not use macros from bp-asm.h.
51894         (STR): Likewise.
51895         (STOP): Likewise.
51896         (strpbrk): Likewise.  Do not use BP_SYM.
51897         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
51898         "bp-asm.h".
51899         (PARMS): Do not use macros from bp-asm.h.
51900         (STR): Likewise.
51901         (CHR): Likewise.
51902         (strrchr): Likewise.  Do not use BP_SYM.
51903         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
51904         (PARMS): Do not use macros from bp-asm.h.
51905         (SKIP): Likewise.
51906         (strspn): Do not use BP_SYM.
51907         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
51908         (PARMS): Do not use macros from bp-asm.h.
51909         (STR): Likewise.
51910         (DELIM): Likewise.
51911         (SAVE): Likewise.
51912         (FUNCTION): Likewise.  Do not use BP_SYM.
51913         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
51914         aliases.
51915         (strtok_r): Likewise.
51916         (__GI___strtok_r): Likewise.
51917         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51918         (PARMS): Do not use macros from bp-asm.h.
51919         (S1): Likewise.
51920         (S2): Likewise.
51921         (SIZE): Likewise.
51922         (__mpn_sub_n): Do not use BP_SYM.
51923         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
51924         "bp-asm.h".
51925         (PARMS): Do not use macros from bp-asm.h.
51926         (S1): Likewise.
51927         (SIZE): Likewise.
51928         (__mpn_submul_1): Do not use BP_SYM.
51929         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
51930         <bp-sym.h>.
51931         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
51932         and <bp-asm.h>.
51933         (PARMS): Do not use macros from bp-asm.h.
51934         (FLAGS): Likewise.
51935         (PTID): Likewise.
51936         (TLS): Likewise.
51937         (CTID): Likewise.
51938         (__clone): Do not use BP_SYM.
51939         (clone): Do not use BP_SYM in weak_alias.
51940         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
51941         and <bp-asm.h>.
51942         (PARMS): Do not use macros from bp-asm.h.
51943         (LEN): Likewise.
51944         (__mmap64): Do not use BP_SYM.
51945         (mmap64): Do not use BP_SYM in weak_alias.
51946         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51947         <bp-sym.h> and <bp-asm.h>.
51948         (PARMS): Do not use macros from bp-asm.h.
51949         (__posix_fadvise64_l64): Do not use BP_SYM.
51950         * sysdeps/unix/sysv/linux/i386/semtimedop.S
51951         (PARMS): Do not use macros from bp-asm.h.
51952         (NSOPS): Likewise.
51953         (semtimedop): Do not use BP_SYM.
51954         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
51955         and <bp-asm.h>.
51957 2013-02-21  Allan McRae  <allan@archlinux.org>
51959         * manual/message.texi (Charset conversion in gettext):
51960         Move @end statement to beginning of line.
51962 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51964         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
51965         static.
51966         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51967         Likewise.
51969         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
51970         (denorm): Likewise.
51971         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
51972         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
51974 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51976         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
51977         tail-call to the resolved function if pltexit isn't needed.
51979 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51981         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
51982         or Y being zero as being unlikely.
51983         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51984         Likewise.
51986 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
51988         * manual/nss.texi (System Databases and Name Service Switch):
51989         Remove frobnicate @pxref.
51991 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51993         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51994         __attribute__ ((unused)) to __attribute__ ((__unused__)).
51996 2013-02-20  Petr Machata  <pmachata@redhat.com>
51998         * elf/elf.h (R_ARM_TARGET1): New macro.
51999         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
52000         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
52001         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
52002         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
52003         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
52004         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
52005         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
52006         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
52007         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
52008         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
52009         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
52010         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
52011         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
52012         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
52013         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
52014         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
52015         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
52016         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
52017         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
52018         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
52019         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
52020         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
52021         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
52022         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
52023         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
52024         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
52025         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
52026         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
52027         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
52028         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
52029         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
52030         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
52031         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
52032         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
52033         (R_ARM_THM_GOT_BREL12): Likewise.
52034         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
52035         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
52036         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
52037         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
52038         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
52039         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
52040         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
52041         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
52042         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
52044 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52046         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52047         __attribute_used__ to __attribute__ ((unused)).
52049 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52051         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
52052         powerpc mpa.c.
52053         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
52054         comment formatting.
52055         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
52057 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
52059         [BZ #13550]
52060         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
52061         Remove macro.
52062         (ENTER): Remove both macro definitions.
52063         (LEAVE): Likewise.
52064         (CHECK_BOUNDS_LOW): Likewise.
52065         (CHECK_BOUNDS_HIGH): Likewise.
52066         (CHECK_BOUNDS_BOTH): Likewise.
52067         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
52068         (RETURN_BOUNDED_POINTER): Likewise.
52069         (RETURN_NULL_BOUNDED_POINTER): Likewise.
52070         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
52071         (POP_ERRNO_LOCATION_RETURN): Likewise.
52072         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
52073         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52074         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
52075         macros.
52076         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52077         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
52078         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
52079         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
52080         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
52081         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
52082         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
52083         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
52084         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
52085         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
52086         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
52087         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
52088         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52089         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
52090         removed macros.
52091         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52092         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
52093         macros.
52094         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52095         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
52096         * sysdeps/i386/i586/memset.S (memset): Likewise.
52097         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
52098         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52099         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
52100         macros.
52101         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52102         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
52103         Change uses of L(2) to L(out).
52104         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
52105         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
52106         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
52107         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52108         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
52109         removed macros.
52110         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52111         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
52112         macros.
52113         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52114         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
52115         (RETURN): Do not use macro LEAVE.
52116         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
52117         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
52118         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
52119         * sysdeps/i386/i686/memset.S (memset): Likewise.
52120         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
52121         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
52122         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52123         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
52124         Likewise.
52125         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52126         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
52127         L(1_2) and L(1_3) into L(1).
52128         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52129         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
52130         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52131         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
52132         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52133         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
52134         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
52135         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52136         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
52137         macros.
52138         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
52139         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52140         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
52141         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
52142         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
52143         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52144         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
52145         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
52146         * sysdeps/i386/strcspn.S (strcspn): Likewise.
52147         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
52148         * sysdeps/i386/strrchr.S (strrchr): Likewise.
52149         * sysdeps/i386/strspn.S (strspn): Likewise.
52150         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
52151         conditional code.
52152         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52153         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
52154         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52155         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
52156         L(1_3) into L(1_1).
52157         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
52158         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52159         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
52160         macros.
52161         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52163 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
52165         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
52166         macro.
52168 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52170         * math/atest-exp.c (exp_mpn): Remove ROUND.
52171         * math/atest-exp2.c (exp_mpn): Likewise.
52172         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
52174         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
52175         * stdlib/tst-tls-atexit-lib.c: Likewise.
52176         * stdlib/tst-tls-atexit.c: Likewise.
52178 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52180         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
52181         and __attribute_alloc_size__.
52183 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52185         * include/programs/xmalloc.h: Change __attribute_alloc_size to
52186         __attribute_alloc_size__.
52187         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
52188         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
52190 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52192         * include/programs/xmalloc.h: New file.
52193         * catgets/gencat.c: Include it.
52194         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
52195         * elf/pldd.c: Likewise.
52196         * iconv/iconv_charmap.c: Likewise.
52197         * iconv/iconvconfig.c: Likewise.
52198         * iconv/strtab.c: Likewise.
52199         * locale/programs/locale.c: Likewise.
52200         * locale/programs/localedef.h: Likewise.
52201         * locale/programs/simple-hash.c: Likewise.
52202         * nscd/nscd.h: Likewise.
52203         * nss/makedb.c: Likewise.
52204         * sysdeps/generic/ldconfig.h: Likewise.
52206 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52208         * Versions.def: Add GLIBC_2.18.
52209         * include/link.h (struct link_map): New member l_tls_dtor_count.
52210         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
52211         (__call_tls_dtors): Likewise.
52212         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
52213         __cxa_thread_atexit_impl.
52214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52215         Likewise.
52216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52217         Likewise.
52218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52219         Likewise.
52220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52221         Likewise.
52222         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52223         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
52224         Likewise.
52225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
52226         Likewise.
52227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52228         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
52229         Likewise.
52230         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
52231         (tests): Add test case tst-tls-atexit.
52232         (modules-names): Add shared library for tst-tls-atexit.
52233         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
52234         (GLIBC_PRIVATE): Add __call_tls_dtors.
52235         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
52236         for libstdc++.
52237         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
52238         * stdlib/tst-tls-atexit.c: New test case.
52239         * stdlib/tst-tls-atexit-lib.c: New test case.
52241         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
52243         * elf/Versions (ld): Add _dl_find_dso_for_object.
52244         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
52245         * elf/dl-open.c (_dl_find_dso_for_object): New function.
52246         (dl_open_worker): Use _dl_find_dso_for_object.
52247         * elf/dl-sym.c (do_sym): Likewise.
52248         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
52250 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52252         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
52253         Syntactic changes only.
52254         (_dl_runtime_profile): Do a tail-call to the resolved function.
52256 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
52258         [BZ #13550]
52259         * sysdeps/x86_64/bp-asm.h: Remove file.
52260         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
52261         <bp-sym.h> and <bp-asm.h>.
52262         (__clone): Do not use BP_SYM.
52263         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
52264         <bp-sym.h> and <bp-asm.h>.
52265         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52266         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
52267         "bp-asm.h".
52268         (_setjmp): Do not use BP_SYM.
52269         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
52270         "bp-asm.h".
52271         (setjmp): Do not use BP_SYM.
52272         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
52273         libc_hidden_def.
52274         (mempcpy): Do not use BP_SYM in weak_alias.
52275         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
52276         "bp-asm.h".
52277         (strchr): Do not use BP_SYM.
52278         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
52279         "bp-asm.h".
52280         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
52281         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
52282         (_start): Do not use BP_SYM.
52283         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
52284         "bp-asm.h".
52285         (strcat): Do not use BP_SYM.
52286         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
52287         "bp-asm.h".
52288         (STRCMP): Do not use BP_SYM.
52289         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
52290         "bp-asm.h".
52291         (STRCPY): Do not use BP_SYM.
52292         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
52293         "bp-asm.h".
52294         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
52295         "bp-asm.h".
52296         (FUNCTION): Do not use BP_SYM.
52297         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
52298         weak_alias.
52299         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
52301 2013-02-17  Andreas Jaeger  <aj@suse.de>
52303         * time/Versions: Sort entries.
52304         * string/Versions: Likewise.
52305         * resolv/Versions: Likewise.
52306         * posix/Versions: Likewise.
52307         * iconv/Versions: Likewise.
52308         * elf/Versions: Likewise.
52309         * wcsmbs/Versions: Likewise.
52311 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52313         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
52314         loop termination condition.
52316         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
52317         variable to calculate EZ.
52318         (__sqr): Likewise.
52320         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
52321         the lower precision input.
52323 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
52325         [BZ #13550]
52326         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
52327         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
52328         (run-via-rtld-prefix): Do not handle %-bp tests.
52329         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
52330         (all-object-suffixes): Remove .ob.
52331         (bppfx): Remove variable.
52332         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
52333         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
52334         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
52335         [$(build-bounded) = yes] (libtype.ob): Likewise.
52336         * Makerules (elide-routines.ob): Remove variable.
52337         (do-tests-clean): Do not handle *-bp.out.
52338         (common-mostlyclean): Do not handle *-bp and *-bp.out.
52339         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
52340         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
52341         (tests): Do not include $(tests-bp.out).
52342         (xtests): Do not include $(xtests-bp.out).
52343         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
52344         [$(build-bounded) = yes] ($(addprefix
52345         $(objpfx),$(binaries-bounded))): Remove rule.
52346         ($(objpfx)%-bp.out): Remove rule.
52347         * config.make.in (build-bounded): Remove variable.
52348         * crypt/Makefile [$(build-bounded) = yes]
52349         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
52350         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
52351         append to variable.
52352         [$(build-bounded) = yes] (install-lib): Likewise.
52353         [$(build-bounded) = yes] (generated): Likewise.
52354         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
52355         Remove rule.
52356         * intl/Makefile [$(build-bounded) = yes]
52357         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
52358         * math/Makefile [$(build-bounded) = yes]
52359         ($(tests:%=$(objpfx)%-bp): Likewise.
52360         * misc/Makefile [$(build-bounded) = yes]
52361         ($(objpfx)tst-tsearch-bp): Likewise.
52362         * nptl/Makeconfig (bounded-thread-library): Remove variable.
52363         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
52364         Remove dependency.
52365         * string/Makefile (o-objects.ob): Remove variable.
52366         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
52367         (CFLAGS-.ob): Remove variable.
52368         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
52369         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
52370         both definitions of variable.
52371         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
52372         (ASFLAGS-.ob): Remove variable.
52374 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
52376         [BZ #13550]
52377         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
52378         Remove __BOUNDED_POINTERS__ from condition.
52379         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
52380         * string/bits/string2.h [!__NO_STRING_INLINES &&
52381         !__BOUNDED_POINTERS__]: Likewise.
52382         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
52383         Likewise.
52384         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
52385         Remove conditional code.
52386         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
52387         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
52388         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
52389         condition.
52391         [BZ #13550]
52392         * csu/libc-start.c: Do not include <bp-sym.h>.
52393         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
52394         * elf/dl-open.c: Do not include <bp-sym.h>.
52395         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
52396         * math/fegetenv.c: Do not include <bp-sym.h>.
52397         (fegetenv): Do not use BP_SYM in versioned symbols.
52398         * nptl/sysdeps/pthread/bits/libc-lockP.h
52399         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
52400         <bp-sym.h>.
52401         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52402         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
52403         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52404         (__pthread_mutex_destroy): Likewise.
52405         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52406         (__pthread_mutex_lock): Likewise.
52407         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52408         (__pthread_mutex_trylock): Likewise.
52409         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52410         (__pthread_mutex_unlock): Likewise.
52411         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52412         (__pthread_mutexattr_init): Likewise.
52413         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52414         (__pthread_mutexattr_destroy): Likewise.
52415         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52416         (__pthread_mutexattr_settype): Likewise.
52417         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52418         (__pthread_rwlock_init): Likewise.
52419         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52420         (__pthread_rwlock_destroy): Likewise.
52421         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52422         (__pthread_rwlock_rdlock): Likewise.
52423         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52424         (__pthread_rwlock_tryrdlock): Likewise.
52425         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52426         (__pthread_rwlock_wrlock): Likewise.
52427         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52428         (__pthread_rwlock_trywrlock): Likewise.
52429         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52430         (__pthread_rwlock_unlock): Likewise.
52431         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52432         (__pthread_key_create): Likewise.
52433         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52434         (__pthread_setspecific): Likewise.
52435         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52436         (__pthread_getspecific): Likewise.
52437         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
52438         Likewise.
52439         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52440         (_pthread_cleanup_push_defer): Likewise.
52441         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52442         (_pthread_cleanup_pop_restore): Likewise.
52443         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52444         (pthread_setcancelstate): Likewise.
52445         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
52446         <bp-sym.h>.
52447         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
52448         (memchr): Do not use BP_SYM in weak_alias.
52449         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
52450         (fegetenv): Do not use BP_SYM in versioned symbols.
52451         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
52452         (fesetenv): Do not use BP_SYM in versioned symbols.
52453         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52454         (feupdateenv): Do not use BP_SYM in versioned symbols.
52455         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52456         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52457         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
52458         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
52459         (open64): Do not use BP_SYM in weak_alias.
52460         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
52461         (fegetenv): Do not use BP_SYM in versioned symbols.
52462         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
52463         (fesetenv): Do not use BP_SYM in versioned symbols.
52464         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52465         (feupdateenv): Do not use BP_SYM in versioned symbols.
52466         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
52467         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
52468         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
52469         (feraiseexcept): Do not use BP_SYM in versioned symbols.
52470         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52471         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52472         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
52473         <bp-sym.h>.
52474         (__libc_start_main): Do not use BP_SYM.
52476 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52478         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
52479         redundant return line.
52480         (norm): Likewise.
52481         (denorm): Likewise.
52482         (dbl_mp): Likewise.
52483         (sub_magnitudes): Likewise.
52484         (__add): Likewise.
52485         (__sub): Likewise.
52486         (__mul): Likewise.
52487         (__inv): Likewise.
52488         (__dvd): Likewise.
52489         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
52490         (norm): Likewise.
52491         (denorm): Likewise.
52492         (dbl_mp): Likewise.
52493         (sub_magnitudes): Likewise.
52494         (__add): Likewise.
52495         (__sub): Likewise.
52496         (__mul): Likewise.
52497         (__inv): Likewise.
52498         (__dvd): Likewise.
52500         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
52501         instead of __mul.
52502         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52503         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
52504         (cc32): Likewise.
52506         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
52507         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
52508         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
52509         of __mul for squares.
52510         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
52511         function
52512         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
52513         Likewise.
52514         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
52515         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52517 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
52519         [BZ #13550]
52520         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
52521         code.
52522         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
52523         prototype or function definition.  Rename ubp_* variables and
52524         parameters.  Remove argv definitions conditional on
52525         [__BOUNDED_POINTERS__].
52526         * debug/backtrace.c (__backtrace): Do not use __unbounded.
52527         * elf/dl-runtime.c (_dl_fixup): Likewise.
52528         * include/set-hooks.h (RUN_HOOK): Likewise.
52529         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
52530         definition.
52531         * string/strcpy.c (strcpy): Do not use __unbounded.
52532         * sysdeps/generic/frame.h (struct layout): Likewise.
52533         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
52534         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
52535         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
52536         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
52537         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
52538         (__backtrace): Likewise.
52539         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
52540         use __ptrvalue.
52541         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
52542         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52543         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
52544         Likewise.
52545         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
52546         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
52547         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52548         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52549         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
52550         Do not use __unbounded.
52551         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
52552         Rename __unboundedrlimits parameter to rlimits in prototype.
52553         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
52554         Do not use __unbounded.
52555         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
52556         not use __ptrvalue.
52557         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52558         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
52559         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52560         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
52561         __ptrvalue or __unbounded.
52562         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
52563         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
52564         use __unbounded.
52565         (__new_msgctl): Do not use __ptrvalue.
52566         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
52567         __unbounded.
52568         (__libc_msgrcv): Do not use __ptrvalue.
52569         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
52570         startup_info): Do not use __unbounded.
52571         (__libc_start_main): Likewise.  Rename ubp_* variables and
52572         parameters.  Remove argv definitions conditional on
52573         [__BOUNDED_POINTERS__].
52574         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
52575         __ptrvalue.
52576         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
52577         use __unbounded.
52578         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
52579         or __ptrvalue.
52580         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
52581         use __unbounded.
52582         (__new_shmctl): Do not use __ptrvalue.
52583         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
52584         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
52585         Likewise.
52586         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
52587         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
52588         (__libc_sigaction): Likewise.
52589         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
52590         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
52591         Likewise.
52592         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52594 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
52596         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
52598         * string/mempcpy.c: Implement by calling memcpy.
52600 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52602         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
52604         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
52605         evaluation.
52607         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
52608         values in the mantissa.
52610         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
52611         minimize writes to Z.
52612         (sub_magnitudes): Simplify code a bit.
52614 2013-02-12  Roland McGrath  <roland@hack.frob.com>
52616         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
52617         from the message.  The linker prefixes all warnings with that already.
52619 2013-02-12  Andreas Schwab  <schwab@suse.de>
52621         [BZ #15078]
52622         * posix/regexec.c (extend_buffers): Add parameter min_len.
52623         (check_matching): Pass minimum needed length.
52624         (clean_state_log_if_needed): Likewise.
52625         (get_subexp): Likewise.
52626         * posix/Makefile (tests): Add bug-regex34.
52627         (bug-regex34-ENV): Define.
52628         * posix/bug-regex34.c: New file.
52630         [BZ #11561]
52631         * posix/regcomp.c (parse_bracket_exp): When looking up collating
52632         elements compare against the byte sequence of it, not its name.
52633         * posix/Makefile (tests): Add bug-regex35.
52634         (bug-regex35-ENV): Define.
52635         * posix/bug-regex35.c: New file.
52637 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52639         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
52640         comment.
52641         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
52642         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
52643         (CHECK_EOL): Add undef.
52645 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
52647         * bits/stdlib-bsearch.h: New file.
52648         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
52649         * stdlib/stdlib.h: Likewise.
52651 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52653         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
52654         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
52655         declaration.
52656         * manual/search.texi (Array Search Function): Add missing const in
52657         lfind prototype.
52658         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
52659         declaration to use rlim_t.
52660         (Basic Scheduling Functions): Remove erroneous const from
52661         sched_getparam prototype.  Remove erroneous * from
52662         sched_get_priority_max and sched_get_priority_min prototypes.
52663         (Resource Usage): Fix summary @comment on vtimes to refer to
52664         sys/vtimes.h rather than vtimes.h.
52665         Add missing *s in vtimes prototype.
52666         (Limits on Resources): Fix ulimit prototype to return long int.
52667         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
52668         prototypes to use long int rather than double.
52669         (BSD Random): Fix initstate and setstate to use char *, not void *.
52670         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
52671         prototype to make second argument 'struct aiocb64 *const[]'.
52672         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
52673         (Status of AIO Operations): Remove erroneous const in aio_return and
52674         aio_return64 prototypes.
52675         (Synchronizing I/O): Fix sync prototype to return void.
52676         * manual/startup.texi (Suboptions): Remove an erroneous const in
52677         getsubopt prototype.
52678         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
52679         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
52680         use size_t rather than int.
52681         (Scanning All Users): Likewise for getpwent_r.
52682         (Setting Groups): Add missing const to setgroups prototype.
52683         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
52684         * manual/socket.texi (Host Names): Fix gethostbyaddr and
52685         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
52686         'const void *' rather than 'const char *'.
52687         (Host Address Functions): Likewise for inet_ntop.
52688         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
52689         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
52690         ssize_t for return value.
52691         (Sending Data): Likewise for send, sendto, sendmsg.
52692         (Socket Option Functions): Add a missing const in setsockopt prototype.
52693         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
52694         use wchar_t for the argument.
52695         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
52696         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
52697         take no arguments.
52698         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
52699         double/float/long double for second argument.
52700         Fix return types of significand, significandf, significandl.
52701         * manual/filesys.texi (Setting Permissions): Use mode_t for second
52702         argument in fchmod prototype.
52703         (File Owner): Use uid_t and gid_t in fchown prototype.
52704         (File Times): Add const to utimes, futimes, and lutimes prototypes.
52705         (Making Special Files): Use mode_t and dev_t in mknod prototype.
52706         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
52707         use 'const struct dirent **' as argument types to CMP function pointer
52708         argument.
52709         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
52710         (File Times): Fix summary magic @comment for struct utimbuf and utime
52711         to refer to utime.h, not time.h.
52712         * manual/string.texi (Argz Functions): Add missing const in
52713         argz_extract and argz_next prototypes.
52714         (Finding Tokens in a String): Likewise for basename.
52715         (String/Array Comparison): Fix typo in wcscasecmp prototype.
52716         (Copying and Concatenation): Fix typo in wmemmove prototype.
52717         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
52718         (Signal Stack): Remove erroneous const in sigstack prototype.
52719         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
52720         prototype.
52721         (Simple Calendar Time): Likewise for stime.
52722         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
52723         prototype.
52724         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
52725         say sys/sysctl.h instead.
52726         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
52727         and vsyslog prototypes.
52729 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52731         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
52732         Remove.
52734 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52736         * misc/sys/mman.h: Fix typo in mremap comment.
52738 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52740         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
52741         the '\0' terminator.
52743 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52745         [BZ #13550]
52746         * debug/segfault.c: Don't include <bp-checks.h>.
52747         * sysdeps/generic/bp-checks.h: Remove file.
52748         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
52749         (__GETDENTS): Don't use CHECK_N.
52750         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
52751         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
52752         (__getgroups): Don't use CHECK_N.
52753         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
52754         (setgroups): Don't use CHECK_N.
52755         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
52756         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
52757         (__libc_msgrcv): Don't use CHECK_N.
52758         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
52759         (__libc_msgsnd): Don't use CHECK_N.
52760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
52761         <bp-checks.h>.
52762         (__libc_pread): Don't use CHECK_N.
52763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
52764         include <bp-checks.h>.
52765         (__libc_pread64): Don't use CHECK_N.
52766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
52767         include <bp-checks.h>.
52768         (__libc_pwrite): Don't use CHECK_N.
52769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
52770         include <bp-checks.h>.
52771         (__libc_pwrite64): Don't use CHECK_N.
52772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
52773         <bp-checks.h>.
52774         (__libc_pread): Don't use CHECK_N.
52775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
52776         include <bp-checks.h>.
52777         (__libc_pread64): Don't use CHECK_N.
52778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
52779         include <bp-checks.h>.
52780         (__libc_pwrite): Don't use CHECK_N.
52781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
52782         include <bp-checks.h>.
52783         (__libc_pwrite64): Don't use CHECK_N.
52784         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
52785         (do_pread): Don't use CHECK_N.
52786         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
52787         (do_pread64): Don't use CHECK_N.
52788         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
52789         (do_pwrite): Don't use CHECK_N.
52790         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
52791         (do_pwrite64): Don't use CHECK_N.
52792         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
52793         (__libc_readv): Don't use CHECK_N.
52794         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
52795         (semop): Don't use CHECK_N.
52796         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
52797         <bp-checks.h>.
52798         (semtimedop): Don't use CHECK_N.
52799         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
52800         (__libc_pread): Don't use CHECK_N.
52801         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
52802         <bp-checks.h>.
52803         (__libc_pread64): Don't use CHECK_N.
52804         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
52805         <bp-checks.h>.
52806         (__libc_pwrite): Don't use CHECK_N.
52807         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
52808         <bp-checks.h>.
52809         (__libc_pwrite64): Don't use CHECK_N.
52810         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
52811         <bp-checks.h>.
52812         (__libc_msgrcv): Don't use CHECK_N.
52813         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
52814         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
52815         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
52816         (__libc_writev): Don't use CHECK_N.
52818 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52820         * string/strcpy.c: Removed unused variable.
52822         * Makeconfig (+sysdep-includes): Define with := rather than =.
52823         Use an existing include/ subdir of each sysdeps dir before it.
52825 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52827         * nscd/connection.c (register_traced_file): Comment function.
52828         [HAVE_INOTIFY] (union __inev): Define.
52829         [HAVE_INOTIFY] (inotify_check_files): New function.
52830         [HAVE_INOTIFY] (clear_db_cache): Likewise.
52831         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
52832         clear_db_cache.
52833         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
52835 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52837         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
52838         loaded if not already and that a failure is permanent.
52840 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52842         [BZ #15006]
52843         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
52844         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
52846 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52848         [BZ #13550]
52849         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
52850         (CHECK_1_NULL_OK): Likewise.
52851         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
52852         (__fxstat): Do not use CHECK_1.
52853         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
52854         <bp-checks.h>.
52855         (___fxstat64): Do not use CHECK_1.
52856         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
52857         <bp-checks.h>.
52858         (__fxstatat): Do not use CHECK_1.
52859         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
52860         <bp-checks.h>.
52861         (__fxstatat64): Do not use CHECK_1.
52862         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
52863         <bp-checks.h>.
52864         (__fxstat): Do not use CHECK_1.
52865         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
52866         <bp-checks.h>.
52867         (__fxstatat): Do not use CHECK_1.
52868         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52869         <bp-checks.h>.
52870         (__getresgid): Do not use CHECK_1.
52871         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
52872         <bp-checks.h>.
52873         (__getresuid): Do not use CHECK_1.
52874         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
52875         <bp-checks.h>.
52876         (__lxstat): Do not use CHECK_1.
52877         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
52878         <bp-checks.h>.
52879         (__old_msgctl): Do not use CHECK_1.
52880         (__new_msgctl): Likewise.
52881         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
52882         <bp-checks.h>.
52883         (__new_setrlimit): Do not use CHECK_1.
52884         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
52885         <bp-checks.h>.
52886         (__old_shmctl): Do not use CHECK_1.
52887         (__new_shmctl): Likewise.
52888         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
52889         <bp-checks.h>.
52890         (__xstat): Do not use CHECK_1.
52891         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
52892         (__lxstat): Do not use CHECK_1.
52893         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
52894         <bp-checks.h>.
52895         (___lxstat64): Do not use CHECK_1.
52896         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
52897         (__old_msgctl): Do not use CHECK_1.
52898         (__new_msgctl): Likewise.
52899         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
52900         <bp-checks.h>.
52901         (__gettimeofday): Do not use CHECK_1.
52902         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
52903         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
52904         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
52905         <bp-checks.h>.
52906         (__gettimeofday): Do not use CHECK_1.
52907         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
52908         (__old_shmctl): Do not use CHECK_1_NULL_OK.
52909         (__new_shmctl): Do not use CHECK_1.
52910         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
52911         <bp-checks.h>.
52912         (do_sigtimedwait): Do not use CHECK_1.
52913         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
52914         <bp-checks.h>.
52915         (do_sigwaitinfo): Do not use CHECK_1.
52916         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
52917         <bp-checks.h>.
52918         (msgctl): Do not use CHECK_1.
52919         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
52920         <bp-checks.h>.
52921         (shmctl): Do not use CHECK_1.
52922         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
52923         (ustat): Do not use CHECK_1.
52924         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
52925         <bp-checks.h>.
52926         (__fxstat): Do not use CHECK_1.
52927         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
52928         <bp-checks.h>.
52929         (__fxstatat): Do not use CHECK_1.
52930         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
52931         <bp-checks.h>.
52932         (__lxstat): Do not use CHECK_1.
52933         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
52934         <bp-checks.h>.
52935         (__xstat): Do not use CHECK_1.
52936         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
52937         (__xstat): Do not use CHECK_1.
52938         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
52939         (___xstat64): Do not use CHECK_1.
52941         [BZ #13550]
52942         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
52943         definitions.
52944         (CHECK_BOUNDS_HIGH): Likewise.
52945         * string/strcpy.c: Do not include <bp-checks.h>.
52946         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
52948 2013-02-07  Roland McGrath  <roland@hack.frob.com>
52950         * nscd/nscd-client.h (__nscd_drop_map_ref):
52951         Add __attribute__ ((unused)).
52952         * nis/nss-nisplus.h (niserr2nss): Likewise.
52954         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
52955         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
52957         * csu/libc-tls.c (init_static_tls, init_slotinfo):
52958         Remove inline keyword.
52959         * include/rounding-mode.h (round_away): Likewise.
52960         * libio/wfileops.c (adjust_wide_data): Likewise.
52961         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
52962         (__m128i_strloadu_tolower): Likewise.
52963         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
52964         (__m128i_strloadu_tolower): Likewise.
52965         * time/mktime.c (ydhms_diff): Likewise.
52966         * locale/elem-hash.h (elem_hash): Likewise.
52967         * locale/setlocale.c (setdata): Likewise.
52968         * posix/regex_internal.h (re_string_char_size_at): Likewise.
52969         (re_string_wchar_at): Likewise.
52970         (bitset_not, bitset_merge, bitset_mask): Likewise.
52971         [!(__GNUC__ > 3)] (inline): Remove macro.
52972         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
52973         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
52974         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
52975         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
52976         * string/memcmp.c (memcmp_bytes): Likewise.
52977         * locale/programs/locarchive.c (compute_hashval): Likewise.
52978         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
52979         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
52980         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
52981         * nss/getent.c (print_rpc, print_protocols): Likewise.
52982         (print_passwd, print_group, print_aliases): Likewise.
52983         * nis/nss-nisplus.h (niserr2nss): Likewise.
52984         * nscd/connections.c (restart_p): Likewise.
52985         Change return type to bool.
52987 2013-02-05  Roland McGrath  <roland@hack.frob.com>
52989         * Makeconfig (all-Depend-files): Add existing
52990         $(sorted-subdirs:=/Depend) files.
52991         (all-subdirs): Remove nss.
52992         * sysdeps/unix/inet/Subdirs: Add it here instead.
52993         * hesiod/Depend: New file.
52995         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
52996         instead of calling alloca.
52998         * io/lseek.c (__lseek): Rename to __libc_lseek.
52999         Define __lseek as an alias.
53001         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
53003 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
53005         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
53006         else clause and remove check for non-standard endianness.
53008 2013-02-04  David S. Miller  <davem@davemloft.net>
53010         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53012 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
53014         [BZ #13550]
53015         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
53016         (__ubp_memchr): Remove prototype.
53017         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
53018         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53019         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
53020         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53021         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
53022         Remove alias.
53023         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
53024         (__ubp_memchr): Likewise.
53025         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
53026         (__ubp_memchr): Likewise.
53027         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
53028         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
53029         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
53030         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
53031         CHECK_STRING.
53032         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
53033         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
53034         (__getcwd): Do not use CHECK_STRING.
53035         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
53036         <bp-checks.h>.
53037         (__real_chown): Do not use CHECK_STRING.
53038         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
53039         <bp-checks.h>.
53040         (fchownat): Do not use CHECK_STRING.
53041         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
53042         CHECK_STRING.
53043         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
53044         <bp-checks.h>.
53045         (__lchown): Do not use CHECK_STRING.
53046         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53047         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53048         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53049         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
53050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
53051         include <bp-checks.h>.
53052         (truncate64): Do not use CHECK_STRING.
53053         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53054         <bp-checks.h>.
53055         (__real_chown): Do not use CHECK_STRING.
53056         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53057         <bp-checks.h>.
53058         (__lchown): Do not use CHECK_STRING.
53059         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53060         <bp-checks.h>.
53061         (__chown): Do not use CHECK_STRING.
53062         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
53063         <bp-checks.h>.
53064         (truncate64): Do not use CHECK_STRING.
53065         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
53066         Likewise.
53067         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
53068         (__xmknod): Do not use CHECK_STRING.
53069         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
53070         <bp-checks.h>.
53071         (__xmknodat): Do not use CHECK_STRING.
53072         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53073         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
53075 2013-02-04  Andreas Schwab  <schwab@suse.de>
53077         [BZ #14142]
53078         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
53079         * include/netdb.h: Likewise for h_errno.
53080         * elf/tst-stackguard1.c: Include <tls.h>.
53082 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
53084         * elf/link.h (struct link_map): Extend the l_addr comment.
53085         * include/link.h (struct link_map): Likewise.
53087 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
53089         [BZ #13550]
53090         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
53091         (BOUNDED_1): Remove macro.
53092         * debug/backtrace.c: Don't include <bp-checks.h>.
53093         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
53094         (__backtrace): Likewise.
53095         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
53096         <bp-checks.h>.
53097         (__backtrace): Don't use BOUNDED_1.
53098         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
53099         <bp-checks.h>.
53100         (__backtrace): Don't use BOUNDED_1.
53101         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
53102         (__backtrace): Don't use BOUNDED_1.
53103         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
53104         (shmat): Don't use BOUNDED_N.
53106 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
53108         [BZ #13550]
53109         * sysdeps/generic/bp-start.h: Remove file.
53110         * csu/libc-start.c: Don't include <bp-start.h>.
53111         (LIBC_START_MAIN): Set up __environ directly instead of using
53112         INIT_ARGV_and_ENVIRON.
53113         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
53114         <bp-start.h>.
53116         [BZ #13550]
53117         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
53118         definitions.
53119         (CHECK_FCNTL): Likewise.
53120         (CHECK_N_PAGES): Likewise.
53122         [BZ #13550]
53123         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
53124         definitions.
53125         (CHECK_SIGSET_NULL_OK): Likewise.
53126         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
53127         <bp-checks.h>.
53128         (sigpending): Don't use CHECK_SIGSET.
53129         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
53130         <bp-checks.h>.
53131         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53132         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
53133         <bp-checks.h>.
53134         (do_sigsuspend): Don't use CHECK_SIGSET.
53135         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
53136         use CHECK_SIGSET.
53137         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
53138         (do_sigwait): Don't use CHECK_SIGSET.
53139         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
53140         use CHECK_SIGSET.
53141         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
53142         include <bp-checks.h>.
53143         (sigpending): Don't use CHECK_SIGSET.
53144         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
53145         include <bp-checks.h>.
53146         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53147         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
53148         <bp-checks.h>.
53149         (sigpending): Don't use CHECK_SIGSET.
53150         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
53151         <bp-checks.h>.
53152         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53154         [BZ #13550]
53155         * sysdeps/generic/bp-semctl.h: Remove file.
53156         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
53157         <bp-checks.h> and <bp-semctl.h>.
53158         (__old_semctl): Don't use CHECK_SEMCTL.
53159         (__new_semctl): Likewise.
53160         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
53161         and <bp-semctl.h>.
53162         (__old_semctl): Don't use CHECK_SEMCTL.
53163         (__new_semctl): Likewise.
53164         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
53165         <bp-checks.h> and <bp-semctl.h>.
53166         (__old_semctl): Don't use CHECK_SEMCTL.
53167         (__new_semctl): Likewise.
53168         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
53169         <bp-checks.h> and <bp-semctl.h>.
53170         (semctl): Don't use CHECK_SEMCTL.
53172         [BZ #13550]
53173         * Makerules (elide-bp-thunks): Remove variable.
53174         (elide-routines.oS): Don't use $(elide-bp-thunks).
53175         (elide-routines.os): Likewise.
53176         (elide-routines.o): Likewise.
53177         (elide-routines.op): Likewise.
53178         (elide-routines.og): Likewise.
53179         (objects): Don't use $(bp-thunks).
53180         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
53181         include.
53182         (common-generated): Do not add s-proto-bp.d.
53183         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
53184         (int): Likewise.
53185         (typ): Likewise.
53186         Do not generate makefile rules for bounded-pointer thunks.
53187         * sysdeps/generic/bp-thunks.h: Remove file.
53188         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
53189         * sysdeps/unix/s-proto-bp.S: Likewise.
53191         [BZ #15062]
53192         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
53193         parts of result separately when argument is not close to line from
53194         -i to i and one part of argument is small.
53195         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53196         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53197         * math/libm-test.inc (cacos_test): Add more tests.
53198         (casin_test): Likewise.
53199         (casinh_test): Likewise.
53200         * sysdeps/i386/fpu/libm-test-ulps: Update.
53201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53203 2013-01-31  David S. Miller  <davem@davemloft.net>
53205         * po/de.po: Update from translation team.
53207 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
53209         * time/tzfile.c: Include stdint.h for SIZE_MAX.
53211 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
53213         * configure.in (_AC_PROG_CC_C89): New definition.
53214         * configure: Regenerate.
53216         * configure.in (AC_PROG_CPP): New definition.
53217         * configure: Regenerate.
53219 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53221         * debug/tst-backtrace.h: New file.
53222         * debug/tst-backtrace2.c: Include tst-backtrace.h.
53223         (ret): Remove variable.
53224         (x): Likewise.
53225         (FAIL): Remove macro.
53226         (NO_INLINE): Likewise.
53227         (fn1): Use match function instead of strstr.
53228         * debug/tst-backtrace3.c: Include tst-backtrace.h.
53229         (ret): Remove variable.
53230         (x): Likewise.
53231         (FAIL): Remove macro.
53232         (NO_INLINE): Likewise.
53233         (fn): Use match function instead of strstr.
53234         * debug/tst-backtrace4.c: Include tst-backtrace.h.
53235         (ret): Remove variable.
53236         (x): Likewise.
53237         (FAIL): Remove macro.
53238         (NO_INLINE): Likewise.
53239         (handle_signal): Use match function instead of strstr.
53240         * debug/tst-backtrace5.c: Include tst-backtrace.h.
53241         (ret): Remove variable.
53242         (x): Likewise.
53243         (FAIL): Remove macro.
53244         (NO_INLINE): Likewise.
53245         (handle_signal): Use match function instead of strstr.
53247 2013-01-23  Roland McGrath  <roland@hack.frob.com>
53249         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
53251 2013-01-23  David S. Miller  <davem@davemloft.net>
53253         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
53254         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
53255         argument of CAS if possible.
53256         * sysdeps/sparc/sparc64/bits/atomic.h
53257         (__arch_compare_and_exchange_val_32_acq): Likewise.
53258         (__arch_compare_and_exchange_val_64_acq): Likewise.
53260 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
53262         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
53263         * sysdeps/posix/ulimit.c: ... this.
53264         Include <limits.h>.
53265         * sysdeps/unix/bsd/ulimit.c: Remove file.
53267 2013-01-23  Adam Conrad  <adconrad@0c3.net>
53269         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
53270         (LDFLAGS-tst-array5): Likewise.
53272 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53274         [BZ #15036]
53275         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
53276         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
53277         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
53278         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
53280 2013-01-21  David S. Miller  <davem@davemloft.net>
53282         * sysdeps/sparc/backtrace.c: New file.
53283         * sysdeps/sparc/sparc32/backtrace.h: New file.
53284         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
53285         * sysdeps/sparc/sparc64/backtrace.h: New file.
53286         * sysdeps/sparc/sparc64/backtrace.c: Delete.
53287         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
53288         -funwind-tables.
53290 2013-01-21  Andreas Schwab  <schwab@suse.de>
53292         [BZ #15020]
53293         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
53294         closed its stdout.
53296 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
53298         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
53299         "mpa2.h".
53300         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53302 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
53303             Mark Mitchell  <mark@codesourcery.com>
53304             Tom de Vries  <tom@codesourcery.com>
53305             Paul Pluzhnikov  <ppluzhnikov@google.com>
53307         * debug/tst-backtrace2.c: New file.
53308         * debug/tst-backtrace3.c: Likewise.
53309         * debug/tst-backtrace4.c: Likewise.
53310         * debug/tst-backtrace5.c: Likewise.
53311         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
53312         (CFLAGS-tst-backtrace3.c): Likewise.
53313         (CFLAGS-tst-backtrace4.c): Likewise.
53314         (CFLAGS-tst-backtrace5.c): Likewise.
53315         (LDFLAGS-tst-backtrace2): Likewise.
53316         (LDFLAGS-tst-backtrace3): Likewise.
53317         (LDFLAGS-tst-backtrace4): Likewise.
53318         (LDFLAGS-tst-backtrace5): Likewise.
53319         (tests): Add new tests tst-backtrace2, tst-backtrace3,
53320         tst-backtrace4 and tst-backtrace5.
53322 2013-01-18  Anton Blanchard  <anton@samba.org>
53323             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53325         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
53326         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
53327         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
53328         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
53329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53330         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
53331         "+r" and remove output regs list as redundant.  Add explicit inline
53332         asm to specify register of return val to work around compiler codegen
53333         bug.  Remove (int) cast on return value.  Add return type parameter to
53334         use in macro so that this macro does not truncate return value for
53335         64-bit values.
53336         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
53337         pass to INTERNAL_VSYSCALL_NCS.
53338         (INLINE_VSYSCALL): Add 'long int' as return type to
53339         INTERNAL_VSYSCALL_NCS macro invocation.
53340         (INTERNAL_VSYSCALL): Add 'long int' as return type to
53341         INTERNAL_VSYSCALL_NCS macro invocation.
53342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53344 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53346         [BZ #14496]
53347         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
53348         Fix application of SIMD FP exception mask.
53350         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
53351         mp_no from a power of two.
53352         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
53353         __mpexp_twomm1.  Use __pow_mp.
53355         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
53356         multiplication.
53358 2013-01-17  David S. Miller  <davem@davemloft.net>
53360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53362 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
53364         [BZ #15023]
53365         * include/complex.h: Condition contents on [!_COMPLEX_H].
53366         (__kernel_casinhf): New prototype.
53367         (__kernel_casinh): Likewise.
53368         (__kernel_casinhl): Likewise.
53369         * math/Makefile (libm_calls): Add k_casinh.
53370         * math/k_casinh.c: New file.
53371         * math/k_casinhf.c: Likewise.
53372         * math/k_casinhl.c: Likewise.
53373         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
53374         finite nonzero arguments.
53375         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
53376         finite nonzero arguments.
53377         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
53378         finite nonzero arguments.
53379         * math/s_casinh.c: Do not include <float.h>.
53380         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
53381         * math/s_casinhf.c: Do not include <float.h>.
53382         (__casinhf): Move code for finite nonzero arguments to
53383         k_casinhf.c.
53384         * math/s_casinhl.c: Do not include <float.h>.
53385         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
53386         redefine.
53387         (__casinhl): Move code for finite nonzero arguments to
53388         k_casinhl.c.
53389         * math/libm-test.inc (cacos_test): Add more tests.
53390         * sysdeps/i386/fpu/libm-test-ulps: Update.
53391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53393 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
53395         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
53396         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
53397         [!HAVE_MREMAP]: Remove [defined linux] case.
53398         * malloc/arena.c: Do not include <malloc-sysdep.h>.
53400 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53402         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
53404 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
53406         * elf/elf.h (R_386_SIZE32): New relocation.
53407         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
53408         R_386_SIZE32.
53409         (elf_machine_rela): Likewise.
53410         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
53411         R_X86_64_SIZE64 and R_X86_64_SIZE32.
53413 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
53415         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
53416         (FP_FAST_FMA): Do not define.
53417         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
53418         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
53419         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
53420         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
53421         !_SOFT_FLOAT]: Likewise.
53422         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
53423         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
53424         value.
53425         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
53426         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
53427         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
53428         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
53429         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
53430         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
53431         file.
53433 2013-01-16  Andreas Schwab  <schwab@suse.de>
53435         [BZ #14327]
53436         * include/stdlib.h (__mktemp): Add declaration.
53437         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
53438         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
53440 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53442         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
53443         definitions.
53444         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53445         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
53446         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
53447         definitions here.
53448         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
53449         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
53450         definitions.
53451         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
53452         and ONE.
53453         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
53454         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
53455         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
53456         definitions.
53457         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
53458         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
53459         definitions.
53460         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53462         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
53464 2013-01-15  David S. Miller  <davem@davemloft.net>
53466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53467         trunc{,f} to libm-sysdep_routes.
53468         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
53470         file.
53471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
53472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
53473         file.
53474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
53475         file.
53476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
53477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
53478         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
53479         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
53480         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
53481         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
53482         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
53483         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
53485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53486         nearbyint{,f} to libm-sysdep_routes.
53487         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
53489         New file.
53490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
53491         file.
53492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
53493         New file.
53494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
53495         file.
53496         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
53497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
53498         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
53499         file.
53500         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
53501         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
53502         file.
53503         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
53504         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
53505         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
53507         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53508         libc_feholdexcept and libc_fesetenv.
53510 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
53512         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
53514 2013-01-14  David S. Miller  <davem@davemloft.net>
53516         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
53517         (SPARC_ASM_VIS2_IFUNC): Likewise.
53518         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
53519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
53520         use of 'siam' instruction.
53521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
53522         Likewise.
53523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
53524         Likewise.
53525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
53526         Likewise.
53527         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
53528         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
53529         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
53530         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
53531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
53532         file.
53533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
53534         file.
53535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
53536         file.
53537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
53538         file.
53539         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
53540         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
53541         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
53542         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
53543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
53544         new VIS2 routines.
53545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53548         Likewise.
53549         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53550         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53551         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53552         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
53554         routines to libm-sysdep_routines.
53555         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53558         fdim/fdimf to libm-sysdep_routines.
53559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
53560         file.
53561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
53562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
53563         file.
53564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
53565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
53566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
53567         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
53568         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
53569         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
53570         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
53572 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53574         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
53575         to optimize copies.
53577         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
53578         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53579         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53581         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
53582         local variable MPTWO.
53583         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53584         Likewise.
53586 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53588         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
53589         GLOB_NOESCAPE.
53591 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53593         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
53595 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53597         * manual/pattern.texi (glob_t): Document gl_flags.
53598         (glob64_t): Likewise.
53600 2013-01-11  David S. Miller  <davem@davemloft.net>
53602         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
53603         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
53604         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
53605         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
53606         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
53607         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
53608         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
53609         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
53610         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
53611         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
53612         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
53613         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
53614         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
53616         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53617         sparc V9 rather than using V8 code.
53618         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53619         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53621         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53622         Move to...
53623         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
53624         Here.
53626 2013-01-11  Roland McGrath  <roland@hack.frob.com>
53628         [BZ #14941]
53629         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
53630         not in the main loop.
53631         * configure: Regenerated.
53633 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
53635         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
53636         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
53637         to just #else.
53638         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
53639         [!__GLIBC_HAVE_LONG_LONG] case.
53640         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
53641         condition to just #else.
53642         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
53643         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
53644         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
53645         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
53646         unconditional.
53647         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
53648         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53649         #elif condition to just #else.
53650         * sysdeps/unix/sysv/linux/sys/sysmacros.h
53651         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
53652         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53653         #elif condition to just #else.
53655 2013-01-11  Steve Ellcey  <sellcey@mips.com>
53657         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
53658         (EF_MIPS_ARCH_64): Fix value.
53659         (EF_MIPS_ARCH_32R2): New.
53660         (EF_MIPS_ARCH_64R2): New.
53662 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
53664         * Makeconfig (+link-pie-before-libc): New.
53665         (+link-pie-after-libc): Likewise.
53666         (+link-pie-tests): Likewise.
53667         (+link-pie): Rewritten.
53668         (link-before-libc): Remove $(config-LDFLAGS).
53669         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
53670         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
53671         (config-LDFLAGS): Renamed to ...
53672         (rtld-LDFLAGS): This.
53673         (rtld-tests-LDFLAGS): New macro.
53674         (link-libc-rpath-link): Likewise.
53675         (link-libc-tests-rpath-link): Likewise.
53676         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
53677         (link-libc): Prepand $(link-libc-rpath-link).
53678         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
53679         (test-program-prefix): New macro.
53680         (test-via-rtld-prefix): Likewise.
53681         (test-program-cmd): Likewise.
53682         (host-test-program-cmd): Likewise.
53683         * Makefile ($(common-objpfx)testrun.sh): Replace
53684         $(run-program-prefix) with $(test-program-prefix).
53685         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
53686         $(rtld-LDFLAGS).
53687         ($(common-objpfx)shlib.lds): Likewise.
53688         (build-module-helper): Likewise.
53689         ($(common-objpfx)format.lds): Likewise.
53690         * Rules (binaries-pie-tests): New.
53691         (binaries-pie-notests): Likewise.
53692         (binaries-pie): Rewritten.
53693         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
53694         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
53695         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
53696         (make-test-out): Replace $(host-built-program-cmd) with
53697         $(host-test-program-cmd).
53698         * config.make.in (build-hardcoded-path-in-tests): New variable.
53699         * configure.in (--enable-hardcoded-path-in-tests): New configure
53700         option.
53701         (hardcoded_path_in_tests): New AC_SUBST.
53702         * configure: Regenerated.
53703         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
53704         $(built-program-cmd) with $(test-program-cmd).
53705         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
53706         (test_program_cmd): This.
53707         * elf/Makefile ($(objpfx)order.out): Run test with
53708         $(test-program-prefix).
53709         ($(objpfx)order2.out): Likewise.
53710         ($(objpfx)tst-initorder.out): Likewise.
53711         ($(objpfx)tst-initorder2.out): Likewise.
53712         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
53713         $(test-program-cmd).
53714         ($(objpfx)tst-array1-static.out): Likewise.
53715         ($(objpfx)tst-array2.out): Likewise.
53716         ($(objpfx)tst-array3.out): Likewise.
53717         ($(objpfx)tst-array4.out): Likewise.
53718         ($(objpfx)tst-array5.out): Likewise.
53719         ($(objpfx)tst-array5-static.out): Likewise.
53720         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
53721         $(test-program-cmd).
53722         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
53723         $(run-program-prefix) with $(test-program-prefix).
53724         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
53725         (test_program_prefix): This.
53726         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
53727         $(run-program-prefix) with $(test-program-prefix).
53728         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
53729         (test_program_prefix): This.
53730         * iconvdata/tst-tables.sh: Likewise.
53731         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
53732         $(run-program-prefix) with $(test-program-prefix).
53733         ($(objpfx)tst-translit.out): Likewise.
53734         ($(objpfx)tst-gettext2.out): Likewise.
53735         ($(objpfx)tst-gettext4.out): Likewise.
53736         ($(objpfx)tst-gettext6.out): Likewise.
53737         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
53738         (test_program_prefix): This.
53739         * intl/tst-gettext2.sh: Likewise.
53740         * intl/tst-gettext4.sh  Likewise.
53741         * intl/tst-gettext6.sh: Likewise.
53742         * intl/tst-translit.sh: Likewise.
53743         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
53744         with $(test-program-cmd).
53745         * libio/Makefile ($(objpfx)test-freopen.out): Replace
53746         $(run-program-prefix) with $(test-program-prefix).
53747         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
53748         (test_program_prefix): This.
53749         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
53750         $(run-program-prefix) with $(test-program-prefix).
53751         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
53752         (test_program_prefix): This.
53753         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
53754         * posix/Makefile ($(objpfx)globtest.out): Replace
53755         $(run-via-rtld-prefix) and $(test-wrapper) with
53756         $(test-program-prefix) and $(test-via-rtld-prefix).
53757         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
53758         $(test-program-prefix).
53759         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
53760         $(host-test-program-cmd).
53761         (tst-spawn-ARGS): Likewise.
53762         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
53763         $(test-program-prefix).
53764         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
53765         (test_via_rtld_prefix): This.
53766         (test_wrapper): Renamed to ...
53767         (test_program_prefix): This.
53768         (run_program_prefix): Replaced by test_program_prefix.
53769         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
53770         (test_program_prefix): This.
53771         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
53772         with $(host-test-program-cmd).
53773         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
53774         $(run-program-prefix) with $(test-program-prefix).
53775         ($(objpfx)tst-printf.out): Likewise.
53776         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
53777         $(test-program-cmd).
53778         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
53779         (test_program_prefix): This.
53780         * stdio-common/tst-unbputc.sh: Likewise.
53781         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
53782         $(run-program-prefix) with $(test-program-prefix).
53783         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
53784         (test_program_prefix): This.
53785         * string/Makefile ($(objpfx)tst-svc.out):  Replace
53786         $(built-program-cmd) with $(test-program-cmd).
53788 2013-01-11  Andreas Jaeger  <aj@suse.de>
53790         [BZ #15003]
53791         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
53792         value. Sync with Linux 3.7.
53794 2013-01-10  David S. Miller  <davem@davemloft.net>
53796         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
53797         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53798         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53800 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53802         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
53803         never set.
53804         * configure: Regenerated.
53806 2013-01-10  David S. Miller  <davem@davemloft.net>
53808         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53809         sparc V9 rather than using V8 code.
53810         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53811         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53813 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53815         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
53816         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
53817         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
53818         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
53819         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
53820         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
53821         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
53822         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
53823         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
53824         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
53825         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
53826         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
53827         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
53828         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
53829         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
53830         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
53831         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
53832         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
53833         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
53834         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
53835         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
53836         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
53837         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
53838         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
53839         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
53840         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
53841         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
53843 2013-01-10  David S. Miller  <davem@davemloft.net>
53845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53847 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53849         * posix/Makefile (tests-static): New variable.
53850         (tests): Add $(tests-static).
53851         (tst-exec-static-ARGS): New variable.
53852         (tst-spawn-static-ARGS): Likewise.
53853         * posix/tst-exec-static.c: New file.
53854         * posix/tst-spawn-static.c: Likewise.
53855         * posix/tst-exec.c: Support run directly.
53856         * posix/tst-spawn.c: Likewise.
53858 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
53860         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
53861         long.
53862         * math/bits/mathcalls.h (llrint): Likewise.
53863         (llround): Likewise.
53864         * stdlib/stdlib.h (struct drand48_data): Likewise.
53865         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
53866         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
53867         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
53868         Likewise.
53869         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
53870         Likewise.
53871         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
53872         (elf_greg_t): Likewise.
53873         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
53874         (__jmp_buf): Likewise.
53875         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
53876         definitions.
53877         (llrint): Likewise, for all definitions.
53878         (llrintl): Likewise.
53880         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
53881         Remove [__GNUC__] condition.
53882         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
53883         condition to just [__USE_ISOC99].
53884         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
53886 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53888         [BZ #14200]
53889         * sysdeps/unix/sysv/linux/x86/bits/environments.h
53890         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
53891         defined.
53892         (_POSIX_V6_ILP32_OFF32): Likewise.
53893         (_XBS5_ILP32_OFF32): Likewise.
53894         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
53895         (__ILP32_OFFBIG_LDFLAGS): Likewise.
53897 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53899         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
53901         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
53902         doubles __mpexp_twomm1.  Adjust usage.
53903         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
53904         Remove.
53906 2013-01-10  Andreas Schwab  <schwab@suse.de>
53908         [BZ #14964]
53909         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
53910         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
53912 2013-01-09  David S. Miller  <davem@davemloft.net>
53914         [BZ #15003]
53915         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
53916         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
53917         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
53918         (TCP_FASTOPEN): Define.
53919         (tcp_repair_opt): New structure.
53920         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
53921         enum values.
53922         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
53923         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
53924         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
53925         (tcp_cookie_transactions): New structure.
53927 2013-01-09  Anton Blanchard  <anton@samba.org>
53929         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
53930         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
53931         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
53932         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
53934 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
53936         * include/features.h (__USE_ANSI): Remove.
53938 2013-01-09  Roland McGrath  <roland@hack.frob.com>
53940         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
53942         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
53944 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
53946         * sysdeps/s390/fpu/libm-test-ulps: Update.
53948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53950         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
53951         (__acr): Likewise.
53952         (__cpy): Likewise.
53953         (norm): Likewise.
53954         (denorm): Likewise.
53955         (__mp_dbl): Likewise.
53956         (__dbl_mp): Likewise.
53957         (add_magnitudes): Likewise.
53958         (sub_magnitudes): Likewise.
53959         (__add): Likewise.
53960         (__sub): Likewise.
53961         (__mul): Likewise.
53962         (__inv): Likewise.
53963         (__dvd): Likewise.
53964         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
53965         (__acr): Likewise.
53966         (__cpy): Likewise.
53967         (norm): Likewise.
53968         (denorm): Likewise.
53969         (__mp_dbl): Likewise.
53970         (__dbl_mp): Likewise.
53971         (add_magnitudes): Likewise.
53972         (sub_magnitudes): Likewise.
53973         (__add): Likewise.
53974         (__sub): Likewise.
53975         (__mul): Likewise.
53976         (__inv): Likewise.
53977         (__dvd): Likewise.
53978         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
53979         (__acr): Likewise.
53980         (__cpy): Likewise.
53981         (norm): Likewise.
53982         (denorm): Likewise.
53983         (__mp_dbl): Likewise.
53984         (__dbl_mp): Likewise.
53985         (add_magnitudes): Likewise.
53986         (sub_magnitudes): Likewise.
53987         (__add): Likewise.
53988         (__sub): Likewise.
53989         (__mul): Likewise.
53990         (__inv): Likewise.
53991         (__dvd): Likewise.
53993 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
53995         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
53996         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
53997         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
53998         2 && __USE_EXTERN_INLINES]: Likewise.
54000 2013-01-08  Andreas Jaeger  <aj@suse.de>
54002         [BZ# 14985]
54003         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
54004         Remove.
54005         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54006         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54008 2013-01-07  Anton Blanchard  <anton@samba.org>
54010         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
54011         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54012         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
54013         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54014         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
54015         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54016         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
54017         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54018         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54019         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54020         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54021         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54022         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54023         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54024         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
54025         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54026         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54027         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54028         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54029         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
54030         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54031         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
54032         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54033         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
54034         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
54035         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
54036         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54037         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54038         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
54039         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54040         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54041         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54042         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54043         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54044         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54045         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54046         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54047         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54048         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
54049         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
54050         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
54051         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54052         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54054 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
54056         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
54057         (__MALLOC_PMT): Likewise.
54058         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
54059         [__GNUC__], only on [_LIBC].
54060         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54061         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
54062         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54063         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
54064         forward declaration.
54065         (realloc_hook_ini): Likewise.
54066         (memalign_hook_ini): Likewise.
54067         (__libc_memalign): Do not use __MALLOC_PMT in variable
54068         declaration.
54069         (__libc_valloc): Likewise.
54070         (__libc_pvalloc): Likewise.
54071         (__libc_calloc): Likewise.
54072         (__posix_memalign): Likewise.
54074         [BZ #14996]
54075         * math/s_casinh.c: Include <float.h>.
54076         (__casinh): Do not do computation with squaring and square root
54077         for large arguments.
54078         * math/s_casinhf.c: Include <float.h>.
54079         (__casinhf): Do not do computation with squaring and square root
54080         for large arguments.
54081         * math/s_casinhl.c: Include <float.h>.
54082         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
54083         (__casinhl): Do not do computation with squaring and square root
54084         for large arguments.
54085         * math/libm-test.inc (casin_test): Add more tests.
54086         (casinh_test): Likewise.
54087         * sysdeps/i386/fpu/libm-test-ulps: Update.
54088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54090 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
54092         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
54093         (__x86_64_raw_data_cache_size): Likewise.
54094         (__x86_64_data_cache_size_half): Likewise.
54095         (__x86_64_raw_data_cache_size_half): Likewise.
54096         (__x86_64_shared_cache_size): Likewise.
54097         (__x86_64_raw_shared_cache_size): Likewise.
54098         (__x86_64_shared_cache_size_half): Likewise.
54099         (__x86_64_raw_shared_cache_size_half): Likewise.
54100         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
54101         to ...
54102         (__x86_data_cache_size): This.
54103         (__x86_64_raw_data_cache_size): Renamed to ...
54104         (__x86_raw_data_cache_size): This.
54105         (__x86_64_data_cache_size_half): Renamed to ...
54106         (__x86_data_cache_size_half): This.
54107         (__x86_64_raw_data_cache_size_half): Renamed to ...
54108         (__x86_raw_data_cache_size_half): This.
54109         (__x86_64_shared_cache_size): Renamed to ...
54110         (__x86_shared_cache_size): This.
54111         (__x86_64_raw_shared_cache_size): Renamed to ...
54112         (__x86_raw_shared_cache_size): This.
54113         (__x86_64_shared_cache_size_half): Renamed to ...
54114         (__x86_shared_cache_size_half): This.
54115         (__x86_64_raw_shared_cache_size_half): Renamed to ...
54116         (__x86_raw_shared_cache_size_half): This.
54117         * sysdeps/x86_64/memcpy.S: Updated.
54118         * sysdeps/x86_64/memset.S: Likewise.
54119         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
54120         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54121         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54123 2013-01-04  David S. Miller  <davem@davemloft.net>
54125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54127 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
54129         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
54130         1 to avoid redefinition warning.
54131         (__USE_GNU): Don't define.
54132         (init_signaling_nan): Protoize.
54134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54136 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54138         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
54139         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
54140         (__cpymn): Likewise.
54141         (norm): Remove commented code.
54142         (denorm): Likewise.
54143         (__mp_dbl): Likewise.
54144         (__inv): Likewise.
54145         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
54146         (__cpymn): Likewise.
54147         (norm): Remove commented code.
54148         (denorm): Likewise.
54149         (__mp_dbl): Likewise.
54150         (__inv): Likewise.
54152         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
54153         mp_no value for 1.0 and 2.0.
54154         (norm): Use RADIXI instead of radixi.d.
54155         (denorm): Likewise.
54156         (__mul): Use 0.0 instead of zero.d.
54157         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
54158         mp_no value for 1.0 and 2.0.
54159         (norm): Use RADIXI instead of radixi.d.
54160         (denorm): Likewise.
54161         (__mul): Use 0.0 instead of zero.d.
54163 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
54165         [BZ #14994]
54166         * math/s_casinh.c (__casinh): Reduce finite argument to first
54167         quadrant then set signs of results at the end.
54168         * math/s_casinhf.c (__casinhf): Likewise.
54169         * math/s_casinhl.c (__casinhl): Likewise.
54170         * math/libm-test.inc (casin_test): Add more tests.
54171         (casinh_test): Likewise.
54172         * sysdeps/i386/fpu/libm-test-ulps: Update.
54173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54175 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54177         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
54179         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
54181         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
54182         declarations.
54183         (denorm): Likewise.
54184         (__mp_dbl): Likewise.
54185         (__inv): Likewise.
54187         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
54188         and adjust the header comment.
54190         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
54191         variable name from declaration.
54193 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
54195         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54196         Initialize COMMON_CPUID_INDEX_7 element.
54197         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
54198         (CPUID_RTM): Likewise.
54199         (HAS_RTM): Likewise.
54200         (COMMON_CPUID_INDEX_7): New enum.
54202 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
54204         [BZ #14981]
54205         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
54206         size is zero, record memory as freed.
54208 2013-01-03  Andreas Jaeger  <aj@suse.de>
54210         * po/ia.po: Add new Interlingua translation.
54212 2012-01-03  Allan McRae  <allan@archlinux.org>
54214         * locale/programs/localedef.c: Fix description of '--posix' flag.
54216 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
54218         * NEWS: Update dates in second copyright notice.
54219         * README: Update copyright dates in example.
54220         * manual/libc.texinfo: Update copyright dates.
54221         * scripts/test-installation.pl: Update copyright date in --version
54222         output.
54224         * hurd/ctty-input.c: Fix copyright notice formatting.
54225         * hurd/ctty-output.c: Likewise.
54226         * hurd/dtable.c: Likewise.
54227         * hurd/hurd-raise.c: Likewise.
54228         * hurd/hurdprio.c: Likewise.
54229         * hurd/msgportdemux.c: Likewise.
54230         * misc/sys/file.h: Likewise.
54231         * misc/sys/ioctl.h: Likewise.
54232         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54233         * sysdeps/mach/hurd/chdir.c: Likewise.
54234         * sysdeps/mach/hurd/fchdir.c: Likewise.
54235         * sysdeps/mach/hurd/rename.c: Likewise.
54236         * sysdeps/mach/hurd/rmdir.c: Likewise.
54237         * sysdeps/mach/hurd/seekdir.c: Likewise.
54238         * sysdeps/mach/hurd/setsid.c: Likewise.
54239         * sysdeps/posix/wait3.c: Likewise.
54241         * All files with FSF copyright notices: Update copyright dates
54242         using scripts/update-copyrights.
54243         * intl/plural.c: Regenerated.
54244         * locale/programs/charmap-kw.h: Likewise.
54245         * locale/programs/locfile-kw.h: Likewise.
54247 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54249         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
54250         four values.
54252         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
54253         calculation loop and add branch prediction.
54255         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
54256         check access beyond bounds of m1np.
54258         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54259         MPTWO.
54260         (__inv): Remove local variable MPTWO to use the global
54261         constant.
54262         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
54263         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54264         variable MPTWO.
54265         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
54266         MP3HALFS static const.
54268 2013-01-01  David S. Miller  <davem@davemloft.net>
54270         * po/ca.po: Update from translation team.
54272 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
54274         * scripts/update-copyrights: New file.
54275         * Makeconfig: Reformat copyright notice.
54276         * ctype/ctype.h: Likewise.
54277         * debug/swprintf_chk.c: Likewise.
54278         * elf/dl-cache.c: Likewise.
54279         * elf/dl-debug.c: Likewise.
54280         * elf/dl-object.c: Likewise.
54281         * grp/initgroups.c: Likewise.
54282         * hurd/Makefile: Likewise.
54283         * hurd/hurd/signal.h: Likewise.
54284         * hurd/hurdfault.c: Likewise.
54285         * hurd/hurdioctl.c: Likewise.
54286         * hurd/hurdlookup.c: Likewise.
54287         * hurd/intr-msg.c: Likewise.
54288         * iconv/gconv_open.c: Likewise.
54289         * libio/swprintf.c: Likewise.
54290         * locale/lc-ctype.c: Likewise.
54291         * locale/nl_langinfo.c: Likewise.
54292         * mach/Machrules: Likewise.
54293         * mach/Makefile: Likewise.
54294         * malloc/obstack.h: Likewise.
54295         * manual/Makefile: Likewise.
54296         * manual/tsort.awk: Likewise.
54297         * misc/bits/stab.def: Likewise.
54298         * nis/nis_print_group_entry.c: Likewise.
54299         * nis/nis_table.c: Likewise.
54300         * nis/nss_compat/compat-pwd.c: Likewise.
54301         * nis/nss_compat/compat-spwd.c: Likewise.
54302         * po/Makefile: Likewise.
54303         * posix/fnmatch.c: Likewise.
54304         * posix/regex.h: Likewise.
54305         * resolv/Makefile: Likewise.
54306         * resolv/nss_dns/dns-network.c: Likewise.
54307         * resolv/res_hconf.c: Likewise.
54308         * scripts/gen-sorted.awk: Likewise.
54309         * soft-fp/soft-fp.h: Likewise.
54310         * stdio-common/printf.h: Likewise.
54311         * stdlib/monetary.h: Likewise.
54312         * stdlib/random.c: Likewise.
54313         * stdlib/random_r.c: Likewise.
54314         * sysdeps/generic/Makefile: Likewise.
54315         * sysdeps/gnu/Makefile: Likewise.
54316         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54317         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54318         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54319         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54320         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54321         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54322         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54323         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54324         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54325         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54326         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54327         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54328         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54329         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54330         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
54331         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54332         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54333         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54334         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54335         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54336         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54337         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54338         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54339         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54340         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
54341         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54342         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
54343         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
54344         * sysdeps/mach/hurd/errnos.awk: Likewise.
54345         * sysdeps/mach/hurd/fork.c: Likewise.
54346         * sysdeps/mach/hurd/getcwd.c: Likewise.
54347         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
54348         * sysdeps/mach/hurd/mmap.c: Likewise.
54349         * sysdeps/mach/hurd/utimes.c: Likewise.
54350         * sysdeps/mach/hurd/xmknod.c: Likewise.
54351         * sysdeps/posix/profil.c: Likewise.
54352         * sysdeps/posix/readdir_r.c: Likewise.
54353         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54354         * sysdeps/powerpc/bits/setjmp.h: Likewise.
54355         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
54356         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54357         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54358         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54359         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54360         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54361         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54362         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54363         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54364         * sysdeps/pthread/lio_listio.c: Likewise.
54365         * sysdeps/sparc/dl-procinfo.h: Likewise.
54366         * sysdeps/unix/i386/sysdep.S: Likewise.
54367         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
54368         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
54369         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
54370         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
54371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54372         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
54373         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
54374         * sysdeps/unix/sysv/linux/speed.c: Likewise.
54375         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
54376         * sysdeps/wordsize-32/divdi3.c: Likewise.
54377         * time/sys/time.h: Likewise.
54378         * wcsmbs/Makefile: Likewise.
54380 2013-01-01  David S. Miller  <davem@davemloft.net>
54382         * po/fr.po: Update from translation team.
54384         * catgets/gencat.c: Update copyright year.
54385         * csu/version.c: Likewise.
54386         * debug/catchsegv.sh: Likewise.
54387         * debug/pcprofiledump.c: Likewise.
54388         * debug/xtrace.sh: Likewise.
54389         * elf/ldconfig.c: Likewise.
54390         * elf/ldd.bash.in: Likewise.
54391         * elf/pldd.c: Likewise.
54392         * elf/sotruss.ksh: Likewise.
54393         * elf/sprof.c: Likewise.
54394         * iconv/iconv_prog.c: Likewise.
54395         * iconv/iconvconfig.c: Likewise.
54396         * locale/programs/locale.c: Likewise.
54397         * locale/programs/localedef.c: Likewise.
54398         * login/programs/pt_chown.c: Likewise.
54399         * malloc/memusage.sh: Likewise.
54400         * malloc/memusagestat.c: Likewise.
54401         * malloc/mtrace.pl: Likewise.
54402         * nscd/nscd.c: Likewise.
54403         * nss/getent.c: Likewise.
54404         * nss/makedb.c: Likewise.
54405         * posix/getconf.c: Likewise.
54407 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
54409         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
54410         numbers.
54412 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
54414         * math/bits/mathcalls.h (modf): Use __nonnull.
54416 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54418         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
54419         (split): Use macro CN instead of the bare value.
54420         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
54421         could be used.
54422         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
54423         instead of the bare value.
54424         (power1): Likewise.
54426 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54428         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
54429         __ATAN_TWOM.
54430         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54432         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
54433         their values.
54434         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54435         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54436         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
54437         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54439 2012-12-28  Andreas Jaeger  <aj@suse.de>
54441         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
54442         values are from Linux 3.7.
54444         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
54445         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
54447 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54449         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
54450         TRUE case.
54452         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
54453         (norm): Likewise.
54454         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
54455         variables with preprocessor constants.
54456         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54457         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54458         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54460 2012-12-27  Bruno Haible  <bruno@clisp.org>
54462         [BZ #14317]
54463         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
54464         only if needed.
54466 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54468         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
54469         and use variable directly.
54470         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
54472         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54473         MPONE.
54474         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
54475         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54476         variable MPONE.
54477         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54478         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54479         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
54480         include directive.  Remove local variable MPONE.
54481         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
54482         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
54483         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54485 2012-12-25  David S. Miller  <davem@davemloft.net>
54487         * version.h (RELEASE): Set to "development".
54488         (VERSION): Set to "2.17.90".
54489         * NEWS: Add 2.18 section.
54491 2012-12-21  David S. Miller  <davem@davemloft.net>
54493         * po/hr.po: Update from translation team.
54495 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54497         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
54499 2012-12-19  Steve Ellcey  <sellcey@mips.com>
54501         * NEWS:  Mention new memcpy for MIPS.
54503 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54505         * manual/contrib.texi (Contributors): Spelling correction.
54507 2012-12-15  David S. Miller  <davem@davemloft.net>
54509         * po/ru.po: Update from translation team.
54511 2012-12-13  David S. Miller  <davem@davemloft.net>
54513         * NEWS: Mention IFUNC testsuite enhancements.
54515         * po/pl.po: Update from translation team.
54516         * po/bg.po: Likewise.
54518         * manual/contrib.texi (Contributors): Update entries for Hongjiu
54519         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
54521 2012-12-11  David S. Miller  <davem@davemloft.net>
54523         * po/sv.po: Update from translation team.
54525         * po/vi.po: Update from translation team.
54527         * po/cs.po: Update from translation team.
54529         * po/de.po: Update from translation team.
54530         * po/eo.po: Likewise.
54531         * po/nl.po: Likewise.
54533 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54535         [BZ #14246]
54536         * manual/argp.texi (Argp Helper Functions): Move node to follow
54537         Argp Parsing State.
54539         [BZ #14872]
54540         * manual/conf.texi (Limits on File System Capacity): Mention if
54541         terminating null is included in the max size.
54543 2012-12-10  Andreas Jaeger  <aj@suse.de>
54545         * po/cs.po: Update from translation team.
54547 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54549         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
54550         void pointer and cast to uintptr_t.
54551         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
54552         path.
54553         * sysdeps/s390/s390-64/memcpy.S: Likewise.
54554         * sysdeps/s390/s390-64/memset.S: Likewise.
54556 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
54558         [BZ #14833]
54559         * menual/message.texi (Message Translation): Fix typos.
54560         (Helper programs for gettext): Likewise.
54562 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
54564         [BZ #14898]
54565         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
54566         Change to -1.
54568 2012-12-07  David S. Miller  <davem@davemloft.net>
54570         * po/libc.pot: Update.
54572 2012-12-07  Richard Henderson  <rth@redhat.com>
54574         [BZ #10114]
54575         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
54576         normal/normal case to before the switch.
54577         (_FP_DIV): Likewise.
54579 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
54580             Mike Frysinger  <vapier@gentoo.org>
54582         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
54583         check for __NR_fadvise64_64.
54585 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
54587         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
54588         0, not just to plain "0" as a statement.
54589         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
54590         with cw.
54592 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
54594         * NEWS: Use sourceware.org in Bugzilla URL.
54596 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
54599         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54601         * stdio-common/tst-put-error.c (do_test): Add newline to the
54602         padded test to ensure flush.
54604 2012-12-05  Jeff Law  <law@redhat.com>
54606         * sunrpc/etc.rpc (fedfs_admin): Add entry.
54608 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
54610         * README: Don't refer to ports add-on as distributed separately.
54611         Mention AArch64 in list of systems supported in the ports add-on.
54613         * LICENSES: Add more non-FSF copyright and license notices.
54615         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
54616         ((unused)).
54618         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
54620         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
54621         10000 as width of padded output.
54623 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54625         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
54627         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
54628         variable LX with __attribute__ ((unused)).
54629         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54630         Likewise.
54631         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54632         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54633         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
54634         with __attribute__ ((unused)).
54636 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
54638         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
54640 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54642         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
54643         (CFLAGS-nldbl-acos.c): New variable.
54644         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
54645         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
54646         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
54647         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
54648         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
54649         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
54650         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
54651         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
54652         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
54653         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
54654         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
54655         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
54656         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
54657         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
54658         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
54659         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
54660         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
54661         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
54662         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
54663         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
54664         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
54665         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
54666         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
54667         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
54668         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
54669         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
54670         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
54671         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
54672         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
54673         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
54674         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
54675         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
54676         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
54677         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
54678         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
54679         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
54680         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
54681         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
54682         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
54683         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
54684         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
54685         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
54686         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
54687         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
54688         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
54689         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
54690         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
54691         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
54692         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
54693         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
54694         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
54695         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
54696         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
54697         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
54698         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
54699         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
54700         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
54701         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
54702         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
54703         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
54704         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
54705         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
54706         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
54707         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
54708         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
54709         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
54710         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
54711         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
54712         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
54713         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
54714         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
54715         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
54716         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
54717         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
54718         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
54719         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
54720         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
54721         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
54722         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
54723         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
54724         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
54725         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
54726         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
54727         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
54728         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
54729         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
54730         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
54731         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
54732         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
54733         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
54734         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
54735         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
54736         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
54737         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
54738         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
54739         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
54740         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
54742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54743         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54745         [BZ #14914]
54746         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
54747         whole low double instead of just low 47 bits when splitting values
54748         into two parts.
54750 2012-12-03  Allan McRae  <allan@archlinux.org>
54752         * manual/stdio.texi (Predefined Printf Handlers): Remove
54753         @hsep and @vsep usage.
54755 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
54757         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
54758         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
54760 2012-12-03  Jeff Law  <law@redhat.com>
54762         * time/sys/time.h (settimeofday): Do not mark TV argument
54763         as __nonnull.
54765 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
54767         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
54768         when currently writing and seek to current position when not.
54769         * libio/Makefile (tests): Remove bug-fclose1.
54770         * libio/bug-fclose1.c: Delete.
54772 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
54774         * manual/arith.texi (feenableexcept): Fix typo.
54775         (fedisableexcept): Likewise.
54777 2012-11-30  Roland McGrath  <roland@hack.frob.com>
54779         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
54780         second, differently-typed declaration, rather than a cast.
54782 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54784         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
54785         * include/rpc/svc.h: ... here.
54787 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
54789         [BZ #13013]
54790         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
54791         depending n and resplen2 to catch cases where answer
54792         equals answerp2.
54794 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
54796         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
54797         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
54799 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
54801         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
54803 2012-11-29  Roland McGrath  <roland@hack.frob.com>
54805         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
54807 2012-11-28  Jeff Law  <law@redhat.com>
54809         [BZ #13761]
54810         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
54811         dataset_temporary.  Track alloca usage into alloca_used.
54812         If dataset is large allocate and release it via malloc/free.
54814 2012-06-04  Florian Weimer  <fweimer@redhat.com>
54816         [BZ #14197]
54817         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
54819 2012-11-28  David S. Miller  <davem@davemloft.net>
54821         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54823 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54825         [BZ #14803]
54826         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
54827         of pi/2 rounded to nearest to 64 bits.
54828         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
54829         nearest to 64 bits.
54830         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
54831         bits.
54833 2012-11-28  Jeff Law <law@redhat.com>
54834             Martin Osvald <mosvald@redhat.com>
54836         [BZ #14889]
54837         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
54838         * sunrpc/svc.c: Include time.h.
54839         (__svc_accept_failed): New function.
54840         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
54841         any reason other than EINTR, call __svc_accept_failed.
54842         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
54843         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
54845 2012-11-28  Andreas Schwab  <schwab@suse.de>
54847         * scripts/abilist.awk: Also handle indirect functions in .opd
54848         section.
54850 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54852         [BZ #13881]
54853         * sysdeps/x86/fpu/powl_helper.c: New file.
54854         * sysdeps/x86/fpu/Makefile: Likewise.
54855         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
54856         (p3): New object.
54857         (__ieee754_powl): Use __powl_helper for finite arguments except
54858         integer exponents below 8.
54859         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
54860         (p3): New object.
54861         (__ieee754_powl): Use __powl_helper for finite arguments except
54862         integer exponents below 8.
54863         * math/libm-test.inc (pow_test): Add more tests and enable some
54864         previously disabled tests.
54865         * sysdeps/i386/fpu/libm-test-ulps: Update.
54866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54868 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54869             Carlos O'Donell  <carlos_odonell@mentor.com>
54871         * nss/makedb.c (is_prime): Assert that input is odd and greater
54872         than 4.  Note that fact in a comment too.
54873         (next_prime): Add 4 to input.
54875 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54877         [BZ #11741]
54878         * libio/Makefile (tests): Add test case tst-fwrite-error.
54879         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
54880         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
54881         * libio/tst-fwrite-error.c: New test case.
54883 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
54885         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
54886         before casting to void *.
54887         * include/libc-internal.h (__pointer_type): New macro.
54888         (__integer_if_pointer_type_sub): Likewise.
54889         (__integer_if_pointer_type): Likewise.
54890         (cast_to_integer): Likewise.
54891         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
54892         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
54893         before casting to atomic64_t.
54894         (atomic_exchange_acq): Likewise.
54895         (__arch_exchange_and_add_body): Likewise.
54896         (__arch_add_body): Likewise.
54897         (atomic_add_negative): Likewise.
54898         (atomic_add_zero): Likewise.
54900 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
54902         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
54903         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
54904         (add_fdes): Likewise.
54905         (linear_search_fdes): Likewise.
54906         (binary_search_unencoded_fdes): Likewise.
54908 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
54910         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
54912 2012-11-24  Adam Conrad  <adconrad@0c3.net>
54914         * configure.in: Autodetect C++ header directories.
54915         * configure: Regenerated.
54917 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
54919         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
54921 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
54923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54925 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
54927         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
54928         LDBL_MANT_DIG == 106]: Disable some tests.
54929         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54930         Likewise.
54931         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54932         Likewise.
54934         [BZ #14871]
54935         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
54936         input for small inputs.  Return +/- pi/2 for large inputs.
54937         * math/libm-test.inc (atan_test): Add more tests.
54939         * sysdeps/generic/unwind-dw2-fde-glibc.c
54940         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
54941         __attribute__ ((unused)).
54943         [BZ #14645]
54944         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
54945         x * y if x and y are nonzero and z is zero.
54947         [BZ #14811]
54948         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
54949         nonzero exponents with absolute value below 0x1p-117 to +/-
54950         0x1p-117.
54952         [BZ #14869]
54953         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
54954         up arguments below 2**-450, not just those below 2**-500.
54955         * math/libm-test.inc (hypot_test): Add another test.
54957         [BZ #14868]
54958         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
54959         Return a+b for ratio over 2**120, not 2**60.
54960         * math/libm-test.inc (hypot_test): Add another test.
54962         * math/libm-test.inc (clog_test): Use
54963         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
54964         (clog10_test): Likewise.
54966         [BZ #6778]
54967         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
54969 2012-11-22  Andreas Schwab  <schwab@suse.de>
54971         * sysdeps/i386/fpu/libm-test-ulps: Update.
54973 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
54975         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
54976         printf output with newline.
54978 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
54980         [BZ #14865]
54981         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
54982         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
54983         -z nodlopen, -z initfirst and -z execstack support.
54984         * configure: Regenerated.
54986         * elf/elf.h (DF_1_NODIRECT): New macro.
54987         (DF_1_IGNMULDEF): Likewise.
54988         (DF_1_NOKSYMS): Likewise.
54989         (DF_1_NOHDR): Likewise.
54990         (DF_1_EDITED): Likewise.
54991         (DF_1_NORELOC): Likewise.
54992         (DF_1_SYMINTPOSE): Likewise.
54993         (DF_1_GLOBAUDIT): Likewise.
54994         (DF_1_SINGLETON): Likewise.
54995         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
54996         DT_1_SUPPORTED_MASK bits.
54997         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
54999 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
55001         * sysdeps/unix/make-syscalls.sh: Document prefixes.
55003 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
55005         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
55006         macro.
55008         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
55009         (sendmmsg): Move declarations...
55010         * socket/sys/socket.h: ... here.
55011         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
55012         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
55013         include it from...
55014         * socket/recvmmsg.c: ... this new file.
55015         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
55016         (sendmmsg): Rename to __sendmmsg, create weak alias and make
55017         definition of __sendmmsg hidden.
55018         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
55019         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
55020         Move ENOSYS stub into and include it from...
55021         * socket/sendmmsg.c: ... this new file.
55022         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
55023         (sysdep_routines): Move recvmmsg and sendmmsg...
55024         * socket/Makefile (routines): ... here.
55025         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
55026         (GLIBC_PRIVATE): Add __sendmmsg.
55027         * include/sys/socket.h (__sendmmsg): Add declarations.
55028         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
55029         sendmmsg.
55031 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
55033         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
55034         variable I1 with __attribute__ ((unused)).
55035         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55037 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55039         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
55040         DUMMY variables with __attribute__ ((unused)).
55042         * bits/byteswap.h: Include <bits/types.h>.
55043         (__bswap_64): Use __uint64_t instead of unsigned long long int.
55045 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55047         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
55048         string_t.  Do not manually set errno.
55049         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
55050         length with __strnlen.  Make sure to both set errno and return it on
55051         failure.
55053 2012-11-19  David S. Miller  <davem@davemloft.net>
55055         With help from Joseph Myers.
55056         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
55057         very large arguments properly.
55058         * math/libm-test.inc (atan_test): New tests.
55059         (atan2_test): New tests.
55060         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55061         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55063 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55065         [BZ #14856]
55066         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
55067         Define to 3.
55069         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
55070         [POSIX] (EADDRNOTAVAIL): Likewise.
55071         [POSIX] (EAFNOSUPPORT): Likewise.
55072         [POSIX] (EALREADY): Likewise.
55073         [POSIX] (ECONNABORTED): Likewise.
55074         [POSIX] (ECONNREFUSED): Likewise.
55075         [POSIX] (ECONNRESET): Likewise.
55076         [POSIX] (EDESTADDRREQ): Likewise.
55077         [POSIX] (EDQUOT): Likewise.
55078         [POSIX] (EHOSTUNREACH): Likewise.
55079         [POSIX] (EIDRM): Likewise.
55080         [POSIX] (EISCONN): Likewise.
55081         [POSIX] (ELOOP): Likewise.
55082         [POSIX] (EMULTIHOP): Likewise.
55083         [POSIX] (ENETDOWN): Likewise.
55084         [POSIX] (ENETUNREACH): Likewise.
55085         [POSIX] (ENOBUFS): Likewise.
55086         [POSIX] (ENODATA): Likewise.
55087         [POSIX] (ENOLINK): Likewise.
55088         [POSIX] (ENOMSG): Likewise.
55089         [POSIX] (ENOPROTOOPT): Likewise.
55090         [POSIX] (ENOSR): Likewise.
55091         [POSIX] (ENOSTR): Likewise.
55092         [POSIX] (ENOTCONN): Likewise.
55093         [POSIX] (ENOTSOCK): Likewise.
55094         [POSIX] (EOPNOTSUPP): Likewise.
55095         [POSIX] (EOVERFLOW): Likewise.
55096         [POSIX] (EPROTO): Likewise.
55097         [POSIX] (EPROTONOSUPPORT): Likewise.
55098         [POSIX] (EPROTOTYPE): Likewise.
55099         [POSIX] (ESTALE): Likewise.
55100         [POSIX] (ETIME): Likewise.
55101         [POSIX] (ETXTBSY): Likewise.
55102         [POSIX] (EWOULDBLOCK): Likewise.
55103         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
55104         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
55105         [POSIX] (SEEK_CUR): Likewise.
55106         [POSIX] (SEEK_END): Likewise.
55107         [POSIX || UNIX98] (mode_t): Do not require.
55108         [POSIX] (off_t): Likewise.
55109         [POSIX] (pid_t): Likewise.
55110         [POSIX] (sys/stat.h): Do not allow header.
55111         [POSIX] (unistd.h): Likewise.
55112         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
55113         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
55114         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
55115         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
55116         require.
55117         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
55118         sigevent): Specify elements.
55119         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
55120         entry.
55121         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
55122         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
55124         * conform/data/cpio.h-data [POSIX]: Disable whole file.
55125         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
55126         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
55127         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
55128         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
55129         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
55130         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
55131         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
55132         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
55133         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
55134         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
55135         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
55136         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
55137         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
55138         Likewise.
55139         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
55140         Likewise.
55141         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
55142         Likewise.
55143         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
55144         Likewise.
55145         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
55146         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
55147         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
55148         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
55149         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
55150         Specify lower bound on value.
55151         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
55152         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
55153         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
55154         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
55155         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
55156         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
55157         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
55158         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
55159         value.
55160         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
55161         as optional.
55162         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
55163         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
55164         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
55165         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
55166         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
55167         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
55168         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
55169         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
55170         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
55171         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
55172         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
55173         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
55174         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
55175         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
55176         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
55177         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
55178         entry.
55179         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
55180         optional.
55181         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
55182         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
55183         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
55184         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
55185         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
55186         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
55187         Likewise.
55188         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
55189         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
55190         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
55191         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
55192         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
55193         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
55194         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
55195         as optional.
55196         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
55197         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
55198         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
55199         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
55200         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
55201         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
55202         specify as optional.
55203         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
55204         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
55205         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
55206         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
55207         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
55208         [XPG3] (NL_LANGMAX): Likewise.
55209         [POSIX || XPG3] (NL_MSGMAX): Likewise.
55210         [POSIX || XPG3] (NL_NMAX): Likewise.
55211         [POSIX || XPG3] (NL_SETMAX): Likewise.
55212         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
55213         [XPG3] (NZERO): Likewise.
55214         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
55215         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
55216         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
55217         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
55218         (REG_ERANGE): Expect.
55219         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
55220         optional-constant.
55221         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
55222         Use (void) in prototype.
55223         [POSIX] (*_t): Allow.
55224         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
55225         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
55226         (WRDE_BADVAL): Expect.
55228         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
55229         expect.
55230         [XPG3 || XPG4] (O_RSYNC): Likewise.
55231         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
55232         Likewise.
55233         [XPG3 || XPG4] (pthread_sigmask): Likewise.
55234         [XPG3 || XPG4] (sigqueue): Likewise.
55235         [XPG3 || XPG4] (sigtimedwait): Likewise.
55236         [XPG3 || XPG4] (sigwaitinfo): Likewise.
55237         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
55238         [XPG3 || XPG4] (vsnprintf): Likewise.
55239         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
55240         Likewise.
55241         [XPG3 || XPG4] (blksize_t): Likewise.
55242         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
55243         Likewise.
55244         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
55245         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
55246         [XPG3 || XPG4] (struct itimerspec): Likewise.
55247         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
55248         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
55249         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
55250         [XPG3 || XPG4] (clockid_t): Likewise.
55251         [XPG3 || XPG4] (timer_t): Likewise.
55252         [XPG3 || XPG4] (clock_getres): Likewise.
55253         [XPG3 || XPG4] (clock_gettime): Likewise.
55254         [XPG3 || XPG4] (clock_settime): Likewise.
55255         [XPG3 || XPG4] (nanosleep): Likewise.
55256         [XPG3 || XPG4] (timer_create): Likewise.
55257         [XPG3 || XPG4] (timer_delete): Likewise.
55258         [XPG3 || XPG4] (timer_gettime): Likewise.
55259         [XPG3 || XPG4] (timer_getoverrun): Likewise.
55260         [XPG3 || XPG4] (timer_settime): Likewise.
55261         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
55262         [XPG3 || XPG4] (getlogin_r): Likewise.
55263         [XPG3 || XPG4] (pread): Likewise.
55264         [XPG3 || XPG4] (pthread_atfork): Likewise.
55265         [XPG3 || XPG4] (pwrite): Likewise.
55267         [BZ #14835]
55268         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
55269         <bits/siginfo.h>.
55271 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55273         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
55274         finalizing MALLSTREAM.
55276         * sysdeps/mach/hurd/syncfs.c: New file.
55278 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55280         [BZ #14719]
55281         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
55282         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
55283         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
55284         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
55285         (_nss_dns_gethostbyname4_r): Likewise.
55286         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
55287         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
55289 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
55291         [BZ #13763]
55292         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
55294 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
55296         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
55297         * elf/cache.c (print_entry): Print ",AArch64" for
55298         FLAG_AARCH64_LIB64
55300         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
55301         * elf/cache.c (print_entry): Print ",hard-float" for
55302         FLAG_ARM_LIBHF.
55304 2012-11-18  David S. Miller  <davem@davemloft.net>
55306         With help from Joseph Myers.
55307         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
55308         cutoff to 2**-13.
55309         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
55310         cutoff to 2**-25.
55311         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
55312         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
55313         small.
55314         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
55315         * math/libm-test.inc (y0_test): New tests.
55316         (y1_test): New tests.
55317         * sysdeps/i386/fpu/libm-test-ulps: Update.
55318         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55319         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55321 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
55323         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
55324         64-bit targets.
55325         * configure: Regenerated.
55327 2012-11-17  David S. Miller  <davem@davemloft.net>
55329         [BZ #14811]
55330         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
55331         nonzero exponents with absolute value below 0x1p-128 to +/-
55332         0x1p-128.
55334 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
55336         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
55338         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
55340         * posix/getconf-speclist.c: New file.
55341         * posix/posix-envs.def: Likewise.
55342         * posix/confstr.c (START_ENV_GROUP): New macro.
55343         (END_ENV_GROUP): Likewise.
55344         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55345         (KNOWN_PRESENT_ENV_STRING): Likewise.
55346         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55347         (UNKNOWN_ENVIRONMENT): Likewise.
55348         (confstr): Include posix-envs.def instead of handling
55349         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
55350         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
55351         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
55352         (END_ENV_GROUP): Likewise.
55353         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55354         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55355         (UNKNOWN_ENVIRONMENT): Likewise.
55356         (__sysconf): Include posix-envs.def instead of handling associated
55357         cases directly here.
55358         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
55359         preprocessing getconf-speclist.c rather than running getconf or
55360         generating empty file.
55362 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
55364         * scripts/check-local-headers.sh: Ignore 'mach' headers.
55366 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
55368         [BZ #14672]
55369         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
55371 2012-11-16  David S. Miller  <davem@davemloft.net>
55373         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
55374         smaller than LDBL_EPSILON/2.0L, just return xm1.
55376 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
55378         * elf/tst-array1.c (init): Set constructor priority to 1000.
55379         (fini): Set destructor priority to 1000.
55380         * elf/tst-array2dep.c: Likewise.
55382 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55384         [BZ #11741]
55385         * libio/fileops.c (_IO_new_file_write): Correctly return error.
55386         (_IO_new_file_xsputn): Also return EOF if none of the input
55387         data was written when overflow failed.
55388         * libio/iopadn.c (_IO_padn): Likewise.
55389         * libio/iowpadn.c (_IO_wpadn): Likewise.
55390         * stdio-common/tst-put-error.c: Add copyright notice.
55391         (do_test): Add case for printing padded string.
55392         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
55393         _IO_padn returned error.
55394         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
55395         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
55396         return EOF.
55398 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55400         * libio/libioP.h: Add comment note that the references to C++
55401         bits are now obsolete.
55403 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55405         * math/libm-test.inc (check_complex): Use asprintf.
55407 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
55409         * debug/pcprofiledump.c (print_version): Update copyright year.
55410         * malloc/memusagestat.c (print_version): Likewise.
55412 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
55414         [BZ #14831]
55415         * elf/Makefile (tests): Add tst-audit8.
55416         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
55417         ($(objpfx)tst-audit8.out): New target.
55418         (tst-audit8-ENV): New variable.
55419         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
55420         audit if l_reloc_result is NULL.
55421         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
55422         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
55423         * elf/tst-audit8.c: New file.
55425 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55427         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
55428         * misc/Makefile (CFLAGS-select.c): Define.
55429         * posix/Makefile (CFLAGS-pause.c): Define.
55431 2012-11-13  David S. Miller  <davem@davemloft.net>
55433         * crypt/Makefile: Move test targets after toplevel Rules
55434         inclusion.  Grab any necessary sysdep routines when linking.
55435         * crypt/md5.c (md5_process_block): Remove define, we will always
55436         name it __md5_process_block.
55437         (md5_finish_ctx): Update md5_process_block call.
55438         (md5_stream): Likewise.
55439         (md5_process_bytes): Likewise.
55440         (md5_process_block): Rename to __md5_process_block and move to ...
55441         * crypt/md5-block.c: ... here.
55442         * crypt/sha256.c (sha256_process_block): Move to ...
55443         * crypt/sha256-block.c: ... here.
55444         * crypt/sha512.c (sha512_process_block): Move to ...
55445         * crypt/sha512-block.c: ... here.
55446         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
55447         path.
55448         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
55449         * sysdeps/sparc/sparc64/multiarch/Makefile
55450         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
55451         crypt subdir.
55452         (localedef-aux): Add md5 crypto assembler when in locale subdir.
55453         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
55454         multiarch changes.
55455         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
55456         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
55457         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
55458         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
55459         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
55460         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
55461         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
55462         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
55463         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
55464         file.
55465         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
55466         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
55467         file.
55468         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
55470 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
55472         * timezone/tzselect.ksh: Update from tzcode git revision
55473         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
55474         * timezone/zdump.c: Likewise.
55475         * timezone/zic.c: Likewise.
55476         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
55477         in TZVERSION setting, not $(PKGVERSION).
55478         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
55479         REPORT_BUGS_TO settings.
55481         [BZ #14838]
55482         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
55483         macro.
55485 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55487         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
55488         detection to immediately after _FP_ROUND().
55489         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
55490         bits are 0.
55492 2012-11-11  David S. Miller  <davem@davemloft.net>
55494         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
55495         inttypes.h
55496         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
55497         __close rather than their public counterparts.
55499 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
55501         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
55502         file.
55503         [UNIX98] (sem_timedwait): Do not expect.
55504         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
55505         [XPG4 || UNIX98] (sockatmark): Do not expect.
55506         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
55507         (clock_getcpuclockid): Do not expect.
55508         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
55509         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
55510         Do not expect.
55511         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
55512         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
55513         [UNIX98] (vwscanf): Likewise.
55514         [UNIX98] (vswscanf): Likewise.
55516 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
55518         * timezone/version.h: Remove file.
55519         * timezone/README: Do not refer to version.h.
55520         * timezone/Makefile ($(objpfx)zic.o): New dependency on
55521         $(objpfx)version.h.
55522         ($(objpfx)zdump.o): Likewise.
55523         ($(objpfx)version.h): New target.
55525         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
55526         2012i.
55527         * timezone/README: Don't mention modification to tzselect.ksh.
55528         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
55529         work on unmodified tzselect.ksh.  Substitute version numbers in
55530         tzselect.ksh.
55532         * Makefile (format-me): Remove.
55533         (INSTALL): Adjust indentation.  Use commands directly instead of
55534         using $(format-me).
55536         * aclocal.m4 (ACX_PKGVERSION): New macro.
55537         (ACX_BUGURL): Likewise.
55538         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
55539         (PKGVERSION): New AC_DEFINE_UNQUOTED.
55540         (REPORT_BUGS_TO): Likewise.
55541         * configure: Regenerated.
55542         * config.h.in (PKGVERSION): New macro.
55543         (REPORT_BUGS_TO): Likewise.
55544         * config.make.in (PKGVERSION): New variable.
55545         (PKGVERSION_TEXI): Likewise.
55546         (REPORT_BUGS_TO): Likewise.
55547         (REPORT_BUGS_TEXI): Likewise.
55548         * Makefile (format-me): Use -I$(common-objpfx)manual.
55549         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
55550         ($(common-objpfx)manual/%): New target.
55551         (manual/%): Remove target.
55552         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
55553         (print_version): Use PKGVERSION.
55554         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
55555         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
55556         and REPORT_BUGS_TO.
55557         ($(objpfx)xtrace): Likewise.
55558         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
55559         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
55560         (print_version): Use PKGVERSION.
55561         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
55562         (do_version): Use PKGVERSION.
55563         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
55564         REPORT_BUGS_TO.
55565         (common-ldd-rewrite): Likewise.
55566         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
55567         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
55568         (print_version): Use PKGVERSION.
55569         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
55570         * elf/pldd.c (argp_program_bug_address): Remove variable.
55571         (more_help): New function.
55572         (argp): Use more_help.
55573         (print_version): Use PKGVERSION.
55574         * elf/sln.c (main): Use PKGVERSION.
55575         (usage): Use REPORT_BUGS_TO.
55576         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
55577         (top level): Use PKGVERSION.
55578         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
55579         (print_version): Use PKGVERSION.
55580         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
55581         (print_version): Use PKGVERSION.
55582         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
55583         (print_version): Use PKGVERSION.
55584         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
55585         (print_version): Use PKGVERSION.
55586         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
55587         (print_version): Use PKGVERSION.
55588         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
55589         (print_version): Use PKGVERSION.
55590         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
55591         and BUGURL.
55592         ($(objpfx)memusage): Likewise.
55593         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
55594         (do_version): Use PKGVERSION.
55595         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
55596         (print_version): Use PKGVERSION.
55597         * malloc/mtrace.pl ($PACKAGE): Remove variable.
55598         ($PKGVERSION): New variable.
55599         ($REPORT_BUGS_TO): Likewise.
55600         (usage): Use $REPORT_BUGS_TO.
55601         (top level): Use $PKGVERSION.
55602         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
55603         ($(objpfx)pkgvers.texi): New rule.
55604         ($(objpfx)stamp-pkgvers): Likewise.
55605         * manual/install.texi: Include pkgvers.texi.
55606         (--with-pkgversion): Document new configure option.
55607         (--with-bugurl): Likewise.
55608         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
55609         than necessarily for this particular distribution.  Use
55610         REPORT_BUGS_TO for where to report bugs.
55611         * INSTALL: Regenerated.
55612         * manual/libc.texinfo: Include pkgvers.texi.
55613         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
55614         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
55615         (print_version): Use PKGVERSION.
55616         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
55617         (print_version): Use PKGVERSION.
55618         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
55619         (print_version): Use PKGVERSION.
55620         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
55621         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
55622         macro.
55623         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
55624         (print_version): Use PKGVERSION.
55625         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
55626         (print_version): Use PKGVERSION.
55627         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
55628         and PKGVERSION.
55630         * timezone/checktab.awk: Update from tzcode 2012i.
55631         * timezone/ialloc.c: Likewise.
55632         * timezone/private.h: Likewise.
55633         * timezone/scheck.c: Likewise.
55634         * timezone/tzfile.h: Likewise.
55635         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
55636         (TZVERSION): Hardcode tzcode version number.
55637         * timezone/zdump.c: Update from tzcode 2012i.
55638         * timezone/zic.c: Likewise.
55639         * timezone/version.h: New file.
55640         * timezone/README: Describe version.h.  Update upstream location.
55642         [BZ #14824]
55643         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
55644         (mktemp): Enable declaration.
55645         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
55646         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
55647         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
55648         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
55649         Likewise.
55650         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
55651         Likewise.
55652         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
55653         Likewise.
55654         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
55655         Likewise.
55656         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
55657         Likewise.
55658         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
55659         Likewise.
55661         [BZ #14821]
55662         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
55663         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
55664         for copies of such integer values.
55665         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55666         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55668 2012-11-09  Andreas Jaeger  <aj@suse.de>
55670         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
55671         definitions and declarations that are provided by
55672         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55674 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55676         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
55677         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
55678         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
55679         definition.
55681 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55683         * elf/elf.h: Update comment before AArch64 relocations.
55685 2012-11-07  David S. Miller  <davem@davemloft.net>
55687         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
55688         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55689         (__start_context): Declare.
55690         (__makecontext_ret): Delete.
55691         (__makecontext): Hook up __start_context instead of
55692         __makecontext_ret.
55693         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
55694         (sysdep_routines): Add __start_context when in stdlib.
55696 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55698         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
55699         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
55700         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
55701         hardcoded "nm".
55702         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
55703         (READELF): New variable.  Use it instead of hardcoded "readelf".
55705 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55707         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
55708         * sysdeps/x86/Makefile: Here.
55709         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
55710         * sysdeps/x86/tst-xmmymm.sh: This.
55712 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55714         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
55715         expectations.
55716         [UNIX98] (pthread_barrier_t): Do not expect.
55717         [UNIX98] (pthread_barrierattr_t): Likewise.
55718         [UNIX98] (pthread_spinlock_t): Likewise.
55719         [UNIX98] (pthread_barrier_destroy): Likewise.
55720         [UNIX98] (pthread_barrier_init): Likewise.
55721         [UNIX98] (pthread_barrier_wait): Likewise.
55722         [UNIX98] (pthread_barrierattr_destroy): Likewise.
55723         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
55724         [UNIX98] (pthread_barrierattr_init): Likewise.
55725         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
55726         [UNIX98] (pthread_getcpuclockid): Likewise.
55727         [UNIX98] (pthread_mutex_timedlock): Likewise.
55728         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
55729         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
55730         [UNIX98] (pthread_sigmask): Likewise.
55731         [UNIX98] (pthread_spin_destroy): Likewise.
55732         [UNIX98] (pthread_spin_init): Likewise.
55733         [UNIX98] (pthread_spin_lock): Likewise.
55734         [UNIX98] (pthread_spin_trylock): Likewise.
55735         [UNIX98] (pthread_spin_unlock): Likewise.
55736         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
55737         Do not expect.
55738         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
55739         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
55740         [XPG3 || XPG4] (pthread_cond_t): Likewise.
55741         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
55742         [XPG3 || XPG4] (pthread_key_t): Likewise.
55743         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
55744         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
55745         [XPG3 || XPG4] (pthread_once_t): Likewise.
55746         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
55747         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
55748         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
55749         [XPG3 || XPG4] (pthread_t): Likewise.
55751         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
55752         not expect.
55753         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
55755         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
55756         Change function return type to int.
55758         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
55759         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
55760         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
55761         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
55762         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
55763         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
55764         [!POSIX] (posix_madvise): Likewise.
55765         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
55766         && !UNIX98].
55767         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
55768         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
55769         (mode_t): Likewise.
55770         (posix_mem_offset): Likewise.
55771         (posix_typed_mem_get_info): Likewise.
55772         (posix_typed_mem_open): Likewise.
55774         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
55775         Change condition to [XOPEN2K8].
55777         * conform/conformtest.pl: Preprocess allow-header data with -x c
55778         instead of from stdin.
55779         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
55780         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
55781         [C99-based standards] (cerfc): Likewise.
55782         [C99-based standards] (cexp2): Likewise.
55783         [C99-based standards] (cexpm1): Likewise.
55784         [C99-based standards] (clog10): Likewise.
55785         [C99-based standards] (clog1p): Likewise.
55786         [C99-based standards] (clog2): Likewise.
55787         [C99-based standards] (clgamma): Likewise.
55788         [C99-based standards] (ctgamma): Likewise.
55789         [C99-based standards] (cerff): Likewise.
55790         [C99-based standards] (cerfcf): Likewise.
55791         [C99-based standards] (cexp2f): Likewise.
55792         [C99-based standards] (cexpm1f): Likewise.
55793         [C99-based standards] (clog10f): Likewise.
55794         [C99-based standards] (clog1pf): Likewise.
55795         [C99-based standards] (clog2f): Likewise.
55796         [C99-based standards] (clgammaf): Likewise.
55797         [C99-based standards] (ctgammaf): Likewise.
55798         [C99-based standards] (cerfl): Likewise.
55799         [C99-based standards] (cerfcl): Likewise.
55800         [C99-based standards] (cexp2l): Likewise.
55801         [C99-based standards] (cexpm1l): Likewise.
55802         [C99-based standards] (clog10l): Likewise.
55803         [C99-based standards] (clog1pl): Likewise.
55804         [C99-based standards] (clog2l): Likewise.
55805         [C99-based standards] (clgammal): Likewise.
55806         [C99-based standards] (ctgammal): Likewise.
55807         * conform/data/inttypes.h-data [C99-based standards]: Include
55808         stdint.h-data.  Remove all expectations for stdint.h contents.
55809         [C99-based standards] (PRI*): Do not allow.
55810         [C99-based standards] (SCN*): Likewise.
55811         [C99-based standards] (*_t): Likewise.
55812         [C99-based-standards] (PRId8): Expect macro.
55813         [C99-based-standards] (PRIi8): Likewise.
55814         [C99-based-standards] (PRIo8): Likewise.
55815         [C99-based-standards] (PRIu8): Likewise.
55816         [C99-based-standards] (PRIx8): Likewise.
55817         [C99-based-standards] (PRIX8): Likewise.
55818         [C99-based-standards] (SCNd8): Likewise.
55819         [C99-based-standards] (SCNi8): Likewise.
55820         [C99-based-standards] (SCNo8): Likewise.
55821         [C99-based-standards] (SCNu8): Likewise.
55822         [C99-based-standards] (SCNx8): Likewise.
55823         [C99-based-standards] (PRIdLEAST8): Likewise.
55824         [C99-based-standards] (PRIiLEAST8): Likewise.
55825         [C99-based-standards] (PRIoLEAST8): Likewise.
55826         [C99-based-standards] (PRIuLEAST8): Likewise.
55827         [C99-based-standards] (PRIxLEAST8): Likewise.
55828         [C99-based-standards] (PRIXLEAST8): Likewise.
55829         [C99-based-standards] (SCNdLEAST8): Likewise.
55830         [C99-based-standards] (SCNiLEAST8): Likewise.
55831         [C99-based-standards] (SCNoLEAST8): Likewise.
55832         [C99-based-standards] (SCNuLEAST8): Likewise.
55833         [C99-based-standards] (SCNxLEAST8): Likewise.
55834         [C99-based-standards] (PRIdFAST8): Likewise.
55835         [C99-based-standards] (PRIiFAST8): Likewise.
55836         [C99-based-standards] (PRIoFAST8): Likewise.
55837         [C99-based-standards] (PRIuFAST8): Likewise.
55838         [C99-based-standards] (PRIxFAST8): Likewise.
55839         [C99-based-standards] (PRIXFAST8): Likewise.
55840         [C99-based-standards] (SCNdFAST8): Likewise.
55841         [C99-based-standards] (SCNiFAST8): Likewise.
55842         [C99-based-standards] (SCNoFAST8): Likewise.
55843         [C99-based-standards] (SCNuFAST8): Likewise.
55844         [C99-based-standards] (SCNxFAST8): Likewise.
55845         [C99-based-standards] (PRId16): Likewise.
55846         [C99-based-standards] (PRIi16): Likewise.
55847         [C99-based-standards] (PRIo16): Likewise.
55848         [C99-based-standards] (PRIu16): Likewise.
55849         [C99-based-standards] (PRIx16): Likewise.
55850         [C99-based-standards] (PRIX16): Likewise.
55851         [C99-based-standards] (SCNd16): Likewise.
55852         [C99-based-standards] (SCNi16): Likewise.
55853         [C99-based-standards] (SCNo16): Likewise.
55854         [C99-based-standards] (SCNu16): Likewise.
55855         [C99-based-standards] (SCNx16): Likewise.
55856         [C99-based-standards] (PRIdLEAST16): Likewise.
55857         [C99-based-standards] (PRIiLEAST16): Likewise.
55858         [C99-based-standards] (PRIoLEAST16): Likewise.
55859         [C99-based-standards] (PRIuLEAST16): Likewise.
55860         [C99-based-standards] (PRIxLEAST16): Likewise.
55861         [C99-based-standards] (PRIXLEAST16): Likewise.
55862         [C99-based-standards] (SCNdLEAST16): Likewise.
55863         [C99-based-standards] (SCNiLEAST16): Likewise.
55864         [C99-based-standards] (SCNoLEAST16): Likewise.
55865         [C99-based-standards] (SCNuLEAST16): Likewise.
55866         [C99-based-standards] (SCNxLEAST16): Likewise.
55867         [C99-based-standards] (PRIdFAST16): Likewise.
55868         [C99-based-standards] (PRIiFAST16): Likewise.
55869         [C99-based-standards] (PRIoFAST16): Likewise.
55870         [C99-based-standards] (PRIuFAST16): Likewise.
55871         [C99-based-standards] (PRIxFAST16): Likewise.
55872         [C99-based-standards] (PRIXFAST16): Likewise.
55873         [C99-based-standards] (SCNdFAST16): Likewise.
55874         [C99-based-standards] (SCNiFAST16): Likewise.
55875         [C99-based-standards] (SCNoFAST16): Likewise.
55876         [C99-based-standards] (SCNuFAST16): Likewise.
55877         [C99-based-standards] (SCNxFAST16): Likewise.
55878         [C99-based-standards] (PRId32): Likewise.
55879         [C99-based-standards] (PRIi32): Likewise.
55880         [C99-based-standards] (PRIo32): Likewise.
55881         [C99-based-standards] (PRIu32): Likewise.
55882         [C99-based-standards] (PRIx32): Likewise.
55883         [C99-based-standards] (PRIX32): Likewise.
55884         [C99-based-standards] (SCNd32): Likewise.
55885         [C99-based-standards] (SCNi32): Likewise.
55886         [C99-based-standards] (SCNo32): Likewise.
55887         [C99-based-standards] (SCNu32): Likewise.
55888         [C99-based-standards] (SCNx32): Likewise.
55889         [C99-based-standards] (PRIdLEAST32): Likewise.
55890         [C99-based-standards] (PRIiLEAST32): Likewise.
55891         [C99-based-standards] (PRIoLEAST32): Likewise.
55892         [C99-based-standards] (PRIuLEAST32): Likewise.
55893         [C99-based-standards] (PRIxLEAST32): Likewise.
55894         [C99-based-standards] (PRIXLEAST32): Likewise.
55895         [C99-based-standards] (SCNdLEAST32): Likewise.
55896         [C99-based-standards] (SCNiLEAST32): Likewise.
55897         [C99-based-standards] (SCNoLEAST32): Likewise.
55898         [C99-based-standards] (SCNuLEAST32): Likewise.
55899         [C99-based-standards] (SCNxLEAST32): Likewise.
55900         [C99-based-standards] (PRIdFAST32): Likewise.
55901         [C99-based-standards] (PRIiFAST32): Likewise.
55902         [C99-based-standards] (PRIoFAST32): Likewise.
55903         [C99-based-standards] (PRIuFAST32): Likewise.
55904         [C99-based-standards] (PRIxFAST32): Likewise.
55905         [C99-based-standards] (PRIXFAST32): Likewise.
55906         [C99-based-standards] (SCNdFAST32): Likewise.
55907         [C99-based-standards] (SCNiFAST32): Likewise.
55908         [C99-based-standards] (SCNoFAST32): Likewise.
55909         [C99-based-standards] (SCNuFAST32): Likewise.
55910         [C99-based-standards] (SCNxFAST32): Likewise.
55911         [C99-based-standards] (PRId64): Likewise.
55912         [C99-based-standards] (PRIi64): Likewise.
55913         [C99-based-standards] (PRIo64): Likewise.
55914         [C99-based-standards] (PRIu64): Likewise.
55915         [C99-based-standards] (PRIx64): Likewise.
55916         [C99-based-standards] (PRIX64): Likewise.
55917         [C99-based-standards] (SCNd64): Likewise.
55918         [C99-based-standards] (SCNi64): Likewise.
55919         [C99-based-standards] (SCNo64): Likewise.
55920         [C99-based-standards] (SCNu64): Likewise.
55921         [C99-based-standards] (SCNx64): Likewise.
55922         [C99-based-standards] (PRIdLEAST64): Likewise.
55923         [C99-based-standards] (PRIiLEAST64): Likewise.
55924         [C99-based-standards] (PRIoLEAST64): Likewise.
55925         [C99-based-standards] (PRIuLEAST64): Likewise.
55926         [C99-based-standards] (PRIxLEAST64): Likewise.
55927         [C99-based-standards] (PRIXLEAST64): Likewise.
55928         [C99-based-standards] (SCNdLEAST64): Likewise.
55929         [C99-based-standards] (SCNiLEAST64): Likewise.
55930         [C99-based-standards] (SCNoLEAST64): Likewise.
55931         [C99-based-standards] (SCNuLEAST64): Likewise.
55932         [C99-based-standards] (SCNxLEAST64): Likewise.
55933         [C99-based-standards] (PRIdFAST64): Likewise.
55934         [C99-based-standards] (PRIiFAST64): Likewise.
55935         [C99-based-standards] (PRIoFAST64): Likewise.
55936         [C99-based-standards] (PRIuFAST64): Likewise.
55937         [C99-based-standards] (PRIxFAST64): Likewise.
55938         [C99-based-standards] (PRIXFAST64): Likewise.
55939         [C99-based-standards] (SCNdFAST64): Likewise.
55940         [C99-based-standards] (SCNiFAST64): Likewise.
55941         [C99-based-standards] (SCNoFAST64): Likewise.
55942         [C99-based-standards] (SCNuFAST64): Likewise.
55943         [C99-based-standards] (SCNxFAST64): Likewise.
55944         [C99-based-standards] (PRIdMAX): Likewise.
55945         [C99-based-standards] (PRIiMAX): Likewise.
55946         [C99-based-standards] (PRIoMAX): Likewise.
55947         [C99-based-standards] (PRIuMAX): Likewise.
55948         [C99-based-standards] (PRIxMAX): Likewise.
55949         [C99-based-standards] (PRIXMAX): Likewise.
55950         [C99-based-standards] (SCNdMAX): Likewise.
55951         [C99-based-standards] (SCNiMAX): Likewise.
55952         [C99-based-standards] (SCNoMAX): Likewise.
55953         [C99-based-standards] (SCNuMAX): Likewise.
55954         [C99-based-standards] (SCNxMAX): Likewise.
55955         [C99-based-standards] (PRIdPTR): Likewise.
55956         [C99-based-standards] (PRIiPTR): Likewise.
55957         [C99-based-standards] (PRIoPTR): Likewise.
55958         [C99-based-standards] (PRIuPTR): Likewise.
55959         [C99-based-standards] (PRIxPTR): Likewise.
55960         [C99-based-standards] (PRIXPTR): Likewise.
55961         [C99-based-standards] (SCNdPTR): Likewise.
55962         [C99-based-standards] (SCNiPTR): Likewise.
55963         [C99-based-standards] (SCNoPTR): Likewise.
55964         [C99-based-standards] (SCNuPTR): Likewise.
55965         [C99-based-standards] (SCNxPTR): Likewise.
55966         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
55967         allow.
55968         * conform/data/stdint.h-data: Update comments to clarify
55969         requirements.
55970         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
55971         type.
55972         [C99-based standards] (INT8_MAX): Likewise.
55973         [C99-based standards] (INT16_MIN): Likewise.
55974         [C99-based standards] (INT16_MAX): Likewise.
55975         [C99-based standards] (INT32_MIN): Likewise.
55976         [C99-based standards] (INT32_MAX): Likewise.
55977         [C99-based standards] (INT64_MIN): Likewise.
55978         [C99-based standards] (INT64_MAX): Likewise.
55979         [C99-based standards] (UINT8_MAX): Likewise.
55980         [C99-based standards] (UINT16_MAX): Likewise.
55981         [C99-based standards] (UINT32_MAX): Likewise.
55982         [C99-based standards] (UINT64_MAX): Likewise.
55983         [C99-based standards] (INT_LEAST8_MIN): Likewise.
55984         [C99-based standards] (INT_LEAST8_MAX): Likewise.
55985         [C99-based standards] (INT_LEAST16_MIN): Likewise.
55986         [C99-based standards] (INT_LEAST16_MAX): Likewise.
55987         [C99-based standards] (INT_LEAST32_MIN): Likewise.
55988         [C99-based standards] (INT_LEAST32_MAX): Likewise.
55989         [C99-based standards] (INT_LEAST64_MIN): Likewise.
55990         [C99-based standards] (INT_LEAST64_MAX): Likewise.
55991         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
55992         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
55993         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
55994         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
55995         [C99-based standards] (INT_FAST8_MIN): Likewise.
55996         [C99-based standards] (INT_FAST8_MAX): Likewise.
55997         [C99-based standards] (INT_FAST16_MIN): Likewise.
55998         [C99-based standards] (INT_FAST16_MAX): Likewise.
55999         [C99-based standards] (INT_FAST32_MIN): Likewise.
56000         [C99-based standards] (INT_FAST32_MAX): Likewise.
56001         [C99-based standards] (INT_FAST64_MIN): Likewise.
56002         [C99-based standards] (INT_FAST64_MAX): Likewise.
56003         [C99-based standards] (UINT_FAST8_MAX): Likewise.
56004         [C99-based standards] (UINT_FAST16_MAX): Likewise.
56005         [C99-based standards] (UINT_FAST32_MAX): Likewise.
56006         [C99-based standards] (UINT_FAST64_MAX): Likewise.
56007         [C99-based standards] (INTPTR_MIN): Likewise.
56008         [C99-based standards] (INTPTR_MAX): Likewise.
56009         [C99-based standards] (UINTPTR_MAX): Likewise.
56010         [C99-based standards] (INTMAX_MIN): Likewise.
56011         [C99-based standards] (INTMAX_MAX): Likewise.
56012         [C99-based standards] (UINTMAX_MAX): Likewise.
56013         [C99-based standards] (PTRDIFF_MIN): Likewise.
56014         [C99-based standards] (PTRDIFF_MAX): Likewise.
56015         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
56016         [C99-based standards] (SIZE_MAX): Likewise.
56017         [C99-based standards] (WCHAR_MAX): Likewise.
56018         [C99-based standards] (WINT_MAX): Likewise.
56019         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
56020         constraint on value.
56021         [C99-based standards] (WCHAR_MIN): Likewise.
56022         [C99-based standards] (WINT_MIN): Likewise.
56023         [C99-based standards] (*_t): Allow.
56024         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
56025         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
56026         Include math.h-data and complex.h-data.  Remove all expectations
56027         of math.h and complex.h contents.
56028         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
56029         at end of line.
56030         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
56031         (struct tm): Expect tag.
56032         [C99-based-standards] (wcstof): Expect function.
56033         [C99-based-standards] (wcstold): Likewise.
56034         [C99-based-standards] (wcstoll): Likewise.
56035         [C99-based-standards] (wcstoull): Likewise.
56036         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
56037         macro-int-constant.  Specify type.
56038         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
56039         constraint on value.
56040         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56041         Specify type.
56042         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
56043         Specify value.
56044         [ISO C standards]: Do not allow headers.
56045         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
56046         wcs[abcdefghijklmnopqrstuvwxyz]*.
56047         [ISO C standards] (*_t): Do not allow.
56048         * conform/data/wctype.h-data [C99-based standards] (iswblank):
56049         Expect function.
56050         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
56051         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56052         Specify type.
56053         [ISO C standards]: Do not allow headers.
56054         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
56055         is[abcdefghijklmnopqrstuvwxyz]*.
56056         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
56057         to[abcdefghijklmnopqrstuvwxyz]*.
56058         [ISO C standards] (*_t): Do not allow.
56059         * conform/data/stdalign.h-data: New file.
56060         * conform/data/stdbool.h-data: Likewise.
56061         * conform/data/stdnoreturn.h-data: Likewise.
56063 2012-11-07  Roland McGrath  <roland@hack.frob.com>
56065         [BZ #14815]
56066         * manual/filesys.texi (Directory Entries): Typo fix.
56067         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
56069 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56071         * elf/elf.h (EM_AARCH64): New macro.
56072         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
56073         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
56074         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
56075         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
56076         (R_AARCH64_TLSDESC): Likewise.
56077         (NT_ARM_TLS): Likewise.
56078         (NT_ARM_HW_BREAK): Likewise.
56079         (NT_ARM_HW_WATCH): Likewise.
56081 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56083         [BZ #14811]
56084         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
56085         (__ieee754_powl): Saturate nonzero exponents with absolute value
56086         below 0x1p-79 to +/- 0x1p-79.
56087         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
56088         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
56089         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
56090         nonzero exponents with absolute value below 0x1p-32 to +/-
56091         0x1p-32.
56092         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
56093         (__ieee754_powl): Saturate nonzero exponents with absolute value
56094         below 0x1p-79 to +/- 0x1p-79.
56095         * math/libm-test.inc (pow_test): Add more tests.
56097 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56099         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
56100         _dl_s390_cap_flags with kernel. Increase string length.
56101         (_dl_s390_platforms): Add z196 and zEC12.
56103 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56105         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
56106         Change XOPEN21K to XOPEN2K.
56108 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
56110         * string/memmove.c: Use memcpy when possible.
56112 2012-11-06  Andreas Jaeger  <aj@suse.de>
56114         * po/eo.po: Update from translation team.
56116 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
56118         [BZ #14793]
56119         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
56120         exponent and small x and y exponents, scale x or y up.  Increase
56121         by 2 the exponent used in scaling up.
56122         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56123         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56124         * math/libm-test.inc (fma_test): Add more tests.
56125         (fma_test_towardzero): Likewise.
56126         (fma_test_downward): Likewise.
56127         (fma_test_upward): Likewise.
56129 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
56131         [BZ #14805]
56132         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
56133         fenv_t *.
56135         [BZ #14801]
56136         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
56137         namespace for names of struct fields.
56138         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
56139         fenv_t fields.
56140         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
56141         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
56143 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56145         [BZ #3665]
56146         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
56148 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
56150         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
56151         PTR_DEMANGLE.
56153         [BZ #5246]
56154         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
56155         PTR_DEMANGLE.
56157 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
56159         [BZ #14797]
56160         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
56161         definitely overflow as x * y not x * y + z.
56162         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56163         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56164         * math/libm-test.inc (fma_test): Add more tests.
56165         (fma_test_towardzero): Likewise.
56166         (fma_test_downward): Likewise.
56167         (fma_test_upward): Likewise.
56169 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
56171         [BZ #157]
56173         * include/stub-tag.h: Remove file.
56174         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
56175         '#include' of it.
56176         * manual/maint.texi (Porting): Don't reference it.
56177         * Makerules ($(objpfx)stubs): Likewise.
56178         * dirent/closedir.c: Don't include <stub-tag.h>.
56179         * dirent/dirfd.c: Likewise.
56180         * dirent/fdopendir.c: Likewise.
56181         * dirent/getdents.c: Likewise.
56182         * dirent/getdents64.c: Likewise.
56183         * dirent/opendir.c: Likewise.
56184         * dirent/readdir.c: Likewise.
56185         * dirent/readdir64.c: Likewise.
56186         * dirent/readdir64_r.c: Likewise.
56187         * dirent/readdir_r.c: Likewise.
56188         * dirent/rewinddir.c: Likewise.
56189         * dirent/seekdir.c: Likewise.
56190         * dirent/telldir.c: Likewise.
56191         * gmon/profil.c: Likewise.
56192         * grp/setgroups.c: Likewise.
56193         * inet/if_index.c: Likewise.
56194         * io/access.c: Likewise.
56195         * io/chdir.c: Likewise.
56196         * io/chmod.c: Likewise.
56197         * io/chown.c: Likewise.
56198         * io/close.c: Likewise.
56199         * io/dup.c: Likewise.
56200         * io/dup2.c: Likewise.
56201         * io/dup3.c: Likewise.
56202         * io/euidaccess.c: Likewise.
56203         * io/faccessat.c: Likewise.
56204         * io/fchdir.c: Likewise.
56205         * io/fchmod.c: Likewise.
56206         * io/fchmodat.c: Likewise.
56207         * io/fchown.c: Likewise.
56208         * io/fchownat.c: Likewise.
56209         * io/fcntl.c: Likewise.
56210         * io/flock.c: Likewise.
56211         * io/fstatfs.c: Likewise.
56212         * io/fstatfs64.c: Likewise.
56213         * io/fstatvfs.c: Likewise.
56214         * io/fstatvfs64.c: Likewise.
56215         * io/futimens.c: Likewise.
56216         * io/fxstat.c: Likewise.
56217         * io/fxstat64.c: Likewise.
56218         * io/fxstatat.c: Likewise.
56219         * io/fxstatat64.c: Likewise.
56220         * io/getcwd.c: Likewise.
56221         * io/isatty.c: Likewise.
56222         * io/lchmod.c: Likewise.
56223         * io/lchown.c: Likewise.
56224         * io/link.c: Likewise.
56225         * io/linkat.c: Likewise.
56226         * io/lseek.c: Likewise.
56227         * io/lseek64.c: Likewise.
56228         * io/lxstat64.c: Likewise.
56229         * io/mkdir.c: Likewise.
56230         * io/mkdirat.c: Likewise.
56231         * io/mkfifo.c: Likewise.
56232         * io/mkfifoat.c: Likewise.
56233         * io/open.c: Likewise.
56234         * io/open64.c: Likewise.
56235         * io/openat.c: Likewise.
56236         * io/openat64.c: Likewise.
56237         * io/pipe.c: Likewise.
56238         * io/pipe2.c: Likewise.
56239         * io/poll.c: Likewise.
56240         * io/posix_fadvise.c: Likewise.
56241         * io/posix_fadvise64.c: Likewise.
56242         * io/posix_fallocate.c: Likewise.
56243         * io/posix_fallocate64.c: Likewise.
56244         * io/read.c: Likewise.
56245         * io/readlink.c: Likewise.
56246         * io/readlinkat.c: Likewise.
56247         * io/rmdir.c: Likewise.
56248         * io/sendfile.c: Likewise.
56249         * io/sendfile64.c: Likewise.
56250         * io/statfs.c: Likewise.
56251         * io/statfs64.c: Likewise.
56252         * io/statvfs.c: Likewise.
56253         * io/statvfs64.c: Likewise.
56254         * io/symlink.c: Likewise.
56255         * io/symlinkat.c: Likewise.
56256         * io/ttyname.c: Likewise.
56257         * io/ttyname_r.c: Likewise.
56258         * io/umask.c: Likewise.
56259         * io/unlink.c: Likewise.
56260         * io/unlinkat.c: Likewise.
56261         * io/utime.c: Likewise.
56262         * io/utimensat.c: Likewise.
56263         * io/write.c: Likewise.
56264         * io/xmknod.c: Likewise.
56265         * io/xmknodat.c: Likewise.
56266         * io/xstat.c: Likewise.
56267         * io/xstat64.c: Likewise.
56268         * login/getpt.c: Likewise.
56269         * login/grantpt.c: Likewise.
56270         * login/unlockpt.c: Likewise.
56271         * math/e_acoshl.c: Likewise.
56272         * math/e_acosl.c: Likewise.
56273         * math/e_asinl.c: Likewise.
56274         * math/e_atan2l.c: Likewise.
56275         * math/e_atanhl.c: Likewise.
56276         * math/e_coshl.c: Likewise.
56277         * math/e_expl.c: Likewise.
56278         * math/e_fmodl.c: Likewise.
56279         * math/e_gammal_r.c: Likewise.
56280         * math/e_hypotl.c: Likewise.
56281         * math/e_j0l.c: Likewise.
56282         * math/e_j1l.c: Likewise.
56283         * math/e_jnl.c: Likewise.
56284         * math/e_lgammal_r.c: Likewise.
56285         * math/e_log10l.c: Likewise.
56286         * math/e_log2l.c: Likewise.
56287         * math/e_logl.c: Likewise.
56288         * math/e_powl.c: Likewise.
56289         * math/e_rem_pio2l.c: Likewise.
56290         * math/e_sinhl.c: Likewise.
56291         * math/e_sqrtl.c: Likewise.
56292         * math/fclrexcpt.c: Likewise.
56293         * math/fedisblxcpt.c: Likewise.
56294         * math/feenablxcpt.c: Likewise.
56295         * math/fegetenv.c: Likewise.
56296         * math/fegetexcept.c: Likewise.
56297         * math/fegetround.c: Likewise.
56298         * math/feholdexcpt.c: Likewise.
56299         * math/fesetenv.c: Likewise.
56300         * math/fesetround.c: Likewise.
56301         * math/feupdateenv.c: Likewise.
56302         * math/fgetexcptflg.c: Likewise.
56303         * math/fraiseexcpt.c: Likewise.
56304         * math/fsetexcptflg.c: Likewise.
56305         * math/ftestexcept.c: Likewise.
56306         * math/k_cosl.c: Likewise.
56307         * math/k_rem_pio2l.c: Likewise.
56308         * math/k_sinl.c: Likewise.
56309         * math/k_tanl.c: Likewise.
56310         * math/s_asinhl.c: Likewise.
56311         * math/s_atanl.c: Likewise.
56312         * math/s_cbrtl.c: Likewise.
56313         * math/s_erfl.c: Likewise.
56314         * math/s_expm1l.c: Likewise.
56315         * math/s_log1pl.c: Likewise.
56316         * math/s_tanhl.c: Likewise.
56317         * misc/acct.c: Likewise.
56318         * misc/brk.c: Likewise.
56319         * misc/chflags.c: Likewise.
56320         * misc/chroot.c: Likewise.
56321         * misc/fchflags.c: Likewise.
56322         * misc/fgetxattr.c: Likewise.
56323         * misc/flistxattr.c: Likewise.
56324         * misc/fremovexattr.c: Likewise.
56325         * misc/fsetxattr.c: Likewise.
56326         * misc/fsync.c: Likewise.
56327         * misc/ftruncate.c: Likewise.
56328         * misc/futimes.c: Likewise.
56329         * misc/futimesat.c: Likewise.
56330         * misc/getdomain.c: Likewise.
56331         * misc/getdtsz.c: Likewise.
56332         * misc/gethostid.c: Likewise.
56333         * misc/gethostname.c: Likewise.
56334         * misc/getloadavg.c: Likewise.
56335         * misc/getpagesize.c: Likewise.
56336         * misc/getsysstats.c: Likewise.
56337         * misc/getxattr.c: Likewise.
56338         * misc/gtty.c: Likewise.
56339         * misc/ioctl.c: Likewise.
56340         * misc/lgetxattr.c: Likewise.
56341         * misc/listxattr.c: Likewise.
56342         * misc/llistxattr.c: Likewise.
56343         * misc/lremovexattr.c: Likewise.
56344         * misc/lsetxattr.c: Likewise.
56345         * misc/lutimes.c: Likewise.
56346         * misc/madvise.c: Likewise.
56347         * misc/mincore.c: Likewise.
56348         * misc/mlock.c: Likewise.
56349         * misc/mlockall.c: Likewise.
56350         * misc/mmap.c: Likewise.
56351         * misc/mprotect.c: Likewise.
56352         * misc/msync.c: Likewise.
56353         * misc/munlock.c: Likewise.
56354         * misc/munlockall.c: Likewise.
56355         * misc/munmap.c: Likewise.
56356         * misc/preadv.c: Likewise.
56357         * misc/preadv64.c: Likewise.
56358         * misc/ptrace.c: Likewise.
56359         * misc/pwritev.c: Likewise.
56360         * misc/pwritev64.c: Likewise.
56361         * misc/readv.c: Likewise.
56362         * misc/reboot.c: Likewise.
56363         * misc/remap_file_pages.c: Likewise.
56364         * misc/removexattr.c: Likewise.
56365         * misc/revoke.c: Likewise.
56366         * misc/select.c: Likewise.
56367         * misc/setdomain.c: Likewise.
56368         * misc/setegid.c: Likewise.
56369         * misc/seteuid.c: Likewise.
56370         * misc/sethostid.c: Likewise.
56371         * misc/sethostname.c: Likewise.
56372         * misc/setregid.c: Likewise.
56373         * misc/setreuid.c: Likewise.
56374         * misc/setxattr.c: Likewise.
56375         * misc/sstk.c: Likewise.
56376         * misc/stty.c: Likewise.
56377         * misc/swapoff.c: Likewise.
56378         * misc/swapon.c: Likewise.
56379         * misc/sync.c: Likewise.
56380         * misc/syncfs.c: Likewise.
56381         * misc/syscall.c: Likewise.
56382         * misc/truncate.c: Likewise.
56383         * misc/ualarm.c: Likewise.
56384         * misc/usleep.c: Likewise.
56385         * misc/ustat.c: Likewise.
56386         * misc/utimes.c: Likewise.
56387         * misc/vhangup.c: Likewise.
56388         * misc/writev.c: Likewise.
56389         * posix/_exit.c: Likewise.
56390         * posix/alarm.c: Likewise.
56391         * posix/execve.c: Likewise.
56392         * posix/fexecve.c: Likewise.
56393         * posix/fork.c: Likewise.
56394         * posix/fpathconf.c: Likewise.
56395         * posix/getaddrinfo.c: Likewise.
56396         * posix/getegid.c: Likewise.
56397         * posix/geteuid.c: Likewise.
56398         * posix/getgid.c: Likewise.
56399         * posix/getgroups.c: Likewise.
56400         * posix/getlogin.c: Likewise.
56401         * posix/getlogin_r.c: Likewise.
56402         * posix/getpgid.c: Likewise.
56403         * posix/getpid.c: Likewise.
56404         * posix/getppid.c: Likewise.
56405         * posix/getresgid.c: Likewise.
56406         * posix/getresuid.c: Likewise.
56407         * posix/getsid.c: Likewise.
56408         * posix/getuid.c: Likewise.
56409         * posix/glob64.c: Likewise.
56410         * posix/nanosleep.c: Likewise.
56411         * posix/pathconf.c: Likewise.
56412         * posix/pause.c: Likewise.
56413         * posix/posix_madvise.c: Likewise.
56414         * posix/pread.c: Likewise.
56415         * posix/pread64.c: Likewise.
56416         * posix/pwrite.c: Likewise.
56417         * posix/pwrite64.c: Likewise.
56418         * posix/sched_getaffinity.c: Likewise.
56419         * posix/sched_getp.c: Likewise.
56420         * posix/sched_gets.c: Likewise.
56421         * posix/sched_primax.c: Likewise.
56422         * posix/sched_primin.c: Likewise.
56423         * posix/sched_rr_gi.c: Likewise.
56424         * posix/sched_setaffinity.c: Likewise.
56425         * posix/sched_setp.c: Likewise.
56426         * posix/sched_sets.c: Likewise.
56427         * posix/sched_yield.c: Likewise.
56428         * posix/setgid.c: Likewise.
56429         * posix/setlogin.c: Likewise.
56430         * posix/setpgid.c: Likewise.
56431         * posix/setresgid.c: Likewise.
56432         * posix/setresuid.c: Likewise.
56433         * posix/setsid.c: Likewise.
56434         * posix/setuid.c: Likewise.
56435         * posix/sleep.c: Likewise.
56436         * posix/spawni.c: Likewise.
56437         * posix/sysconf.c: Likewise.
56438         * posix/times.c: Likewise.
56439         * posix/wait.c: Likewise.
56440         * posix/wait3.c: Likewise.
56441         * posix/wait4.c: Likewise.
56442         * posix/waitpid.c: Likewise.
56443         * resolv/gai_sigqueue.c: Likewise.
56444         * resource/getpriority.c: Likewise.
56445         * resource/getrlimit.c: Likewise.
56446         * resource/getrusage.c: Likewise.
56447         * resource/nice.c: Likewise.
56448         * resource/setpriority.c: Likewise.
56449         * resource/setrlimit.c: Likewise.
56450         * resource/ulimit.c: Likewise.
56451         * rt/aio_cancel.c: Likewise.
56452         * rt/aio_fsync.c: Likewise.
56453         * rt/aio_read.c: Likewise.
56454         * rt/aio_sigqueue.c: Likewise.
56455         * rt/aio_suspend.c: Likewise.
56456         * rt/aio_write.c: Likewise.
56457         * rt/clock_getres.c: Likewise.
56458         * rt/clock_gettime.c: Likewise.
56459         * rt/clock_nanosleep.c: Likewise.
56460         * rt/clock_settime.c: Likewise.
56461         * rt/lio_listio.c: Likewise.
56462         * rt/mq_close.c: Likewise.
56463         * rt/mq_getattr.c: Likewise.
56464         * rt/mq_notify.c: Likewise.
56465         * rt/mq_open.c: Likewise.
56466         * rt/mq_receive.c: Likewise.
56467         * rt/mq_send.c: Likewise.
56468         * rt/mq_setattr.c: Likewise.
56469         * rt/mq_timedreceive.c: Likewise.
56470         * rt/mq_timedsend.c: Likewise.
56471         * rt/mq_unlink.c: Likewise.
56472         * rt/shm_open.c: Likewise.
56473         * rt/shm_unlink.c: Likewise.
56474         * rt/timer_create.c: Likewise.
56475         * rt/timer_delete.c: Likewise.
56476         * rt/timer_getoverr.c: Likewise.
56477         * rt/timer_gettime.c: Likewise.
56478         * rt/timer_settime.c: Likewise.
56479         * setjmp/__longjmp.c: Likewise.
56480         * setjmp/setjmp.c: Likewise.
56481         * signal/kill.c: Likewise.
56482         * signal/killpg.c: Likewise.
56483         * signal/raise.c: Likewise.
56484         * signal/sigaction.c: Likewise.
56485         * signal/sigaltstack.c: Likewise.
56486         * signal/sigblock.c: Likewise.
56487         * signal/sigignore.c: Likewise.
56488         * signal/sigintr.c: Likewise.
56489         * signal/signal.c: Likewise.
56490         * signal/sigpause.c: Likewise.
56491         * signal/sigpending.c: Likewise.
56492         * signal/sigqueue.c: Likewise.
56493         * signal/sigreturn.c: Likewise.
56494         * signal/sigset.c: Likewise.
56495         * signal/sigsetmask.c: Likewise.
56496         * signal/sigstack.c: Likewise.
56497         * signal/sigsuspend.c: Likewise.
56498         * signal/sigtimedwait.c: Likewise.
56499         * signal/sigvec.c: Likewise.
56500         * signal/sigwait.c: Likewise.
56501         * signal/sigwaitinfo.c: Likewise.
56502         * signal/sysv_signal.c: Likewise.
56503         * socket/accept.c: Likewise.
56504         * socket/accept4.c: Likewise.
56505         * socket/bind.c: Likewise.
56506         * socket/connect.c: Likewise.
56507         * socket/getpeername.c: Likewise.
56508         * socket/getsockname.c: Likewise.
56509         * socket/getsockopt.c: Likewise.
56510         * socket/isfdtype.c: Likewise.
56511         * socket/listen.c: Likewise.
56512         * socket/recv.c: Likewise.
56513         * socket/recvfrom.c: Likewise.
56514         * socket/recvmsg.c: Likewise.
56515         * socket/send.c: Likewise.
56516         * socket/sendmsg.c: Likewise.
56517         * socket/sendto.c: Likewise.
56518         * socket/setsockopt.c: Likewise.
56519         * socket/shutdown.c: Likewise.
56520         * socket/sockatmark.c: Likewise.
56521         * socket/socket.c: Likewise.
56522         * socket/socketpair.c: Likewise.
56523         * stdio-common/ctermid.c: Likewise.
56524         * stdio-common/cuserid.c: Likewise.
56525         * stdio-common/remove.c: Likewise.
56526         * stdio-common/rename.c: Likewise.
56527         * stdio-common/renameat.c: Likewise.
56528         * stdio-common/tempname.c: Likewise.
56529         * stdlib/getcontext.c: Likewise.
56530         * stdlib/makecontext.c: Likewise.
56531         * stdlib/setcontext.c: Likewise.
56532         * stdlib/swapcontext.c: Likewise.
56533         * stdlib/system.c: Likewise.
56534         * streams/fattach.c: Likewise.
56535         * streams/fdetach.c: Likewise.
56536         * streams/getmsg.c: Likewise.
56537         * streams/getpmsg.c: Likewise.
56538         * streams/putmsg.c: Likewise.
56539         * streams/putpmsg.c: Likewise.
56540         * sysdeps/unix/bsd/getpt.c: Likewise.
56541         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
56542         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
56543         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56545         Likewise.
56546         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
56547         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56548         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
56549         * sysvipc/msgctl.c: Likewise.
56550         * sysvipc/msgget.c: Likewise.
56551         * sysvipc/msgrcv.c: Likewise.
56552         * sysvipc/msgsnd.c: Likewise.
56553         * sysvipc/semctl.c: Likewise.
56554         * sysvipc/semget.c: Likewise.
56555         * sysvipc/semop.c: Likewise.
56556         * sysvipc/semtimedop.c: Likewise.
56557         * sysvipc/shmat.c: Likewise.
56558         * sysvipc/shmctl.c: Likewise.
56559         * sysvipc/shmdt.c: Likewise.
56560         * sysvipc/shmget.c: Likewise.
56561         * termios/tcdrain.c: Likewise.
56562         * termios/tcflow.c: Likewise.
56563         * termios/tcflush.c: Likewise.
56564         * termios/tcgetattr.c: Likewise.
56565         * termios/tcgetpgrp.c: Likewise.
56566         * termios/tcsendbrk.c: Likewise.
56567         * termios/tcsetattr.c: Likewise.
56568         * termios/tcsetpgrp.c: Likewise.
56569         * time/adjtime.c: Likewise.
56570         * time/clock.c: Likewise.
56571         * time/getitimer.c: Likewise.
56572         * time/gettimeofday.c: Likewise.
56573         * time/setitimer.c: Likewise.
56574         * time/settimeofday.c: Likewise.
56575         * time/stime.c: Likewise.
56576         * time/time.c: Likewise.
56578 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
56580         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
56581         /usr/old/bin.
56583         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
56584         instead of spaces.
56585         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
56587 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
56589         [BZ #14796]
56590         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
56591         FE_TONEAREST before applying Dekker multiplication and Knuth
56592         addition.  Clear inexact exceptions and check for exact zero
56593         results afterwards.
56594         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56595         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56596         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56597         * math/libm-test.inc (fma_test): Add more tests.
56598         (fma_test_towardzero): Likewise.
56599         (fma_test_downward): Likewise.
56600         (fma_test_upward): Likewise.
56601         * sysdeps/generic/math_private.h (default_libc_fesetround): New
56602         function.
56603         (libc_fesetround): New macro.
56604         (libc_fesetroundf): Likewise.
56605         (libc_fesetroundl): Likewise.
56606         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
56607         function.
56608         (libc_fesetround_387): Likewise.
56609         (libc_fesetroundf): New macro.
56610         (libc_fesetround): Likewise.
56611         (libc_fesetroundl): Likewise.
56612         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
56613         function.
56614         (libc_fesetroundf): New macro.
56615         (libc_fesetround): Likewise.
56616         (libc_fesetroundl): Likewise.
56617         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
56618         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
56619         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
56620         libm_hidden_ver.
56621         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
56622         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
56623         libm_hidden_def.
56624         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
56625         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
56626         libm_hidden_ver.
56627         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
56628         libm_hidden_def.
56630         [BZ #3439]
56631         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
56632         integer constant usable in #if and use that to give value to enum
56633         constant.
56634         (FE_DIVBYZERO): Likewise.
56635         (FE_UNDERFLOW): Likewise.
56636         (FE_OVERFLOW): Likewise.
56637         (FE_INVALID): Likewise.
56638         (FE_INVALID_SNAN): Likewise.
56639         (FE_INVALID_ISI): Likewise.
56640         (FE_INVALID_IDI): Likewise.
56641         (FE_INVALID_ZDZ): Likewise.
56642         (FE_INVALID_IMZ): Likewise.
56643         (FE_INVALID_COMPARE): Likewise.
56644         (FE_INVALID_SOFTWARE): Likewise.
56645         (FE_INVALID_SQRT): Likewise.
56646         (FE_INVALID_INTEGER_CONVERSION): Likewise.
56647         (FE_TONEAREST): Likewise.
56648         (FE_TOWARDZERO): Likewise.
56649         (FE_UPWARD): Likewise.
56650         (FE_DOWNWARD): Likewise.
56651         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
56652         (FE_DIVBYZERO): Likewise.
56653         (FE_OVERFLOW): Likewise.
56654         (FE_UNDERFLOW): Likewise.
56655         (FE_INEXACT): Likewise.
56656         (FE_TONEAREST): Likewise.
56657         (FE_DOWNWARD): Likewise.
56658         (FE_UPWARD): Likewise.
56659         (FE_TOWARDZERO): Likewise.
56660         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
56661         (FE_UNDERFLOW): Likewise.
56662         (FE_OVERFLOW): Likewise.
56663         (FE_DIVBYZERO): Likewise.
56664         (FE_INVALID): Likewise.
56665         (FE_TONEAREST): Likewise.
56666         (FE_TOWARDZERO): Likewise.
56667         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
56668         (FE_OVERFLOW): Likewise.
56669         (FE_UNDERFLOW): Likewise.
56670         (FE_DIVBYZERO): Likewise.
56671         (FE_INEXACT): Likewise.
56672         (FE_TONEAREST): Likewise.
56673         (FE_TOWARDZERO): Likewise.
56674         (FE_UPWARD): Likewise.
56675         (FE_DOWNWARD): Likewise.
56676         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
56677         (FE_DIVBYZERO): Likewise.
56678         (FE_OVERFLOW): Likewise.
56679         (FE_UNDERFLOW): Likewise.
56680         (FE_INEXACT): Likewise.
56681         (FE_TONEAREST): Likewise.
56682         (FE_DOWNWARD): Likewise.
56683         (FE_UPWARD): Likewise.
56684         (FE_TOWARDZERO): Likewise.
56686 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
56688         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
56690 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
56692         * scripts/cross-test-ssh.sh (command): Use newlines to separate
56693         commands.  Quote $PWD.
56694         (blacklist_exports): Don't use remove_newlines.  Replace "declare
56695         -x" by "export".
56696         (remove_newlines): Remove.
56698 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
56700         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
56701         * stdlib/stdlib.h (atof): Moved to ...
56702         * include/bits/stdlib-float.h: Here.  New file.
56703         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
56704         * stdlib/bits/stdlib-float.h: New file.
56705         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
56706         -mno-sse -mno-mmx.
56707         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
56708         <xmmintrin.h>.
56710 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56712         * conform/conformtest.pl (@headers): Add fenv.h.
56713         * conform/data/fenv.h-data: New file.
56714         * include/fenv.h [_ISOMAC]: Disable all contents of file except
56715         include of <math/fenv.h>.
56717         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
56718         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
56719         && !UNIX98].  Enables tests for XOPEN2K8.
56720         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
56721         POSIX2008]: Likewise.
56723         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
56724         (struct rusage): Do not expect type or its members.
56726         [BZ #3439]
56727         * math/math.h (FP_NAN): Define macro to integer constant usable in
56728         #if and use that to give value to enum constant.
56729         (FP_INFINITE): Likewise.
56730         (FP_ZERO): Likewise.
56731         (FP_SUBNORMAL): Likewise.
56732         (FP_NORMAL): Likewise.
56734 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
56736         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
56737         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
56738         arguments.
56740 2012-11-02  Roland McGrath  <roland@hack.frob.com>
56742         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
56743         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
56744         autoconf-time if not.
56745         * configure.in: Remove AC_PREREQ.
56747 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56749         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
56750         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
56751         of the internal implementation.
56753 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56755         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
56756         except include of <misc/sys/syslog.h>.
56758 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
56761         function returns with a NULL context exit with zero.
56763 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56765         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
56767 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
56769         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
56770         (run_program_cmd): This.
56771         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
56772         (tst_langinfo): New variable.  Use it.
56774 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
56776         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
56777         floating point opcodes.
56779 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56781         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
56782         variable.
56784         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
56786         * sysdeps/mach/hurd/powerpc: Remove directory.
56787         * sysdeps/mach/powerpc: Likewise.
56789 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56791         * scripts/check-local-headers.sh: Ignore c++ headers.
56793 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56795         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
56796         __libc_cleanup_region_start argument.
56798 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
56800         [BZ #14784]
56801         [BZ #14785]
56802         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
56803         x * y using scaling, not as x * y + z.
56804         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56805         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56806         * math/libm-test.inc (fma_test): Add more tests.
56807         (fma_test_towardzero): Likewise.
56808         (fma_test_downward): Likewise.
56809         (fma_test_upward): Likewise.
56811 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56813         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
56815 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56817         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
56818         New variable.
56820 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
56822         * rt/tst-shm.c (worker): Correct checking for mmap failure.
56824 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56827         Fix sort order.
56828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56829         Likewise.
56831 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56834         Fix the order of the list for glibc 2.17.
56835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56836         Likewise.
56838 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56842 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56844         [BZ #14610]
56845         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
56846         for low part of x being zero before using __atanl (y).
56847         * math/libm-test.inc (atan2_test): Add another test.
56849         * manual/install.texi (Configuring and compiling): Document
56850         general use of test-wrapper and test-wrapper-env.
56851         * INSTALL: Regenerated.
56853         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
56854         (__fma): Do not extract and scale down low bits on after-rounding
56855         systems when result rounded to normal precision would have normal
56856         exponent.
56857         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
56858         (__fmal): Do not extract and scale down low bits on after-rounding
56859         systems when result rounded to normal precision would have normal
56860         exponent.
56861         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
56862         (__fmal): Do not extract and scale down low bits on after-rounding
56863         systems when result rounded to normal precision would have normal
56864         exponent.
56865         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
56866         macro.
56867         (fma_test): Add more tests.
56868         (fma_test_towardzero): Likewise.
56869         (fma_test_downward): Likewise.
56870         (fma_test_upward): Likewise.
56872 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
56874         * sysdeps/i386/tininess.h: Renamed to ...
56875         * sysdeps/x86/tininess.h: This.
56876         * sysdeps/x86_64/tininess.h: Removed.
56878 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56880         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
56881         input.  Use $(build-program-cmd).
56882         ($(objpfx)tst-array1-static.out): Likewise.
56883         ($(objpfx)tst-array2.out): Likewise.
56884         ($(objpfx)tst-array3.out): Likewise.
56885         ($(objpfx)tst-array4.out): Likewise.
56886         ($(objpfx)tst-array5.out): Likewise.
56887         ($(objpfx)tst-array5-static.out): Likewise.
56889 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
56891         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
56892         if defined.
56894         * nss/nsswitch.h (nss_interface_function): Provide new
56895         macro for use with NSS functions.
56896         * grp/initgroups.c: Use new macro.
56897         * nss/getXXbyYY.c: Likewise.
56898         * nss/getXXbyYY_r.c: Likewise.
56899         * nss/getXXent.c: Likewise.
56900         * nss/getXXent_r.c: Likewise.
56901         * sysdeps/posix/getaddrinfo.c: Likewise.
56903 2012-10-30  Andreas Jaeger  <aj@suse.de>
56905         * po/ru.po: Update Russion translation from translation project.
56907 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56909         [BZ #14152]
56910         [BZ #14783]
56911         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
56912         result and shift together with sticky bit instead of replicating
56913         round-to-nearest rounding.
56914         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56915         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56916         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
56917         missing underflow exceptions.
56918         (fma_test_towardzero): Add more tests.
56919         (fma_test_downward): Likewise.
56920         (fma_test_upward): Likewise.
56922         [BZ #14047]
56923         * sysdeps/generic/tininess.h: New file.
56924         * sysdeps/i386/tininess.h: Likewise.
56925         * sysdeps/sh/tininess.h: Likewise.
56926         * sysdeps/x86_64/tininess.h: Likewise.
56927         * stdlib/tst-strtod-underflow.c: Likewise.
56928         * stdlib/tst-tininess.c: Likewise.
56929         * stdlib/strtod_l.c: Include <tininess.h>.
56930         (round_and_return): Do not set errno for exact underflow cases.
56931         Force an underflow exception when setting errno for underflow.
56932         Determine underflow based on rounding to normal precision if
56933         TININESS_AFTER_ROUNDING.
56934         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
56935         ERANGE for exact underflow cases.
56936         * stdlib/Makefile (tests): Add tst-tininess and
56937         tst-strtod-underflow.
56938         ($(objpfx)tst-tininess): Use $(link-libm).
56939         ($(objpfx)tst-strtod-underflow): Likewise.
56941 2012-10-30  Andreas Jaeger  <aj@suse.de>
56943         [BZ#14767]
56944         * elf/Makefile (tests): Remove conditional for have-initfini-array
56945         since this is now always required and the variable does not exist
56946         anymore.
56947         (tests-static): Likewise.
56948         (modules-names): Likewise.
56950         * po/eo.po: Add Esperanto translation from translation project.
56952         * elf/tst-array1.c (fini_array): Make writeable so that it can be
56953         merged with constructor/destructor.
56954         (init_array): Likewise.
56955         * elf/tst-array2dep.c (fini_array): Likewise.
56956         (init_array): Likewise.
56958 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
56960         * manual/message.texi: Delete @cartouche tags.
56962 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
56964         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
56965         EOPNOTSUPP.
56966         * sysdeps/mach/hurd/fsync.c: Likewise.
56968         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
56969         [_POSIX_REALTIME_SIGNALS]: Change condition to
56970         [_POSIX_REALTIME_SIGNALS > 0].
56972 2012-10-27  Andreas Jaeger  <aj@suse.de>
56974         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
56975         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
56976         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
56977         [__WORDSIZE != 64]: Likewise.
56979 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
56981         *  iconvdata/tst-table.sh: Remove ${SHELL}.
56982         *  iconvdata/tst-tables.sh: Likewise.
56984 2012-10-25  David S. Miller  <davem@davemloft.net>
56986         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56987         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
56988         of strtoull.
56990         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
56991         ifunc-impl-list.c
56992         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56993         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
56994         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
56995         file.
56997 2012-10-25  Roland McGrath  <roland@hack.frob.com>
56999         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57000         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
57001         __getdirentries.
57003 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57004             Jim Blandy  <jimb@codesourcery.com>
57006         * scripts/cross-test-ssh.sh: New file.
57007         * manual/install.texi (Configuring and compiling): Document use of
57008         cross-test-ssh.sh.
57009         * INSTALL: Regenerated.
57011 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
57013         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
57014         EOPNOTSUPP.
57016 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57018         * Makeconfig (run-program-prefix): Fix comment.
57020 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57021             Jim Blandy  <jimb@codesourcery.com>
57023         * Makeconfig (test-wrapper): New variable,
57024         (test-wrapper-env): Likewise.
57025         [$(cross-compiling) = yes && $(test-wrapper) != ""]
57026         (run-built-tests): Define to yes.
57027         (run-program-prefix): Use $(test-wrapper).
57028         (built-program-cmd): Likewise.
57029         * Rules (make-test-out): Use $(test-wrapper-env) and
57030         $(host-built-program-cmd).
57031         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
57032         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
57033         tst-pathopt.sh.
57034         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
57035         $(test-wrapper-env) to tst-rtld-load-self.sh.
57036         ($(objpfx)order2.out): Use $(test-wrapper).
57037         ($(objpfx)tst-initorder.out): Likewise.
57038         ($(objpfx)tst-initorder2.out): Likewise.
57039         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
57040         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
57041         (test_wrapper_env): New variable.  Use it to run ld.so.
57042         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
57043         Use it to run ld.so.
57044         (test_wrapper_env): Likewise.
57045         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
57046         $(test-wrapper) to run-iconv-test.sh.
57047         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
57048         (ICONV): Use $test_wrapper.
57049         * posix/Makefile ($(objpfx)globtest.out): Pass
57050         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
57051         globtest.sh, not $(run-program-prefix).
57052         * posix/globtest.sh (run_via_rtld_prefix): New variable.
57053         (test_wrapper): Likewise.
57054         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
57055         set together with run_via_rtld_prefix.
57056         (run_program_prefix): Define in terms of test_wrapper and
57057         run_via_rtld_prefix.
57059 2012-10-24  Roland McGrath  <roland@hack.frob.com>
57061         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
57062         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
57063         Targets removed.
57065         [BZ #14743]
57066         * include/time.h: Remove librt_hidden_proto (clock_gettime).
57067         Declare __clock_getres, __clock_gettime, __clock_settime,
57068         __clock_nanosleep, and __clock_getcpuclockid.
57069         * rt/clock_gettime.c: Define __clock_gettime as an alias.
57070         Remove librt_hidden_def (clock_gettime).
57071         * sysdeps/unix/clock_gettime.c: Likewise.
57072         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
57073         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
57074         * rt/clock_getres.c: Define __clock_getres as an alias.
57075         * sysdeps/posix/clock_getres.c: Likewise.
57076         * rt/clock_settime.c: Define __clock_settime as an alias.
57077         * sysdeps/unix/clock_settime.c: Likewise.
57078         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
57079         * sysdeps/unix/clock_nanosleep.c: Likewise.
57080         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
57081         * rt/clock-compat.c: New file.
57082         * rt/Makefile (librt-routines): Add clock-compat and move
57083         $(clock-routines) to ...
57084         (routines): ... here, new variable.
57085         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
57086         Don't add get_clockfreq here.
57087         * rt/Versions (libc: GLIBC_2.17): New version set.
57088         Add clock_* symbols here.
57089         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
57090         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
57091         (GLIBC_2.17): Add clock_* symbols.
57092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57094         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57096         Likewise.
57097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57098         Likewise.
57099         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57100         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57103         * NEWS: Mention the move.
57105         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57106         Use __open, __read, __close rather than their public counterparts.
57107         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57108         (__get_clockfreq_via_cpuinfo): Likewise.
57109         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
57110         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
57112         * config.h.in (HAVE_IFUNC): New #undef.
57113         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
57114         was successful.
57115         * configure: Regenerated.
57117 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
57119         * configure.in: Move READELF check to start of file.
57120         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
57121         libc_cv_asm_gnu_indirect_function in the process.
57122         * configure: Regenerated.
57124 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
57126         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
57127         send the output to /dev/null.
57128         (libc_cv_cc_with_libunwind): Likewise.
57129         (libc_cv_as_noexecstack): Likewise.
57130         * configure: Regenerate.
57132 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57134         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
57136         * posix/globtest.sh (TMPDIR): Do not set.
57137         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
57138         (testout): Likewise.
57140 2012-10-24  Andreas Jaeger  <aj@suse.de>
57142         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
57143         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
57144         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
57145         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
57146         posix_fadvise64, posix_fallocate64.
57148         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
57149         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
57150         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
57151         Likewise.
57152         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
57153         Likewise.
57154         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
57156         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
57157         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
57158         <bits/fcntl-linux.h>.
57159         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
57161         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
57162         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
57163         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
57164         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
57165         [__WORDSIZE != 64]: Likewise.
57167 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57169         * Makeconfig (run-built-tests): New variable.
57170         * Rules [$(cross-compiling) = yes]: Change condition to
57171         [$(run-built-tests) = no].
57172         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
57173         to [$(run-built-tests) = yes].
57174         * elf/Makefile [$(cross-compiling) = no]: Likewise.
57175         * grp/Makefile [$(cross-compiling) = no]: Likewise.
57176         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
57177         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
57178         * intl/Makefile [$(cross-compiling) = no]: Likewise.
57179         * io/Makefile [$(cross-compiling) = no]: Likewise.
57180         * libio/Makefile [$(cross-compiling) = no]: Likewise.
57181         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
57182         * misc/Makefile [$(cross-compiling) = no]: Likewise.
57183         * posix/Makefile [$(cross-compiling) = no]: Likewise.
57184         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
57185         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
57186         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
57187         * string/Makefile [$(cross-compiling) = no]: Likewise.
57189         * posix/Makefile ($(objpfx)globtest.out): Pass
57190         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
57191         $(rtld-installed-name).
57192         * posix/globtest.sh (elf_objpfx): Remove variable.
57193         (rtld_installed_name): Likewise.
57194         (library_path): Likewise.
57195         (run_program_prefix): New variable.  Use for running globtest
57196         binary.
57198 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
57199             Joseph Myers  <joseph@codesourcery.com>
57201         * Makeconfig (host-built-program-cmd): New variable.
57202         * elf/Makefile (tst-stackguard1-ARGS): Use
57203         $(host-built-program-cmd).
57204         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
57205         (tst-spawn-ARGS): Likewise.
57206         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
57208 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57209             Jim Blandy  <jimb@codesourcery.com>
57211         * Makeconfig (run-via-rtld-prefix): New variable.
57212         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
57213         (built-program-cmd): Likewise.
57215 2012-10-22  Andreas Jaeger  <aj@suse.de>
57217         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
57218         __O_RSYNC if it exists, otherwise to O_SYNC.
57220 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
57221             Joseph Myers  <joseph@codesourcery.com>
57223         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
57224         /dev/null.
57225         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
57226         from /dev/null
57227         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
57228         /dev/null.
57230 2012-10-22  Andreas Jaeger  <aj@suse.de>
57232         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
57233         Define always.
57234         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
57236         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57237         bits/fcntl-linux.h.
57239         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
57240         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
57242         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
57243         to __O_LARGEFILE.
57244         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
57245         to __O_LARGEFILE.
57247 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
57248             Joseph Myers  <joseph@codesourcery.com>
57250         * config.make.in (NM): New variable.
57252 2012-10-21  Andreas Jaeger  <aj@suse.de>
57254         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
57255         definitions and declarations that are provided by
57256         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57258 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57260         [BZ #14683]
57261         * elf/Makefile (tests-static): Add tst-leaks1-static.
57262         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
57263         ($(objpfx)tst-leaks1-static): New rule.
57264         ($(objpfx)tst-leaks1-static-mem): Likewise.
57265         (tst-leaks1-static-ENV): New macro.
57266         * elf/dl-open.c (dl_open_worker): Check the main application
57267         only if SHARED is defined.
57268         * elf/tst-leaks1-static.c: New file.
57270 2012-10-20  Andreas Jaeger  <aj@suse.de>
57272         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
57273         generic values for Linux.
57274         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
57275         and declarations that are provided by <bits/fcntl-linux.h> and
57276         include <bits/fcntl-linux.h>.
57277         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57278         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57280 2012-10-20  Roland McGrath  <roland@hack.frob.com>
57282         * io/fcntl.h: Move include of <bits/types.h> to the top and
57283         include it unconditionally.
57285 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57287         * wcsmbs/Makefile (tests-ifunc): New variable.
57288         (tests): Add $(tests-ifunc).
57289         * wcsmbs/test-wcschr-ifunc.c: New file.
57290         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
57291         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
57292         * wcsmbs/test-wcslen-ifunc.c: Likewise.
57293         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
57294         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
57296         * string/Makefile (tests-ifunc): New variable.
57297         (tests): Add $(tests-ifunc).
57298         * string/test-memccpy.c (TEST_NAME): New macro.
57299         * string/test-memchr.c (TEST_NAME): Likewise.
57300         * string/test-memcmp.c (TEST_NAME): Likewise.
57301         * string/test-memcpy.c (TEST_NAME): Likewise.
57302         * string/test-memmem.c (TEST_NAME): Likewise.
57303         * string/test-memmove.c (TEST_NAME): Likewise.
57304         * string/test-memset.c (TEST_NAME): Likewise.
57305         * string/test-rawmemchr.c (TEST_NAME): Likewise.
57306         * string/test-stpcpy.c (TEST_NAME): Likewise.
57307         * string/test-stpncpy.c (TEST_NAME): Likewise.
57308         * string/test-strcasecmp.c (TEST_NAME): Likewise.
57309         * string/test-strcasestr.c (TEST_NAME): Likewise.
57310         * string/test-strcat.c (TEST_NAME): Likewise.
57311         * string/test-strchr.c (TEST_NAME): Likewise.
57312         * string/test-strcmp.c(TEST_NAME): Likewise.
57313         * string/test-strcpy.c (TEST_NAME): Likewise.
57314         * string/test-strcspn.c (TEST_NAME): Likewise.
57315         * string/test-strlen.c (TEST_NAME): Likewise.
57316         * string/test-strncasecmp.c (TEST_NAME): Likewise.
57317         * string/test-strncmp.c (TEST_NAME): Likewise.
57318         * string/test-strncpy.c (TEST_NAME): Likewise.
57319         * string/test-strnlen.c (TEST_NAME): Likewise.
57320         * string/test-strpbrk.c (TEST_NAME): Likewise.
57321         * string/test-strrchr.c (TEST_NAME): Likewise.
57322         * string/test-strspn.c (TEST_NAME): Likewise.
57323         * string/test-strstr.c (TEST_NAME): Likewise.
57324         * string/test-bcopy-ifunc.c: New file.
57325         * string/test-bzero-ifunc.c: Likewise.
57326         * string/test-memccpy-ifunc.c: Likewise.
57327         * string/test-memchr-ifunc.c: Likewise.
57328         * string/test-memcmp-ifunc.c: Likewise.
57329         * string/test-memcpy-ifunc.c: Likewise.
57330         * string/test-memmem-ifunc.c: Likewise.
57331         * string/test-memmove-ifunc.c: Likewise.
57332         * string/test-mempcpy-ifunc.c: Likewise.
57333         * string/test-memset-ifunc.c: Likewise.
57334         * string/test-rawmemchr-ifunc.c: Likewise.
57335         * string/test-stpcpy-ifunc.c: Likewise.
57336         * string/test-stpncpy-ifunc.c: Likewise.
57337         * string/test-strcasecmp-ifunc.c: Likewise.
57338         * string/test-strcasestr-ifunc.c: Likewise.
57339         * string/test-strcat-ifunc.c: Likewise.
57340         * string/test-strchr-ifunc.c: Likewise.
57341         * string/test-strchrnul-ifunc.c: Likewise.
57342         * string/test-strcmp-ifunc.c: Likewise.
57343         * string/test-strcpy-ifunc.c: Likewise.
57344         * string/test-strcspn-ifunc.c: Likewise.
57345         * string/test-strlen-ifunc.c: Likewise.
57346         * string/test-strncasecmp-ifunc.c: Likewise.
57347         * string/test-strncat-ifunc.c: Likewise.
57348         * string/test-strncmp-ifunc.c: Likewise.
57349         * string/test-strncpy-ifunc.c: Likewise.
57350         * string/test-strnlen-ifunc.c: Likewise.
57351         * string/test-strpbrk-ifunc.c: Likewise.
57352         * string/test-strrchr-ifunc.c: Likewise.
57353         * string/test-strspn-ifunc.c: Likewise.
57354         * string/test-strstr-ifunc.c: Likewise.
57356         * debug/Makefile (tests-ifunc): New variable.
57357         (tests): Add $(tests-ifunc).
57358         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
57359         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
57360         * debug/test-stpcpy_chk-ifunc.c: New file.
57361         * debug/test-strcpy_chk-ifunc.c: Likewise.
57363 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57365         [BZ #13601]
57366         * elf/dl-load.c (open_verify): Retry read if the entire ELF
57367         header is not read in.
57369 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
57371         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
57372         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
57373         directly.  Pass built executable to script as
57374         $(built-program-cmd).
57375         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
57376         $testprogram without using LD_LIBRARY_PATH and $ldso.
57378         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
57379         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
57380         $(rtld-installed-name).
57381         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
57382         (rtld_installed_name): Likewise.
57383         (library_path): Likewise.
57384         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
57385         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
57386         $(run-program-prefix) to tst-tables.sh.
57387         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
57388         it to run tst-table-from and tst-table-to.
57389         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
57390         Pass it to tst-table.sh.
57391         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
57392         $(run-program-prefix) to tst-gettext.sh.
57393         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
57394         tst-translit.sh.
57395         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
57396         tst-gettext2.sh.
57397         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
57398         to run tst-gettext.
57399         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
57400         to run tst-gettext2.
57401         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
57402         to run tst-translit.
57403         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
57404         $(run-program-prefix) to tst-mtrace.sh.
57405         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
57406         to run tst-mtrace.
57407         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
57408         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
57409         $(rtld-installed-name).
57410         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
57411         (rtld_installed_name): Likewise.
57412         (run_program_prefix): New variable.  Use it to run wordexp-test.
57414         * Makeconfig (ARCH): Remove all definitions.
57415         (machine): Likewise.
57416         [ARCH]: Remove conditional code.
57417         [!objdir]: Give error.
57418         [!objdir] (objpfx): Remove.
57419         [!objdir] (common-objpfx): Likewise.
57420         [!objdir] (common-objdir): Likewise.
57421         * configure.in (config_makefile): Remove.  Hardcode Makefile in
57422         AC_CONFIG_FILES call.
57423         * configure: Regenerated.
57425         [BZ #13888]
57426         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
57427         or TMPDIR.
57428         (testout): Likewise.
57430         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
57431         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
57432         $(rtld-installed-name).
57433         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
57434         (rtld_installed_name): Likwise.
57435         (runit): Remove function.
57436         (run_getconf): New variable,  Use it for running getconf binary.
57438 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
57440         [BZ #14716]
57441         * string/test-memmem.c (check_result): New function.
57442         (do_one_test): Use it.
57443         (check1): New function.
57444         (test_main): Use it.
57446 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
57448         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
57450 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
57452         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
57453         (_G_LSEEK64): Likewise.
57454         (_G_MMAP64): Likewise.
57455         (_G_FSTAT64): Likewise.
57456         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
57457         (_G_LSEEK64): Likewise.
57458         (_G_MMAP64): Likewise.
57459         (_G_FSTAT64): Likewise.
57460         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
57461         unconditional.  Call __mmap64 directly.
57462         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
57463         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
57464         __lseek64 directly.
57465         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
57466         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
57467         __mmap64 directly.
57468         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
57469         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57470         __lseek64 directly.
57471         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
57472         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57473         __lseek64 directly.
57474         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
57475         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
57476         __lseek64 directly.
57477         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
57478         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
57479         __fxstat64 directly.
57480         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
57481         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
57482         unconditional.
57483         (freopen64) [!_G_OPEN64]: Remove conditional code.
57484         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
57485         unconditional.
57486         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
57487         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
57488         unconditional.
57489         (ftello64) [!_G_LSEEK64]: Remove conditional code.
57490         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
57491         unconditional.
57492         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57493         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
57494         unconditional.
57495         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
57496         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
57497         unconditional.
57498         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57499         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
57500         unconditional.
57501         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57502         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
57503         unconditional.
57504         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57506 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57508         [BZ #12140]
57509         * manual/memory.texi (Malloc Tunable Parameters): Add note
57510         about free list pointers overwriting some perturb bytes.
57511         Wording suggested by Roland McGrath.
57513 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
57515         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
57516         (lgamma_test): Likewise.
57517         (tgamma_test): Likewise.
57519 2012-10-16  Florian Weimer  <fweimer@redhat.com>
57521         [BZ #14700]
57522         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
57523         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
57525 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
57527         * NEWS: Mention BZ #14716.
57528         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
57529         when removing AVAILABLE1_USES_J macro.
57531 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
57533         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
57534         (__bswap_64): __uint64_t for unsigned 64-bit int.
57536 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
57538         * include/string.h (memmem): Declare libc hidden alias.
57539         * string/memmem.c (memmem): Define libc hidden alias.
57540         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
57541         __read, __close instead of open, read, close.
57543 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
57545         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
57546         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
57547         global and hidden.
57548         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
57549         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
57550         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
57551         Likewise.
57552         (__rawmemchr_sse2): Likewise.
57553         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
57554         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
57555         (__strchr_sse2): Likewise.
57556         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
57557         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
57558         (__strcasecmp_sse2): Likewise.
57559         (__strncasecmp_sse2): Likewise.
57560         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
57561         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
57562         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
57563         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
57564         (__strrchr_sse2): Likewise.
57565         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
57566         ifunc-impl-list.c.
57567         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
57568         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
57569         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
57570         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57571         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
57572         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
57573         * sysdeps/x86_64/multiarch/memset.S: Likewise.
57574         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
57575         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
57576         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
57577         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
57578         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
57579         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
57580         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
57581         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
57582         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57583         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
57584         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
57585         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
57586         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
57587         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
57588         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
57589         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
57590         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57591         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
57592         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57593         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
57594         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57595         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
57596         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
57598         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
57599         global and hidden.
57600         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
57601         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
57602         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
57603         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
57604         Likewise.
57605         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
57606         Likewise.
57607         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
57608         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
57609         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
57610         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
57611         ifunc-impl-list.c.
57612         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57613         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57614         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57615         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57616         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57617         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57618         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57619         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57620         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57621         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57622         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57623         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57624         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57625         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
57626         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
57627         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57628         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
57629         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
57630         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57631         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57632         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57633         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57634         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57635         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57636         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57637         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
57638         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
57639         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
57640         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
57641         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57642         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
57643         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57644         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57645         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
57646         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57647         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57648         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57649         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57650         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57651         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57652         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
57654         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
57655         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
57656         * include/ifunc-impl-list.h: New file.
57657         * misc/ifunc-impl-list.c: Likewise.
57658         * misc/Makefile (routines): Add ifunc-impl-list.
57659         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
57660         * string/test-string.h: Include <ifunc-impl-list.h>.
57661         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
57662         TEST_NAME]: New variables.
57663         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
57664         are defined.
57665         (test_init): Call __libc_ifunc_impl_list to initialize
57666         func_list if TEST_IFUNC and TEST_NAME are defined.
57668         * string/Makefile (strop-tests): Add bcopy and bzero.
57669         * string/test-bcopy.c: New file.
57670         * string/test-bzero.c: Likewise.
57671         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
57672         defined.
57673         * string/test-memset.c: Support bzero test if TEST_BZERO is
57674         defined.
57675         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
57676         __libc_memmove.
57677         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
57678         __libc_memset.
57679         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
57680         of memset.
57682 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
57684         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
57685         * configure: Regenerated.
57687         * Makeconfig (+link-static-before-libc): Don't include
57688         $(link-static-libc).
57690         * libio/libio.h (_IO_pos_t): Remove.
57692 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57694         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
57695         McGrath.
57697 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57699         * crypt/crypt-entry.c: Include fips-private.h.
57700         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
57701         * crypt/md5c-test.c (main): Tolerate disabled MD5.
57702         * sysdeps/unix/sysv/linux/fips-private.h: New file.
57703         * sysdeps/generic/fips-private.h: New file, dummy fallback.
57705 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57707         * crypt/crypt-private.h: Include stdbool.h.
57708         (_ufc_setup_salt_r): Return bool.
57709         * crypt/crypt-entry.c: Include errno.h.
57710         (__crypt_r): Return NULL with EINVAL for bad salt.
57711         * crypt/crypt_util.c (bad_for_salt): New.
57712         (_ufc_setup_salt_r): Check that salt is long enough and within
57713         the specified alphabet.
57714         * crypt/badsalttest.c: New file.
57715         * crypt/Makefile (tests): Add it.
57716         ($(objpfx)badsalttest): New.
57718 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
57720         * NEWS: Add entry for BZ #14602.
57722 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57724         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
57725         type-generic.
57726         * math/libm-test.inc: Update comment listing what functions and
57727         macros are tested.
57728         (isgreater_test): New function.
57729         (isgreaterequal_test): Likewise.
57730         (isless_test): Likewise.
57731         (islessequal_test): Likewise.
57732         (islessgreater_test): Likewise.
57733         (isunordered_test): Likewise.
57734         (main): Call the new functions.
57736 2012-10-09  Roland McGrath  <roland@hack.frob.com>
57738         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
57739         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
57740         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
57741         * sysdeps/i386/configure: Regenerated.
57742         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
57743         * sysdeps/mach/configure: Regenerated.
57744         * sysdeps/mach/hurd/configure: Regenerated.
57745         * sysdeps/powerpc/configure: Regenerated.
57746         * sysdeps/powerpc/powerpc32/configure: Regenerated.
57747         * sysdeps/powerpc/powerpc64/configure: Regenerated.
57748         * sysdeps/s390/s390-32/configure: Regenerated.
57749         * sysdeps/s390/s390-64/configure: Regenerated.
57750         * sysdeps/sh/configure: Regenerated.
57751         * sysdeps/sparc/configure: Regenerated.
57752         * sysdeps/unix/sysv/linux/configure: Regenerated.
57753         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
57754         * sysdeps/x86_64/configure: Regenerated.
57756         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
57757         defined.  Don't check if MAP is NULL.
57759 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57761         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
57762         (_G_stat64): Likewise.
57763         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
57764         (_G_stat64): Likewise.
57765         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
57766         instead of struct _G_stat64.
57767         * libio/fileops.c (mmap_remap_check): Likewise.
57768         (decide_maybe_mmap): Likewise.
57769         (_IO_new_file_seekoff): Likewise.
57770         (_IO_file_stat): Likewise.
57771         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
57772         _G_off64_t.
57773         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
57774         instead of struct _G_stat64.
57775         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57777 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
57779         [BZ #14602]
57780         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57781         Replace with ...
57782         (CHECK_EOL): New macro.
57783         (two_way_short_needle): Check beginning of haystack for EOL.  Use
57784         CHECK_EOL.
57785         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57786         Replace with CHECK_EOL.
57787         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57788         Replace with CHECK_EOL.
57790 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
57792         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
57793         type-generic.
57794         * math/libm-test.inc: Update comment listing what functions and
57795         macros are tested.
57796         (finite_test): New function.
57797         (isinf_test): Likewise.
57798         (isnan_test): Likewise.
57799         (fpclassify_test): Test subnormal input.
57800         (isfinite_test): Likewise.
57801         (isnormal_test): Likewise.
57802         (main): Call the new functions.
57804 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
57806         [BZ #14660]
57807         * Makerules (%.dynsym): Force C locale when running
57808         $(OBJDUMP) --dynamic-syms.
57810 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
57812         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
57813         <stdint.h>.
57815 2012-10-06  David S. Miller  <davem@davemloft.net>
57817         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
57818         upper 32-bits of the length value in %o2 since we use branch-on-register
57819         tests which consider the entire 64-bit register.
57821 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
57823         * string/test-strstr.c (check2): Add a test for page boundary.
57825 2012-10-05  David S. Miller  <davem@davemloft.net>
57827         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
57828         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
57829         file.
57830         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57831         sysdep_routines.
57832         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57833         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
57834         and bzero when HWCAP_SPARC_CRYPTO is present.
57836 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
57838         [BZ #14602]
57839         * string/test-strstr.c (check2): New function.
57840         (test_main): Call check2.
57842         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
57843         and bug-strchr1.
57844         * string/bug-strcasestr1.c (do_test): Moved to ...
57845         * string/test-strcasestr.c (check1): Here.  New function.
57846         (do_one_test): Break out result checking code into ...
57847         (check_result): This.  New function.
57848         (do_one_test): Call check_result.
57849         (test_main): Call check1.
57850         * string/bug-strchr1.c (do_test): Moved to ...
57851         * string/test-strchr.c (check1): Here.  New function.
57852         (do_one_test): Break out result checking code into ...
57853         (check_result): This.  New function.
57854         (do_one_test): Call check_result.
57855         (test_main): Call check1.
57856         * string/bug-strstr1.c (main): Moved to ...
57857         * string/test-strstr.c (check1): Here.  New function.
57858         (do_one_test): Break out result checking code into ...
57859         (check_result): This.  New function.
57860         (do_one_test): Call check_result.
57861         (test_main): Call check1.
57862         * string/bug-strcasestr1.c: Removed.
57863         * string/bug-strchr1.c: Likewise.
57864         * string/bug-strstr1.c: Likewise.
57866         * elf/Makefile (dl-routines): Add hwcaps.
57867         * elf/dl-support.c (_dl_important_hwcaps): Removed.
57868         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
57869         (_dl_important_hwcaps): Moved to ...
57870         * elf/dl-hwcaps.c: Here.  New file.
57871         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
57873         [BZ #14557]
57874         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
57875         if IS_IN_rtld isn't defined.
57877         * elf/dl-support.c (_dl_sysinfo_map): New.
57878         Include "get-dynamic-info.h" and "setup-vdso.h".
57879         (_dl_non_dynamic_init): Call setup_vdso.
57880         * elf/dynamic-link.h: Don't include <assert.h>.
57881         (elf_get_dynamic_info): Moved to ...
57882         * elf/get-dynamic-info.h: Here.  New file.
57883         * elf/dynamic-link.h: Include "get-dynamic-info.h".
57884         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
57885         * elf/setup-vdso.h: Here.  New file.
57886         * elf/rtld.c: Include "setup-vdso.h".
57887         (dl_main): Call setup_vdso.
57889 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
57891         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
57892         creal in comment listing functions tested.  List finite, isinf,
57893         isnan, isless, islessequal, isgreater, isgreaterequal,
57894         islessgreater, isunordered, lgamma_r and pow10 as functions and
57895         macros not tested.  Mention which functions not tested are aliases
57896         for other functions.  Fix typo.  Note that signs of NaNs are not
57897         tested.
57899         * scripts/config.guess: Update from config.git.
57900         * scripts/config.sub: Likewise.
57902 2012-10-04  Roland McGrath  <roland@hack.frob.com>
57904         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
57905         * misc/madvise.c (madvise): Renamed to __madvise.
57906         Make madvise a weak alias.
57907         * include/sys/mman.h: Declare __madvise.
57908         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
57909         * sysdeps/unix/syscalls.list
57910         (madvise): Make __madvise the strong name, and madvise a weak alias.
57911         * sysdeps/unix/sysv/linux/syscalls.list
57912         (madvise, mmap): Remove redundant entries.
57913         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
57914         * malloc/malloc.c (mtrim): Likewise.
57915         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
57917 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57919         * sysdeps/mach/hurd/dl-cache.c: File removed.
57920         * config.h.in (USE_LDCONFIG): New #undef.
57921         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
57922         * configure: Regenerated.
57923         * elf/Makefile (dl-routines): Add dl-cache only under
57924         [$(use-ldconfig) = yes].
57925         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
57926         cache on [USE_LDCONFIG].
57927         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
57928         [USE_LDCONFIG].
57929         * elf/rtld.c (dl_main): Likewise.
57931 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
57933         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
57934         _SC_LEVEL4_CACHE_LINESIZE.
57936 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57938         * sysdeps/unix/bsd/confstr.h: File removed.
57940 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
57942         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
57943         sys/sdt-config.h.
57945 2012-10-02  Roland McGrath  <roland@hack.frob.com>
57947         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
57948         Make 'mapoff' field ElfW(Off) rather than off_t.
57950 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
57952         * nscd/Makefile: Remove nscd-cflags and all its users.
57953         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
57954         (CFLAGS-nonlib): Add compiler flags for nscd modules.
57956         [BZ #10631]
57957         * malloc.c (malloc_printerr): Clarify error message.
57959 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
57961         [BZ #14648]
57962         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57963         Set bit_FMA_Usable if FMA is supported.
57964         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
57965         macro.
57966         (bit_FMA4_Usable): Updated.
57967         (index_FMA_Usable): New macro.
57968         (CPUID_FMA): Likewise.
57969         (HAS_FMA): Defined with bit_FMA_Usable.
57971 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57973         * bits/types.h (__swblk_t): Type removed.
57974         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
57975         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
57976         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57977         (__SWBLK_T_TYPE): Likewise.
57978         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57979         (__SWBLK_T_TYPE): Likewise.
57980         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57981         (__SWBLK_T_TYPE): Likewise.
57982         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57983         (__SWBLK_T_TYPE): Likewise.
57985 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
57986             Honza Horak <hhorak@redhat.com>
57988         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
57989         (xdr_mapname): Use YPMAXMAP as maxsize.
57990         (xdr_peername): Use YPMAXPEER as maxsize.
57991         (xdr_keydat): Use YPAXRECORD as maxsize.
57992         (xdr_valdat): Use YPMAXRECORD as maxsize.
57994 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57996         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
57998         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
57999         * csu/init-first.c: ... here.
58000         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
58001         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
58002         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
58003         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
58004         * sysdeps/i386/init-first.c: File removed.
58005         * sysdeps/sh/init-first.c: File removed.
58007 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
58009         [BZ #14645]
58010         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
58011         if x * y might underflow to zero and z is zero.
58012         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58013         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58014         * math/libm-test.inc (min_subnorm_value): New variable.
58015         (fma_test): Add more tests.
58016         (fma_test_towardzero): Likewise.
58017         (fma_test_downward): Likewise.
58018         (fma_test_upward): Likewise.
58019         (initialize): Set min_subnorm_value.
58021 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
58023         [BZ #14638]
58024         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
58025         0 + 0.
58026         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
58027         mode for addition resulting in exact zero.
58028         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
58029         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
58030         exact 0 + 0.
58031         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58032         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58033         * math/libm-test.inc (fma_test): Add more tests.
58034         (fma_test_towardzero): New function.
58035         (fma_test_downward): Likewise.
58036         (fma_test_upward): Likewise.
58037         (main): Call the new functions.
58039 2012-09-28  David S. Miller  <davem@davemloft.net>
58041         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
58043 2012-09-28  Roland McGrath  <roland@hack.frob.com>
58045         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
58046         instead of SIGALRM.
58048         * sysdeps/gnu/_G_config.h: Moved to ...
58049         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
58050         * sysdeps/mach/hurd/_G_config.h: Moved to ...
58051         * sysdeps/generic/_G_config.h: ... here.
58053         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
58055         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
58057         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
58058         Conditionalize target on [libnss_test1.so-version].
58060         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
58062         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
58063         (elfobjdir): Move out of conditionals.
58065         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
58066         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
58067         (__nss_lookup_function): Conditionalize label remove_from_tree on
58068         [!DO_STATIC_NSS || SHARED], matching its only use.
58070 2012-09-28  David S. Miller  <davem@davemloft.net>
58072         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
58073         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
58074         file.
58075         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58076         sysdep_routines.
58077         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58078         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
58079         when HWCAP_SPARC_CRYPTO is present.
58081 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58083         * io/tst-mknodat.c: Create a FIFO instead of a socket.
58085 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
58087         [BZ #6530]
58088         * stdio-common/vfprintf.c (process_string_arg): Revert
58089         2000-07-22 change.
58091 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
58093         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
58094         for testcase.
58095         * stdio-common/tst-sprintf.c: Include <locale.h>
58096         (main): Test sprintf's handling of incomplete multibyte
58097         characters.
58099 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
58101         * elf/dl-runtime.c (VERSYMIDX): Removed.
58102         * elf/dl-version.c (VERSYMIDX): Likewise.
58103         * elf/do-rel.h (VERSYMIDX): Likewise.
58104         (VALIDX): Likewise.
58105         * elf/dynamic-link.h (VERSYMIDX): Likewise.
58106         * elf/rtld.c (VALIDX): Likewise.
58107         (ADDRIDX): Likewise.
58108         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
58109         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
58110         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
58111         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
58112         (VALIDX): Likewise.
58113         (ADDRIDX): Likewise.
58115 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58117         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
58119 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
58121         [BZ #11438]
58122         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
58123         to global scope.
58124         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
58125         addresses are in the same scope as 192.0.2/24.
58126         * posix/gai.conf: Document new scope table defaults.
58128 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58130         [BZ #5298]
58131         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
58132         for ftell.  Compute offsets from write pointers instead.
58133         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58135 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58137         [BZ #14543]
58138         * libio/Makefile (tests): New test case tst-fseek.
58139         * libio/tst-fseek.c: New test case to verify that fseek/ftell
58140         combination works in wide mode.
58141         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
58142         state when the external buffer state changes.
58144 2012-09-27  David S. Miller  <davem@davemloft.net>
58146         [BZ #14376]
58147         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
58148         pass reloc->r_addend in as the 'high' argument to
58149         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
58151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58153 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58155         * rt/tst-aio2.c: Include <pthread.h>.
58156         * rt/tst-aio3.c: Likewise.
58158 2012-09-27  Steve Ellcey  <sellcey@mips.com>
58160         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
58162 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
58164         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
58165         contents on [SHARED].
58167 2012-09-26  Marek Polacek  <polacek@redhat.com>
58169         [BZ #14530]
58170         [BZ #13741]
58171         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
58172         for C++ and GCC <4.3 as well as for non GCC compilers.
58174 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
58176         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58178 2012-09-25  Roland McGrath  <roland@hack.frob.com>
58180         * Makefile.in (all, install): Declare with .PHONY.
58181         Reported by Michael Hope <michael.hope@linaro.org>.
58183 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58185         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
58186         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
58187         system header.
58188         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
58189         Likewise.
58190         (sydep_routines): Add the new and the internal functions.
58191         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
58192         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
58193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
58194         (GLIBC_2.17): Add the new function.
58195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58196         (GLIBC_2.17): Likewise.
58197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
58198         (GLIBC_2.17): Likewise.
58199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
58200         (GLIBC_2.17): Likewise.
58201         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
58203 2012-09-25  Alan Modra  <amodra@gmail.com>
58205         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
58206         Add release barrier before setting once_control to say
58207         initialisation is done.  Add hints on lwarx.  Use macro in
58208         place of isync.
58209         (clear_once_control): Add release barrier.
58211 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58213         [BZ #13629]
58214         * math/s_clog.c (__clog): Handle more values close to |z| = 1
58215         specially.
58216         * math/s_clog10.c (__clog10): Likewise.
58217         * math/s_clog10f.c (__clog10f): Likewise.
58218         * math/s_clog10l.c (__clog10l): Likewise.
58219         * math/s_clogf.c (__clogf): Likewise.
58220         * math/s_clogl.c (__clogl): Likewise.
58221         * math/Makefile (libm-calls): Add x2y2m1.
58222         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
58223         (__x2y2m1): Likewise.
58224         (__x2y2m1l): Likewise.
58225         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
58226         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
58227         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
58228         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
58229         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
58230         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
58231         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
58232         * sysdeps/i386/fpu/libm-test-ulps: Update.
58233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58235         [BZ #14621]
58236         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
58237         int as type of variable DEPTH.
58238         (glob): Use size_t instead of int as type of variables NEWCOUNT
58239         and OLD_PATHC.
58241 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58243         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58244         Add s_sincosf-sse2.
58245         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
58246         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
58247         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
58248         macros for using routine as __sincosf_ia32.
58249         Use macro for function declaration and weak_alias.
58250         * sysdeps/i386/fpu/libm-test-ulps: Update.
58252         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
58253         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58255         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
58256         subnormal argument.
58257         * math/s_cexpf.c (__cexpf): Likewise.
58258         * math/s_csinf.c (__csinf): Likewise.
58259         * math/s_csinhf.c (__csinhf): Likewise.
58260         * math/s_ctanf.c (__ctanf): Likewise.
58261         * math/s_ctanhf.c (__ctanhf): Likewise.
58262         * math/s_ccosh.c (__ccoshf): Likewise.
58263         * math/s_cexp.c (__cexpl): Likewise.
58264         * math/s_csin.c (__csin): Likewise.
58265         * math/s_csinh.c (__csinh): Likewise.
58266         * math/s_ctan.c (__ctan): Likewise.
58267         * math/s_ctanh.c (ctanh): Likewise.
58268         * math/s_ccoshl.c (__ccoshl): Likewise.
58269         * math/s_cexpl.c (__cexpl): Likewise.
58270         * math/s_csinl.c (__csinl): Likewise.
58271         * math/s_csinhl.c (__csinhl): Likewise.
58272         * math/s_ctanl.c (__ctanl): Likewise.
58273         * math/s_ctanhl.c (__ctanhl): Likewise.
58275 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58277         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
58278         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
58279         (_IO_off_t): Define to __off_t, not _G_off_t.
58280         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
58281         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
58282         (_IO_wint_t): Define to wint_t, not _G_wint_t.
58283         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
58284         type of __dummy and __dummy2 fields.
58285         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
58286         (_G_ssize_t): Likewise.
58287         (_G_off_t): Likewise.
58288         (_G_pid_t): Likewise.
58289         (_G_uid_t): Likewise.
58290         (_G_wchar_t): Likewise.
58291         (_G_wint_t): Likewise.
58292         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
58293         (_G_ssize_t): Likewise.
58294         (_G_off_t): Likewise.
58295         (_G_pid_t): Likewise.
58296         (_G_uid_t): Likewise.
58297         (_G_wchar_t): Likewise.
58298         (_G_wint_t): Likewise.
58299         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
58300         (_G_ssize_t): Likewise.
58301         (_G_off_t): Likewise.
58302         (_G_pid_t): Likewise.
58303         (_G_uid_t): Likewise.
58304         (_G_wchar_t): Likewise.
58305         (_G_wint_t): Likewise.
58307 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58309         * malloc/arena.c: Include malloc-sysdep.h.
58310         (shrink_heap): Use check_may_shrink_heap to decide if madvise
58311         is sufficient to shrink the heap or an unmap is needed.
58312         * sysdeps/generic/malloc-sysdep.h: New file.  Define
58313         new function check_may_shrink_heap.
58314         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
58315         new function check_may_shrink_heap.
58317 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58319         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
58320         comments.
58322 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
58324         * catgets/test-gencat.sh: Add "set -e".
58325         * elf/tst-pathopt.sh: Likewise.
58326         * grp/tst_fgetgrent.sh: Likewise.
58327         * iconvdata/run-iconv-test.sh: Likewise.
58328         * intl/tst-gettext.sh: Likewise.
58329         * intl/tst-gettext2.sh: Likewise.
58330         * intl/tst-gettext4.sh: Likewise.
58331         * intl/tst-gettext6.sh: Likewise.
58332         * intl/tst-translit.sh: Likewise.
58333         * io/ftwtest-sh: Likewise.
58334         * libio/test-freopen.sh: Likewise.
58335         * malloc/tst-mtrace.sh: Likewise.
58336         * posix/globtest.sh: Likewise.
58337         * posix/tst-getconf.sh: Likewise.
58338         * posix/wordexp-tst.sh: Likewise.
58339         * stdio-common/tst-printf.sh: Likewise.
58340         * stdio-common/tst-unbputc.sh: Likewise.
58341         * stdlib/tst-fmtmsg.sh: Likewise.
58342         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58343         * catgets/Makefile: Do not specify -e option when running
58344         testsuite shell scripts.
58345         * elf/Makefile: Likewise.
58346         * grp/Makefile: Likewise.
58347         * iconvdata/Makefile: Likewise.
58348         * intl/Makefile: Likewise.
58349         * io/Makefile: Likewise.
58350         * libio/Makefile: Likewise.
58351         * malloc/Makefile: Likewise.
58352         * posix/Makefile: Likewise.
58353         * stdio-common/Makefile: Likewise.
58354         * stdlib/Makefile: Likewise.
58355         * sysdeps/x86_64/Makefile: Likewise.
58357         * io/ftwtest-sh: Add copyright header.
58358         * posix/globtest.sh: Likewise.
58359         * posix/tst-getconf.sh: Likewise.
58360         * posix/wordexp-tst.sh: Likewise.
58361         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58363 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
58365         [BZ #13679]
58366         * Makeconfig (+link): Defined as $(+link-static) if
58367         $(build-shared) isn't yes.
58368         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
58369         isn't yes.
58370         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
58372         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
58374         [BZ #14562]
58375         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
58376         new chunk size with MALLOC_ALIGN_MASK.
58378 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
58380         [BZ #5044]
58381         * stdio-common/printf_fphex.c: Include <stdbool.h> and
58382         <rounding-mode.h>.
58383         (__printf_fphex): Determine rounding using get_rounding_mode and
58384         round_away.
58385         * stdio-common/tst-printf-round.c (struct hex_test): New
58386         structure.
58387         (hex_tests): New variable.
58388         (test_hex_in_one_mode): New function.
58389         (do_test): Also run tests for hex float output.
58391 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
58393         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58394         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58395         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
58396         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58397         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58398         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
58399         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58400         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58402 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
58404         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
58405         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
58406         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
58407         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
58409 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
58411         [BZ #14579]
58412         * elf/rtld.c (dl_main): Limit the check for self loading to normal
58413         mode only.
58414         * elf/tst-rtld-load-self.sh: New test.
58415         * elf/Makefile: Run it.
58417 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
58419         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
58420         (tst-writev-ENV): Remove.
58421         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
58423 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
58425         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
58427 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
58429         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
58430         unconditional.
58431         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
58432         Likewise.
58433         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
58434         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
58435         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
58436         Likewise.
58438 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
58440         [BZ #14587]
58441         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
58442         * config.make.in (have-cpp-asm-debuginfo): Removed.
58443         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
58444         * configure: Regenerated.
58446 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
58448         [BZ #5044]
58449         * stdio-common/printf_fp.c: Include <stdbool.h> and
58450         <rounding-mode.h>.
58451         (___printf_fp): Determine rounding using get_rounding_mode and
58452         round_away.
58453         * stdio-common/tst-printf-round.c: New file.
58454         * stdio-common/Makefile (tests): Add tst-printf-round.
58455         (link-libm): New variable.
58456         ($(objpfx)tst-printf-round): Depend in $(link-libm).
58458 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
58460         [BZ #14576]
58461         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
58462         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
58463         Likewise.
58464         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
58465         Likewise.
58467 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
58469         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
58470         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58471         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58472         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58474 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
58476         [BZ #14518]
58477         * include/rounding-mode.h: New file.
58478         * sysdeps/generic/get-rounding-mode.h: Likewise.
58479         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
58480         * stdlib/strtod_l.c: Include <rounding-mode.h>.
58481         (MAX_VALUE): New macro.
58482         (MIN_VALUE): Likewise.
58483         (overflow_value): New function.
58484         (underflow_value): Likewise.
58485         (round_and_return): Use overflow_value and underflow_value to
58486         determine return values in overflow and underflow cases.  Use
58487         round_away to determine rounding depending on rounding mode.
58488         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
58489         determine return values in overflow and underflow cases.
58490         * stdlib/tst-strtod-round.c: Include <fenv.h>.
58491         (struct test_results): New structure.
58492         (struct test): Use struct test_results to store expected results
58493         for all rounding modes.
58494         (TEST): Include expected results for all rounding modes.
58495         (test_in_one_mode): New function.
58496         (do_test): Use test_in_one_mode to compute and check results.
58497         Check results for all rounding modes.
58498         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
58499         $(link-libm).
58501 2012-12-09  Allan McRae  <allan@archlinux.org>
58503         * sysdeps/i386/fpu/libm-test-ulps: Update
58505 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
58507         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
58508         (_G_int32_t): Likewise.
58509         (_G_uint16_t): Likewise.
58510         (_G_uint32_t): Likewise.
58511         (_G_HAVE_BOOL): Likewise.
58512         (_G_HAVE_ATEXIT): Likewise.
58513         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58514         (_G_HAVE_IO_FILE_OPEN): Likewise.
58515         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
58516         (_G_int32_t): Likewise.
58517         (_G_uint16_t): Likewise.
58518         (_G_uint32_t): Likewise.
58519         (_G_HAVE_BOOL): Likewise.
58520         (_G_HAVE_ATEXIT): Likewise.
58521         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58522         (_G_HAVE_IO_FILE_OPEN): Likewise.
58523         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
58524         (_G_int32_t): Likewise.
58525         (_G_uint16_t): Likewise.
58526         (_G_uint32_t): Likewise.
58527         (_G_HAVE_BOOL): Likewise.
58528         (_G_HAVE_ATEXIT): Likewise.
58529         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58530         (_G_HAVE_IO_FILE_OPEN): Likewise.
58532 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
58534         * csu/libc-tls.c: Update copyright years.
58536 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
58538         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
58539         [!_G_USING_THUNKS]: Remove conditional code.
58540         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
58541         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
58543         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
58544         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
58545         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58546         (_G_VTABLE_LABEL_PREFIX): Likewise.
58547         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58548         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58549         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58550         (_G_VTABLE_LABEL_PREFIX): Likewise.
58551         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58552         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58553         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58554         (_G_VTABLE_LABEL_PREFIX): Likewise.
58555         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58557 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
58559         * libio/Makefile: Include ../Makeconfig before tests.
58560         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
58561         only if $(build-shared) is yes.
58563         * iconv/gconv_db.c: Update copyright years.
58565 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58567         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
58568         unwind info if defined PIC. Fix special cases description.
58569         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
58571         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
58572         DP_HI_MASK entry.
58573         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
58575 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
58577         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
58579         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
58580         is NULL.
58582         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
58583         (LDLIBS-tst-chk4): This.
58584         (LDFLAGS-tst-chk5): Renamed to ...
58585         (LDLIBS-tst-chk5): This.
58586         (LDFLAGS-tst-chk6): Renamed to ...
58587         (LDLIBS-tst-chk6): This.
58588         (LDFLAGS-tst-lfschk4): Renamed to ...
58589         (LDLIBS-tst-lfschk4): This.
58590         (LDFLAGS-tst-lfschk5): Renamed to ...
58591         (LDLIBS-tst-lfschk5): This.
58592         (LDFLAGS-tst-lfschk6): Renamed to ...
58593         (LDLIBS-tst-lfschk6): This.
58595         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
58596         on $(common-objpfx)soversions.mk.
58598 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
58600         [BZ #10014]
58601         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
58602         example host name.
58604 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58606         * malloc/arena.c (arena_get_retry): New function that gets
58607         another arena for the caller to try its request on.
58608         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
58609         current arena cannot fulfill the request.
58610         (__libc_memalign): Likewise.
58611         (__libc_memalign): Likewise.
58612         (__libc_pvalloc): Likewise.
58613         (__libc_calloc): Likewise.
58615 2012-09-05  John Tobey  <john.tobey@gmail.com>
58617         [BZ #13542]
58618         * manual/arith.texi (Operations on Complex): Fix description
58619         of carg branch cut.
58621 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58623         [BZ #10014]
58624         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
58625         host name.
58627         [BZ #10038]
58628         * manual/memory.texi (Memory): Make order of menu items match
58629         order of sections.
58631 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58633         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
58634         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
58635         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
58637 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58639         * csu/libc-tls.c (static_dtv): Renamed to ...
58640         (_dl_static_dtv): This.  Make it global.
58641         (_dl_initial_dtv): Removed.
58642         (__libc_setup_tls): Updated.
58643         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
58644         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
58645         DL_INITIAL_DTV.
58647 2012-09-06  Petr Machata  <pmachata@redhat.com>
58649         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
58650         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
58651         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
58652         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
58654 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58656         [BZ #14545]
58657         * csu/libc-tls.c (_dl_initial_dtv): New variable.
58658         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
58659         freeing dtv[-1].
58661 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58663         [BZ #14544]
58664         * Makeconfig (link-static-before-libc): Replace $(+prector)
58665         with $(+prectorT).
58666         (link-static-after-libc): Replace $(+postctor) with
58667         $(+postctorT).
58668         (link-bounded): Replace $(+prector)/$(+postctor) with
58669         $(+prectorT)/$(+postctorT).
58670         (+prectorT): New macro.
58671         (+postctorT): Likewise.
58673 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58675         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
58676         (round_str): Handle values above the maximum for IBM long double
58677         as inexact.
58678         * stdlib/tst-strtod-round.c (tests): Regenerated.
58680 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58682         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
58683         assembler flag.
58684         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
58685         zarch_nohighgprs around the zarch optimized routines.
58686         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
58687         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
58688         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
58689         for zarch.
58691 2012-09-05  David S. Miller  <davem@davemloft.net>
58693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58695         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
58696         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
58697         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
58698         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58699         entries.
58701 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58703         * malloc/arena.c: Fold copyright years.
58704         * malloc/mcheck.c, malloc/memusage.c: Likewise.
58706 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58708         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
58710 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58712         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
58714 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58716         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
58717         change internal state upon failure.
58719 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58721         * malloc/mcheck.c (mcheck_check_all): Fix typo.
58722         * malloc/memusage.c (mmap): Likewise.
58723         (mmap64, mremap): Likewise.  Adjust name in comment.
58725 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58727         * libio/fileops.c: Fix typos in comments.
58728         * libio/oldfileops.c: Likewise.
58729         * libio/wfileops.c: Likewise.
58731 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58733         [BZ #1349]
58734         * malloc/Makefile (tests): Add tst-malloc-usable test case.
58735         (tst-malloc-usable-ENV): Set environment for test case.
58736         * malloc/hooks.c (malloc_check_get_size): New function to get
58737         requested size.
58738         * malloc/malloc.c (musable): Use malloc_check_get_size.
58739         * malloc/tst-malloc-usable.c: New test case.
58741 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58743         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
58745 2012-09-05  Allan McRae  <allan@archlinux.org>
58747         [BZ #13966]
58748         * configure.in (CXX_SYSINCLUDES): Use compiler output to
58749         determine header location.
58750         * configure: Regenerated.
58752 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58754         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
58755         float format.
58756         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
58757         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
58758         format.
58759         (test): Regenerate.
58761 2012-09-04  David S. Miller  <davem@davemloft.net>
58763         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
58764         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
58765         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
58767 2012-09-04  Florian Weimer  <fweimer@redhat.com>
58769         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
58770         failures.
58772         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
58774 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
58776         [BZ #9914]
58777         * libio/iogetdelim.c: Include <limits.h>.
58778         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
58779         + len + 1 would overflow.
58781 2012-09-03  Andreas Jaeger  <aj@suse.de>
58783         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58784         * sysdeps/i386/fpu/libm-test-ulps: Update.
58786 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58788         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58789         Add s_sinf-sse2, s_conf-sse2.
58791         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
58792         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
58793         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
58794         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
58796         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
58797         for using routine as __sinf_ia32.
58798         Use macro for function declaration and weak_alias.
58799         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
58800         for using routine as __cosf_ia32.
58801         Use macro for function declaration and weak_alias.
58803         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
58804         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
58806         * sysdeps/x86_64/fpu/s_sinf.S: New file.
58807         * sysdeps/x86_64/fpu/s_cosf.S: New file.
58808         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58810         * math/libm-test.inc (cos_test): Add more test cases.
58811         (sin_test): Likewise.
58812         (sincos_test): Likewise.
58814 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58816         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
58817         (IFUNC_RESOLVE): Make pointers to the specialized implementations
58818         hidden.
58819         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58821 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
58823         [BZ #14538]
58824         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
58825         first element of the GOT.
58826         (elf_machine_load_address): Return the difference between
58827         the runtime address of _DYNAMIC and elf_machine_dynamic ().
58829 2012-09-01  Allan McRae  <allan@archlinux.org>
58831         [BZ #13412]
58832         * configure.in (AWK): Require gawk version 3.0 or later.
58833         * configure: Regenerated.
58835 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
58837         * sysdeps/unix/sysv/linux/kernel-features.h
58838         (__ASSUME_POSIX_CPU_TIMERS): Remove.
58839         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58840         [__NR_clock_getres]: Make code unconditional.
58841         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
58842         (clock_getcpuclockid): Remove code left unreachable by removal of
58843         conditionals.
58844         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
58845         code unconditional.
58846         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58847         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58848         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
58849         Make code unconditional.
58850         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58851         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58852         * sysdeps/unix/sysv/linux/clock_settime.c
58853         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
58854         conditional code.
58855         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
58856         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58858 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
58860         [BZ #14476]
58861         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
58862         scripts/test-installation.pl.
58864         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
58865         and $ld_so_version if it is set.
58867 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58869         [BZ #14516]
58870         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
58871         failure if reading from procfs failed.
58872         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
58874 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58876         * sysdeps/unix/sysv/linux/kernel-features.h
58877         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
58878         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58879         Remove conditional code.
58880         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58881         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
58882         Remove conditional code.
58883         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58884         * sysdeps/unix/sysv/linux/i386/fxstat.c
58885         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58886         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58887         * sysdeps/unix/sysv/linux/i386/fxstatat.c
58888         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58889         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58890         * sysdeps/unix/sysv/linux/i386/lxstat.c
58891         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58892         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58893         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
58894         Remove conditional code.
58895         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58896         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58897         Remove conditional code.
58898         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58899         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
58900         <kernel-features.h>.
58901         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
58902         Remove.
58903         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
58904         Remove conditional code.
58905         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58906         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
58907         Remove conditional.
58909 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
58911         [BZ #5400]
58912         * NEWS: Add fixed bug number.
58914 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58916         [BZ #14519]
58917         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
58918         underflowing exponent in case of negative sign.
58919         * stdlib/tst-strtod-round-data: Add more tests.
58920         * stdlib/tst-strtod-round.c (tests): Regenerated.
58922         [BZ #3479]
58923         * stdlib/strtod_l.c (NDIG): Remove.
58924         (HEXNDIG): Likewise.
58925         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
58926         smallest representable value.
58927         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
58928         lie within an exact representation of 1/2 ulp of the result.
58929         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
58930         unconditionally.
58931         (TENS_P9_IDX): Define unconditionally.
58932         (TENS_P9_SIZE): Likewise.
58933         (TENS_P10_IDX): Likewise.
58934         (TENS_P10_SIZE): Likewise.
58935         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
58936         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
58937         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
58938         entries for 10^2^13 and 10^2^14.
58939         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
58940         (TENS_P13_IDX): Define.
58941         (TENS_P13_SIZE): Likewise.
58942         (TENS_P14_IDX): Likewise.
58943         (TENS_P14_SIZE): Likewise.
58944         (_fpioconst_pow10): Change array size to
58945         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
58946         unconditional.
58947         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
58948         1024]: Add entries for 10^2^13 and 10^2^14.
58949         [LAST_POW10 > _LAST_POW10]: Remove #error.
58950         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
58951         (_fpioconst_pow10): Change array size to
58952         FPIOCONST_POW10_ARRAY_SIZE.
58953         * stdlib/gen-fpioconst.c: New file.
58954         * stdlib/gen-tst-strtod-round.c: Likewise.
58955         * stdlib/tst-strtod-round-data: Likewise.
58956         * stdlib/tst-strtod-round.c: Likewise.
58957         * stdlib/Makefile (tests): Add tst-strtod-round.
58959         [BZ #14459]
58960         * stdlib/strtod_l.c: Include <stdint.h>.
58961         (NDEBUG): Do not define.
58962         (round_and_return): Change EXPONENT parameter to type intmax_t.
58963         Rearrange calculations to avoid internal overflow possibilities.
58964         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
58965         Rearrange calculations to avoid internal overflow possibilities.
58966         Assert that number fits inside MPNSIZE limbs.
58967         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
58968         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
58969         calculations and add assertions to avoid internal overflow
58970         possibilities.  Add casts to avoid signed/unsigned operations.
58971         * stdlib/tst-strtod-overflow.c: New file.
58972         * stdlib/Makefile (tests): Add tst-strtod-overflow.
58974 2012-08-25  Marek Polacek  <polacek@redhat.com>
58976         * time/time.h: Fix some typos in comments.
58978 2012-08-23  Roland McGrath  <roland@hack.frob.com>
58980         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
58981         * posix/tst-rfc3484-2.c: Likewise.
58982         * posix/tst-rfc3484-3.c: Likewise.
58984 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
58986         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
58987         (EF_ARM_ABI_FLOAT_HARD): Likewise.
58989 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
58991         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
58992         #include of fxstatat64.c.
58994 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58996         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
58997         * shadow/getspent_r.c: Likewise.
58998         * shadow/getspnam.c: Likewise.
58999         * shadow/getspnam_r.c: Likewise.
59000         * gshadow/getsgent.c: Likewise.
59001         * gshadow/getsgent_r.c: Likewise.
59002         * gshadow/getsgnam.c: Likewise.
59003         * gshadow/getsgnam_r.c: Likewise.
59004         * inet/getnetbyad.c: Likewise.
59005         * inet/getnetbyad_r.c: Likewise.
59006         * inet/getnetbynm.c: Likewise.
59007         * inet/getnetbynm_r.c: Likewise.
59008         * inet/getnetent.c: Likewise.
59009         * inet/getnetent_r.c: Likewise.
59010         * inet/getproto.c: Likewise.
59011         * inet/getproto_r.c: Likewise.
59012         * inet/getprtent.c: Likewise.
59013         * inet/getprtent_r.c: Likewise.
59014         * inet/getprtname.c: Likewise.
59015         * inet/getprtname_r.c: Likewise.
59016         * inet/getrpcbyname.c: Likewise.
59017         * inet/getrpcbyname_r.c: Likewise.
59018         * inet/getrpcbynumber.c: Likewise.
59019         * inet/getrpcbynumber_r.c: Likewise.
59020         * inet/getrpcent.c: Likewise.
59021         * inet/getrpcent_r.c: Likewise.
59022         * inet/getaliasent.c: Likewise.
59023         * inet/getaliasent_r.c: Likewise.
59024         * inet/getaliasname.c: Likewise.
59025         * inet/getaliasname_r.c: Likewise.
59026         * nscd/getgrgid_r.c: Likewise.
59027         * nscd/getgrnam_r.c: Likewise.
59028         * nscd/gethstbyad_r.c: Likewise.
59029         * nscd/gethstbynm3_r.c: Likewise.
59030         * nscd/getpwnam_r.c: Likewise.
59031         * nscd/getpwuid_r.c: Likewise.
59032         * nscd/getsrvbynm_r.c: Likewise.
59033         * nscd/getsrvbypt_r.c: Likewise.
59034         * nscd/gai.c: Likewise.
59036         * configure.in (build_nscd): New substituted variable, set
59037         by --disable-build-nscd and defaults to $use_nscd.
59038         * configure: Regenerated.
59039         * config.make.in (build-nscd): New substituted variable.
59040         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
59041         Change conditional to require [$(build-nscd) = yes] as well.
59042         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
59044         [BZ# 13696]
59045         * configure.in (use_nscd): New substituted variable, set by
59046         --disable-nscd.  If enabled, define USE_NSCD.
59047         * configure: Regenerated.
59048         * config.h.in: Add USE_NSCD.
59049         * config.make.in (use-nscd): New substituted variable.
59050         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
59051         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
59052         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
59053         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
59054         (CFLAGS-getgrnam_r.c): Likewise.
59055         (CFLAGS-initgroups.c): Likewise.
59056         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
59057         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
59058         Variables removed.
59059         * inet/getnetgrent_r.c
59060         (nscd_setnetgrent): New function, broken out of ...
59061         (setnetgrent): ... here.  Call it.
59062         (innetgr): Conditionalize nscd bits on [USE_NSCD].
59063         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
59064         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
59065         * nscd/Makefile (routines, aux): Move definitions after include of
59066         Makeconfig.  Conditionalize on [$(use-nscd) != no].
59067         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
59068         Conditionalize on [USE_NSCD].
59069         (is_nscd, nscd_init_cb): Likewise.
59070         (nss_load_library): Conditionalize init callback on [USE_NSCD].
59071         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
59072         * nss/nss_db/db-init.c: Likewise.
59073         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
59074         [USE_NSCD].
59075         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
59076         (make_request): Use it.
59077         (cache_valid_p): New function.
59078         (__check_pf): Use it.
59079         * NEWS: Add item for --disable-nscd.
59081 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
59083         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
59084         to support sed >= 4.2.1-20-ga9bf076.
59085         * configure: Regenerated.
59087 2012-08-22  Roland McGrath  <roland@hack.frob.com>
59089         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
59090         Conditionalize whole body on [IREL].
59092 2012-08-22  Jeff Law <law@redhat.com>
59094         [BZ #14505]
59095         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
59096         if the family is PF_UNSPEC.
59098 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
59100         * Makerules (lib-version): Rename from V.
59101         (install-lib-nosubdir): Change V to lib-version.
59103 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
59105         [BZ #14252]
59106         * powerpc32/power6/wcschr.c: New file.
59107         * powerpc32/power6/wcscpy.c: New file.
59108         * powerpc32/power6/wcsrchr.c: New file.
59109         * powerpc64/power6/wcschr.c: New file.
59110         * powerpc64/power6/wcscpy.c: New file.
59111         * powerpc64/power6/wcsrchr.c: New file.
59113 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
59115         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
59116         (two_way_short_needle): Use it.
59117         * string/strstr.c (AVAILABLE1_USES_J): Define.
59118         * string/strcasestr.c: Likewise.
59120         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
59121         array references.
59122         * string/strcasestr.c (TOLOWER): Make side-effect safe.
59124         [BZ #11607]
59125         * NEWS: Add an entry.
59126         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
59127         define their defaults.
59128         (two_way_short_needle): Detect end-of-string on-the-fly.
59129         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
59130         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
59131         * string/bug-strcasestr1.c: New test.
59132         * string/Makefile: Run it.
59134 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
59136         [BZ #11607]
59137         * string/str-two-way.h (two_way_short_needle): Optimize matching of
59138         the first character.
59140 2012-08-21  Roland McGrath  <roland@hack.frob.com>
59142         * csu/elf-init.c (__libc_csu_irel): Function removed.
59143         * csu/libc-start.c (apply_irel): New function.
59144         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
59146 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
59148         * sysdeps/unix/sysv/linux/kernel-features.h
59149         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
59150         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59151         <kernel-features.h>.
59152         [__NR_fadvise64_64]: Make code unconditional.
59153         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
59154         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59155         !__NR_fadvise64_64)]: Likewise.
59156         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59157         !__NR_fadvise64_64))]: Likewise.
59158         [__NR_fadvise64]: Make code unconditional.
59159         [!__NR_fadvise64]: Remove conditional code.
59160         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
59161         <kernel-features.h>.
59162         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59163         unconditional.
59164         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59165         conditional code.
59166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
59167         not include <kernel-features.h>.
59168         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59169         unconditional.
59170         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59171         conditional code.
59172         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
59173         include <kernel-features.h>.
59174         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59175         unconditional.
59176         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59177         conditional code.
59179 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
59181         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
59182         slight instruction rearrangements per scrollpipe analysis.
59183         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59185 2012-08-20  Roland McGrath  <roland@hack.frob.com>
59187         * manual/syslog.texi (syslog; vsyslog, closelog):
59188         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
59189         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
59191         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
59192         DSOCAPS to match condition on defining it.
59194 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
59196         * sysdeps/unix/sysv/linux/kernel-features.h
59197         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
59198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
59199         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59200         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
59202         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59203         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
59205         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59206         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59208         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
59209         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
59211         * sysdeps/unix/sysv/linux/kernel-features.h
59212         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
59213         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
59214         unconditional.
59215         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59216         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
59217         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59218         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59219         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
59220         Make code unconditional.
59221         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59222         (__mmap64) [!__NR_mmap2]: Likewise.
59223         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
59224         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59225         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59226         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
59227         [__NR_mmap2]: Make code unconditional.
59228         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59229         (__mmap64) [!__NR_mmap2]: Likewise.
59231 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59233         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
59235 2012-08-18  Andreas Jaeger  <aj@suse.de>
59237         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
59239 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59241         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
59242         * include/unistd.h (__have_sock_cloexec): Likewise.
59243         (__have_pipe2): Likewise.
59244         (__have_dup3): Likewise.
59246 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59248         [BZ #9685]
59249         * include/unistd.h (__have_pipe2): Change define into an extern int.
59250         (__have_dup3): Likewise.
59251         * socket/have_sock_cloexec.c: Include fcntl.h.
59252         (__have_pipe2): New variable.
59253         (__have_dup3): Likewise.
59255 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
59257         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
59259 2012-08-17  Marek Polacek  <polacek@redhat.com>
59261         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
59262         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
59264 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59266         * configure.in: Add AC_SUBST for sysheaders.
59267         * configure: Regenerated.
59268         * config.make.in (sysheaders): New substituted variable.
59270         * sysdeps/unix/mkfifo.c: Moved ...
59271         * sysdeps/posix/mkfifo.c: ... here.
59272         * sysdeps/unix/mkfifoat.c: Moved ...
59273         * sysdeps/posix/mkfifoat.c: ... here.
59275         * sysdeps/unix/utime.c: Moved ...
59276         * sysdeps/posix/utime.c: ... here.
59278         * sysdeps/unix/time.c: Moved ...
59279         * sysdeps/posix/time.c: ... here.
59280         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
59281         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
59283         * sysdeps/unix/nice.c: Moved ...
59284         * sysdeps/posix/nice.c: ... here.
59286         * sysdeps/unix/alarm.c: Moved ...
59287         * sysdeps/posix/alarm.c: ... here.
59289         * intl/Makefile ($(codeset_mo)): Depend on the input file.
59291 2012-08-17  Jeff Law <law@redhat.com>
59293         * intl/Makefile (codeset_mo): New variable.
59294         ($(codeset_mo)): New target.
59295         (tst-codeset.out): Depend on that.  Remove explicit rule.
59296         (tst-gettext3.out, tst-gettext5.out): Likewise.
59297         (LOCPATH-ENV, tst-codeset-ENV): New variables.
59298         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
59299         * intl/tst-codeset.sh: Remove.
59300         * intl/tst-gettext3.sh: Likewise.
59301         * intl/tst-gettext5.sh: Likewise.
59303 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59305         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
59306         * sysdeps/unix/syscalls.list: ... here.
59308         * sysdeps/posix/getaddrinfo.c
59309         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
59310         (gaiconf_init, gaiconf_reload): Use them.
59311         [!_STATBUF_ST_NSEC]
59312         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
59313         Define using time_t rather than struct timespec.
59315         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
59316         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
59317         Macros removed.
59318         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
59319         [!NO_THREADS].
59320         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
59321         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
59322         Likewise.
59324         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
59325         __libc_cleanup_push argument.
59327         * bits/param.h: New file.
59328         * misc/sys/param.h: New file.
59329         * include/sys/param.h: New file.
59330         * misc/Makefile (headers): Add bits/param.h.
59331         * sysdeps/generic/sys/param.h: File removed.
59332         * sysdeps/unix/sysv/linux/bits/param.h: New file.
59333         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
59334         * sysdeps/mach/hurd/bits/param.h: New file.
59335         * sysdeps/mach/hurd/sys/param.h: File removed.
59337         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
59338         last change.
59340         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
59341         [_IO_MTSAFE_IO].
59342         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
59343         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
59344         New macros.
59346         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
59347         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
59348         rather than -D_IO_MTSAFE_IO conditionally.
59349         * stdio-common/Makefile (CPPFLAGS): Likewise.
59350         * wcsmbs/Makefile (CPPFLAGS): Likewise.
59351         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
59352         Use $(libio-mtsafe).
59353         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
59354         of -D_IO_MTSAFE_IO.
59355         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
59356         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
59357         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
59358         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
59359         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
59360         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
59361         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
59362         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
59363         (CFLAGS-fread_u_chk.c): Likewise.
59364         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
59365         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
59366         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
59367         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
59368         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
59369         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
59370         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
59371         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
59372         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
59374         * libio/Makefile: Test [$(libc-reentrant) = yes]
59375         instead of [$(filter %REENTRANT, $(defines)) nonempty].
59377         * Makeconfig
59378         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
59379         * sysdeps/pthread/configure: File removed.
59380         * sysdeps/pthread/Makeconfig: New file.
59381         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
59382         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
59384 2012-08-16  Gary Benson  <gbenson@redhat.com>
59386         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
59387         unmapping the first object in a namespace.
59389 2012-08-16  Roland McGrath  <roland@hack.frob.com>
59391         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
59392         (__internal_setnetgrent): ... this.  Add internal_function to
59393         definition.  Add libc_hidden_def.
59394         (setnetgrent): Update caller.
59395         (internal_endnetgrent): Renamed to ...
59396         (__internal_endnetgrent): ... this.  Add internal_function to
59397         definition.  Add libc_hidden_def.
59398         (endnetgrent): Update caller.
59399         (internal_getnetgrent_r): Renamed to ...
59400         (__internal_getnetgrent_r): ... this.  Add internal_function to
59401         definition.  Add libc_hidden_def.
59402         (__getnetgrent_r): Update caller.
59403         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
59405 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59407         * stdlib/longlong.h: Update from GCC.
59409 2012-08-16  Roland McGrath  <roland@hack.frob.com>
59411         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
59412         on _QL, which is set by umul_ppmm but never used.
59413         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
59414         variables, which are set by GMP macros but never used.
59415         * stdio-common/_itowa.c (_itowa): Likewise.
59416         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
59417         * stdlib/mod_1.c (mpn_mod_1): Likewise.
59419 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
59421         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
59422         struct La_sh_regs is not constant.
59423         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
59424         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
59425         and struct La_sparc64_regs are not constant.
59427 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59429         * sysdeps/unix/sysv/linux/kernel-features.h
59430         (__ASSUME_POSIX_TIMERS): Remove.
59431         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59432         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59433         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
59434         Make code unconditional.
59435         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59436         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
59437         Make code unconditional.
59438         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59439         * sysdeps/unix/sysv/linux/clock_nanosleep.c
59440         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
59441         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59442         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
59443         Make code unconditional.
59444         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59445         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
59446         (__libc_missing_posix_timers): Remove.
59448 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59450         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
59451         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
59453         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
59455         * elf/dl-sym.c: Include <stdlib.h>.
59457         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
59458         constants, which avoids warnings in 32-bit builds.
59460         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
59461         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
59463         * misc/lseek.c: File moved to ...
59464         * io/lseek.c: ... here.
59466         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
59468         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
59469         shifting LEN more than 31 bits at once.
59471 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59473         [BZ #14195]
59474         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
59475         segmentation fault for a case of two empty input strings.
59476         * string/test-strncasecmp.c (check1): Renamed to...
59477         (bz12205): ...this.
59478         (bz14195): Add new testcase for two empty input strings and N > 0.
59479         (test_main): Call new testcase, adapt for renamed function.
59481 2012-08-15  Andreas Jaeger  <aj@suse.de>
59483         [BZ #14090]
59484         * crypt/md5test2.c: New test, based on test supplied by Serge
59485         Belyshev <belyshev@depni.sinp.msu.ru>.
59486         * crypt/Makefile (xtests): Add md5test-giant..
59487         * crypt/Makefile ($(objpfx)md5test-giant): Add.
59489 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
59491         [BZ #14090]
59492         * crypt/md5.c (md5_process_block): Don't assume the buffer
59493         length is less than 2**32.
59494         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
59495         length is less than 2**64.
59497 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59499         * string/str-two-way.h: Include <sys/param.h>.
59500         (MAX): Macro removed.
59502         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
59503         Move #define and #undef of memmove to just before and after
59504         including <string.h>.
59506         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
59507         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
59508         and after including <string.h>.  Move declarations of
59509         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
59510         to before #include "string/memmove.c".
59512         * include/dirent.h: Declare __getdirentries.
59514         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
59515         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
59517 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
59519         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
59520         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
59521         * sysdeps/i386/configure: Regenerated.
59522         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
59523         STABS_CURRENT_FILE, and STABS_FUN.
59524         (END): Remove call to STABS_FUN_END.
59525         (STABS_CURRENT_FILE1): Delete.
59526         (STABS_CURRENT_FILE): Likewise.
59527         (STABS_FUN): Likewise.
59528         (STABS_FUN_END): Likewise.
59529         (STABS_FUN2): Likewise.
59530         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
59531         * sysdeps/x86_64/configure: Regenerated.
59533 2012-08-14  Roland McGrath  <roland@hack.frob.com>
59535         * elf/dl-open.c: Include <atomic.h>.
59536         * elf/dl-lookup.c: Likewise.
59538 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
59540         * sysdeps/unix/sysv/linux/kernel-features.h
59541         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
59542         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
59543         unconditionally.
59544         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
59545         unconditionally.
59546         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
59547         condition on __ASSUME_CLONE_THREAD_FLAGS.
59549 2012-08-14  Andreas Jaeger  <aj@suse.de>
59551         * sysdeps/i386/fpu/libm-test-ulps: Update.
59553 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
59555         * include/atomic.h (atomic_exchange_and_add): Split into ...
59556         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
59557         New atomic macros.
59559 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
59561         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59563 2012-08-13  Jeff Law <law@redhat.com>
59565         * manual/stdio.texi (snprintf): Clarify handling of the trailing
59566         null byte in the output string.
59568 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
59570         * sysdeps/unix/sysv/linux/kernel-features.h
59571         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
59572         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
59573         (__ASSUME_ARG_MAX_STACK_BASED): Define.
59574         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
59575         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
59576         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
59577         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
59579 2012-08-09  Jeff Law <law@redhat.com>
59581         [BZ #13939]
59582         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
59583         When avoid_arena is set, don't retry in the that arena.  Pick the
59584         next one, whatever it might be.
59585         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
59586         (arena_lock): Pass in new parameter to arena_get2.
59587         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
59588         arena_get2.
59589         (__libc_malloc): Unify retrying after main arena failure with
59590         __libc_memalign version.
59591         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
59593 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
59595         [BZ #14166]
59596         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
59597         to __redirect_strstr.
59598         (__strstr_sse42): Use typeof __redirect_strstr.
59599         (__strstr_ia32): Likewise.
59600         (__libc_strstr): New prototype.
59601         (strstr): Renamed to ...
59602         (__libc_strstr): This.
59603         (strstr): New strong alias of __libc_strstr.
59604         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59605         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
59606         __redirect_time.
59607         Include <time.h>.
59608         (__libc_time): New prototype.
59609         (time_ifunc): Replace time with __libc_time.
59610         (time): New strong alias and hidden definition of __libc_time.
59611         (__GI_time): Remove strong alias.
59612         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
59613         Include <stddef.h>.
59614         (memmove): Redefined to __redirect_memmove.
59615         (__memmove_sse2): Use typeof __redirect_memmove.
59616         (__memmove_ssse3): Likewise.
59617         (__memmove_ssse3_back): Likewise.
59618         (__libc_memmove): New prototype.
59619         (memmove): Renamed to ...
59620         (__libc_memmove): This.
59621         (memmove): New strong alias of __libc_memmove.
59623 2012-08-08  Mark Salter  <msalter@redhat.com>
59625         * elf/elf.h
59626         (R_MN10300_TLS_GD): Define.
59627         (R_MN10300_TLS_LD): Likewise.
59628         (R_MN10300_TLS_LDO): Likewise.
59629         (R_MN10300_TLS_GOTIE): Likewise.
59630         (R_MN10300_TLS_IE): Likewise.
59631         (R_MN10300_TLS_LE): Likewise.
59632         (R_MN10300_TLS_DTPMOD): Likewise.
59633         (R_MN10300_TLS_DTPOFF): Likewise.
59634         (R_MN10300_TLS_TPOFF): Likewise.
59635         (R_MN10300_SYM_DIFF): Likewise.
59636         (R_MN10300_ALIGN): Likewise.
59637         (R_MN10300_NUM): Update.
59639 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
59641         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
59642         Remove.
59644 2012-08-08  Roland McGrath  <roland@hack.frob.com>
59646         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
59648         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
59649         sysdeps/unix -> sysdeps/posix move.
59650         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
59652 2012-08-07      Allan McRae     <allan@archlinux.org>
59654         [BZ #14303]
59655         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
59656         (SUNOS_CPP): Likewise.
59657         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
59658         not found.
59659         (open_input): Call CPP using execvp.
59661 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59663         * sysdeps/unix/sysv/linux/kernel-features.h
59664         (__ASSUME_PROT_GROWSUPDOWN): Remove.
59665         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59666         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59667         (__ASSUME_WAITID_SYSCALL): Likewise.
59668         * sysdeps/unix/sysv/linux/dl-execstack.c
59669         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
59670         code unconditional.
59671         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
59672         conditional code.
59673         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
59674         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
59675         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
59676         code.
59677         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
59678         unconditional.
59679         [__ASSUME_WAITID_SYSCALL]: Likewise.
59680         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
59682 2012-08-07  Roland McGrath  <roland@hack.frob.com>
59684         * sysdeps/unix/closedir.c: Renamed to ...
59685         * sysdeps/posix/closedir.c: ... here.
59686         * sysdeps/unix/dirfd.c: Renamed to ...
59687         * sysdeps/posix/dirfd.c: ... here.
59688         * sysdeps/unix/dirstream.h: Renamed to ...
59689         * sysdeps/posix/dirstream.h: ... here.
59690         * sysdeps/unix/fdopendir.c: Renamed to ...
59691         * sysdeps/posix/fdopendir.c: ... here.
59692         * sysdeps/unix/opendir.c: Renamed to ...
59693         * sysdeps/posix/opendir.c: ... here.
59694         * sysdeps/unix/readdir.c: Renamed to ...
59695         * sysdeps/posix/readdir.c: ... here.
59696         * sysdeps/unix/readdir_r.c: Renamed to ...
59697         * sysdeps/posix/readdir_r.c: ... here.
59698         * sysdeps/unix/rewinddir.c: Renamed to ...
59699         * sysdeps/posix/rewinddir.c: ... here.
59700         * sysdeps/unix/seekdir.c: Renamed to ...
59701         * sysdeps/posix/seekdir.c: ... here.
59702         * sysdeps/unix/telldir.c: Renamed to ...
59703         * sysdeps/posix/telldir.c: ... here.
59704         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
59705         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
59706         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
59707         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
59709         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
59710         * bits/fcntl.h: ... here.
59712         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
59713         not 0.
59714         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
59715         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
59716         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
59717         (struct flock): Move l_start, l_len to the beginning.
59718         Use __pid_t for l_pid.
59719         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
59720         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
59721         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
59722         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
59723         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
59724         [__USE_LARGEFILE64] (struct flock64): New type.
59725         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
59727         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
59728         * bits/dirent.h: ... here.
59730         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
59731         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
59733 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59735         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59736         Change from 2.6.0 to 2.6.16.
59737         * sysdeps/unix/sysv/linux/configure: Regenerated.
59738         * sysdeps/unix/sysv/linux/kernel-features.h
59739         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
59740         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
59741         version.
59742         (__ASSUME_UTIMES): Likewise.
59743         (__ASSUME_CLONE_STOPPED): Remove.
59744         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
59745         architectures, not kernel version.
59746         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
59747         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59748         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59749         (__ASSUME_WAITID_SYSCALL): Likewise.
59750         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
59751         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
59752         * README: State 2.6.16 as minimum Linux kernel version.  Do not
59753         refer to older versions.
59755 2012-08-06  Roland McGrath  <roland@hack.frob.com>
59757         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
59758         Define alphasort64 as an alias.
59759         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
59760         Define versionsort64 as an alias.
59761         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
59762         Define scandir64 as an alias.
59763         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
59764         Define scandirat64 as an alias.
59765         * dirent/alphasort64.c (alphasort64):
59766         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
59767         * dirent/versionsort64.c: Likewise.
59768         * dirent/scandir64.c: Likewise.
59769         * dirent/scandirat64.c: Likewise.
59770         * sysdeps/wordsize-64/alphasort.c: File removed.
59771         * sysdeps/wordsize-64/alphasort64.c: File removed.
59772         * sysdeps/wordsize-64/scandir.c: File removed.
59773         * sysdeps/wordsize-64/scandir64.c: File removed.
59774         * sysdeps/wordsize-64/scandirat.c: File removed.
59775         * sysdeps/wordsize-64/scandirat64.c: File removed.
59776         * sysdeps/wordsize-64/versionsort.c: File removed.
59777         * sysdeps/wordsize-64/versionsort64.c: File removed.
59778         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
59779         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
59780         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
59781         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
59782         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
59783         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
59784         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
59785         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
59787         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
59788         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59789         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
59790         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59791         [defined __arch64__ || defined __sparcv9]
59792         (__INO_T_MATCHES_INO64_T): New macro.
59793         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59794         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
59795         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
59796         * sysdeps/unix/sysv/linux/bits/dirent.h
59797         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
59798         (_DIRENT_MATCHES_DIRENT64): New macro.
59800         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
59801         Define lockf64 as an alias.
59802         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
59803         Define fseeko64 as an alias.
59804         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
59805         Define ftello64 as an alias.
59806         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
59807         Define _IO_fgetpos64 and fgetpos64 as aliases.
59808         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
59809         Define _IO_fsetpos64 and fsetpos64 as aliases.
59810         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
59811         Conditionalize body on this.
59812         * libio/fseeko64.c: Likewise.
59813         * libio/ftello64.c: Likewise.
59814         * libio/iofgetpos64.c: Likewise.
59815         * libio/iofsetpos64.c: Likewise.
59816         * sysdeps/wordsize-64/lockf.c: File removed.
59817         * sysdeps/wordsize-64/lockf64.c: File removed.
59818         * sysdeps/wordsize-64/fseeko.c: File removed.
59819         * sysdeps/wordsize-64/fseeko64.c: File removed.
59820         * sysdeps/wordsize-64/ftello.c: File removed.
59821         * sysdeps/wordsize-64/ftello64.c: File removed.
59822         * sysdeps/wordsize-64/iofgetpos.c: File removed.
59823         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
59824         * sysdeps/wordsize-64/iofsetpos.c: File removed.
59825         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
59826         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
59827         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
59828         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
59829         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
59830         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
59831         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
59832         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
59833         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
59834         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
59835         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
59837         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59838         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59839         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
59840         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59841         [defined __arch64__ || defined __sparcv9]
59842         (__OFF_T_MATCHES_OFF64_T): New macro.
59843         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59844         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59845         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59846         (__OFF_T_MATCHES_OFF64_T): New macro.
59848 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59850         * stdlib/secure-getenv.c (__secure_getenv): Replace
59851         GLIBC_2_16 with GLIBC_2_17.
59853 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59855         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
59856         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59858 2012-08-03  David S. Miller  <davem@davemloft.net>
59860         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59862 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59864         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
59865         Remove.
59866         (__ASSUME_CORRECT_SI_PID): Likewise.
59867         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
59868         (__ASSUME_TMPFS_NAME): Likewise.
59869         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
59870         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
59871         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
59872         (HAVE_AUX_SECURE): Make definition unconditional.
59873         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
59874         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
59876 2012-08-03  Roland McGrath  <roland@hack.frob.com>
59878         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
59879         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
59880         * sysdeps/mach/hurd/eloop-threshold.h: New file.
59881         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59882         __eloop_threshold instead of SYMLOOP_MAX.
59884         * sysdeps/generic/eloop-threshold.h: New file.
59885         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
59886         of MAXSYMLINKS.
59887         * elf/chroot_canon.c (chroot_canon): Likewise.
59889 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59891         [BZ #13717]
59892         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59893         Change to 2.6.0 everywhere.
59894         * sysdeps/unix/sysv/linux/configure: Regenerated.
59895         * sysdeps/unix/sysv/linux/kernel-features.h
59896         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
59897         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
59898         kernel versions.
59899         (__ASSUME_POSIX_TIMERS): Define unconditionally.
59900         (__ASSUME_FUTEX_REQUEUE): Remove.
59901         (__ASSUME_STATFS64): Define unconditionally.
59902         (__ASSUME_AT_SECURE): Likewise.
59903         (__ASSUME_CORRECT_SI_PID): Likewise.
59904         (__ASSUME_TGKILL): Define without depending on kernel version for
59905         i386.
59906         (__ASSUME_UTIMES): Likewise.
59907         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
59908         kernel version.
59909         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
59910         (__ASSUME_TMPFS_NAME): Likewise.
59911         * README: Update reference to Linux kernel versions.
59913 2012-08-02  Marek Polacek  <polacek@redhat.com>
59915         [BZ# 14150]
59916         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
59917         libc_cv_asm_type_prefix with %.
59918         * configure: Regenerated.
59919         * include/libc-symbols.h: Remove comment about
59920         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59921         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
59922         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
59923         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
59924         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
59925         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59926         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
59927         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
59928         * elf/tst-unique2mod1.c: Likewise.
59929         * elf/tst-unique1mod2.c: Likewise.
59930         * elf/tst-unique1mod1.c: Likewise.
59931         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
59932         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
59933         Replace ASM_TYPE_DIRECTIVE with .type.
59934         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59935         * sysdeps/i386/sysdep.h: Likewise.
59936         * sysdeps/x86_64/sysdep.h: Likewise.
59937         * sysdeps/sh/sysdep.h: Likewise.
59938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59939         Do not define ASM_TYPE_DIRECTIVE.
59940         * sysdeps/powerpc/sysdep.h: Likewise.
59941         * sysdeps/powerpc/powerpc32/sysdep.h:
59942         Replace ASM_TYPE_DIRECTIVE with .type.
59943         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59944         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59945         * sysdeps/i386/fpu/e_powf.S: Likewise.
59946         * sysdeps/i386/fpu/e_expl.S: Likewise.
59947         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59948         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59949         * sysdeps/i386/fpu/e_pow.S: Likewise.
59950         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
59951         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59952         * sysdeps/i386/fpu/s_expm1.S: Likewise.
59953         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
59954         * sysdeps/i386/fpu/e_log2.S: Likewise.
59955         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59956         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59957         * sysdeps/i386/fpu/e_powl.S: Likewise.
59958         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59959         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
59960         * sysdeps/i386/fpu/e_logl.S: Likewise.
59961         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
59962         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
59963         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
59964         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59965         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59966         * sysdeps/i386/fpu/e_log.S: Likewise.
59967         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59968         * sysdeps/i386/fpu/e_logf.S: Likewise.
59969         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59970         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59971         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
59972         * sysdeps/i386/fpu/e_log10.S: Likewise.
59973         * sysdeps/i386/fpu/s_frexp.S: Likewise.
59974         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59975         * sysdeps/i386/fpu/s_asinh.S: Likewise.
59976         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
59977         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59978         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
59979         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
59980         * sysdeps/i386/i686/strtok.S: Likewise.
59981         * sysdeps/i386/i386-mcount.S: Likewise.
59982         * sysdeps/i386/strtok.S: Likewise.
59983         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
59984         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59985         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59986         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59987         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59988         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59989         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
59990         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
59991         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59992         * sysdeps/x86_64/_mcount.S: Likewise.
59993         * sysdeps/x86_64/strtok.S: Likewise.
59994         * sysdeps/sh/_mcount.S: Likewise.
59996 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59998         * libio/iofopen.c: Include <fcntl.h>.
59999         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
60000         (_IO_fopen64, fopen64): Define as aliases.
60001         * libio/iofopen64.c: Include <fcntl.h>.
60002         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
60003         Conditionalize body on this.
60004         * sysdeps/wordsize-64/iofopen.c: File removed.
60005         * sysdeps/wordsize-64/iofopen64.c: File removed.
60007 2012-08-01  Marek Polacek  <polacek@redhat.com>
60009         * libc/Makeconfig: Use elf in place of binfmt-subdir.
60010         Use dlfcn directly instead of a variable.
60011         (binfmt-subdir): Do not define.
60012         (dlfcn): Likewise.
60014 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
60016         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
60017         Remove all definitions.
60018         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
60019         <kernel-features.h>.
60020         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60021         (miss_F_GETOWN_EX): Remove all definitions.
60022         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
60023         macro definition.
60024         [!__ASSUME_FCNTL64]: Remove conditional code.
60025         [__ASSUME_FCNTL64]: Make code unconditional.
60026         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
60027         <kernel-features.h>.
60028         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60029         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
60030         (lockf64) [__NR_fcntl64]: Make code unconditional.
60031         (lockf64) [__ASSUME_FCNTL64]: Likewise.
60033         * sysdeps/unix/sysv/linux/kernel-features.h
60034         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
60035         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
60036         Make code unconditional.
60037         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60038         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
60040         [__NR_vfork]: Make code unconditional.
60041         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60042         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
60044         [__NR_vfork]: Make code unconditional.
60045         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60046         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60048 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60050         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
60051         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
60053         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60054         Define mkstemp64 as an alias.
60055         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60056         Define mkstemps64 as an alias.
60057         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60058         Define mkostemp64 as an alias.
60059         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60060         Define mkostemps64 as an alias.
60061         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
60062         Conditionalize body on this.
60063         * misc/mkostemp64.c: Likewise.
60064         * misc/mkostemps64.c: Likewise.
60065         * misc/mkstemps64.c: Likewise.
60066         * sysdeps/wordsize-64/mkstemp64.c: File removed.
60067         * sysdeps/wordsize-64/mkostemp64.c: File removed.
60068         * sysdeps/wordsize-64/mkostemp.c: File removed.
60069         * sysdeps/wordsize-64/mkstemp.c: File removed.
60070         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
60071         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
60072         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
60073         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
60075         [BZ #14138]
60076         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
60077         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
60078         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
60079         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
60081         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
60082         compat_symbol macros from <shlib-compat.h> rather than the underlying
60083         default_symbol_version and symbol_version macros, so that DEFAULT
60084         lines in shlib-versions are respected.
60085         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
60087 2012-08-01  Florian Weimer  <fweimer@redhat.com>
60089         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
60090         Declare with warn_unused_result.
60091         (setgid, setregid, setegid, setresgid): Likewise.
60092         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
60093         Likewise.
60094         * WUR-REPORT: Remove set*id functions.
60096 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
60098         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
60100 2012-07-31  Roland McGrath  <roland@hack.frob.com>
60102         [BZ #10191]
60103         * include/sys/socket.h (__libc_accept, __libc_accept4):
60104         Add attribute_hidden.
60105         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
60107         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
60108         use of PTR_MANGLE.
60109         * inet/getnetgrent_r.c (setup): Likewise.
60111         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
60113 2012-07-31  David S. Miller  <davem@davemloft.net>
60115         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60117 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
60119         [BZ #13629]
60120         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
60121         value between 1.0 and 2.0 and smaller part has absolute value less
60122         than 1.0.
60123         * math/s_clog10.c (__clog10): Likewise.
60124         * math/s_clog10f.c (__clog10f): Likewise.
60125         * math/s_clog10l.c (__clog10l): Likewise.
60126         * math/s_clogf.c (__clogf): Likewise.
60127         * math/s_clogl.c (__clogl): Likewise.
60128         * math/libm-test.inc (clog_test): Add more tests.
60129         (clog10_test): Likewise.
60130         * sysdeps/i386/fpu/libm-test-ulps: Update.
60131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60133 2012-07-31  Florian Weimer  <fweimer@redhat.com>
60135         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
60136         Exit with zero in case no suitable GID is found, and write a
60137         message to standard error.
60139 2012-07-30  Roland McGrath  <roland@hack.frob.com>
60141         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
60142         rather than to 1.
60143         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
60144         (MAXPATHLEN): Removed.
60145         (NOGROUP, NODEV): New macros.
60146         (setbit, clrbit, isset, isclr): New macros.
60147         (howmany, roundup, powerof2): New macros.
60148         (DEV_BSIZE): New macro.
60150         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
60151         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
60153         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
60154         definition on [!__NO_LONG_DOUBLE_MATH].
60156         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
60157         PTR_MANGLE and PTR_DEMANGLE.
60159         * socket/accept4.c (accept4): Rename to __libc_accept4.
60160         Define accept4 as a weak alias.
60162         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
60163         on [_DIRENT_HAVE_D_TYPE].
60164         * io/ftw.c (ftw_dir): Likewise.
60166         * io/xmknod.c (__xmknod): Don't check PATH for being null.
60168         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
60170         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
60171         Use the BSD numbers rather than the arbitrary ones we had.
60172         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
60173         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
60174         (SIGXCPU, SIGXFSZ): New macros.
60175         (_NSIG): Now 32.
60177         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
60178         initializer on [_LIBC_REENTRANT].
60180         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
60181         definitions inside [_POSIX_MAPPED_FILES].
60183         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
60185         * dirent/opendir.c: Include <fcntl.h>.
60187         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
60188         (__libc_getspecific): Likewise.
60189         (__libc_key_create): Likewise.
60191         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
60192         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
60193         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
60194         (tmpfile64): Define as alias.
60195         * sysdeps/wordsize-64/tmpfile.c: File removed.
60196         * sysdeps/wordsize-64/tmpfile64.c: File removed.
60197         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
60198         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
60200         * stdio-common/vfscanf.c: Include <stdbool.h>.
60201         * nss/makedb.c: Likewise.
60202         * stdio-common/_i18n_number.h: Likewise.
60203         * argp/argp-help.c: Likewise.
60204         * posix/wordexp.c: Likewise.
60205         * sysdeps/posix/spawni.c: Likewise.
60206         * nss/nss_files/files-initgroups.c: Likewise.
60207         * stdio-common/reg-modifier.c: Include <stdlib.h>.
60208         * nss/nss_files/files-initgroups.c: Likewise.
60209         * nss/nss_db/db-netgrp.c: Likewise.
60210         * nss/nss_db/db-initgroups.c: Likewise.
60211         * io/fchmodat.c: Include <sys/stat.h>.
60213         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
60214         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
60216         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
60217         [HAVE_MMAP].
60219         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
60220         Add multiple inclusion protection.
60222 2012-07-27  David S. Miller  <davem@davemloft.net>
60224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60226 2012-07-27  Gary Benson  <gbenson@redhat.com>
60228         [BZ #14298]
60229         * elf/rtld.c: Include <stap-probe.h>.
60230         (dl_main): Added static probes "init_start" and "init_complete".
60231         * elf/dl-load.c: Include <stap-probe.h>.
60232         (lose): Take new parameter "nsid".
60233         Added static probe "map_failed".
60234         (_dl_map_object_from_fd): Pass namespace id to lose.
60235         Added static probe "map_start".
60236         (open_verify): Pass namespace id to lose.
60237         * elf/dl-open.c: Include <stap-probe.h>.
60238         (dl_open_worker) Added static probes "map_complete", "reloc_start"
60239         and "reloc_complete".
60240         * elf/dl-close.c: Include <stap-probe.h>.
60241         (_dl_close_worker): Added static probes "unmap_start" and
60242         "unmap_complete".
60243         * elf/rtld-debugger-interface.txt: New file documenting the above.
60245 2012-07-26  Roland McGrath  <roland@hack.frob.com>
60247         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
60248         rather than a string variable.
60249         * sunrpc/rpc_main.c (h_output): Likewise.
60250         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
60252 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
60254         * inet/check_native.c: New file.
60256 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
60258         [BZ #13629]
60259         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
60260         if larger part has absolute value 1.0.
60261         * math/s_clog10.c (__clog10): Likewise.
60262         * math/s_clog10f.c (__clog10f): Likewise.
60263         * math/s_clog10l.c (__clog10l): Likewise.
60264         * math/s_clogf.c (__clogf): Likewise.
60265         * math/s_clogl.c (__clogl): Likewise.
60266         * math/libm-test.inc (clog_test): Add more tests.
60267         (clog10_test): Likewise.
60268         * sysdeps/i386/fpu/libm-test-ulps: Update.
60269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60271         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
60272         (pltexit): Likewise.
60273         (La_regs): Likewise.
60274         (La_retval): Likewise.
60275         (int_retval): Likewise.
60276         Update #error for removed macros to refer only to definitions in
60277         tst-audit.h.
60278         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
60279         macro.
60280         (pltexit): Likewise.
60281         (La_regs): Likewise.
60282         (La_retval): Likewise.
60283         (int_retval): Likewise.
60284         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
60285         macro.
60286         (pltexit): Likewise.
60287         (La_regs): Likewise.
60288         (La_retval): Likewise.
60289         (int_retval): Likewise.
60290         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
60291         macro.
60292         (pltexit): Likewise.
60293         (La_regs): Likewise.
60294         (La_retval): Likewise.
60295         (int_retval): Likewise.
60296         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
60297         macro.
60298         (pltexit): Likewise.
60299         (La_regs): Likewise.
60300         (La_retval): Likewise.
60301         (int_retval): Likewise.
60302         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
60303         macro.
60304         (pltexit): Likewise.
60305         (La_regs): Likewise.
60306         (La_retval): Likewise.
60307         (int_retval): Likewise.
60308         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
60309         macro.
60310         (pltexit): Likewise.
60311         (La_regs): Likewise.
60312         (La_retval): Likewise.
60313         (int_retval): Likewise.
60314         * sysdeps/generic/tst-audit.h: Update comment to refer only to
60315         macro definitions in tst-audit.h.
60316         * sysdeps/i386/tst-audit.h: New file.
60317         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
60318         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
60319         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
60320         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
60321         * sysdeps/sh/tst-audit.h: Likewise.
60322         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
60323         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
60324         * sysdeps/x86_64/tst-audit.h: Likewise.
60326 2012-07-26  Andreas Jaeger  <aj@suse.de>
60328         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
60329         ptrace.
60331         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
60332         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
60333         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
60334         PTRACE_O_MASK.
60335         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
60336         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
60337         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
60339         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
60340         value.
60342         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
60343         _sigsys.
60344         (si_call_addr, si_syscall, si_arch): Define new macro.
60345         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
60346         _sigsys.
60347         (si_call_addr, si_syscall, si_arch): Define new marcro.
60348         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
60349         _sigsys.
60350         (si_call_addr, si_syscall, si_arch): Define new macro.
60351         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
60352         _sigsys.
60353         (si_call_addr, si_syscall, si_arch): Define new macro.
60355 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60357         [BZ #13717]
60358         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60359         Change to 2.4.21 where previously 2.4.1.
60360         * sysdeps/unix/sysv/linux/configure: Regenerated.
60361         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
60362         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
60363         Linux kernel version.
60364         (__ASSUME_STD_AUXV): Remove.
60365         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
60366         kernel version.
60367         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
60368         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
60369         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
60370         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
60371         (__ASSUME_NETLINK_SUPPORT): Likewise.
60372         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
60373         (__no_netlink_support): Remove conditional definition.
60374         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
60375         Remove.
60376         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60377         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
60378         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
60379         (if_nameindex_ioctl): Remove.
60380         (if_nameindex_netlink): Do not handle __no_netlink_support.
60381         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60382         code.
60383         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
60384         Remove conditional code.
60385         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60386         code.
60387         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
60388         unconditional.
60389         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60390         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
60391         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
60392         Remove.
60393         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
60394         [!__ASSUME_STD_AUXV]: Remove conditional code.
60395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
60396         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
60397         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
60398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
60399         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
60400         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60401         code.
60402         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60404         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
60405         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60406         conditional code.
60407         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
60409         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60410         code.
60411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60412         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60413         conditional code.
60414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
60415         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60416         code unconditional.
60417         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60418         conditional code.
60419         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60420         unconditional.
60421         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60422         conditional code.
60423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60424         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60425         unconditional.
60426         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60427         conditional code.
60428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
60429         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60430         code unconditional.
60431         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60432         conditional code.
60433         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60434         unconditional.
60435         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60436         conditional code.
60437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
60438         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60439         code unconditional.
60440         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60441         conditional code.
60442         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60443         unconditional.
60444         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60445         conditional code.
60447 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
60449         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
60450         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
60451         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
60452         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
60453         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
60454         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
60455         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
60456         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
60457         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
60458         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
60459         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
60460         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
60461         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
60462         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
60463         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
60464         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
60465         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
60466         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
60467         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
60468         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
60469         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
60470         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
60471         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60473 2012-07-25  Florian Weimer  <fweimer@redhat.com>
60475         * Versions.def: Add GLIBC_2.17.
60476         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
60477         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
60478         Introduce __libc_secure_getenv.
60479         * stdlib/Versions (2.17): Add secure_getenv
60480         (GLIBC_PRIVATE): Add __libc_secure_getenv.
60481         * stdlib/secure-getenv.c: Rename __secure_getenv to
60482         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
60483         symbol __secure_getenv for GLIBC_2.0.
60484         * stdlib/tst-secure-getenv.c: New.
60485         * stdlib/Makefile (tests): Add testcase.
60486         * manual/startup.texi (Environment Access): Document
60487         secure_getenv.
60488         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
60489         __libc_secure_getenv.
60490         * inet/ruserpass.c (ruserpass): Likewise.
60491         * malloc/mtrace.c (mtrace): Likewise.
60492         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
60493         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
60494         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
60495         * sysdeps/posix/tempname.c: Likewise.  Evaluate
60496         HAVE_SECURE_GETENV.
60497         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
60498         __secure_getenv to __libc_secure_getenv.
60499         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
60500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60501         Likewise.
60502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60503         Likewise.
60504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60506         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60507         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60509         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60510         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60512 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60514         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
60515         (struct La_i86_retval): Likewise.
60516         (struct La_x86_64_regs): Likewise.
60517         (struct La_x86_64_retval): Likewise.
60518         (struct La_x32_regs): Likewise.
60519         (struct La_x32_retval): Likewise.
60520         (struct La_ppc32_regs): Likewise.
60521         (struct La_ppc32_retval): Likewise.
60522         (struct La_ppc64_regs): Likewise.
60523         (struct La_ppc64_retval): Likewise.
60524         (struct La_sh_regs): Likewise.
60525         (struct La_sh_retval): Likewise.
60526         (struct La_s390_32_regs): Likewise.
60527         (struct La_s390_32_retval): Likewise.
60528         (struct La_s390_64_regs): Likewise.
60529         (struct La_s390_64_retval): Likewise.
60530         (struct La_sparc32_regs): Likewise.
60531         (struct La_sparc32_retval): Likewise.
60532         (struct La_sparc64_regs): Likewise.
60533         (struct La_sparc64_retval): Likewise.
60534         (struct audit_ifaces): Remove architecture-specific pltenter and
60535         pltexit members.
60536         * sysdeps/i386/ldsodefs.h: New file.
60537         * sysdeps/powerpc/ldsodefs.h: Likewise.
60538         * sysdeps/s390/ldsodefs.h: Likewise.
60539         * sysdeps/sh/ldsodefs.h: Likewise.
60540         * sysdeps/sparc/ldsodefs.h: Likewise.
60541         * sysdeps/x86_64/ldsodefs.h: Likewise.
60543 2012-07-25  Marek Polacek  <polacek@redhat.com>
60545         [BZ #6808]
60546         * math/libm-test.inc (yn_test): Add another test.
60547         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
60548         to ERANGE when the result is +-Inf.
60549         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60550         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
60551         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
60552         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
60554 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
60556         * conform/data/time.h-data (NULL): Use macro-constant.  Require
60557         equal to 0.
60558         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
60559         clock_t.
60560         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
60562 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
60564         * configure.in <sysdeps resolving>: Correct printing
60565         Implies_before.
60566         * configure: Regenerate.
60568 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
60570         * math/w_ilogb.c: Include <limits.h>.
60571         * math/w_ilogbl.c: Likewise.
60573 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60575         * manual/lang.texi (__va_copy): Document primarily as ISO C99
60576         va_copy.  Document allowing for unavailable va_copy only as
60577         pre-C99 compatibility.
60578         * manual/string.texi (Copying and Concatenation): Use va_copy
60579         instead of __va_copy in concat example.
60581 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
60583         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
60584         (__sendto): Use create_address_port.  Initialize APORT and deallocate
60585         it if not null.
60587         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
60588         with O_NOLINK passed to __file_name_lookup.
60590         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
60591         with O_NOLINK passed to __file_name_lookup.
60593         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
60594         negative N or less than NGIDS.
60596         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
60597         type to string_t.  Set ERANGE as errno and return it if NAME is not big
60598         enough.  Use memcpy instead of strncpy.
60600 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60602         * elf/Makefile (check-data): Remove.
60603         (localplt.data): New vpath directive.
60604         ($(objpfx)check-localplt.out): Use localplt.data from vpath
60605         instead of $(check-data).
60606         * scripts/data/localplt-generic.data: Move to ...
60607         * sysdeps/generic/localplt.data: ... here.
60608         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
60609         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
60610         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
60611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
60612         ... here.
60613         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
60614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
60615         ... here.
60616         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
60617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
60618         ... here.
60619         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
60620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
60621         ... here.
60622         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
60623         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
60624         ... here.
60625         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
60626         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
60627         ... here.
60629 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60631         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
60632         PPC32 and PPC64 files.
60633         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
60634         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
60636 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60638         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
60639         __makecontext_ret to ...
60640         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
60641         ... here and call exit if uc_link is NULL.  New file.
60642         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
60643         __makecontext_ret.S.
60644         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
60645         __makecontext_ret to ...
60646         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
60647         ... here and call exit if uc_link is NULL.  New file.
60648         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
60649         __makecontext_ret.S.
60651 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60653         * elf/elf.h (R_390_IRELATIVE): New definition.
60654         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
60655         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
60656         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
60657         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60658         (elf_machine_lazy_rel): Likewise.
60659         * sysdeps/s390/dl-irel.h: New file.
60660         * sysdeps/s390/s390-64/memcpy.S: New asm code.
60661         * sysdeps/s390/s390-64/memset.S: New asm code.
60662         * sysdeps/s390/s390-64/memcmp.S: New asm code.
60663         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
60664         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
60665         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
60666         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
60667         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
60668         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
60669         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
60670         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
60671         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
60672         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
60673         * sysdeps/s390/s390-32/memcpy.S: New asm code.
60674         * sysdeps/s390/s390-32/memset.S: New asm code.
60675         * sysdeps/s390/s390-32/memcmp.S: New asm code.
60677 2012-07-17  Marek Polacek  <polacek@redhat.com>
60679         [BZ #14349]
60680         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
60681         * sysdeps/s390/s390-64/configure.in: Likewise.
60682         * sysdeps/sparc/configure.in: Likewise.
60683         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
60684         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
60685         * sysdeps/i386/configure.in: Likewise.
60686         * sysdeps/x86_64/configure.in: Likewise.
60687         * sysdeps/sh/configure.in: Likewise.
60688         * sysdeps/s390/s390-32/configure: Regenerated.
60689         * sysdeps/s390/s390-64/configure: Likewise.
60690         * sysdeps/x86_64/configure: Likewise.
60691         * sysdeps/sh/configure: Likewise.
60692         * sysdeps/powerpc/powerpc64/configure: Likewise.
60693         * sysdeps/powerpc/powerpc32/configure: Likewise.
60694         * sysdeps/sparc/configure: Likwise.
60695         * sysdeps/i386/configure: Likewise.
60697         * elf/dl-open.c: Comment fixes.
60699 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
60701         * Makefile [CXX] (check-data): Remove.
60702         [CXX] (c++-types.data): New vpath directive.
60703         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
60704         vpath.  Do not allow for C++ type data being missing.
60705         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
60706         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
60707         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
60708         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
60709         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
60710         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
60711         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
60712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
60713         ... here.
60714         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
60715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
60716         ... here.
60717         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
60718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
60719         ... here.
60720         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
60721         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
60722         ... here.
60723         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
60724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
60725         ... here.
60726         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
60727         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
60728         ... here.
60729         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
60730         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
60731         ... here.
60732         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
60733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
60735         * elf/tls-macros.h (TLS_LE): Move architecture-specific
60736         definitions to architecture-specific files.
60737         (TLS_IE): Likewise.
60738         (TLS_LD): Likewise.
60739         (TLS_GD): Likewise.
60740         * sysdeps/i386/tls-macros.h: New file.
60741         * sysdeps/powerpc/tls-macros.h: Likewise.
60742         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
60743         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
60744         * sysdeps/sh/tls-macros.h: Likewise.
60745         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
60746         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
60747         * sysdeps/x86_64/tls-macros.h: Likewise.
60749 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60751         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
60752         zero value for regular exit case.
60754         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
60755         (__start_context): Preserve zero value for regular exit case.
60757 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60758             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60760         * manual/setjmp.texi (setcontext): Clarify normal process
60761         termination when uc_link is the null pointer.
60762         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
60763         exit call.
60765 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
60767         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
60768         preprocessor.  Test for each exception mask separately.
60770 2012-07-16  Andreas Jaeger  <aj@suse.de>
60772         * po/ru.po: Update from translation team.
60774 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
60776         * conform/data/string.h-data (NULL): Use macro-constant.  Require
60777         equal to 0.
60778         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60779         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60780         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
60781         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
60782         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60784 2012-07-13  Andreas Jaeger  <aj@suse.de>
60786         * po/fr.po: Update from translation team.
60788 2012-07-12  Marek Polacek  <polacek@redhat.com>
60790         [BZ #14173]
60791         * math/libm-test.inc (yn_test): Add test for BZ #14173.
60792         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
60793         loop condition.
60795 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
60797         [BZ #13717]
60798         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60799         Change to 2.4.1 where previously 2.4.0.
60800         * sysdeps/unix/sysv/linux/configure: Regenerated.
60801         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
60802         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
60803         version.
60804         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
60805         (__ASSUME_AT_CLKTCK): Remove.
60806         (__ASSUME_AT_PAGESIZE): Likewise.
60807         (__ASSUME_AT_XID): Likewise.
60808         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
60809         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
60810         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
60811         unconditionally.
60812         (HAVE_AUX_PAGESIZE): Likewise.
60813         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
60814         [__ASSUME_AT_CLKTCK]: Make code unconditional.
60815         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
60817 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
60819         [BZ #14307]
60820         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
60821         the temporary buffer used to invoke __gethostbyname2_r,
60822         __gethostbyaddr_r and gethostbyname4_r to make room for struct
60823         host_data / struct gaih_addrtuple.
60824         * resolv/nss_dns/dns-host.c (global scope): Move definition of
60825         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
60826         header file nss/nsswitch.h.
60827         * nss/nsswitch.h (global scope): Add definition of implementation
60828         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
60829         resolv/nss_dns/dns-host.c).
60831 2012-07-11  Andreas Jaeger  <aj@suse.de>
60833         * po/fr.po: Update from translation team.
60835         * po/sv.po: Update from translation team
60836         * po/fr.po: Another update from translation team.
60838 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60840         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
60841         for subnormals or multiply small sinh result by itself.
60842         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60845 2012-07-11  David S. Miller  <davem@davemloft.net>
60847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60849 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
60851         [BZ #14347]
60852         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
60853         (INTERNAL_MARK): Shift it here.
60855 2012-07-10  Marek Polacek  <polacek@redhat.com>
60857         [BZ #14151]
60858         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
60859         libc_cv_asm_global_directive with .globl.
60860         * configure: Regenerated.
60861         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
60862         with .globl.
60863         * sysdeps/i386/configure: Regenerated.
60864         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
60865         with .globl.
60866         * sysdeps/x86_64/configure: Regenerated.
60867         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
60868         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
60869         * elf/tst-unique2mod2.c: Likewise.
60870         * elf/tst-unique2mod1.c: Likewise.
60871         * elf/tst-unique1mod2.c: Likewise.
60872         * elf/tst-unique1mod1.c: Likewise.
60873         * sysdeps/s390/s390-32/sysdep.h: Likewise.
60874         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60875         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60876         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60877         * sysdeps/mach/sysdep.h: Likewise.
60878         * sysdeps/i386/sysdep.h: Likewise.
60879         * sysdeps/i386/i386-mcount.S: Likewise.
60880         * sysdeps/x86_64/_mcount.S: Likewise.
60881         * sysdeps/x86_64/sysdep.h: Likewise.
60882         * sysdeps/sh/_mcount.S: Likewise.
60883         * sysdeps/sh/sysdep.h: Likewise.
60884         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
60885         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
60886         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
60887         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60888         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
60889         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
60890         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
60891         * locale/localeinfo.h: Likewise.
60892         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
60893         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
60895 2012-07-09  Roland McGrath  <roland@hack.frob.com>
60897         [BZ #14336]
60898         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
60899         system".
60900         * manual/message.texi (The Uniforum approach): Likewise.
60901         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
60902         (glibc iconv Implementation): Likewise.
60904 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
60906         [BZ #14337]
60907         * math/s_clog.c (__clog): Avoid scaling a value down where that
60908         could result in underflow.
60909         * math/s_clog10.c (__clog10): Likewise.
60910         * math/s_clog10f.c (__clog10f): Likewise.
60911         * math/s_clog10l.c (__clog10l): Likewise.
60912         * math/s_clogf.c (__clogf): Likewise.
60913         * math/s_clogl.c (__clogl): Likewise.
60914         * math/libm-test.inc (clog_test): Add more tests.
60915         (clog10_test): Likewise.
60916         * sysdeps/i386/fpu/libm-test-ulps: Update.
60917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60919 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
60921         [BZ #14283]
60922         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
60923         by 7 not 8 to examine high bit of fractional part.
60925         [BZ #14042]
60926         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
60927         for call to __mcount_internal.
60928         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
60929         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
60930         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
60932 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
60934         [BZ #14154]
60935         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
60936         approximation for values within 0x1p-13f of an odd multiple of
60937         pi/4.
60938         * math/libm-test.inc (tan_test): Do not allow spurious underflow
60939         exception.  Add more tests.
60940         * sysdeps/i386/fpu/libm-test-ulps: Update.
60942         [BZ #6778]
60943         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
60944         inputs and return -1 for them.  Do not check for +Inf in case not
60945         reachable for +Inf.
60946         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
60947         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
60948         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60949         and return -1 for them.  Do not check for +Inf in case not
60950         reachable for +Inf.
60951         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
60952         define.
60953         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60954         and return -1 for them.  Do not check for +Inf in case not
60955         reachable for +Inf.
60956         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
60957         spurious underflow.
60958         * sysdeps/i386/fpu/libm-test-ulps: Update.
60959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60961 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
60963         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
60965 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
60967         [BZ #14157]
60968         [BZ #14331]
60969         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
60970         could result in spurious underflow.  Scale down values above
60971         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
60972         * math/s_csqrtf.c (__csqrtf): Likewise.
60973         * math/s_csqrtl.c (__csqrtl): Likewise.
60974         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
60975         spurious underflow.
60976         * sysdeps/i386/fpu/libm-test-ulps: Update.
60977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60979 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
60981         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
60982         xopen-msg.sed.
60983         * catgets/xopen-msg.awk: New file.
60984         * catgets/xopen-msg.sed: Removed.
60986         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
60987         po2text.sed.
60988         * intl/po2test.awk: New file.
60989         * intl/po2test.sed: Removed.
60991 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
60993         [BZ #14328]
60994         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
60995         or multiply small sinh result by itself.
60996         * math/s_ctanf.c (__ctanf): Likewise.
60997         * math/s_ctanh.c (__ctanh): Likewise.
60998         * math/s_ctanhf.c (__ctanhf): Likewise.
60999         * math/s_ctanhl.c (__ctanhl): Likewise.
61000         * math/s_ctanl.c (__ctanl): Likewise.
61001         * math/libm-test.inc (ctan_test_tonearest): New function.
61002         (ctan_test_towardzero): Likewise.
61003         (ctan_test_downward): Likewise.
61004         (ctan_test_upward): Likewise.
61005         (ctanh_test_tonearest): Likewise.
61006         (ctanh_test_towardzero): Likewise.
61007         (ctanh_test_downward): Likewise.
61008         (ctanh_test_upward): Likewise.
61009         (main): Call these new functions.
61010         * sysdeps/i386/fpu/libm-test-ulps: Update.
61011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61013 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
61015         * .gitignore: Delete /ports entry.
61017 2012-07-03  Andreas Jaeger  <aj@suse.de>
61019         * po/bg.po: Update from translation team.
61020         * po/cs.po: Likewise.
61021         * po/de.po: Likewise.
61022         * po/hr.po: Likewise.
61023         * po/nl.pl: Likewise.
61024         * po/pl.po: Likewise.
61025         * po/vi.po: Likewise.
61027 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
61029         * Makeconfig [!+link] (+link-before-libc): New variable.
61030         [!+link] (+link-after-libc): Likewise.
61031         [!+link] (+link-tests): Likewise.
61032         [!+link] (+link): Define in terms of $(+link-before-libc) and
61033         $(+link-after-libc).
61034         [!+link-static] (+link-static-before-libc): New variable.
61035         [!+link-static] (+link-static-after-libc): Likewise.
61036         [!+link-static] (+link-static-tests): Likewise.
61037         [!+link-static] (+link-static): Define in terms of
61038         $(+link-static-before-libc) and $(+link-static-after-libc).
61039         [build-shared] (link-libc-before-gnulib): New variable.
61040         [build-shared] (link-libc-tests): Likewise.
61041         [build-shared] (link-libc): Define in terms of
61042         $(link-libc-before-gnulib).
61043         [!build-shared] (link-libc-tests): New variable.
61044         (link-libc-static-tests): New variable.
61045         [!gnulib] (gnulib-arch): New variable.
61046         [!gnulib] (gnulib-tests): Likewise.
61047         [!gnulib] (static-gnulib-arch): Likewise.
61048         [!gnulib] (static-gnulib-tests): Likewise.
61049         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
61050         Define with "=" instead of ":=".
61051         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
61052         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
61053         * Rules (binaries-all-notests): New variable.
61054         (binaries-all-tests): Likewise.
61055         (binaries-static-notests): Likewise.
61056         (binaries-static-tests): Likewise.
61057         (binaries-all): Define using $(binaries-all-notests) and
61058         $(binaries-all-tests).
61059         (binaries-static): Define using $(binaries-static-notests) and
61060         $(binaries-static-tests).
61061         (binaries-shared-tests): New variable.
61062         (binaries-shared-notests): Likewise.
61063         (binaries-shared): Remove variable.
61064         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
61065         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
61066         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
61067         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
61068         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
61069         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
61070         * elf/Makefile (sln-modules): New variable.
61071         (extra-objs): Add $(sln-modules:=.o).
61072         (ldconfig-modules): Add static-stubs.
61073         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
61074         * elf/static-stubs.c: New file.
61076         [BZ #14283]
61077         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
61078         by 7 not 8 to examine high bit of fractional part.  Use volatile
61079         variables when splitting into final array of floats if
61080         __FLT_EVAL_METHOD__ != 0.
61081         * math/libm-test.inc (cos_test): Add another test.
61082         (sin_test): Likewise.
61083         * sysdeps/i386/fpu/libm-test-ulps: Update.
61085         [BZ #14273]
61086         * math/libm-test.inc (cosh_test): Add more tests.
61088         * version.h (RELEASE): Set to "development".
61089         (VERSION): Set to "2.16.90".
61091 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
61093         * NEWS: Update copyright. Remove last-updated date.
61094         Mention math library bug fixes and timezone data changes.
61095         * README: Mention GNU/Hurd, x32, and HPPA support status.
61097 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
61099         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
61101 2012-06-27  Andreas Jaeger  <aj@suse.de>
61103         * manual/contrib.texi (Contributors): Add Samuel Thibault.
61105 2012-06-25  Andreas Jaeger  <aj@suse.de>
61107         * sysdeps/s390/fpu/libm-test-ulps: Update.
61109 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
61110             Thomas Schwinge  <thomas@codesourcery.com>
61112         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
61113         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
61114         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
61115         fanotify_mark.
61117 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
61119         * sysdeps/mach/start.c: Remove file.
61120         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
61121         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
61122         * sysdeps/sh/init-first.c: Likewise.
61124         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
61125         registers for frame unwinding purposes, add CFI directives.
61126         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61127         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
61128         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
61129         Likewise.
61131         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
61132         __fortify_fail returning.
61133         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61135         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
61136         sysdeps/sh/____longjmp_chk.S.
61137         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
61138         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
61139         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
61140         (gen-as-const-headers): Append sigaltstack-offsets.sym.
61142         * sysdeps/sh/abort-instr.h: New file.
61143         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
61144         process in case exit returns.
61146         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
61147         initialize the GOT register before use.
61149         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
61150         calculation of ARGC > 4.
61152         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
61153         meaningful names to some local labels.
61155 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61156             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61158         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
61159         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
61160         (__arch_compare_and_exchange_val_16_acq): Likewise.
61161         (__arch_compare_and_exchange_val_32_acq): Likewise.
61162         (atomic_exchange_and_add): Fix gUSA sequence.
61163         (atomic_add): Likewise.
61164         (atomic_add_negative): Likewise.
61165         (atomic_add_zero): Likewise.
61166         (atomic_bit_test_set): Likewise.
61168 2012-06-22  Andreas Schwab  <schwab@redhat.com>
61170         [BZ #13579]
61171         * include/link.h (struct link_map): Add l_free_initfini.
61172         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
61173         l_initfini.
61174         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
61175         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
61176         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
61177         set.
61179 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
61181         * configure.in: Use AC_LANG_SOURCE.
61182         * configure: Regenerate.
61184 2012-06-22  Roland McGrath  <roland@hack.frob.com>
61186         * configure.in (libc_cv_localstatedir): New substituted variable.
61187         * configure: Regenerated.
61188         * config.make.in (localstatedir): New variable, substituted from
61189         libc_cv_localstatedir.
61190         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
61191         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
61192         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
61193         * sysdeps/gnu/configure: Regenerated.
61195 2012-06-21  Jeff Law  <law@redhat.com>
61197         [BZ #14277]
61198         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
61199         free.  Simplify list management for _LIBC case.
61201 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
61203         [BZ #14273]
61204         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
61205         Clear sign bit of 64-bit integer value before comparing against
61206         overflow value.
61208         * sysdeps/mach/configure: Regenerated.
61210 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
61212         [BZ #14278]
61213         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
61215 2012-06-21  Jeff Law  <law@redhat.com>
61217         [BZ #13882]
61218         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
61219         uint16_t for elements in the "seen" array to avoid char overflows.
61220         * elf/dl-fini.c (_dl_sort_fini): Likewise.
61221         * elf/dl-open.c (dl_open_worker): Likewise.
61223 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
61225         * scripts/list-sources.sh: Scan PORTS for translations.
61226         * po/libc.pot: Regenerated.
61228 2012-06-21  Andreas Jaeger  <aj@suse.de>
61230         [BZ #12194]
61231         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
61232         warning.
61233         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
61234         * bits/byteswap-16.h (__bswap_16): Likewise.
61235         * bits/byteswap.h (__bswap_constant_16): Likewise.
61237 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
61239         [BZ #14117]
61240         * sysdeps/i386/fpu_control.h: Removed.
61241         * sysdeps/x86_64/fpu_control.h: Moved to ...
61242         * sysdeps/x86/fpu_control.h: Here.
61244         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
61245         (_FPU_SETCW): Likewise.
61247 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
61249         [BZ #14117]
61250         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
61251         * sysdeps/x86/fpu/bits/mathinline.h: This.
61252         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
61254         [BZ #14050]
61255         [BZ #14117]
61256         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
61257         functions if __x86_64__ is defined.
61259 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
61261         * string/endian.h: Add !__ASSEMBLER__ condition for including
61262         conversion interfaces.
61264 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
61266         [BZ #14241]
61267         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
61268         of ABS(x) in calculating zero to negative powers other than odd
61269         integers.
61270         * math/libm-test.inc (pow_test): Add more tests.
61272 2012-06-15  Andreas Jaeger  <aj@suse.de>
61274         * manual/contrib.texi (Contributors): Update entry of Liubov
61275         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
61276         Machado Filho.
61278 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
61280         * string/string.h: Add __wur to GNU version of strerror_r.
61282 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
61284         [BZ #14229]
61285         * string/Makefile (tests): Add tst-strtok_r.
61286         * string/tst-strtok_r.c: New file.
61287         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
61288         RAX_LP/RDX_LP on SAVE_PTR.
61290 2012-06-14  Roland McGrath  <roland@hack.frob.com>
61292         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
61294 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
61296         * libm_test.inc (csqrt_test): Allow more spurious underflow
61297         exceptions.
61298         (j0_test): Likewise.
61299         (j1_test): Likewise.
61300         (y0_test): Likewise.
61301         (y1_test): Likewise.
61303 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
61305         * po/Makefile (libc.pot): Use UTF-8 charset.
61307 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
61309         [BZ #14210]
61310         Suppress sign-conversion warning from FD_SET.
61311         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
61312         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
61313         not unsigned long int.
61314         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
61316 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
61318         [BZ #14050]
61319         [BZ #14117]
61320         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
61321         __extern_always_inline instead of __extern_inline.
61322         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
61323         (__signbit): Likewise.
61324         (__signbitl): Support C++ namespace.
61325         (lrintf): New inline function.
61326         (lrint): Likewise.
61327         (llrintf): Likewise.
61328         (llrint): Likewise.
61329         (fmaxf): Likewise.
61330         (fmax): Likewise.
61331         (fminf): Likewise.
61332         (fmin): Likewise.
61333         (rint): Likewise.
61334         (rintf): Likewise.
61335         (ceil): Likewise.
61336         (ceilf): Likewise.
61337         (floor): Likewise.
61338         (floorf): Likewise.
61339         (nearbyint): Likewise.
61340         (nearbyintf): Likewise.
61342 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
61344         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
61345         non-default versions.
61347 2012-06-11  Roland McGrath  <roland@hack.frob.com>
61349         [BZ #14218]
61350         * manual/argp.texi (Argp): Reword argp_parse description slightly.
61352 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
61354         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
61355         (FE_UPWARD, FE_DOWNWARD): Don't define.
61356         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
61357         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61359         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
61360         reading it.
61361         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61362         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61364 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61366         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61367         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
61368         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
61369         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
61371 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
61373         [BZ #14117]
61374         * sysdeps/i386/fpu/bits/fenv.h: Removed.
61375         * sysdeps/i386/fpu/Implies: New file.
61376         * sysdeps/x86_64/fpu/Implies: Likewise.
61377         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
61378         * sysdeps/x86/fpu/bits/fenv.h: This.
61380         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
61381         __SSE_MATH__.
61383 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
61385         [BZ #14134]
61386         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
61387         character 0xffff that matches the last element of the
61388         conversion table.
61390 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61392         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
61393         fmodl commit.
61395 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61397         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
61398         values higher than 25.6283.
61400 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61402         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
61403         subnormal exponent extraction and add some __builtin_expect.
61404         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
61405         Fix for subnormal mantissa calculation.
61407 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
61409         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
61410         cpu2 is -1 and errno is not ENOSYS.
61412 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
61414         [BZ #14117]
61415         * sysdeps/i386/i486/bits/string.h: Renamed to ...
61416         * sysdeps/x86/bits/string.h: This.
61417         * sysdeps/x86_64/bits/string.h: Removed.
61419         * sysdeps/i386/i486/bits/string.h: Define inline functions only
61420         if not compiling for x86-64, but compiling for >= i486.
61422         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
61423         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
61425         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
61426         New macro from Linux kernel 3.4.0.
61427         (FP_XSTATE_MAGIC2): Likewise.
61428         (FP_XSTATE_MAGIC2_SIZE): Likewise.
61429         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
61430         (struct _fpx_sw_bytes): New struct.
61431         (struct _xsave_hdr): Likewise.
61432         (struct _ymmh_state): Likewise.
61433         (struct _xstate): Likewise.
61435         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
61436         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
61437         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
61438         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
61439         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
61440         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
61442         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
61443         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
61444         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
61445         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
61446         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
61447         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
61449 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61451         [BZ #13743]
61452         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
61453         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
61454         (sysdep_headers): Include sys/platform/ppc.h.
61455         * sysdeps/powerpc/test-gettimebase.c: Test for
61456         __ppc_get_timebase() to catch future ISA opcode/insn changes.
61457         * manual/Makefile (appendices): Include platform.texi.
61458         * manual/contrib.texi (Contributors): Update @node pointers.
61459         * manual/maint.texi (Maintenance): Likewise.
61460         (Platform): New node.
61461         * manual/platform.texi: New file.  Document the new features.
61463 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61464             Jakub Jelinek  <jakub@redhat.com>
61466         [BZ #14188]
61467         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
61468         where __builtin_expect is unavailable.
61470 2012-06-03  David S. Miller  <davem@davemloft.net>
61472         * stdlib/longlong.h: Updated from GCC.
61474 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
61476         [BZ #14042]
61477         * sysdeps/powerpc/powerpc32/mcount.c: New file.
61478         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
61479         __mcount_internal.
61480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61481         (GLIBC_2.16): Likewise.
61483 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61485         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
61487 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
61490         (default-abi): New variable.
61491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
61492         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
61493         variable.
61494         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
61495         Likewise.
61496         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
61497         Likewise.
61498         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
61499         Likewise.
61501         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
61502         definition.  Document in comment.
61504 2012-06-01  David S. Miller  <davem@davemloft.net>
61506         * stdlib/longlong.h: Updated from GCC.
61508 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61510         [BZ #14117]
61511         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
61512         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
61513         sys/debugreg.h sys/io.h here.
61514         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
61515         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
61516         sys/io.h.
61517         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
61518         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
61519         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
61520         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
61521         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
61522         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
61524         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
61525         Define only if __x86_64__ is defined.
61527 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61529         [BZ #14048]
61530         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
61531         Use int64_t for variable i.
61532         * math/libm-test.inc (fmod_test): Add more tests.
61534         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
61535         z computation is not scheduled after fetestexcept.
61536         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
61537         Use math_force_eval instead of asm to ensure calculation scheduled
61538         before exception test.
61539         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
61540         Ensure a1 + u.d computation is not scheduled after fetestexcept.
61542 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
61544         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
61545         computation is not scheduled after fetestexcept.
61547 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61549         [BZ #14117]
61550         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
61551         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
61553 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61555         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
61556         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61558 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61560         [BZ #14117]
61561         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
61562         <bits/wordsize.h>.
61563         (__WCHAR_MIN): Support __WORDSIZE == 64.
61564         (__WCHAR_MAX): Likewise.
61566         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
61567         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
61569         [BZ #14183]
61570         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
61571         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
61573         [BZ #14117]
61574         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
61575         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
61577         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
61578         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
61580         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
61581         Defined to 1 if __x86_64__ isn't defined.
61582         (_STAT_VER_LINUX_OLD): New.
61583         (st_atime): Remove duplicate.
61584         (st_mtime): Likewise.
61585         (st_ctime): Likewise.
61587 2012-05-31  David S. Miller  <davem@davemloft.net>
61589         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
61590         entries.
61592 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
61594         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
61595         gen-libm-test.pl.
61597         [BZ #14132]
61598         * elf/dl-reloc.c: Include <_itoa.h>.
61599         (_dl_reloc_bad_type): Remove use of INTUSE.
61600         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
61601         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
61602         * stdio-common/psiginfo.c (psiginfo): Likewise.
61603         * stdio-common/psignal.c (psignal): Likewise.
61604         * string/strsignal.c (strsignal): Likewise.
61605         * include/signal.h (_sys_siglist): Declare hidden proto.
61606         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
61607         INTVARDEF with libc_hidden_data_def.
61608         * stdio-common/itoa-udigits.c: Likewise.
61609         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
61610         (_itoa_lower_digits_internal): Remove declaration.
61611         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
61612         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
61613         (_sys_sigabbrev_internal): Remove aliases.
61614         (_sys_siglist): Define hidden alias.
61616 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
61618         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61619         bits/sysctl.h.
61621 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61623         [BZ #14117]
61624         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
61625         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
61627         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
61628         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
61629         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
61630         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
61631         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
61632         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
61634         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
61635         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
61636         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
61638         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
61639         with __addr.
61640         (insw): Likewise.
61641         (insl): Likewise.
61642         (outsb): Likewise.
61643         (outsw): Likewise.
61644         (outsl): Likewise.
61646         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
61647         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
61648         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
61650         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
61651         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
61652         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
61653         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
61654         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
61655         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
61657         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
61658         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
61660         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
61661         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
61663         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
61664         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
61665         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
61667         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
61668         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
61669         to ...
61670         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
61672         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
61673         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
61674         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
61676         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
61677         for x86-64.
61678         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
61680 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
61682         * math/math.h (M_El): Use two more decimal places.
61683         (M_LOG2El): Likewise.
61684         (M_LOG10El): Likewise.
61685         (M_LN2l): Likewise.
61686         (M_LN10l): Likewise.
61687         (M_PIl): Likewise.
61688         (M_PI_2l): Likewise.
61689         (M_PI_4l): Likewise.
61690         (M_1_PIl): Likewise.
61691         (M_2_PIl): Likewise.
61692         (M_2_SQRTPIl): Likewise.
61693         (M_SQRT2l): Likewise.
61694         (M_SQRT1_2l): Likewise.
61696 2012-05-31  David S. Miller  <davem@davemloft.net>
61698         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
61699         values between float registers.
61700         * sysdeps/sparc/sparc64/memset.S: Likewise.
61701         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61703 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
61705         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
61706         -D_FORTIFY_SOURCE=1.
61707         (CPPFLAGS-tst-longjmp_chk.c): Define.
61708         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
61709         (CPPFLAGS-tst-longjmp_chk2.c): Define.
61710         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
61711         CFLAGS-tst-wchar-h.c.
61713 2012-05-31  Marek Polacek  <polacek@redhat.com>
61715         [BZ #14132]
61716         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
61717         __endmntent_internal): Remove declaration.
61718         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
61719         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
61720         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
61722 2012-05-30  David S. Miller  <davem@davemloft.net>
61724         * sysdeps/sparc/sparc32/soft-fp/q_util.c
61725         (___Q_simulate_exceptions): Use real FP ops rather than writing
61726         into the %fsr.
61727         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
61728         Likewise.
61730 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61732         [BZ #14117]
61733         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
61734         * sysdeps/x86/bits/xtitypes.h: This.
61736         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
61737         * sysdeps/x86/bits/wordsize.h: This.
61739         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
61740         * sysdeps/x86/bits/huge_vall.h: This.
61742         * sysdeps/i386/bits/select.h: Removed.
61743         * sysdeps/x86_64/bits/select.h: Renamed to ...
61744         * sysdeps/x86/bits/select.h: This.
61746         * sysdeps/i386/bits/setjmp.h: Removed.
61747         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
61748         * sysdeps/x86/bits/setjmp.h: This.
61750         * sysdeps/i386/bits/mathdef.h: Removed.
61751         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
61752         * sysdeps/x86/bits/mathdef.h: This.
61754 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
61756         [BZ #14132]
61757         * include/sys/socket.h (__connect_internal)
61758         (__libc_sa_len_internal): Remove declaration.
61759         (__connect, __libc_sa_len): Declare hidden_proto.
61760         (SA_LEN): Remove use of INTUSE.
61761         * socket/connect.c: Add libc_hidden_def.
61762         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
61763         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
61764         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
61765         alias.
61766         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
61767         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
61768         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
61769         of adding _internal alias.
61771 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61773         [BZ #14117]
61774         * sysdeps/i386/bits/link.h: Removed.
61775         * sysdeps/i386/bits/linkmap.h: Likewise.
61776         * sysdeps/x86_64/bits/link.h: Renamed to ...
61777         * sysdeps/x86/bits/link.h: This.
61778         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
61779         * sysdeps/x86/bits/linkmap.h: This.
61781         * sysdeps/i386/bits/endian.h: Removed.
61782         * sysdeps/x86_64/bits/endian.h: Renamed to ...
61783         * sysdeps/x86/bits/endian.h: This.
61785         * sysdeps/i386/bits/byteswap.h: Removed.
61786         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61787         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
61788         * sysdeps/x86/bits/byteswap.h: This.
61789         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
61790         * sysdeps/x86/bits/byteswap-16.h: This.
61791         * sysdeps/i386/Implies: Add x86.
61792         * sysdeps/x86_64/Implies: Likewise.
61794 2012-05-30  David S. Miller  <davem@davemloft.net>
61796         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
61797         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
61798         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
61799         (FP_TRAPPING_EXCEPTIONS): Define.
61800         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
61801         (FP_TRAPPING_EXCEPTIONS): Define.
61802         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
61803         subnormals only when inexact has been signalled or underflow
61804         exceptions are enabled.
61805         (_FP_PACK_CANONICAL): Likewise.
61807 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61809         [BZ #14183]
61810         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
61811         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
61813 2012-05-30  Richard Henderson  <rth@twiddle.net>
61815         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
61816         with #ifndef NOT_IN_libc.
61818         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
61819         marked to avoid plt entry.
61821 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61823         [BZ #14112]
61824         * Makeconfig (default-abi): New macro.
61825         (abi-includes): Likewise.
61826         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
61827         $(abi-$(default-abi)-lib-soname) for soname if defined.
61828         ($(common-objpfx)gnu/lib-names.stmp): Generate from
61829         abi-variants.
61830         * Makefile (installed-stubs): Likewise.
61831         * include/stubs-biarch.h: Removed.
61832         * scripts/lib-names.awk: Only handle one library at a time.
61833         * scripts/soversions.awk: Remove WORDSIZE support.
61834         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
61835         entries.
61836         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
61837         Removed.
61838         (syscall-list-default-condition): Likewise.
61839         (syscall-list-default-condition): Likewise.
61840         (syscall-list-includes): Likewise.
61841         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
61842         syscall-list-* with abi-*.  Handle undefined abi-variants.
61843         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
61844         * sysdeps/unix/sysv/linux/i386/Implies: New file.
61845         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
61846         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
61847         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
61848         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
61849         Removed.
61850         (syscall-list-32-options): Likewise.
61851         (syscall-list-32-condition): Likewise.
61852         (syscall-list-64-options): Likewise.
61853         (syscall-list-64-condition): Likewise.
61854         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
61855         macro.
61856         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
61857         Renamed to ...
61858         (abi-*): This.
61859         (abi-64-ld-soname): New macro.
61860         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
61861         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
61862         Renamed to ...
61863         (abi-*): This.
61864         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
61865         * sysdeps/x86_64/x32/shlib-versions: Likewise.
61867 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
61869         * sysdeps/unix/sysv/linux/kernel-features.h
61870         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
61871         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
61872         include <kernel-features.h>.
61873         [!__NR_ftruncate64]: Remove conditional code.
61874         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61875         [__NR_ftruncate64]: Make code unconditional.
61876         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61877         * sysdeps/unix/sysv/linux/truncate64.c: Do not
61878         include <kernel-features.h>.
61879         [!__NR_ftruncate64]: Remove conditional code.
61880         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61881         [__NR_ftruncate64]: Make code unconditional.
61882         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
61884         include <kernel-features.h>.
61885         [!__NR_ftruncate64]: Remove conditional code.
61886         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61887         [__NR_ftruncate64]: Make code unconditional.
61888         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61890         include <kernel-features.h>.
61891         [!__NR_ftruncate64]: Remove conditional code.
61892         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61893         [__NR_ftruncate64]: Make code unconditional.
61894         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61896         * configure.in (libc_cv_fpie): Weaken to a compile test using
61897         LIBC_TRY_CC_OPTION.
61898         * configure: Regenerated.
61900 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
61903         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
61904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
61905         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61906         Refreshed.
61907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
61908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
61909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
61910         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
61911         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
61912         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61913         Refreshed.
61915 2012-05-27  David S. Miller  <davem@davemloft.net>
61917         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
61918         (___Q_zero): New.
61919         (__Q_simulate_exceptions): Return void.  Change to simulate
61920         exceptions by writing into the %fsr.
61921         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
61922         (__Qp_handle_exceptions): Likewise.
61923         (numbers): Delete.
61924         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
61925         __Qp_handle_exceptions.
61926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
61927         __Qp_handle_exceptions.
61928         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61929         as unused and give dummy FP_RND_NEAREST initializer.
61930         (FP_INHIBIT_RESULTS): Define.
61931         (___Q_simulate_exceptions): Update declaration.
61932         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
61933         formatting.
61934         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61935         as unused and give dummy FP_RND_NEAREST initializer.
61936         (__Qp_handle_exceptions): Update declaration.
61937         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
61938         formatting.
61940 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
61942         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
61943         the temporary FPU control word.
61944         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
61945         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
61946         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
61947         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61948         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61949         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
61950         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
61951         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61952         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
61953         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
61954         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61956 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61958         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
61959         fields.
61961 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
61963         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
61964         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
61965         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
61966         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
61967         Likewise.
61968         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
61969         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
61970         Likewise.
61972 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
61974         * po/h.po: Update from translation team.
61976 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
61978         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
61980         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
61981         handling of denormals.
61982         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61983         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
61984         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61985         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61986         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61987         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
61988         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
61989         Likewise.
61991 2012-05-26  Marek Polacek  <polacek@redhat.com>
61993         [BZ #14152]
61994         * math/libm-test.inc (fma_test): Don't always expect underflow
61995         exception.
61997 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61999         [BZ #12416]
62000         * elf/tst-execstack.c: Include stackinfo.h.
62001         (do_test): Adjust test case to ensure that pthread_getattr_np
62002         behaviour remains the same after marking stack executable.
62004 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62006         * sysdeps/unix/sysv/linux/kernel-features.h
62007         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
62008         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
62009         kernel-features.h.
62010         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62011         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62012         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
62013         kernel-features.h.
62014         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62015         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62017 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
62019         * configure.in: Define the default includes to being none.
62020         * configure: Regenerated.
62022 2012-05-25  Roland McGrath  <roland@hack.frob.com>
62024         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
62025         * sysdeps/x86_64/setjmp.S: Likewise.
62026         * sysdeps/i386/bsd-setjmp.S: Likewise.
62027         * sysdeps/i386/bsd-_setjmp.S: Likewise.
62028         * sysdeps/i386/setjmp.S: Likewise.
62029         * sysdeps/i386/__longjmp.S: Likewise.
62030         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62031         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
62033         * include/stap-probe.h: New file.
62034         * configure.in: Handle --enable-systemtap.
62035         * configure: Regenerated.
62036         * config.h.in (USE_STAP_PROBE): New #undef.
62037         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
62038         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
62039         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
62041 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62043         [BZ #13717]
62044         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62045         to 2.4.0 where earlier.
62046         * sysdeps/unix/sysv/linux/configure: Regenerated.
62047         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
62048         <kernel-features.h>.
62049         [__ASSUME_32BITUIDS]: Make code unconditional.
62050         [!__ASSUME_32BITUIDS]: Remove conditional code.
62051         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
62052         <kernel-features.h>.
62053         [__ASSUME_32BITUIDS]: Make code unconditional.
62054         [!__ASSUME_32BITUIDS]: Remove conditional code.
62055         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
62056         [__ASSUME_32BITUIDS]: Make code unconditional.
62057         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
62058         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
62059         <kernel-features.h>.
62060         [__ASSUME_32BITUIDS]: Make code unconditional.
62061         [!__ASSUME_32BITUIDS]: Remove conditional code.
62062         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
62063         <kernel-features.h>.
62064         [__ASSUME_32BITUIDS]: Make code unconditional.
62065         [!__ASSUME_32BITUIDS]: Remove conditional code.
62066         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
62067         <kernel-features.h>.
62068         [__ASSUME_32BITUIDS]: Make code unconditional.
62069         [!__ASSUME_32BITUIDS]: Remove conditional code.
62070         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
62071         <kernel-features.h>.
62072         [__ASSUME_32BITUIDS]: Make code unconditional.
62073         [!__ASSUME_32BITUIDS]: Remove conditional code.
62074         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
62075         <kernel-features.h>.
62076         [__ASSUME_32BITUIDS]: Make code unconditional.
62077         [!__ASSUME_32BITUIDS]: Remove conditional code.
62078         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
62079         <kernel-features.h>.
62080         [__ASSUME_32BITUIDS]: Make code unconditional.
62081         [!__ASSUME_32BITUIDS]: Remove conditional code.
62082         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
62083         <kernel-features.h>.
62084         [__ASSUME_32BITUIDS]: Make code unconditional.
62085         [!__ASSUME_32BITUIDS]: Remove conditional code.
62086         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
62087         <kernel-features.h>.
62088         [__ASSUME_32BITUIDS]: Make code unconditional.
62089         [!__ASSUME_32BITUIDS]: Remove conditional code.
62090         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
62091         <kernel-features.h>.
62092         [__ASSUME_32BITUIDS]: Make code unconditional.
62093         [!__ASSUME_32BITUIDS]: Remove conditional code.
62094         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
62095         <kernel-features.h>.
62096         [__ASSUME_32BITUIDS]: Make code unconditional.
62097         [!__ASSUME_32BITUIDS]: Remove conditional code.
62098         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
62099         <kernel-features.h>.
62100         [__NR_setresgid] (__setresgid): Do not declare.
62101         [__ASSUME_32BITUIDS]: Make code unconditional.
62102         [!__ASSUME_32BITUIDS]: Remove conditional code.
62103         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
62104         <kernel-features.h>.
62105         [__NR_setresuid] (__setresuid): Do not declare.
62106         [__ASSUME_32BITUIDS]: Make code unconditional.
62107         [!__ASSUME_32BITUIDS]: Remove conditional code.
62108         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
62109         <kernel-features.h>.
62110         [__ASSUME_32BITUIDS]: Make code unconditional.
62111         [!__ASSUME_32BITUIDS]: Remove conditional code.
62112         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
62113         <kernel-features.h>.
62114         [__ASSUME_32BITUIDS]: Make code unconditional.
62115         [!__ASSUME_32BITUIDS]: Remove conditional code.
62116         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
62117         <kernel-features.h>.
62118         [__ASSUME_32BITUIDS]: Make code unconditional.
62119         [!__ASSUME_32BITUIDS]: Remove conditional code.
62120         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
62121         <kernel-features.h>.
62122         [__ASSUME_32BITUIDS]: Make code unconditional.
62123         [!__ASSUME_32BITUIDS]: Remove conditional code.
62124         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
62125         <kernel-features.h>.
62126         [__ASSUME_32BITUIDS]: Make code unconditional.
62127         [!__ASSUME_32BITUIDS]: Remove conditional code.
62128         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
62129         <kernel-features.h>.
62130         [__ASSUME_32BITUIDS]: Make code unconditional.
62131         [!__ASSUME_32BITUIDS]: Remove conditional code.
62132         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
62133         <kernel-features.h>.
62134         [__ASSUME_32BITUIDS]: Make code unconditional.
62135         [!__ASSUME_32BITUIDS]: Remove conditional code.
62136         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
62137         <kernel-features.h>.
62138         [__ASSUME_32BITUIDS]: Make code unconditional.
62139         [!__ASSUME_32BITUIDS]: Remove conditional code.
62140         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
62141         <kernel-features.h>.
62142         [__ASSUME_32BITUIDS]: Make code unconditional.
62143         [!__ASSUME_32BITUIDS]: Remove conditional code.
62144         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
62145         <kernel-features.h>.
62146         [__ASSUME_32BITUIDS]: Make code unconditional.
62147         [!__ASSUME_32BITUIDS]: Remove conditional code.
62148         * sysdeps/unix/sysv/linux/kernel-features.h
62149         (__ASSUME_SETRESUID_SYSCALL): Remove.
62150         (__ASSUME_SETRESGID_SYSCALL): Likewise.
62151         (__ASSUME_32BITUIDS): Likewise.
62152         (__ASSUME_LDT_WORKS): Likewise.
62153         (__ASSUME_O_DIRECTORY): Likewise.
62154         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
62155         architecture but not kernel version.
62156         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
62157         (__ASSUME_MMAP2_SYSCALL): Likewise.
62158         (__ASSUME_STAT64_SYSCALL): Likewise.
62159         (__ASSUME_IPC64): Likewise.
62160         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
62161         <kernel-features.h>.
62162         [__ASSUME_32BITUIDS]: Make code unconditional.
62163         [!__ASSUME_32BITUIDS]: Remove conditional code.
62164         * sysdeps/unix/sysv/linux/opendir.c: Do not include
62165         <kernel-features.h>.
62166         [__ASSUME_O_DIRECTORY]: Make code unconditional.
62167         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
62168         132096]: Remove conditional code.
62169         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
62170         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
62171         <kernel-features.h>.
62172         [__ASSUME_32BITUIDS]: Make code unconditional.
62173         [!__ASSUME_32BITUIDS]: Remove conditional code.
62174         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
62175         <kernel-features.h>.
62176         [__ASSUME_32BITUIDS]: Make code unconditional.
62177         [!__ASSUME_32BITUIDS]: Remove conditional code.
62178         * sysdeps/unix/sysv/linux/setegid.c: Do not include
62179         <kernel-features.h>.
62180         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
62181         unconditional.
62182         (__setresgid): Do not declare.
62183         [__ASSUME_32BITUIDS]: Make code unconditional.
62184         [!__ASSUME_32BITUIDS]: Remove conditional code.
62185         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
62186         <kernel-features.h>.
62187         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
62188         unconditional.
62189         (__setresuid): Do not declare.
62190         [__ASSUME_32BITUIDS]: Make code unconditional.
62191         [!__ASSUME_32BITUIDS]: Remove conditional code.
62192         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
62193         <kernel-features.h>.
62194         [__ASSUME_32BITUIDS]: Make code unconditional.
62195         [!__ASSUME_32BITUIDS]: Remove conditional code.
62196         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
62197         <kernel-features.h>.
62198         [__ASSUME_32BITUIDS]: Make code unconditional.
62199         [!__ASSUME_32BITUIDS]: Remove conditional code.
62201 2012-05-25  Richard Henderson  <rth@twiddle.net>
62203         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
62204         dl_hwcap to ifunc resolver.
62205         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
62206         elf_ifunc_invoke.
62207         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
62208         dl_hwcap to ifunc resolver.
62209         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
62211 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62213         [BZ #14153]
62214         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
62215         for |x| <= 2**-26, not 2**-57.
62216         * math/libm-test.inc (acos_test): Do not allow spurious underflow
62217         exception.
62219 2012-05-24  Jeff Law  <law@redhat.com>
62221         * stdio-common/Makefile (tests): Add bug25.
62222         * stdio-common/bug25.c: New test.
62224 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62226         [BZ #13576]
62227         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
62228         multiple of MALLOC_ALIGNMENT in size.
62229         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
62231 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62233         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
62234         Require >= 256.
62235         (FILENAME_MAX): Use macro-int-constant.
62236         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
62237         (_IOFBF): Use macro-int-constant.
62238         (_IOLBF): Likewise.
62239         (_IONBF): Likewise.
62240         (SEEK_CUR): Likewise.
62241         (SEEK_END): Likewise.
62242         (SEEK_SET): Likewise.
62243         (TMP_MAX): Likewise.
62244         (EOF): Use macro-int-constant.  Require < 0.
62245         (NULL): Use macro-constant.  Require == 0.
62246         (stdin): Require type to be FILE *.
62247         (stdout): Likewise.
62248         (stderr): Likewise.
62249         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
62250         macro-int-constant.
62251         (EXIT_SUCCESS): Likewise.
62252         (NULL): Use macro-constant.  Require == 0.
62253         (RAND_MAX): Use macro-int-constant.
62254         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
62255         [C99-based standards] (strtof): Require function.
62256         [C99-based standards] (strtold): Likewise.
62257         [C99-based standards] (strtoll): Likewise.
62258         [C99-based standards] (strtoull): Likewise.
62259         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62260         [ISO || ISO99 || ISO11] (limits.h): Likewise.
62261         [ISO || ISO99 || ISO11] (math.h): Likewise.
62262         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
62263         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62264         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62266 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
62268         [BZ #14132]
62269         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
62270         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
62271         * intl/dgettext.c (DCGETTEXT): Likewise.
62272         * intl/gettext.c (DCGETTEXT): Likewise.
62273         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
62274         * posix/regex_internal.h (gettext): Likewise.
62275         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
62276         Remove declaration.
62277         * include/argz.h (__argz_count_internal)
62278         (__argz_stringify_internal): Remove declaration.
62279         (__argz_count, __argz_stringify): Declare hidden proto.
62280         * intl/dcgettext.c: Remove use of INTDEF.
62281         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
62282         * string/argz-stringify.c: Likewise.
62283         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62284         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62285         Declare hidden proto.
62286         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62287         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62288         Declare hidden proto.
62289         * include/stdio.h (__asprintf_internal): Don't declare.
62290         (__asprintf): Don't define as macro.  Declare hidden proto.
62291         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
62292         (__fsetlocking): Declare hidden proto.
62293         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
62294         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
62295         hidden proto.
62296         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
62297         (_IO_setlinebuf): Remove use of INTUSE.
62298         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
62299         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
62300         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
62301         Remove declaration.
62302         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
62303         (_IO_do_flush): Remove use of INTUSE.
62304         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
62305         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
62306         (_IO_adjust_column, _IO_least_wmarker)
62307         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
62308         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
62309         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
62310         (_IO_default_doallocate, _IO_wdefault_doallocate)
62311         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
62312         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
62313         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
62314         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
62315         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
62316         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
62317         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
62318         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
62319         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
62320         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
62321         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
62322         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
62323         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
62324         proto.
62325         (_IO_flush_all_internal, _IO_adjust_column_internal)
62326         (_IO_default_uflow_internal, _IO_default_finish_internal)
62327         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
62328         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
62329         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
62330         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
62331         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
62332         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
62333         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
62334         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
62335         (_IO_file_close_internal, _IO_file_close_it_internal)
62336         (_IO_file_underflow_internal, _IO_file_overflow_internal)
62337         (_IO_file_init_internal, _IO_file_attach_internal)
62338         (_IO_file_fopen_internal, _IO_file_read_internal)
62339         (_IO_file_sync_internal, _IO_file_seek_internal)
62340         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
62341         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
62342         (_IO_str_underflow_internal, _IO_str_overflow_internal)
62343         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
62344         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
62345         (_IO_list_all_internal, _IO_link_in_internal)
62346         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
62347         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
62348         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
62349         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
62350         (_IO_do_write_internal, _IO_padn_internal)
62351         (_IO_getline_info_internal, _IO_getline_internal)
62352         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
62353         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
62354         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
62355         (_IO_vfscanf_internal, _IO_vfprintf_internal)
62356         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
62357         (_IO_init_internal, _IO_un_link_internal): Don't declare.
62358         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
62359         with libc_hidden_ver, remove use of INTUSE.
62360         * libio/genops.c: Likewise.
62361         * libio/freopen.c: Likewise.
62362         * libio/freopen64.c: Likewise.
62363         * libio/iofclose.c: Likewise.
62364         * libio/iofdopen.c: Likewise.
62365         * libio/iofflush.c: Likewise.
62366         * libio/iofflush_u.c: Likewise.
62367         * libio/iofgets.c: Likewise.
62368         * libio/iofgets_u.c: Likewise.
62369         * libio/iofopen.c: Likewise.
62370         * libio/iofopncook.c: Likewise.
62371         * libio/iofread.c: Likewise.
62372         * libio/iofread_u.c: Likewise.
62373         * libio/ioftell.c: Likewise.
62374         * libio/iofwrite.c: Likewise.
62375         * libio/iogetline.c: Likewise.
62376         * libio/iogets.c: Likewise.
62377         * libio/iogetwline.c: Likewise.
62378         * libio/iopadn.c: Likewise.
62379         * libio/iopopen.c: Likewise.
62380         * libio/ioseekoff.c: Likewise.
62381         * libio/ioseekpos.c: Likewise.
62382         * libio/iosetbuffer.c: Likewise.
62383         * libio/iosetvbuf.c: Likewise.
62384         * libio/ioungetc.c: Likewise.
62385         * libio/ioungetwc.c: Likewise.
62386         * libio/iovdprintf.c: Likewise.
62387         * libio/iovsprintf.c: Likewise.
62388         * libio/iovsscanf.c: Likewise.
62389         * libio/memstream.c: Likewise.
62390         * libio/obprintf.c: Likewise.
62391         * libio/oldfileops.c: Likewise.
62392         * libio/oldiofclose.c: Likewise.
62393         * libio/oldiofdopen.c: Likewise.
62394         * libio/oldiofopen.c: Likewise.
62395         * libio/oldiopopen.c: Likewise.
62396         * libio/oldstdfiles.c: Likewise.
62397         * libio/putc.c: Likewise.
62398         * libio/setbuf.c: Likewise.
62399         * libio/setlinebuf.c: Likewise.
62400         * libio/stdfiles.c: Likewise.
62401         * libio/strops.c: Likewise.
62402         * libio/vasprintf.c: Likewise.
62403         * libio/vscanf.c: Likewise.
62404         * libio/vsnprintf.c: Likewise.
62405         * libio/vswprintf.c: Likewise.
62406         * libio/wfiledoalloc.c: Likewise.
62407         * libio/wfileops.c: Likewise.
62408         * libio/wgenops.c: Likewise.
62409         * libio/wmemstream.c: Likewise.
62410         * libio/wstrops.c: Likewise.
62411         * libio/__fpurge.c: Likewise.
62412         * libio/__fsetlocking.c: Likewise.
62413         * assert/assert.c: Likewise.
62414         * debug/fgets_chk.c: Likewise.
62415         * debug/fgets_u_chk.c: Likewise.
62416         * debug/fread_chk.c: Likewise.
62417         * debug/fread_u_chk.c: Likewise.
62418         * debug/gets_chk.c: Likewise.
62419         * debug/obprintf_chk.c: Likewise.
62420         * debug/vasprintf_chk.c: Likewise.
62421         * debug/vdprintf_chk.c: Likewise.
62422         * debug/vsnprintf_chk.c: Likewise.
62423         * debug/vsprintf_chk.c: Likewise.
62424         * malloc/mtrace.c: Likewise.
62425         * misc/error.c: Likewise.
62426         * misc/syslog.c: Likewise.
62427         * stdio-common/asprintf.c: Likewise.
62428         * stdio-common/fxprintf.c: Likewise.
62429         * stdio-common/getw.c: Likewise.
62430         * stdio-common/isoc99_fscanf.c: Likewise.
62431         * stdio-common/isoc99_scanf.c: Likewise.
62432         * stdio-common/isoc99_vfscanf.c: Likewise.
62433         * stdio-common/isoc99_vscanf.c: Likewise.
62434         * stdio-common/isoc99_vsscanf.c: Likewise.
62435         * stdio-common/printf-prs.c: Likewise.
62436         * stdio-common/printf_fp.c: Likewise.
62437         * stdio-common/printf_fphex.c: Likewise.
62438         * stdio-common/printf_size.c: Likewise.
62439         * stdio-common/putw.c: Likewise.
62440         * stdio-common/scanf.c: Likewise.
62441         * stdio-common/sprintf.c: Likewise.
62442         * stdio-common/tmpfile.c: Likewise.
62443         * stdio-common/vfprintf.c: Likewise.
62444         * stdio-common/vfscanf.c: Likewise.
62445         * stdlib/strfmon_l.c: Likewise.
62446         * sunrpc/openchild.c: Likewise.
62447         * sunrpc/xdr_stdio.c: Likewise.
62448         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
62449         * sysdeps/mach/hurd/tmpfile.c: Likewise.
62451 2012-05-24  Roland McGrath  <roland@hack.frob.com>
62453         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62455         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
62456         in the third column, to generate for the shared library an IFUNC
62457         that uses _dl_vdso_vsym.
62458         * Makerules (COMPILE.c, compile-stdin.c): New variables.
62459         * Makeconfig (object-suffixes-noshared): New variable.
62461         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
62462         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
62463         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
62464         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
62466         [BZ #14132]
62467         * include/sys/time.h (__gettimeofday): Remove macro.
62468         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
62469         * time/gettimeofday.c (__gettimeofday): Remove #undef.
62470         Remove INTDEF.
62471         (__gettimeofday): Add libc_hidden_def.
62472         (gettimeofday): Add libc_hidden_weak.
62473         * sysdeps/mach/gettimeofday.c: Likewise.
62474         * sysdeps/posix/gettimeofday.c: Likewise.
62475         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
62476         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
62477         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
62478         (__gettimeofday_internal): Remove strong_alias.
62479         (__gettimeofday): Add libc_hidden_def.
62480         (gettimeofday): Add libc_hidden_weak.
62481         * sysdeps/unix/syscalls.list (gettimeofday):
62482         Remove __gettimeofday_internal alias.
62484 2012-05-24  Daniel Jacobowitz  <drow@false.org>
62485             H.J. Lu  <hongjiu.lu@intel.com>
62487         [BZ #12495]
62488         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
62489         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
62490         (largebin_index_32_big): New.
62491         (largebin_index): Use it for 16-byte alignment.
62492         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
62493         correction with front_misalign.
62495 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62497         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
62498         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
62499         Likewise.
62500         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
62501         Likewise.
62502         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62503         Likewise.
62504         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
62505         Likewise.
62506         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
62507         Likewise.
62508         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
62509         Likewise.
62510         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
62511         Likewise.
62512         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62513         Likewise.
62514         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
62515         Likewise.
62516         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
62517         Likewise.
62518         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
62519         Likewise.
62520         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
62521         Likewise.
62523         * scripts/data/c++-types-x32-linux-gnu.data: New file.
62524         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
62526 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62528         [BZ #10846]
62529         [BZ #14036]
62530         * math/libm-test.inc (exp_test): Add test from bug 14036.
62531         (pow_test): Add test from bug 10846.
62533         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
62534         and other flags.
62535         (special_function): Do not include flags in test name.
62536         (parse_args): Likewise.
62537         * sysdeps/i386/fpu/libm-test-ulps: Update.
62538         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62539         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62540         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62543         * math/gen-libm-test.pl (%beautify): Add entries for underflow
62544         exceptions.
62545         * math/libm-test.inc ("Philosophy"): Update comment about
62546         exception testing.
62547         (UNDERFLOW_EXCEPTION): New macro.
62548         (UNDERFLOW_EXCEPTION_OK): Likewise.
62549         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
62550         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
62551         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
62552         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
62553         (INVALID_EXCEPTION_OK): Update value.
62554         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62555         (OVERFLOW_EXCEPTION_OK): Likewise.
62556         (IGNORE_ZERO_INF_SIGN): Likewise.
62557         (test_exceptions): Handle underflow exceptions.
62558         (acos_test): Update for underflow exception expectations.
62559         (cexp_test): Likewise.
62560         (clog_test): Likewise.
62561         (clog10_test): Likewise.
62562         (csqrt_test): Likewise.
62563         (ctan_test): Likewise.
62564         (ctanh_test): Likewise.
62565         (exp_test): Likewise.
62566         (exp10_test): Likewise.
62567         (exp2_test): Likewise.
62568         (expm1_test): Likewise.
62569         (fma_test): Likewise.
62570         (j0_test): Likewise.
62571         (jn_test): Likewise.
62572         (nexttoward_test): Likewise.
62573         (pow_test): Likewise.
62574         (scalbn_test): Likewise.
62575         (scalbln_test): Likewise.
62576         (tan_test): Likewise.
62577         (y1_test): Likewise.
62578         * sysdeps/i386/fpu/libm-test-ulps: Update.
62579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62581 2012-05-23  David S. Miller  <davem@davemloft.net>
62583         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62584         (__libc_sigaction): Remove unused local variables.
62586 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62588         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
62590 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
62592         mktime: avoid signed integer overflow
62593         * time/mktime.c (__mktime_internal): Do not mishandle the case
62594         where diff == INT_MIN.
62596         mktime: simplify computation of average
62597         * time/mktime.c (ranged_convert): Use new time_t_avg function
62598         instead of rolling our own (probably-slower) code.
62600         mktime: do not assume signed right shift propagates sign bit
62601         * time/mktime.c (isdst_differ): New static function.
62602         (__mktime_internal): No need to normalize tm_isdst now.
62603         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
62604         tm_isdst values.
62606         mktime: merge another wrapv change from gnulib
62607         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
62608         from some compilers.
62610         mktime: remove incorrect attempt at unusual arithmetics
62611         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
62612         The code didn't really work on such machines anyway.
62613         (TYPE_MINIMUM): Assume two's complement.
62614         (twos_complement_arithmetic): Verify that long_int and time_t
62615         are two's complement (or unsigned, in the latter case).
62617         mktime: check signed shifts on long_int and time_t, too
62618         * time/mktime.c (SHR): Check that shifts work as desired
62619         on the types long_int and time_t too, as SHR is used on
62620         such types.
62622         mktime: do not assume 'long' is wide enough
62623         * time/mktime.c (verify): Move decl up.
62624         (long_int): New type.
62625         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
62626         to remove assumption in the code that 'long' is wide enough to
62627         store year values.  This assumption is not true on x32 and on
62628         some non-glibc platforms.
62630         mktime: merge wrapv change from gnulib
62631         * time/mktime.c (WRAPV): New macro.
62632         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
62633         (guess_time_tm, __mktime_internal): Do not assume that signed
62634         integer overflow wraps around; modern compilers generate code
62635         where this assumption is no longer valid.
62637 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62639         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62640         Replace "jmp L(pseudo_end)" with "ret".
62641         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
62642         Likewise.
62644 2012-05-23  Andreas Jaeger  <aj@suse.de>
62646         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
62647         * sysdeps/unix/sysv/linux/poll.c: Remove file.
62649 2012-05-23  Andreas Jaeger  <aj@suse.de>
62650             Maximilian Attems  <max@stro.at>
62652         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
62653         New macros.
62655 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62657         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
62658         code so that pseudo_end is just ret and the stack pointer is
62659         correct also for static library in error case.
62661 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
62663         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
62664         move to syscalls.list.
62665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
62666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
62667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
62668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
62670         * manual/install.texi (Running make install): Do not mention Linux
62671         kernel version for which pt_chown is not needed.
62672         (Linux): Do not mention problems with nscd with 2.0 kernels.
62673         * INSTALL: Regenerated.
62675 2012-05-23  Andreas Jaeger  <aj@suse.de>
62677         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
62678         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
62679         macro.
62680         * sysdeps/unix/sysv/linux/s390/bits/mman.h
62681         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62682         * sysdeps/unix/sysv/linux/sh/bits/mman.h
62683         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62684         * sysdeps/unix/sysv/linux/i386/bits/mman.h
62685         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62686         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
62687         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62688         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
62689         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62690         * sysdeps/unix/sysv/linux/bits/in.h
62691         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
62693 2012-05-22  Roland McGrath  <roland@hack.frob.com>
62695         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
62696         (PREPARE_VERSION): Just use assert instead, it will be elided
62697         under [NDEBUG] anyway.
62699 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62701         * sysdeps/unix/sysv/linux/Makefile: Include
62702         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
62703         (sysdep_routines): Remove sysctl.
62704         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
62705         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
62706         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
62707         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
62708         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
62710 2012-05-22  Andreas Jaeger  <aj@suse.de>
62712         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
62713         that pseudo_end is just ret and the stack pointer is correct also
62714         for static library in error case.
62716 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
62718         [BZ #14122]
62719         * nss/nsswitch.c (defconfig_entries): New variable.
62720         (__nss_database_lookup): Don't leak defconfig entries.
62721         (nss_parse_service_list): Don't leak on error paths.
62722         (free_database_entries): New function.
62723         (free_defconfig): New function.
62724         (free_mem): Move common code to free_database_entries.
62726 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62728         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
62729         Add arch_prctl.
62730         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
62732         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
62733         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
62734         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
62735         New macro.
62736         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
62737         (INTERNAL_SYSCALL_TYPES): Likewise.
62738         (LOAD_ARGS_TYPES_[1-6]): Likewise.
62739         (LOAD_REGS_TYPES_[1-6]): Likewise.
62740         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
62741         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
62743 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62745         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
62746         copysignl for GLIBC_2_0.
62747         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
62748         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
62749         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
62750         logbl for GLIBC_2_0.
62751         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
62752         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
62754 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62756         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
62757         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62759         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62760         Use "neg %eax".
62762         * time/mktime.c: Update copyright years.
62764 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
62766         mktime: merge comment-quoting-style change from gnulib
62767         * time/mktime.c: Quote 'like this' in comments.
62768         The GNU coding standards suggest that we no longer quote `like this',
62769         as "`" and "'" are typically rendered asymmetrically nowadays.
62770         The typical gnulib style is to quote 'like this' when quoting
62771         code, and "like this" when quoting English.
62773         * time/mktime.c (compile-command): Add "-I.".
62775         mktime: merge mktime-internal.h change from gnulib
62776         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
62778         mktime: merge time_r change from gnulib
62779         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
62781         mktime: merge DEBUG change from gnulib
62782         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
62783         case system <time.h> has a #define.
62785         mktime: merge <sys/types.h> change from gnulib
62786         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
62787         since <time.t> is now guaranteed to define time_t.
62789         mktime: merge HAVE_CONFIG_H change from gnulib
62790         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
62792 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62794         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62795         Use "neg %eax".
62797         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
62798         __rlim_t cast.
62799         (struct rusage): Use anonymous union to pad each field to
62800         __syscall_slong_t.
62802 2012-05-21  David S. Miller  <davem@davemloft.net>
62804         * Makefules (o-iterator): Remove .s cases.
62805         (compile-command.s): Delete.
62806         (COMPILE.s): Delete.
62807         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
62809 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
62811         * configure.in (libc_cv_predef_stack_protector): Only consider
62812         "foobar" and "__stack_chk_fail" lines in libc_undefs.
62813         * configure: Regenerated.
62815 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62817         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62818         New macro.  Use R*LP on int and pointer.
62819         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
62820         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
62821         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
62822         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
62824         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
62825         [__WORDSIZE_TIME64_COMPAT32] instead of
62826         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
62827         (struct utmp): Likewise.
62828         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
62829         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
62830         Renamed to ...
62831         (__WORDSIZE_TIME64_COMPAT32): This.
62832         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
62833         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
62834         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
62835         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
62836         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
62837         (__WORDSIZE_TIME64_COMPAT32): New macro.
62839 2012-05-21  Andreas Jaeger  <aj@suse.de>
62841         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
62842         only if [SHARED]. Add prototype for __wcschr_ia32.
62844 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62846         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
62847         of %rbp unmolested in the jmp_buf while mangling the low bits.
62848         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
62849         unmolested high bits of %rbp while demangling the low bits.
62850         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62852 2012-05-21  Andreas Jaeger  <aj@suse.de>
62854         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
62855         * sunrpc/svc_simple.c: Use it for registerrpc.
62856         * sunrpc/xcrypt.c: Use it for passwd2des.
62858         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
62860 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62862         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
62863         Don't define if [__SYSCALL_WORDSIZE != 32].
62864         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
62865         New macro.
62867 2012-05-21  Bruno Haible  <bruno@clisp.org>
62868             Andreas Jaeger  <aj@suse.de>
62870         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
62871         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
62872         inptr and inend for must_buffer_ch.
62873         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
62874         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
62875         * stdio-common/Makefile (tests): Remove bug15.
62876         (bug15-ENV): Remove macro.
62877         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
62878         anymore.
62880 2012-05-19  Andreas Jaeger  <aj@suse.de>
62881             Roland McGrath  <roland@hack.frob.com>
62883         * manual/contrib.texi: Completely rewritten. It contains now an
62884         alphabetical list of contributors and their contributions.
62886 2012-05-21  Richard Henderson  <rth@twiddle.net>
62888         * misc/getauxval.c (__getauxval): Use unsigned long int.
62889         * misc/sys/auxv.h: Include <sys/cdefs.h>.
62890         (getauxval): Use unsigned long int.
62892 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62894         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62896 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62898         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
62899         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
62900         __alignof__ (long double).
62902 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62906 2012-05-20  Richard Henderson  <rth@twiddle.net>
62908         * misc/getauxval.c: New file.
62909         * misc/sys/auxv.h: New file.
62910         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
62911         (routines): Add getauxval.
62912         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
62913         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
62914         * elf/dl-sysdep.c (_dl_auxv): Remove.
62915         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
62916         * elf/dl-support.c (_dl_auxv): New variable.
62917         (_dl_aux_init): Initialize it.
62918         * manual/startup.texi (Auxiliary Vector): New node.
62919         * sysdeps/generic/bits/hwcap.h: New file.
62920         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
62921         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
62922         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
62923         * sysdeps/sparc/sysdep.h: ... here.  Include it.
62924         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
62925         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
62926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62927         Update.
62928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
62929         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
62930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
62931         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
62932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
62935         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
62937 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62939         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62941 2012-05-19  David S. Miller  <davem@davemloft.net>
62943         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62945 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62947         [BZ #14123]
62948         * math/s_ccosh.c: Include <float.h>
62949         (__ccosh): Avoid internal overflow calculating sinh and cosh
62950         values before multiplying by sin and cos values.
62951         * math/s_ccoshf.c: Likewise.
62952         * math/s_ccoshl.c: Likewise.
62953         * math/s_csin.c: Likewise.
62954         * math/s_csinf.c: Likewise.
62955         * math/s_csinl.c: Likewise.
62956         * math/s_csinh.c: Likewise.
62957         * math/s_csinhf.c: Likewise.
62958         * math/s_csinhl.c: Likewise.
62959         * math/libm-test.inc (ccos_test): Add more tests.
62960         (ccosh_test): Likewise.
62961         (csin_test): Likewise.
62962         (csinh_test): Likewise.
62963         * sysdeps/i386/fpu/libm-test-ulps: Update.
62964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62966 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
62968         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
62969         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
62971         * sysdeps/x86_64/x32/_itoa.h: Add comment.
62973 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62975         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
62976         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
62977         * sysdeps/powerpc/soft-fp/Versions: Likewise.
62978         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
62979         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
62980         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
62981         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
62982         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
62983         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
62984         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
62985         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
62986         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
62987         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
62988         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
62989         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
62990         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
62991         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
62992         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
62993         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
62994         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
62995         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
62996         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
62997         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
62998         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
62999         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
63000         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
63001         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
63002         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
63003         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
63004         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
63005         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
63007 2012-05-18  Andreas Jaeger  <aj@suse.de>
63009         * csu/.gitignore: Delete.
63011 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63013         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
63014         (timex): Use __syscall_slong_t.
63016 2012-05-18  Andreas Jaeger  <aj@suse.de>
63017             Carlos O'Donell  <carlos_odonell@mentor.com>
63019         * manual/install.texi (Configuring and compiling): Update
63020         description about files modified in the source directory.
63021         * INSTALL: Regenerated.
63023 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63025         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
63026         value.  Use "or" to set return value to -1.
63027         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
63028         negate return value.
63030 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63032         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
63033         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
63034         failure if the compiler has Graphite support disabled.
63035         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
63036         Likewise.
63037         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
63038         (CFLAGS-memmove.c): Likewise.
63039         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
63040         Likewise.
63042 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63044         * sysdeps/x86_64/x32/_itoa.h: New file.
63046         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
63047         getdents system call only if kernel and user dirents have the
63048         same d_ino and d_off.
63050         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
63051         LLONG_MAX != LONG_MAX.
63052         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63053         (_fitoa_word): Likewise.
63055         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
63056         years.
63057         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
63058         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
63059         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
63061         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
63062         include <bits/wordsize.h>.  Check __x86_64__ instead of
63063         __WORDSIZE.
63064         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
63065         if __x86_64__ is defined.  Use anonymous union on fpstate.
63067         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
63068         anonymous union.
63070 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
63072         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
63073         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
63074         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
63075         Refer to _rtld_local_ro instead of _rtld_global_ro.
63076         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
63077         Likewise.
63078         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
63079         Likewise.
63080         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
63081         Likewise.
63082         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
63083         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
63084         of _rtld_global, and rtld_progname instead of _dl_argv[0].
63086         [BZ #10882]
63087         * sysdeps/powerpc/powerpc32/dl-machine.c
63088         (__elf_machine_runtime_setup) [PROF]: Don't reference
63089         _dl_prof_resolve.
63091 2012-05-18  Andreas Jaeger  <aj@suse.de>
63093         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
63094         function only available for GCCs before 3.4 since GCC 3.4
63095         introduced a builtin.
63096         (lrint): Likewise.
63097         (llrintf): Likewise.
63098         (llrint): Likewise.
63099         (fmaxf): Likewise.
63100         (fmax): Likewise.
63101         (fminf): Likewise.
63102         (fmin): Likewise.
63103         (rint): Likewise.
63104         (rintf): Likewise.
63105         (nearbyint): Likewise.
63106         (nearbyintf): Likewise.
63107         (ceil): Likewise.
63108         (ceilf): Likewise.
63109         (floor): Likewise.
63110         (floorf): Likewise.
63112 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63114         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
63115         on both fields and cast pointer to __syscall_ulong_t.
63117         * bits/types.h (__fsword_t): New type.
63118         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
63119         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
63120         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63121         (__FSWORD_T_TYPE): Likewise.
63122         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63123         (__FSWORD_T_TYPE): Likewise.
63124         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63125         (__FSWORD_T_TYPE): Likewise.
63126         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
63127         (__FSWORD_T_TYPE): Likewise.
63128         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
63129         __SWORD_TYPE with __fsword_t.
63130         (statfs64): Likewise.
63132 2012-05-17  David S. Miller  <davem@davemloft.net>
63134         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
63136 2012-05-17  Andreas Jaeger  <aj@suse.de>
63138         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
63139         warning.
63141 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63143         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
63145 2012-05-17  Andreas Jaeger  <aj@suse.de>
63147         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
63148         when it is used.
63150 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
63152         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
63154 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63156         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
63157         * sysdeps/x86_64/tst-mallocalign1.c: New file.
63159 2012-05-17  Andreas Jaeger  <aj@suse.de>
63160             Carlos O'Donell  <carlos_odonell@mentor.com>
63162         [BZ #14059]
63163         * sysdeps/x86_64/multiarch/init-arch.h
63164         (bit_YMM_Usable): Rename to...
63165         (bit_AVX_Usable): ... this.
63166         (bit_FMA4_Usable): New macro.
63167         (bit_XMM_state): New macro.
63168         (bit_YMM_state): New macro.
63169         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
63170         [__ASSEMBLER__] (index_AVX_Usable): ... this.
63171         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
63172         (CPUID_OSXSAVE): New macro.
63173         (CPUID_AVX): New macro.
63174         (CPUID_FMA4): New macro.
63175         (index_YMM_Usable): Rename to...
63176         (index_AVX_Usable): ... this.
63177         (HAS_AVX): Use HAS_ARCH_FEATURE.
63178         (HAS_FMA4): Likewise.
63179         (HAS_YMM_USABLE): Remove.
63180         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63181         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
63182         are present.
63183         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
63184         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
63185         * sysdeps/x86_64/multiarch/Makefile: Likewise.
63186         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
63187         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
63189 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
63191         * math/libm-test.c: Support platforms without multiple rounding modes.
63192         * math/bug-nextafter.c: Support platforms without FP exceptions.
63193         * math/bug-nexttoward.c: Likewise.
63194         * math/test-fenv.c: Likewise.
63195         * math/test-misc.c: Likewise.
63196         * stdlib/bug-getcontext.c: Likewise.
63198 2012-05-17  Andreas Jaeger  <aj@suse.de>
63200         * manual/examples/search.c (critter_cmp): Change signature to
63201         avoid warnings.
63202         * manual/string.texi (Collation Functions): Likewise.
63204 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63206         * bits/types.h: Fold copyright years.
63207         * bits/typesizes.h: Likewise.
63208         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
63209         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
63210         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
63211         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
63212         * time/time.h: Likewise.
63214 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
63216         [BZ #208]
63217         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
63218         in instead of returning them.  Return void.
63219         (__libc_mallinfo): Accumulate over all arenas.
63220         (__malloc_stats): Adjust for change in int_mallinfo interface.
63222 2012-05-16  Roland McGrath  <roland@hack.frob.com>
63224         [BZ #10375]
63225         * configure.in (NM): Add AC_CHECK_TOOL for it.
63226         (libc_extra_cflags): New substituted variable.
63227         Check for -fstack-protector being used implicitly.
63228         * configure: Regenerated.
63229         * config.make.in (config-extra-cflags): New variable,
63230         gets @libc_extra_cflags@.
63231         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
63233         [BZ #10375]
63234         * configure.in: Check for _FORTIFY_SOURCE being predefined.
63235         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
63236         * configure: Regenerated.
63237         * config.make.in (CPPUNDEFS): New substituted variable.
63238         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
63239         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
63240         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
63242 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63244         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
63245         (mq_attr): Use __syscall_slong_t.
63247 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63249         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
63250         Check __x86_64__ instead of __WORDSIZE.
63251         (_STAT_VER_LINUX): Likewise.
63252         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
63253         __syscall_ulong_t and __syscall_slong_t.
63254         (stat64): Likewise.
63256 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63258         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
63260 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63262         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
63264 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63266         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
63267         __syscall_ulong_t.
63269         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
63270         include <bits/wordsize.h>.  Check __x86_64__ instead of
63271         __WORDSIZE.
63272         (greg_t): Use "__extension__ long long int" if __x86_64__ is
63273         defined.
63274         (mcontext_t): Replace "unsigned long" with "unsigned long long".
63276         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
63277         include <bits/wordsize.h>.  Check __x86_64__ instead of
63278         __WORDSIZE.
63279         (user_regs_struct): Use "__extension__ unsigned long long"
63280         instead of "unsigned long" if __x86_64__ is defined.
63281         (user): Likewise.  Pad after pointer field if __ILP32__ is
63282         defined.
63284 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
63286         * configure.in (makeinfo): Require version 4.5 or later.  Allow
63287         versions 5 to 9.
63288         * configure: Regenerated.
63289         * manual/install.texi (texinfo): Increase version requirement to
63290         4.5 or later.
63291         * INSTALL: Regenerated.
63293         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
63295 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63297         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
63299         * sysdeps/x86_64/x32/ffs.c: New file.
63301         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
63302         __syscall_ulong_t.
63303         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
63304         defined.  Use __syscall_ulong_t.
63305         (shminfo): Use __syscall_ulong_t.
63306         (shm_info): Likewise.
63308         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
63309         __syscall_ulong_t.
63311         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
63312         <bits/wordsize.h>.
63313         (msgqnum_t): Use __syscall_ulong_t.
63314         (msglen_t): Likewise.
63315         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
63316         __syscall_ulong_t.
63318         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
63319         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63321         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
63323         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
63324         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
63326         * sysvipc/sys/msg.h (msgbuf): Replace long int with
63327         __syscall_slong_t.
63329         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
63330         include <bits/wordsize.h>.  Check __x86_64__ instead of
63331         __WORDSIZE.
63333         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
63334         "unsigned long long int" if __x86_64__ is defined.
63335         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
63337         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
63338         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63339         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
63341         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
63342         <stdint.h>.
63343         (GET_PC): Cast to uintptr_t first.
63344         (GET_FRAME): Likewise.
63345         (GET_STACK): Likewise.
63347         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
63348         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
63349         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
63350         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
63351         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
63352         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
63353         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
63354         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
63355         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
63356         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
63357         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
63358         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
63359         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63360         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
63361         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
63362         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
63363         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
63364         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
63365         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
63366         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
63367         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
63368         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
63369         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
63370         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
63371         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
63372         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
63373         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
63374         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
63375         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
63377 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
63379         * Makerules (+depfiles): Also collect depfiles from .oS in
63380         $(extra-objs).
63381         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
63382         .oS, $(libnldbl-routines)).
63384         * Makerules (native-compile-mkdep-flags): Define.
63385         * sunrpc/Makefile (extra-objs): Add $(addprefix
63386         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
63387         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
63388         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
63389         calling $(make-target-directory).
63391 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63393         * bits/types.h (__snseconds_t): Removed.
63394         * time/time.h (struct timespec): Replace __snseconds_t with
63395         __syscall_slong_t.
63396         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
63397         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
63398         Likewise.
63399         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63400         (__SNSECONDS_T_TYPE): Likewise.
63401         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63402         (__SNSECONDS_T_TYPE): Likewise.
63403         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63404         (__SNSECONDS_T_TYPE): Likewise.
63406 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63408         * sysdeps/mach/hurd/bits/typesizes.h
63409         (__SYSCALL_SLONG_TYPE): New macro.
63410         (__SYSCALL_ULONG_TYPE): Likewise.
63412 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63414         * bits/types.h (__syscall_slong_t): New type.
63415         (__syscall_ulong_t): Likewise.
63417         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
63418         (__SYSCALL_ULONG_TYPE): Likewise.
63419         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63420         (__SYSCALL_SLONG_TYPE): Likewise.
63421         (__SYSCALL_ULONG_TYPE): Likewise.
63422         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63423         (__SYSCALL_SLONG_TYPE): Likewise.
63424         (__SYSCALL_ULONG_TYPE): Likewise.
63425         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63426         (__SYSCALL_SLONG_TYPE): Likewise.
63427         (__SYSCALL_ULONG_TYPE): Likewise.
63429 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63431         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
63432         Add sigaltstack-offsets.sym.
63433         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
63434         <sigaltstack-offsets.h>.
63435         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
63436         longjmp_msg pointer.
63437         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
63438         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
63439         signal stack.
63440         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
63442 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63444         * elf/stackguard-macros.h: Remove file.
63445         * sysdeps/generic/stackguard-macros.h: New file.
63446         * sysdeps/i386/stackguard-macros.h: Likewise.
63447         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63448         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63449         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63450         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63451         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63452         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63453         * sysdeps/x86_64/stackguard-macros.h: Likewise.
63454         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
63455         <elf/stackguard-macros.h>.
63457         [BZ #14109]
63458         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
63459         __aligned__ in attribute.
63460         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
63461         (gregset_t): Likewise.
63463 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63465         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
63466         * sysdeps/x86_64/64/Implies-after: Here.  New file.
63467         * sysdeps/x86_64/x32/Implies-after: New file.
63469 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63471         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
63472         and access return value for _dl_profile_fixup.  Use R10_LP to
63473         load frame size.
63475 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63477         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
63479 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63481         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
63482         * sysdeps/x86_64/x32/sysdep.h: New file.
63484 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63486         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
63487         * sysdeps/x86_64/setjmp.S: Likewise.
63489 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63491         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
63492         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
63493         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
63494         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
63495         remove unused global constant.
63497 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
63499         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
63500         include of <not-cancel.h>.
63502 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63504         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
63506 2012-05-15  Jeff Law  <law@redhat.com>
63507             Andreas Jaeger  <aj@suse.de>
63509         [BZ #13594]
63510         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
63511         out from...
63512         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
63513         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
63514         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
63515         code changing __hst_map_handle.map.
63517 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63519         * configure.in (sysnames): Look for Implies-before and Implies-after
63520         files.
63521         * configure: Regenerated.
63523 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63525         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
63526         8-byte data alignment with LP_SIZE alignment.
63528 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63530         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
63531         into R10_LP.
63533 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63535         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
63537 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63539         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
63540         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
63541         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
63542         Likewise.
63543         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63545 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63547         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
63548         (stackinfo_sub_sp): Likewise.
63550 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63552         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
63553         RAX_LP.
63555 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63557         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
63558         into R*_LP.
63560 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63562         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
63563         sizes into R*_LP.
63565 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63567         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
63569 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63571         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
63572         into R11_LP and load __x86_64_shared_cache_size_half into
63573         R8_LP.
63575 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63577         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
63578         R8_LP.
63580 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63582         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
63583         logb for POWER7.
63584         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
63585         logbf for POWER7.
63586         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
63587         logbl for POWER7.
63588         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
63589         powerpc32/power7/fpu/s_logb.c via #include.
63590         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
63591         powerpc32/power7/fpu/s_logbf.c via #include.
63592         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
63593         powerpc32/power7/fpu/s_logbl.c via #include.
63595 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63597         * README.libm: Remove file.
63599 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63601         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
63602         count for x32.  Use R*_LP and omit operand-size suffix.
63604 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63606         * shlib-versions: Move x86_64-.*-linux.* entries to ...
63607         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
63608         * sysdeps/x86_64/x32/shlib-versions: New file.
63610 2012-05-14  Roland McGrath  <roland@hack.frob.com>
63612         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
63613         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
63614         Use _dl_fatal_printf instead.
63616 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63618         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
63619         set if not set by the user.  Do not allow for being unset.
63620         * sysdeps/unix/sysv/linux/configure: Regenerated.
63622 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63624         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
63625         the `q' suffix from lea and replace .quad with ASM_ADDR.
63627 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63629         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
63630         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
63631         instead of $17.
63632         (PTR_DEMANGLE): Likewise.
63634 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63636         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
63637         (LP_OP): Likewise.
63638         (ASM_ADDR): Likewise.
63639         (RAX_LP): Likewise.
63640         (RBP_LP): Likewise.
63641         (RBX_LP): Likewise.
63642         (RCX_LP): Likewise.
63643         (RDI_LP): Likewise.
63644         (RSI_LP): Likewise.
63645         (RSP_LP): Likewise.
63646         (R8_LP): Likewise.
63647         (R9_LP): Likewise.
63648         (R10_LP): Likewise.
63649         (R10_LP): Likewise.
63650         (R11_LP): Likewise.
63651         (R12_LP): Likewise.
63652         (R13_LP): Likewise.
63653         (R14_LP): Likewise.
63654         (R15_LP): Likewise.
63656 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63658         * sysdeps/x86_64/x32/dl-machine.h: New file.
63660 2012-05-14  Andreas Jaeger  <aj@suse.de>
63662         * manual/Makefile (subdir): Remove export of subdir.
63663         (all): Remove target.
63664         (.PHONY): Remove all from list.
63665         (mkinstalldirs): Remove.
63666         (.PHONY): Remove installdirs from list.
63667         ($(inst_infodir)/libc.info): Use make-target-directory.
63668         (installdirs): Remove.
63669         (subdir_%): Remove.
63670         (glibc-targets): Remove.
63671         (lib): Remove.
63672         (stubs): Remove.
63673         ($(objpfx)stubs ../po/manual.pot): Remove.
63674         ($(objpfx)stamp%): Remove.
63675         (make-target-directory): Remove.
63676         (subdir_install): Remove.
63677         (routines): Remove.
63678         (aux): Remove.
63679         (sources): Remove.
63680         (objects): Remove.
63681         (headers): Remove.
63683         [BZ #13750]
63684         * manual/.gitignore: Remove, it's not needed anymore.
63685         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
63686         all files in it.
63687         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
63688         directory.
63689         (texis): Renamed to $(objpfx)texis.
63690         (texis-path): New, contains path to generated files.
63691         (chapters.%): Use texis-path for complete path, add extra argument
63692         libc-texinfo.sh.
63693         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
63694         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
63695         (summary,texi, stamp-summary): Use complete path of
63696         files. Generate files in build dir.
63697         (dir-add.texi): Build in build dir.
63698         (libm-err.texi,stamp-libm-err): Likewise.
63699         (version.texi, stamp-version): Likewise.
63700         (.%c.texi): Likewise.
63701         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
63702         (mostlyclean): Remove target.
63703         (realclean): Remove target.
63704         (generated): Add new variable with contents from mostlyclean and
63705         realclean, remove entries duplicated in common-mostlyclean, add
63706         stamp-libm-err and stamp-version.
63707         (generated-dirs): Add libc directory.
63708         ($(inst_infodir)/libc.info): Install files from build dir.
63710         * manual/install.texi (Configuring and compiling): Adjust since
63711         the info files are not part of the tar ball anymore.
63713 2012-05-14  Andreas Jaeger  <aj@suse.de>
63715         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
63716         variable.
63718 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63720         [BZ #13717]
63721         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63722         to 2.2.0 where earlier.
63723         * sysdeps/unix/sysv/linux/configure: Regenerated.
63724         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
63725         Remove conditional code.
63726         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
63727         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
63728         Remove conditional code.
63729         [!__NR_lchown]: Likewise.
63730         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63731         [__NR_lchown]: Likewise.
63732         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
63733         comment referencing __ASSUME_LCHOWN_SYSCALL.
63734         * sysdeps/unix/sysv/linux/i386/sigaction.c
63735         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63736         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63737         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
63738         Remove conditional code.
63739         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
63740         (__protocol_available): Remove #if 0 code.
63741         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
63742         conditional code.
63743         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
63744         * sysdeps/unix/sysv/linux/kernel-features.h
63745         (__ASSUME_GETCWD_SYSCALL): Don't define.
63746         (__ASSUME_REALTIME_SIGNALS): Likewise.
63747         (__ASSUME_PREAD_SYSCALL): Likewise.
63748         (__ASSUME_PWRITE_SYSCALL): Likewise.
63749         (__ASSUME_POLL_SYSCALL): Likewise.
63750         (__ASSUME_LCHOWN_SYSCALL): Likewise.
63751         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
63752         non-SPARC.
63753         (__ASSUME_SIOCGIFNAME): Don't define.
63754         (__ASSUME_MSG_NOSIGNAL): Likewise.
63755         (__ASSUME_SENDFILE): Define unconditionally.
63756         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
63757         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
63758         conditional code.
63759         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
63760         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
63761         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63762         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63763         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
63764         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63765         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
63767         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63768         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
63770         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63771         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
63773         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63774         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
63776         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63777         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
63779         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63780         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
63782         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63783         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
63785         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63786         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
63788         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63789         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63790         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
63791         Remove conditional code.
63792         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63793         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63794         Remove conditional code.
63795         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63796         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
63797         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
63798         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63799         Remove conditional code.
63800         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63801         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
63802         Remove conditional code.
63803         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63804         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
63805         Remove conditional code.
63806         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63807         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63808         Remove conditional code.
63809         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63810         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63811         Remove conditional code.
63812         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63813         * sysdeps/unix/sysv/linux/sh/pwrite64.c
63814         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63815         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63816         * sysdeps/unix/sysv/linux/sigaction.c
63817         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63818         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63819         * sysdeps/unix/sysv/linux/sigpending.c
63820         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63821         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63822         * sysdeps/unix/sysv/linux/sigprocmask.c
63823         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63824         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63825         * sysdeps/unix/sysv/linux/sigsuspend.c
63826         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63827         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63828         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63829         (__libc_missing_rt_sigs): Remove.
63830         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
63831         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
63832         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
63833         Remove conditional code.
63834         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
63835         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
63836         return 1.
63837         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
63838         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
63839         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
63840         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
63842 2012-05-14  Andreas Jaeger  <aj@suse.de>
63844         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
63845         it's not used in glibc.
63846         (__coshm1): Likewise.
63847         (__acosh1p): Likewise.
63848         (__sgn): Likewise.
63850         * manual/string.texi (Copying and Concatenation): Add missing
63851         variable in concat example.
63852         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
63854 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63856         [BZ #14103]
63857         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
63858         __builtin_clzl with __builtin_clzll.
63860 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63862         [BZ #14104]
63863         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
63864         libc_freeres_ptr.
63866 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63868         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
63869         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
63870         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
63871         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
63873 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
63875         * NEWS: Update ia64 info.
63877 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
63879         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
63880         used as bcopy.
63882 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
63884         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
63885         * sysdeps/unix/syscalls.list (dup3): Likewise.
63886         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
63887         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
63889 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63891         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
63892         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
63894 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63896         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
63897         thread pointer.
63898         (TLS_IE): Use mov/add instead of movq/addq to load thread
63899         pointer.
63900         (TLS_GD_PREFIX): New.
63901         (TLS_GD): Use it.
63903 2012-05-11  David S. Miller  <davem@davemloft.net>
63905         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
63906         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
63907         (_FPU_SETCW): Likewise.
63909 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63911         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
63912         is 32-byte aligned.
63914 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
63916         [BZ #11837]
63917         * iconvdata/gb18030.c: Update tables.
63918         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
63919         characters specially.
63920         (BODY for TO_LOOP): Add encoding of missing ranges.
63922 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
63924         [BZ #13673]
63925         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
63926         * sysdeps/mach/hurd/dup3.c: Likewise.
63927         * sysdeps/mach/hurd/readlinkat.c: Likewise.
63928         * sysdeps/powerpc/memmove.c:: Likewise.
63930 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63932         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
63933         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
63935 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63937         * elf/elf.h (R_X86_64_RELATIVE64): New.
63938         (R_X86_64_NUM): Updated.
63939         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63940         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
63941         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
63942         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
63943         tst-quad1pie tst-quad2pie
63944         (modules-names): Add tst-quadmod1 tst-quadmod2.
63945         ($(objpfx)tst-quad1): New dependency.
63946         ($(objpfx)tst-quad2): Likewise.
63947         ($(objpfx)tst-quad1pie): Likewise.
63948         ($(objpfx)tst-quad2pie): Likewise.
63949         * sysdeps/x86_64/tst-quad1.c: New file.
63950         * sysdeps/x86_64/tst-quad1pie.c: New file.
63951         * sysdeps/x86_64/tst-quad2.c: Likewise.
63952         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
63953         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
63954         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
63955         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
63956         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
63958 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63960         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
63961         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
63962         * streams/stropts.h (t_scalar_t): Define type.
63964         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
63965         (_PATH_PRESERVE): Set to "/var/lib".
63966         (_PATH_RWHODIR): Set to "/var/spool/rwho".
63968         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
63969         instead of int.
63971         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
63972         if __dir_mkfile succeeded.
63974         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
63975         checking for _hurd_dtablesize.  Unlock it right after having
63976         finished _hurd_dtable allocation.
63978 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63980         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
63981         * sysdeps/mach/hurd/configure: Regenerated.
63982         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
63983         special-casing to...
63984         * sysdeps/gnu/configure.in: ... this new file.
63985         * sysdeps/unix/sysv/linux/configure: Regenerated.
63986         * sysdeps/gnu/configure: New generated file.
63988         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
63989         for Linux: use nsec instead of usec, as well as:
63990         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
63991         members of type struct timespec.
63992         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
63993         New macros.
63994         (struct stat64): Likewise.
63995         (_STATBUF_ST_NSEC): New macro.
63996         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
63998         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63999         __strtoul_internal rather than strtoul.
64001 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64003         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
64004         and reject them.
64006 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64008         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
64009         which preserves existing values.
64010         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
64012 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64014         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
64015         TIMEOUT values.  Return EINVAL for NFDS values either negative or
64016         greater than FD_SETSIZE.
64018 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64020         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
64021         allocated, call __vm_protect to finish enabling the existing space, and
64022         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
64023         allocate the remainder.
64025 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64027         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
64028         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
64030 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64032         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
64033         sysdeps/mach/hurd/readlink.c.
64035         * posix/tst-sysconf.c (posix_options): Only use
64036         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
64037         _POSIX_SYNCHRONIZED_IO when they are defined
64038         * sysdeps/mach/hurd/bits/posix_opt.h:
64039         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
64040         (_XOPEN_REALTIME): Undefine macro.
64041         (_XOPEN_REALTIME_THREADS): Undefine macro.
64042         (_XOPEN_SHM): Undefine macro.
64043         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
64044         macro to -1.
64045         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
64046         macro to -1.
64047         (_POSIX_ASYNC_IO): Undefine macro.
64048         (_POSIX_PRIORITIZED_IO): Undefine macro.
64049         (_POSIX_SPIN_LOCKS): Define macro to -1.
64051         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
64052         SA_NODEFER, SA_RESETHAND.
64053         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
64054         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
64055         F_DUPFD_CLOEXEC.
64057 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64059         * elf/Makefile (pldd-modules): Define unconditionally.
64061 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64063         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
64065 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64067         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
64068         Return ENOENT when name is empty.
64069         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
64071 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64073         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
64075         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
64077 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64079         Fix mlock in all cases except non-readable pages.
64080         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
64081         instead of VM_PROT_ALL as parameter to __vm_wire function.
64083         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
64084         (__mkdir): When path is `/', just fail with EEXIST.
64085         * sysdeps/mach/hurd/mkdirat.c: Likewise.
64087 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64089         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
64090         <sys/uio.h> (for writev).
64091         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
64092         and <sys/param.h> (for MIN).
64094 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64096         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
64097         REQUESTED_TIME.  Properly set the remaining time and return EINTR
64098         if interrupted.
64100 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64102         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
64103         Depend on against $(link-rpcuserlibs).
64105 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64107         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
64108         (__libc_stack_end): Do not use attribute_relro.
64109         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
64110         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
64111         to libthread-provided value.
64112         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
64113         attribute_relro.
64115 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64117         [BZ #3748]
64118         * bits/libc-lock.h (__libc_once_get): New macro.
64119         * sysdeps/mach/bits/libc-lock.h: Likewise.
64120         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
64121         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
64122         instead of using implementation details.
64124         * libio/fileops.c: Unconditionally include <kernel-features.h>.
64125         * libio/freopen.c: Likewise.
64126         * libio/freopen64.c: Likewise.
64127         * misc/syslog.c: Likewise.
64128         * nscd/connections.c: Likewise.
64129         * nscd/netgroupcache.c: Likewise.
64130         * sysdeps/posix/getcwd.c: Likewise.
64132 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64134         * math/w_ilogbf.c: Add #include <limits.h>.
64136 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64138         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
64139         path instead of returning without unlocking.
64141         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
64142         immediate-write ioctls.
64143         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
64145 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64147         * sysdeps/mach/hurd/i386/init-first.c (init): Use
64148         __builtin_frame_address instead of making assumptions about the
64149         location of the return address relative to DATA.  Force early load of
64150         the return address.
64151         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
64152         __builtin_frame_address.
64154         dup3 for GNU Hurd.
64155         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
64156         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
64157         implement dup3 and do some further code clean-ups.
64158         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
64159         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
64161 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64163         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
64165         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
64166         HURD_CRITICAL_END around holding _hurd_dtable_lock.
64167         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
64168         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
64169         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
64170         d->port.lock.
64172         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
64173         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
64174         when handler == SIG_ERR, not when handler != SIG_ERR.
64176 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64178         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
64179         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
64180         definitions.
64182         accept4 for GNU Hurd.
64183         * include/sys/socket.h (__libc_accept4): New prototype.
64184         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
64185         to implement __libc_accept4.
64186         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
64187         __libc_accept4.
64188         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
64190         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
64191         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
64192         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
64193         signal-defines.sym.
64195 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64197         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
64199 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64201         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
64202         assertion on O_CLOEXEC flag.
64203         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
64204         * hurd/intern-fd.c: Likewise.
64205         * hurd/port2fd.c: Likewise.
64207 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64209         [BZ #3906]
64210         * bits/in.h (IPV6_PKTINFO): Define new macro.
64211         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
64213 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64215         [BZ #13954]
64216         [BZ #13955]
64217         [BZ #13956]
64218         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
64219         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64220         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
64221         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64222         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64223         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64224         * math/libm-test.inc (logb_test) : Additional logb tests.
64226 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
64227             Andreas Jaeger  <aj@suse.de>
64229         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
64230         * configure: Regenerated.
64231         * config.h.in (LINK_OBSOLETE_RPC): New macro.
64232         * config.make.in (link-obsolete-rpc): New substituted variable.
64233         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
64234         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
64235         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64236         (shared-only-routines): Don't set it under [link-obsolete-rpc],
64237         so that libc.a contains the symbols.
64238         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64239         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
64240         * sunrpc/auth_none.c: Likewise.
64241         * sunrpc/auth_unix.c: Likewise.
64242         * sunrpc/authdes_prot.c: Likewise.
64243         * sunrpc/authuxprot.c: Likewise.
64244         * sunrpc/clnt_gen.c: Likewise.
64245         * sunrpc/clnt_perr.c: Likewise.
64246         * sunrpc/clnt_raw.c: Likewise.
64247         * sunrpc/clnt_simp.c: Likewise.
64248         * sunrpc/clnt_tcp.c: Likewise.
64249         * sunrpc/clnt_udp.c: Likewise.
64250         * sunrpc/clnt_unix.c: Likewise.
64251         * sunrpc/des_crypt.c: Likewise.
64252         * sunrpc/des_soft.c: Likewise.
64253         * sunrpc/get_myaddr.c: Likewise.
64254         * sunrpc/key_call.c: Likewise.
64255         * sunrpc/key_prot.c: Likewise.
64256         * sunrpc/netname.c: Likewise.
64257         * sunrpc/pm_getmaps.c: Likewise.
64258         * sunrpc/pm_getport.c: Likewise.
64259         * sunrpc/pmap_clnt.c: Likewise.
64260         * sunrpc/pmap_prot.c: Likewise.
64261         * sunrpc/pmap_prot2.c: Likewise.
64262         * sunrpc/pmap_rmt.c: Likewise.
64263         * sunrpc/publickey.c: Likewise.
64264         * sunrpc/rpc_cmsg.c: Likewise.
64265         * sunrpc/rpc_common.c: Likewise.
64266         * sunrpc/rpc_dtable.c: Likewise.
64267         * sunrpc/rpc_prot.c: Likewise.
64268         * sunrpc/rpc_thread.c: Likewise.
64269         * sunrpc/rtime.c: Likewise.
64270         * sunrpc/svc.c: Likewise.
64271         * sunrpc/svc_auth.c: Likewise.
64272         * sunrpc/svc_raw.c: Likewise.
64273         * sunrpc/svc_run.c: Likewise.
64274         * sunrpc/svc_tcp.c: Likewise.
64275         * sunrpc/svc_udp.c: Likewise.
64276         * sunrpc/svc_unix.c: Likewise.
64277         * sunrpc/svcauth_des.c: Likewise.
64278         * sunrpc/xcrypt.c: Likewise.
64279         * sunrpc/xdr.c: Likewise.
64280         * sunrpc/xdr_array.c: Likewise.
64281         * sunrpc/xdr_float.c: Likewise.
64282         * sunrpc/xdr_intXX_t.c: Likewise.
64283         * sunrpc/xdr_mem.c: Likewise.
64284         * sunrpc/xdr_rec.c: Likewise.
64285         * sunrpc/xdr_ref.c: Likewise.
64286         * sunrpc/xdr_sizeof.c: Likewise.
64287         * sunrpc/xdr_stdio.c: Likewise.
64289 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64291         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
64292         change.  Update copyright years.
64294 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64296         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
64298 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
64299             Joseph Myers  <joseph@codesourcery.com>
64300             Paul Pluzhnikov  <ppluzhnikov@google.com>
64302         [BZ #14012]
64303         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
64304         requiring rpcgen.
64305         [cross-compiling] (extra-libs): Likewise.
64306         [cross-compiling] (extra-libs-others): Likewise.
64307         [cross-compiling] (librpcsvc-routines): Likewise.
64308         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
64309         [cross-compiling] (omit-deps): Likewise.
64310         (sunrpc-CPPFLAGS): New variable.
64311         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
64312         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
64313         (cross-rpcgen-objs): New variable.
64314         (extra-objs): Append $(cross-rpcgen-objs).
64315         ($(cross-rpcgen-objs)): New rule.
64316         ($(objpfx)cross-rpcgen): Likewise.
64317         (rpcgen-cmd): Define to use $(built-program-file).  Expand
64318         comment.
64319         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
64320         ($(objpfx)x%.stmp): Likewise.
64321         * sunrpc/proto.h [IS_IN_build] (_): Define.
64322         [IS_IN_build] (_libc_intl_domainname): Likewise.
64324 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64326         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
64327         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
64328         and R_X86_64_TPOFF64.
64330 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64332         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
64333         sysdeps/unix/sysv/syscalls.list.
64334         (stime): Likewise.
64335         (utime): Likewise.
64336         * sysdeps/unix/sysv/syscalls.list: Remove file.
64338 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
64340         [BZ #3440]
64341         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
64342         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
64343         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
64344         (__LC_IDENTIFICATION): Make these macros useful in #if
64345         expressions, as required by C99.
64347 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
64349         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
64350         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
64351         after this.
64353 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
64355         * stdlib/longlong.h: Updated from GCC.
64357 2012-05-09  Andreas Jaeger  <aj@suse.de>
64359         * nscd/nscd.c (run_modes): Make named enum, reorder so that
64360         default is first entry.
64361         (run_mode): Set type.
64362         (main): Remove informal message about syslog.
64363         (options): Fix typo.
64365         [BZ #14053]
64366         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
64367         to asm.
64368         (lrint): Likewise.
64369         (llrintf): Likewise.
64370         (llrint): Likewise.
64371         (rint): Likewise.
64372         (rintf): Likewise.
64373         (nearbyint): Likewise.
64374         (nearbyintf): Likewise.
64376 2012-05-09  Andreas Jaeger  <aj@suse.de>
64377             Pedro Alves  <palves@redhat.com>
64379         * nscd/nscd.c (run_mode): Use enum.
64380         (main): Cleanup coding style issue.
64382 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
64383             Andreas Jaeger  <aj@suse.de>
64385         * nscd/nscd.c (go_background): Replaced with...
64386         (run_mode): ... this.
64387         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
64388         (options): Add -F --foreground.
64389         (main): Implement it.
64390         (parse_opt): Parse it.
64392 2012-05-09  Andreas Jaeger  <aj@suse.de>
64394         [BZ #14083]
64395         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
64396         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
64397         -Wconversion warning.
64398         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
64399         Likewise.
64401 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
64403         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
64404         == 0.
64405         (LC_ALL): Use macro-int-constant.
64406         (LC_COLLATE): Likewise.
64407         (LC_CTYPE): Likewise.
64408         (LC_MESSAGES): Likewise.
64409         (LC_MONETARY): Likewise.
64410         (LC_NUMERIC): Likewise.
64411         (LC_TIME): Likewise.
64412         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
64413         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64414         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64415         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
64416         Specify type.
64417         [C99-based standards] (float_t): Expect type.
64418         [C99-based standards] (double_t): Expect type.
64419         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
64420         type.
64421         [C99-based standards] (HUGE_VALL): Likewise.
64422         [C99-based standards] (INFINITY): Likewise.
64423         [C99-based standards] (NAN): Likewise.
64424         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
64425         [C99-based standards] (FP_NAN): Likewise.
64426         [C99-based standards] (FP_NORMAL): Likewise.
64427         [C99-based standards] (FP_SUBNORMAL): Likewise.
64428         [C99-based standards] (FP_ZERO): Likewise.
64429         [C99-based standards] (FP_FAST_FMA): Use
64430         optional-macro-int-constant.  Specify type.  Require == 1.
64431         [C99-based standards] (FP_FAST_FMAF): Likewise.
64432         [C99-based standards] (FP_FAST_FMAL): Likewise.
64433         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
64434         [C99-based standards] (FP_ILOGBNAN): Likewise.
64435         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
64436         Specify type.
64437         [C99-based standards] (MATH_ERREXCEPT): Likewise.
64438         [C99-based standards] (math_errhandling): Specify type.
64439         [ISO99 || ISO11] (signgam): Do not allow.
64440         [non-C99-based standards] (copysignf): Do not allow.
64441         [non-C99-based standards] (exp2f): Likewise.
64442         [non-C99-based standards] (log2f): Likewise.
64443         [non-C99-based standards] (modff): Allow.
64444         [non-C99-based standards] (erff): Do not allow.
64445         [non-C99-based standards] (erfcf): Likewise.
64446         [non-C99-based standards] (gammaf): Likewise.
64447         [non-C99-based standards] (hypotf): Likewise.
64448         [non-C99-based standards] (j0f): Likewise.
64449         [non-C99-based standards] (j1f): Likewise.
64450         [non-C99-based standards] (jnf): Likewise.
64451         [non-C99-based standards] (lgammaf): Likewise.
64452         [non-C99-based standards] (tgammaf): Likewise.
64453         [non-C99-based standards] (y0f): Likewise.
64454         [non-C99-based standards] (y1f): Likewise.
64455         [non-C99-based standards] (ynf): Likewise.
64456         [non-C99-based standards] (isnanf): Likewise.
64457         [non-C99-based standards] (acoshf): Likewise.
64458         [non-C99-based standards] (asinhf): Likewise.
64459         [non-C99-based standards] (atanhf): Likewise.
64460         [non-C99-based standards] (cbrtf): Likewise.
64461         [non-C99-based standards] (expm1f): Likewise.
64462         [non-C99-based standards] (ilogbf): Likewise.
64463         [non-C99-based standards] (log1pf): Likewise.
64464         [non-C99-based standards] (logbf): Likewise.
64465         [non-C99-based standards] (nextafterf): Likewise.
64466         [non-C99-based standards] (remainderf): Likewise.
64467         [non-C99-based standards] (rintf): Likewise.
64468         [non-C99-based standards] (scalbf): Likewise.
64469         [non-C99-based standards] (copysignl): Likewise.
64470         [non-C99-based standards] (exp2l): Likewise.
64471         [non-C99-based standards] (log2l): Likewise.
64472         [non-C99-based standards] (modfl): Allow.
64473         [non-C99-based standards] (erfl): Do not allow.
64474         [non-C99-based standards] (erfcl): Likewise.
64475         [non-C99-based standards] (gammal): Likewise.
64476         [non-C99-based standards] (hypotl): Likewise.
64477         [non-C99-based standards] (j0l): Likewise.
64478         [non-C99-based standards] (j1l): Likewise.
64479         [non-C99-based standards] (jnl): Likewise.
64480         [non-C99-based standards] (lgammal): Likewise.
64481         [non-C99-based standards] (tgammal): Likewise.
64482         [non-C99-based standards] (y0l): Likewise.
64483         [non-C99-based standards] (y1l): Likewise.
64484         [non-C99-based standards] (ynl): Likewise.
64485         [non-C99-based standards] (isnanl): Likewise.
64486         [non-C99-based standards] (acoshl): Likewise.
64487         [non-C99-based standards] (asinhl): Likewise.
64488         [non-C99-based standards] (atanhl): Likewise.
64489         [non-C99-based standards] (cbrtl): Likewise.
64490         [non-C99-based standards] (expm1l): Likewise.
64491         [non-C99-based standards] (ilogbl): Likewise.
64492         [non-C99-based standards] (log1pl): Likewise.
64493         [non-C99-based standards] (logbl): Likewise.
64494         [non-C99-based standards] (nextafterl): Likewise.
64495         [non-C99-based standards] (remainderl): Likewise.
64496         [non-C99-based standards] (rintl): Likewise.
64497         [non-C99-based standards] (scalbl): Likewise.
64498         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64499         [non-C99-based standards] (FP_*): Do not allow.
64500         [C99-based standards] (FP_*): Change to
64501         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64502         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64503         allow.
64504         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
64505         (SIG_ERR): Likewise.
64506         [X/Open-based standards] (SIG_HOLD): Likewise.
64507         (SIG_IGN): Likewise.
64508         (SIGABRT): Use macro-int-constant.  Specify type.  Require
64509         positive value.
64510         (SIGFPE): Likewise.
64511         (SIGILL): Likewise.
64512         (SIGINT): Likewise.
64513         (SIGSEGV): Likewise.
64514         (SIGTER): Likewise.
64515         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
64516         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
64517         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
64518         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
64519         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
64520         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
64521         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
64522         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
64523         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
64524         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
64525         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
64526         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
64527         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
64528         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
64529         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
64530         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
64531         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
64532         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
64533         [X/Open-based standards] (SIGTRAP): Likewise.
64534         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
64535         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
64536         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
64537         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
64538         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64539         allow.
64541 2012-05-08  Ian Wienand  <ianw@vmware.com>
64543         [BZ #14080]
64544         * time/tzset.c (__tzset_parse_tz): Update default rules for
64545         daylight time changes in the Energy Policy Act of 2005.
64547 2012-05-09  Andreas Jaeger  <aj@suse.de>
64549         [BZ #13983]
64550         * elf/ldconfig.c (parse_conf): Change string to make clear that
64551         ldconfig only issued a warning if ld.so.conf does not exist.
64553 2012-05-08  David S. Miller  <davem@davemloft.net>
64555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
64556         movxtod instead of popping the value on the stack.
64558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64560 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
64562         * config.h.in: Add HAVE_ARM_PCS_VFP.
64564 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
64566         [BZ #13979]
64567         * include/features.h: Warn if user requests __FORTIFY_SOURCE
64568         checking but the checks are disabled for any reason.
64570 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
64572         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
64573         and ELF64_R_TYPE with ELFW(R_TYPE).
64575 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
64577         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
64578         (ulimit): Likewise.
64580         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
64581         (settimeofday): Likewise.
64583 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
64585         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
64586         a struct th_u2 inside the union, and move tu_block/tu_code into
64587         a new th_u3 union of tu_block/tu_code inside of that.  Move
64588         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
64589         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
64590         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
64591         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
64592         (th_stuff): Change to th_u1.tu_stuff.
64593         (th_data): Define.
64594         (th_msg): Change to th_u1.th_u2.tu_data.
64596 2012-05-07  David S. Miller  <davem@davemloft.net>
64598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64600         [BZ #14074]
64601         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
64602         (SETUP_PIC_REG): Use it.
64603         (SETUP_PIC_REG_LEAF): Use it.
64605 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
64607         [BZ #13885]
64608         [BZ #13923]
64609         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64610         USE_AS_EXPM1L.
64611         (EXPL_FINITE): Likewise.
64612         (FLDLOG): Likewise.
64613         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64614         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64615         e_expl.S.
64616         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64617         USE_AS_EXPM1L.
64618         (EXPL_FINITE): Likewise.
64619         (FLDLOG): Likewise.
64620         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64621         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64622         e_expl.S.
64623         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
64624         test of -max_value argument for long double.
64625         * sysdeps/i386/fpu/libm-test-ulps: Update.
64626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64628 2012-05-06  David S. Miller  <davem@davemloft.net>
64630         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
64631         quad soft-float symbols whose references which are compiler
64632         generated.
64633         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64635 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
64637         [BZ #13884]
64638         [BZ #13914]
64639         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64640         USE_AS_EXP10L.
64641         (EXPL_FINITE): Likewise.
64642         (FLDLOG): Likewise.
64643         (c0): Likewise.
64644         (c1): Likewise.
64645         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64646         Adjust comments for base varying.
64647         (__expl_finite): Change alias to EXPL_FINITE.
64648         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
64649         e_expl.S.
64650         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
64651         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
64652         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
64653         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
64654         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64655         USE_AS_EXP10L.
64656         (EXPL_FINITE): Likewise.
64657         (FLDLOG): Likewise.
64658         (c0): Likewise.
64659         (c1): Likewise.
64660         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64661         Adjust comments for base varying.
64662         (__expl_finite): Change alias to EXPL_FINITE.
64663         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
64664         tests for bugs.
64665         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64667         [BZ #14064]
64668         * math/libm-test.inc (check_float_internal): Correct ulp
64669         calculation for subnormal expected results.
64671 2012-05-06  Andreas Jaeger  <aj@suse.de>
64673         * Makeconfig (+math-flags): New, set to -frounding-math.
64674         (+cflags): Add +math-flags so that all of glibc gets compiled with
64675         it.
64677         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
64679 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
64681         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
64682         Disable one test.
64684         [BZ #13787]
64685         [BZ #13922]
64686         [BZ #14036]
64687         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
64688         (__ieee754_expl): Allow for and saturate large arguments.
64689         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
64690         (u_threshold): Likewise.
64691         (__exp): Call __ieee754_exp before checking for overflow and
64692         underflow.
64693         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
64694         (u_threshold): Likewise.
64695         (__expf): Call __ieee754_expf before checking for overflow and
64696         underflow.
64697         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
64698         (u_threshold): Likewise.
64699         (__expl): Call __ieee754_expl before checking for overflow and
64700         underflow.
64701         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
64702         (__ieee754_expl): Allow for and saturate large arguments.
64703         * math/libm-test.inc (exp_test): Add another test.  Do not allow
64704         missing overflow exception on overflow.
64705         (expm1_test): Do not allow missing overflow exception on overflow.
64707         * sysdeps/i386/fpu/e_expl.c: Move to ...
64708         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
64709         rather than using inline asm.
64710         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
64711         * sysdeps/x86_64/fpu/e_expl.S: Copy from
64712         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
64714         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
64715         (nice): Likewise.
64716         (poll): Likewise.
64717         (signal): Likewise.
64718         (time): Likewise.
64719         (times): Likewise.
64721 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64723         * sysdeps/unix/syscalls.list (adjtime): Add entry from
64724         sysdeps/unix/common/syscalls.list.
64725         (fchmod): Likewise.
64726         (fchown): Likewise.
64727         (ftruncate): Likewise.
64728         (getrusage): Likewise.
64729         (gettimeofday): Likewise.
64730         (setpgid): Likewise.
64731         (setregid): Likewise.
64732         (setreuid): Likewise.
64733         (sigaction): Likewise.
64734         (truncate): Likewise.
64735         (vhangup): Likewise.
64736         * sysdeps/unix/common/syscalls.list: Remove file.
64737         * sysdeps/unix/bsd/Implies: Don't include unix/common.
64738         * sysdeps/unix/sysv/linux/Implies: Likewise.
64740 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
64742         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
64743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
64744         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
64745         Moved to ...
64746         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
64747         Here.
64748         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
64749         to ...
64750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
64751         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
64752         to ...
64753         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
64754         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
64755         to ...
64756         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
64757         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
64758         to ...
64759         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
64760         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
64761         to ...
64762         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
64763         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
64764         to ...
64765         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
64766         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
64767         to ...
64768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64769         Here.
64770         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
64771         to ...
64772         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
64773         Here.
64774         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
64775         to ...
64776         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
64777         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
64778         Moved to ...
64779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
64780         Here.
64781         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
64782         to ...
64783         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
64785 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64787         * sysdeps/unix/common/bits/dirent.h: Remove file.
64788         * sysdeps/unix/common/bits/fcntl.h: Likewise.
64790         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
64791         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
64792         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
64793         * sysdeps/unix/bsd/isatty.c: Likewise.
64794         * sysdeps/unix/bsd/tcdrain.c: Likewise.
64795         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
64796         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
64798 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64800         [BZ #13563]
64801         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
64802         long double comparison inaccuracies.
64803         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
64804         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64806 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
64808         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
64809         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
64811 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64813         [BZ #14049]
64814         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
64815         nonzero digits before rounding a hex value.
64816         * stdlib/tst-strtod.c (tests): Add another test.
64818 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64820         * sysdeps/s390/fpu/libm-test-ulps: Update.
64822 2012-05-03  Andreas Jaeger  <aj@suse.de>
64824         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
64825         does not get optimized out.
64826         (malloc_opt_barrier): New.
64828 2012-05-03  Andreas Jaeger  <aj@suse.de>
64829             Roland McGrath  <roland@hack.frob.com>
64831         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
64832         intermediate file deletion.
64833         (generated): Add .symlist files.
64835 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
64837         [BZ #13775]
64838         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
64839         Redirect under this condition.
64840         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64841         [__USE_GNU] (__dprintf_chk): Not under this condition.
64842         [__USE_GNU] (__vdprintf_chk): Likewise.
64843         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
64844         under this condition.
64845         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64846         [__USE_XOPEN2K8] (dprintf): Define under this condition.
64847         [__USE_XOPEN2K8] (vdprintf): Likewise.
64848         [__USE_GNU] (__dprintf_chk): Not under this condition.
64849         [__USE_GNU] (__vdprintf_chk): Likewise.
64850         [__USE_GNU] (dprintf): Likewise.
64851         [__USE_GNU] (vdprintf): Likewise.
64853 2012-05-03  Roland McGrath  <roland@hack.frob.com>
64855         * elf/Makefile (common-generated): Set this instead of generated for
64856         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
64857         $(all-built-dso)-derived lists.
64859 2012-05-03  Andreas Jaeger  <aj@suse.de>
64861         * sysdeps/i386/fpu/libm-test-ulps: Update.
64863         * FAQ: Removed.
64864         * FAQ.in: Likewise.
64865         * scripts/gen-FAQ.pl: Likewise.
64866         * manual/install.texi (Installation): Point to online location of
64867         FAQ.
64868         * Makefile (files-for-dist): Remove FAQ.
64869         (FAQ): Remove.
64871 2012-05-02  Allan McRae  <allan@archlinux.org>
64873         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
64874         (LDFLAGS-reldepmod5.so): Likewise.
64875         (LDFLAGS-reldep6mod1.so): Likewise.
64876         (LDFLAGS-reldep6mod4.so): Likewise.
64877         (LDFLAGS-reldep8mod3.so): Likewise.
64878         (LDFLAGS-unload4mod1.so): Likewise.
64879         (LDFLAGS-unload4mod2.so): Likewise.
64880         (LDFLAGS-tst-initorder): Likewise.
64881         (LDFLAGS-tst-initordera2.so): Likewise.
64882         (LDFLAGS-tst-initordera3.so): Likewise.
64883         (LDFLAGS-tst-initordera4.so): Likewise.
64884         (LDFLAGS-tst-initorderb2.so): Likewise.
64885         (LDFLAGS-noload): Likewise.
64886         (LDFLAGS-next): Likewise.
64887         (LDFLAGS-order2mod1.so): Likewise.
64888         (LDFLAGS-order2mod2.so): Likewise.
64889         (LDFLAGS-tst-initorder2): Likewise.
64890         (LDFLAGS-tst-initorder2a.so): Likewise.
64891         (LDFLAGS-tst-initorder2b.so): Likewise.
64892         (LDFLAGS-tst-initorder2c.so): Likewise.
64893         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
64895 2012-05-02  David S. Miller  <davem@davemloft.net>
64897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64899 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
64901         [BZ #14055]
64902         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
64904 2012-05-02  Andreas Jaeger  <aj@suse.de>
64906         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
64907         since we manipulate rounding mode.
64908         (CPPFLAGS-test-idouble.c): Likewise.
64909         (CPPFLAGS-test-ifloat.c): Likewise.
64910         (CFLAGS-test-ldouble.c): Likewise.
64911         (CFLAGS-test-double.c): Likewise.
64912         (CFLAGS-test-float.c): Likewise.
64913         (CFLAGS-test-misc.c): Likewise.
64914         (CFLAGS-test-test-fenv.c): Likewise.
64916 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64918         [BZ #2550]
64919         [BZ #2570]
64920         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
64921         comparisons to determine direction to adjust input.
64923 2012-05-01  Roland McGrath  <roland@hack.frob.com>
64925         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
64926         output to the target.
64928         * scripts/localplt.awk: New file.
64929         * elf/Makefile ($(objpfx)check-localplt): Target removed.
64930         (check-localplt-CFLAGS): Variable removed.
64931         ($(all-built-dso:=.jmprel)): New static pattern rule.
64932         (generated): Add those targets.
64933         (localplt-built-dso): New variable.
64934         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
64936         * elf/check-localplt.c: File removed.
64938         * scripts/check-execstack.awk: New file.
64939         * elf/Makefile ($(objpfx)check-execstack): Target removed.
64940         (check-execstack-CFLAGS): Variable removed.
64941         ($(objpfx)check-execstack.h): Target removed.
64942         ($(objpfx)execstack-default): New target.
64943         (generated): Add that instead of check-execstack.h.
64944         ($(all-built-dso:=.phdr)): New static pattern rule.
64945         (generated): Add those targets.
64946         * elf/check-execstack.c: File removed.
64948         * scripts/check-textrel.awk: New file.
64949         * elf/Makefile ($(objpfx)check-textrel): Target removed.
64950         (check-textrel-CFLAGS): Variable removed.
64951         (all-built-dso): Use := to define.o
64952         ($(all-built-dso:=.dyn)): New static pattern rule.
64953         (generated): Add those targets.
64954         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
64955         * config.make.in (READELF): New substituted variable.
64956         * elf/check-textrel.c: File removed.
64958 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64960         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64961         allow.
64962         * conform/data/ctype.h-data [C99-based standards] (isblank):
64963         Expect function.
64964         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
64965         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
64966         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64967         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
64968         Specify type.  Require positive value.
64969         (EILSEQ): Likewise.
64970         (ERANGE): Likewise.
64971         [ISO || POSIX] (EILSEQ): Do not expect.
64972         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
64973         Specify type.  Require positive value.
64974         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
64975         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
64976         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
64977         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
64978         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
64979         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
64980         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
64981         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
64982         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
64983         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
64984         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
64985         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
64986         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
64987         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
64988         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
64989         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
64990         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
64991         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
64992         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
64993         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
64994         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
64995         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
64996         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
64997         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
64998         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
64999         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
65000         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
65001         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
65002         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
65003         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
65004         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
65005         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
65006         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
65007         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
65008         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
65009         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
65010         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
65011         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
65012         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
65013         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
65014         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
65015         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
65016         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
65017         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
65018         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
65019         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
65020         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
65021         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
65022         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
65023         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
65024         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
65025         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
65026         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
65027         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
65028         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
65029         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
65030         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
65031         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
65032         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
65033         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
65034         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
65035         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
65036         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
65037         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
65038         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
65039         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
65040         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
65041         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
65042         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
65043         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
65044         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
65045         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
65046         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
65047         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
65048         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
65049         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
65050         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
65051         Require >= 2.
65052         (FLT_ROUNDS): Expect as macro, not constant.
65053         (FLT_MANT_DIG): Use macro-int-constant.
65054         (DBL_MANT_DIG): Likewise.
65055         (LDBL_MANT_DIG): Likewise.
65056         (FLT_DIG): Likewise.
65057         (DBL_DIG): Likewise.
65058         (LDBL_DIG): Likewise.
65059         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
65060         (DBL_MIN_EXP): Likewise.
65061         (LDBL_MIN_EXP): Likewise.
65062         (FLT_MAX_EXP): Use macro-int-constant.
65063         (DBL_MAX_EXP): Likewise.
65064         (LDBL_MAX_EXP): Likewise.
65065         (FLT_MAX_10_EXP): Likewise.
65066         (DBL_MAX_10_EXP): Likewise.
65067         (LDBL_MAX_10_EXP): Likewise.
65068         (FLT_MAX): Use macro-constant.
65069         (DBL_MAX): Likewise.
65070         (LDBL_MAX): Likewise.
65071         (FLT_EPSILON): Use macro-constant.  Give upper bound.
65072         (DBL_EPSILON): Likewise.
65073         (LDBL_EPSILON): Likewise.
65074         (FLT_MIN): Likewise.
65075         (DBL_MIN): Likewise.
65076         (LDBL_MIN): Likewise.
65077         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
65078         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
65079         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
65080         [ISO11] (FLT_HAS_SUBNORM): Likewise.
65081         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
65082         [ISO11] (DBL_DECIMAL_DIG): Likewise.
65083         [ISO11] (FLT_DECIMAL_DIG): Likewise.
65084         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
65085         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
65086         [ISO11] (FLT_TRUE_MIN): Likewise.
65087         [ISO11] (LDBL_TRUE_MIN): Likewise.
65088         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65089         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
65090         (SCHAR_MIN): Use macro-int-constant.  Specify type.
65091         (SCHAR_MAX): Likewise.
65092         (UCHAR_MAX): Likewise.
65093         (CHAR_MIN): Likewise.
65094         (CHAR_MAX): Likewise.
65095         (MB_LEN_MAX): Use macro-int-constant.
65096         (SHRT_MIN): Use macro-int-constant.  Specify type.
65097         (SHRT_MAX): Likewise.
65098         (USHRT_MAX): Likewise.
65099         (INT_MAX): Likewise.
65100         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
65101         bound negative.
65102         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65103         bound with "U".
65104         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65105         bound with "L".
65106         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
65107         bound negative.  Suffix upper bound with "L".
65108         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65109         bound with "UL".
65110         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
65111         Specify type.
65112         [C99-based standards] (LLONG_MAX): Likewise.
65113         [C99-based standards] (ULLONG_MAX): Likewise.
65114         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
65115         == 0.
65116         [ISO11] (max_align_t): Require type.
65117         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65119         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
65120         from $CFLAGS, without defining away __attribute__ calls.
65121         (checknamespace): Use $CFLAGS_namespace.
65123         * conform/conformtest.pl (@keywords): Only include C99 keywords
65124         for standards based on C99 or C11.
65126         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
65127         Disable tests.
65128         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
65129         UNIX98]: Likewise.
65131         * conform/conformtest.pl: Handle "macro-int-constant" and test for
65132         usability of symbols in #if.
65134         * conform/conformtest.pl: If macro or constant types start
65135         "promoted:", expect the symbol to be of the following type
65136         promoted by the integer promotions.
65138         * conform/conformtest.pl: Parse all "constant" and "macro" lines
65139         in one place.  Also handle "macro-constant".
65141         * conform/conformtest.pl: Only accept expected macro values with
65142         "==".  Parse all "macro" lines in one place.
65143         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
65145         * conform/conformtest.pl: Handle braced types on "constant" lines
65146         instead of handling "typed-constant".
65147         * conform/data/signal.h-data: Use "constant" instead of
65148         "typed-constant".
65150         * conform/conformtest.pl: Handle "optional-" at start of lines in
65151         one place rather than duplicating several cases.  Handle each
65152         format of "macro" line with initial "optional-".
65154         * conform/conformtest.pl: Only accept expected constant or
65155         optional-constant values with "==".  Parse all "constant" lines in
65156         one place.  Parse all "optional-constant" lines in one place.
65157         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
65158         * conform/data/fmtmsg.h-data: Likewise.
65159         * conform/data/netinet/in.h-data: Likewise.
65160         * conform/data/tar.h-data: Likewise.
65161         * conform/data/limits.h-data: Use "==" form on "constant" and
65162         "optional-constant" lines.
65164         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
65165         Use -std=c99 for XOPEN2K.
65166         (@knownproblems): Remove.
65167         (newtoken): Don't check %isknown.
65169         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
65170         Do not expect macro.
65171         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
65172         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
65173         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
65174         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
65175         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
65176         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
65177         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
65178         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
65179         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
65180         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
65181         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
65182         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
65183         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
65184         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
65185         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
65186         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
65187         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
65188         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
65189         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
65190         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
65191         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
65192         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
65193         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
65194         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
65195         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
65196         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
65197         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
65198         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
65199         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
65200         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
65201         [XPG3] (acosh): Likewise.
65202         [XPG3] (asinh): Likewise.
65203         [XPG3] (atanh): Likewise.
65204         [XPG3] (cbrt): Likewise.
65205         [XPG3] (expm1): Likewise.
65206         [XPG3] (ilogb): Likewise.
65207         [XPG3] (log1p): Likewise.
65208         [XPG3] (logb): Likewise.
65209         [XPG3] (nextafter): Likewise.
65210         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
65211         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
65212         [XPG3] (remainder): Likewise.
65213         [XPG3] (rint): Likewise.
65214         [XPG3 || XPG4 || UNIX98] (round): Likewise.
65215         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
65216         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
65217         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
65218         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
65219         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
65220         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
65221         [UNIX98 || XOPEN2K] (scalb): Expect.
65222         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
65223         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
65224         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
65225         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
65226         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
65227         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
65228         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
65229         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
65230         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
65231         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
65232         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
65233         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
65234         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
65235         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
65236         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
65237         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
65238         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
65239         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
65240         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
65241         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
65242         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
65243         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
65244         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
65245         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
65246         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
65247         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
65248         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
65249         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
65250         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
65251         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
65252         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
65253         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
65254         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
65255         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
65256         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
65257         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
65258         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
65259         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
65260         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
65261         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
65262         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
65263         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
65264         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
65265         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
65266         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
65267         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
65268         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
65269         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
65270         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
65271         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
65272         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
65273         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
65274         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
65275         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
65276         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
65277         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
65278         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
65279         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
65280         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
65281         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
65282         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
65283         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
65284         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
65285         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
65286         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
65287         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
65288         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
65289         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
65290         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
65291         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
65292         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
65293         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
65294         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
65295         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
65296         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
65297         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
65298         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
65299         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
65300         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
65301         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
65302         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
65303         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
65304         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
65305         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
65306         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
65307         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
65308         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
65309         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
65310         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
65311         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
65312         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
65313         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
65314         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
65315         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
65316         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
65317         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
65318         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
65319         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
65320         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
65321         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
65322         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
65323         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
65324         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
65325         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
65326         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
65327         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
65328         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
65329         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
65330         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
65331         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
65332         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
65333         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
65334         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
65335         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
65336         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
65337         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
65338         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
65339         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
65340         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
65341         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
65342         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
65343         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
65344         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
65345         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
65346         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
65347         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
65348         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
65349         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
65350         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
65351         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
65352         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
65353         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
65354         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
65355         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
65356         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
65357         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
65358         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
65360         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
65361         _XOPEN_SOURCE_EXTENDED for XPG4.
65363         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
65365         * Makeconfig (localtime): Remove variable.
65366         (inst_localtime-file): Likewise.
65368 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
65370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
65371         Update.
65372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65373         Update.
65374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
65375         Update.
65376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
65377         Update.
65378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
65379         Update.
65380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
65381         Update.
65382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65383         Update.
65384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
65385         Update.
65386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65387         Update.
65389 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
65391         [BZ #2550]
65392         [BZ #2570]
65393         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
65394         comparisons to determine direction to adjust input.
65395         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
65396         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
65397         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
65398         Likewise.
65399         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
65400         Likewise.
65401         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
65402         Likewise.
65403         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
65404         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
65405         Likewise.
65406         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
65407         Likewise.
65408         * math/libm-test.inc (nexttoward_test): Add more tests.
65410 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
65412         [BZ #14040]
65413         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
65414         in version GLIBC_2.1, not GLIBC_2.0.
65415         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
65416         Likewise.
65418 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
65420         [BZ #13942]
65421         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
65422         (1 - x) * (1 + x).
65423         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65424         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
65425         * math/libm-test.inc (acos_test): Add more tests.
65426         (asin_test): Likewise.
65427         * sysdeps/i386/fpu/libm-test-ulps: Update.
65428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65430         [BZ #14034]
65431         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
65432         of square root.
65433         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
65434         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65435         * math/libm-test.inc (acos_test_tonearest): New function.
65436         (acos_test_towardzero): Likewise.
65437         (acos_test_downward): Likewise.
65438         (acos_test_upward): Likewise.
65439         (asin_test_tonearest): Likewise.
65440         (asin_test_towardzero): Likewise.
65441         (asin_test_downward): Likewise.
65442         (asin_test_upward): Likewise.
65443         (main): Call the new functions.
65444         * sysdeps/i386/fpu/libm-test-ulps: Update.
65445         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65447         [BZ #13884]
65448         [BZ #13924]
65449         * math/e_exp10.c: Include <float.h>.
65450         (__ieee754_exp10): Handle underflow here rather than multiplying
65451         large negative argument by M_LN10.
65452         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
65453         of __ieee754_expf.
65454         * math/e_exp10l.c: Include <float.h>.
65455         (__ieee754_exp10l): Handle underflow here rather than multiplying
65456         large negative argument by M_LN10l.
65457         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
65458         spurious overflow exception on underflow.
65460 2012-04-29  Marek Polacek  <polacek@redhat.com>
65462         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
65463         (__fortify_function): New macro.
65464         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
65465         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
65466         __extern_always_inline.
65467         * libio/bits/stdio2.h: Likewise.
65468         * libio/bits/stdio.h: Likewise.
65469         * string/string.h: Likewise.
65470         * string/bits/string3.h: Likewise.
65471         * include/stdio.h: Likewise.
65472         * stdlib/bits/stdlib.h: Likewise.
65473         * stdlib/stdlib.h: Likewise.
65474         * rt/bits/mqueue2.h: Likewise.
65475         * rt/mqueue.h: Likewise.
65476         * posix/bits/unistd.h: Likewise.
65477         * posix/unistd.h: Likewise.
65478         * io/bits/poll2.h: Likewise.
65479         * io/bits/fcntl2.h: Likewise.
65480         * io/fcntl.h: Likewise.
65481         * io/sys/poll.h: Likewise.
65482         * misc/bits/syslog.h: Likewise.
65483         * misc/bits/syslog-ldbl.h: Likewise.
65484         * misc/sys/syslog.h: Likewise.
65485         * socket/bits/socket2.h: Likewise.
65486         * socket/sys/socket.h: Likewise.
65487         * debug/tst-chk1.c: Likewise.
65488         * wcsmbs/bits/wchar2.h: Likewise.
65489         * wcsmbs/bits/wchar-ldbl.h: Likewise.
65490         * wcsmbs/wchar.h: Likewise.
65492 2012-04-29  Andreas Jaeger  <aj@suse.de>
65494         * Makerules (tests): Remove enable-check-abi protection.
65495         (check-abi-warn): Remove.
65496         (check-abi-%): Remove check-abi-warn usage.
65498         * configure.in: Remove check-abi configure option.
65499         * configure: Regenerated.
65500         * config.make.in (enable-check-abi): Remove.
65502 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
65504         [BZ #14033]
65505         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
65506         double functions to double *_finite functions.
65508         [BZ #13941]
65509         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
65510         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
65511         LDBL_MIN_EXP.
65512         * stdio-common/Makefile (tests): Add tst-sprintf3.
65513         * stdio-common/tst-sprintf3.c: New file.
65515         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
65516         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
65518 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65520         * conform/conformtest.pl: Remove duplicate typed-constant
65521         handling.
65523 2012-04-28  David S. Miller  <davem@davemloft.net>
65525         * Makerules (%.abilist): Add vpath on sysdep_dirs.
65526         (check-abi-%): Remove AWK script prerequisite and explicit
65527         abilist directory.
65528         (check-abi): Rewrite to just diff the symlist with the abilist.
65529         (config-tls, config-abi-config): Delete, no longer used.
65530         (update-abi-%): Remove AWK script and explicit abilist directory.
65531         (update-abi): Rewrite to simply compare and conditionally copy the
65532         symlist and the sysdep abilist file.  Remove update-abi-config
65533         checks.
65534         * abilist/ld.abilist: Remove.
65535         * abilist/libBrokenLocale.abilist: Remove.
65536         * abilist/libanl.abilist: Remove.
65537         * abilist/libcrypt.abilist: Remove.
65538         * abilist/libdl.abilist: Remove.
65539         * abilist/librt.abilist: Remove.
65540         * abilist/libthread_db.abilist: Remove.
65541         * abilist/libutil.abilist: Remove.
65542         * scripts/extract-abilist.awk: Remove.
65543         * scripts/merge-abilist.awk: Remove.
65544         * sysdeps/generic/libcidn.abilist: New file.
65545         * sysdeps/generic/libnss_compat.abilist: New file.
65546         * sysdeps/generic/libnss_db.abilist: New file.
65547         * sysdeps/generic/libnss_dns.abilist: New file.
65548         * sysdeps/generic/libnss_files.abilist: New file.
65549         * sysdeps/generic/libnss_hesiod.abilist: New file.
65550         * sysdeps/generic/libnss_nis.abilist: New file.
65551         * sysdeps/generic/libnss_nisplus.abilist: New file.
65552         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
65553         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
65554         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
65555         file.
65556         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
65557         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
65558         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
65559         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
65560         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
65561         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
65562         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
65563         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
65564         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
65565         file.
65566         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
65567         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
65568         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
65569         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
65570         file.
65571         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
65572         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
65573         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
65574         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
65575         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
65576         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
65577         file.
65578         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
65579         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
65580         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
65581         file.
65582         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
65583         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
65584         New file.
65585         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
65586         New file.
65587         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
65588         New file.
65589         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
65590         New file.
65591         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
65592         New file.
65593         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
65594         New file.
65595         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
65596         New file.
65597         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
65598         New file.
65599         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
65600         New file.
65601         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
65602         New file.
65603         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
65604         New file.
65605         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
65606         New file.
65607         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
65608         New file.
65609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
65610         file.
65611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
65612         New file.
65613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
65614         New file.
65615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
65616         file.
65617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
65618         New file.
65619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
65620         New file.
65621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
65622         file.
65623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
65624         New file.
65625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65626         New file.
65627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
65628         New file.
65629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
65630         New file.
65631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
65632         New file.
65633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
65634         New file.
65635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
65636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
65637         file.
65638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
65639         New file.
65640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
65641         file.
65642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
65643         file.
65644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
65645         file.
65646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
65647         file.
65648         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
65649         file.
65650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65651         New file.
65652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
65653         file.
65654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
65655         file.
65656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
65657         New file.
65658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
65659         file.
65660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
65661         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
65662         file.
65663         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
65664         New file.
65665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
65666         file.
65667         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
65668         file.
65669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
65670         file.
65671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
65672         file.
65673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
65674         file.
65675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65676         New file.
65677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
65678         file.
65679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
65680         file.
65681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
65682         New file.
65683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
65684         file.
65685         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65686         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
65687         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
65688         file.
65689         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
65690         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
65691         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
65692         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
65693         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
65694         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
65695         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
65696         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
65697         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
65698         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
65699         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
65700         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
65701         file.
65702         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
65703         New file.
65704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
65705         file.
65706         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
65707         file.
65708         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
65709         file.
65710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
65711         file.
65712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
65713         file.
65714         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65715         New file.
65716         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
65717         New file.
65718         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
65719         file.
65720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
65721         New file.
65722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
65723         file.
65724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
65725         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
65726         file.
65727         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
65728         New file.
65729         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
65730         file.
65731         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
65732         file.
65733         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
65734         file.
65735         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
65736         file.
65737         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
65738         file.
65739         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65740         New file.
65741         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
65742         New file.
65743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
65744         file.
65745         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
65746         New file.
65747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
65748         file.
65750 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65752         * conform/conformtest.pl: Fix typo in handling typed-constant from
65753         allow-header.
65755 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65757         * README: Cut down references to pre-2.6 Linux kernels and
65758         Linuxthreads.  Update lists of configurations in libc and ports
65759         and sort alphabetically.  Say "or newer" with Linux kernel version
65760         requirements.
65762         * config.h.in [IS_IN_build]: Allow compiling without optimization.
65764 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65766         [BZ #887]
65767         * math/libm-test.inc (logb_test_downward): New test to expose
65768         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
65769         rounding mode.
65771 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65773         [BZ #14027]
65774         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
65775         to be done.
65776         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
65777         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
65779 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
65781         * sysdeps/unix/i386/brk.S: Remove file.
65782         * sysdeps/unix/i386/dl-brk.S: Likewise.
65783         * sysdeps/unix/i386/pipe.S: Likewise.
65784         * sysdeps/unix/i386/sigreturn.S: Likewise.
65785         * sysdeps/unix/i386/syscall.S: Likewise.
65786         * sysdeps/unix/i386/vfork.S: Likewise.
65787         * sysdeps/unix/i386/wait.S: Likewise.
65789         * sysdeps/unix/common/tcsendbrk.c: Move to ...
65790         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
65792         * configure.in (arm*-none*): Do not allow without
65793         --enable-hacker-mode.
65794         (netbsd*): Remove case setting base_os.
65795         (386bsd*): Likewise.
65796         (freebsd*): Likewise.
65797         (bsdi*): Likewise.
65798         (osf*): Likewise.
65799         (sunos*): Likewise.
65800         (ultrix*): Likewise.
65801         (newsos*): Likewise.
65802         (dynix*): Likewise.
65803         (*bsd*): Likewise.
65804         (sysv*): Likewise.
65805         (isc*): Likewise.
65806         (esix*): Likewise.
65807         (sco*): Likewise.
65808         (minix*): Likewise.
65809         (irix4*): Likewise.
65810         (irix6*): Likewise.
65811         (solaris[2-9]*): Likewise.
65812         (none): Likewise.
65813         * configure: Regenerated.
65815 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65817         [BZ #11521]
65818         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
65819         overflow or cancellation in calculating denominator.
65820         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
65821         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
65822         down expression to avoid unexpected rounding in newer GCCs.
65823         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
65825 2012-04-26  David S. Miller  <davem@davemloft.net>
65827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
65828         long-double compat symbols.
65829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
65833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65834         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
65835         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
65836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
65837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
65838         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
65839         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
65840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
65841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65843 2012-04-25  David S. Miller  <davem@davemloft.net>
65845         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
65846         HWCAP_* values only after the memory barriers have been defined.
65847         (atomic_full_barrier): Define.
65848         (atomic_read_barrier): Define.
65849         (atomic_write_barrier): Define.
65851 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65853         * shlib-versions: Add libgcc_s version information.
65854         * sysdeps/generic/libgcc_s.h: Remove.
65855         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
65856         libgcc_s.h.
65857         * sysdeps/gnu/unwind-resume.c: Likewise.
65858         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
65860 2012-04-25  David S. Miller  <davem@davemloft.net>
65862         * sysdeps/unix/sparc/brk.S: Delete.
65863         * sysdeps/unix/sparc/dl-brk.S: Delete.
65864         * sysdeps/unix/sparc/pipe.S: Delete.
65865         * sysdeps/unix/sparc/sysdep.S: Delete.
65866         * sysdeps/unix/sparc/sysdep.h: Delete.
65867         * sysdeps/unix/sparc/vfork.S: Delete.
65868         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
65869         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
65870         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
65871         (ret_ERRVAL, r0, r1, MOVE): Define.
65872         (JUMPTARGET): Remove.
65873         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
65874         sysdeps/unix/sparc/sysdep.h
65875         (ENTRY, END): Remove.
65876         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65878 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
65880         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
65881         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
65882         -DIS_IN_build.
65884         * timezone/README: Update upstream location and email address for
65885         tzcode and tzdata.
65886         * timezone/zdump.c: Update from tzcode 2012b.
65887         * timezone/zic.c: Likewise.
65889         * configure.in (libc_cv_as_needed): Remove test.
65890         * configure: Regenerated.
65891         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
65892         conditional definition.
65893         [$(have-as-needed) != yes] (no-as-needed): Likewise.
65894         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
65895         * config.make.in (have-as-needed): Remove variable.
65897 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65898             Paul Pluzhnikov  <ppluzhnikov@google.com>
65900         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
65901         strings correctly.
65903 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
65905         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
65906         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
65907         * sysdeps/sh/strlen.S: Likewise.
65909 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65911         * sysdeps/unix/fork.S: Remove file.
65912         * sysdeps/unix/i386/fork.S: Likewise.
65913         * sysdeps/unix/sparc/fork.S: Likewise.
65915         * sysdeps/unix/system.c: Remove file.
65916         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
65918         * sysdeps/unix/getegid.S: Remove file.
65919         * sysdeps/unix/geteuid.S: Likewise.
65921 2012-04-24  Roland McGrath  <roland@hack.frob.com>
65923         * scripts/check-localplt.awk: New file.
65924         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
65925         of diff.
65926         * scripts/data/localplt-generic.data: Add a comment.
65928         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
65929         NODE when __dir_mkfile failed.
65930         * sysdeps/mach/hurd/symlinkat.c: Likewise.
65931         Reported by Ludovic Courtès <ludo@gnu.org>.
65933 2012-04-24  Andreas Jaeger  <aj@suse.de>
65935         * Makerules (common-clean): Also remove gen-as-const-headers
65936         files.
65938 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65940         * Makerules (native-compile): Do not change working directory for
65941         build.  Use $(OUTPUT_OPTION) in command.
65942         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
65944 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65946         [BZ #13886]
65947         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
65948         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
65949         * math/libm-test.inc (floor_test): Add more tests.
65950         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
65952 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65954         * sysdeps/unix/getdents.c: Remove file.
65955         * sysdeps/unix/sysv/getdents.c: Likewise.
65956         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
65958         * sysdeps/unix/syscalls.list (madvise): Add syscall from
65959         sysdeps/unix/mman/syscalls.list.
65960         (mmap): Likewise.
65961         (mprotect): Likewise.
65962         (msync): Likewise.
65963         (munmap): Likewise.
65964         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
65965         * sysdeps/unix/mman/syscalls.list: Remove.
65966         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
65968         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
65969         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
65970         * configure: Regenerated.
65971         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
65972         $(libgcc_s_suffix).
65973         * config.make.in (libgcc_s_suffix): Remove variable.
65975 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
65977         * sysdeps/unix/sysv/gethostname.c: Move to ...
65978         * sysdeps/posix/gethostname.c: ... here.
65980         * sysdeps/unix/execve.S: Remove file.
65982         * sysdeps/unix/_exit.S: Remove file.
65984 2012-04-23  Andreas Jaeger  <aj@suse.de>
65986         [BZ #13739]
65987         * manual/Makefile: Remove make dist support, there's no
65988         need for a stand-alone documentation tar ball.
65989         (TEXI2DVI): Define always, it's not in Makeconfig.
65990         (dist): Removed.
65991         (tar-it): Removed.
65992         (edition): Removed.
65993         (glibc-doc-$(edition).tar): Removed
65994         (%.Z): Removed.
65995         (%.gz): Removed.
65996         (%.uu): Removed.
65997         (ETAGS): Remove, it's in Makeconfig.
65998         (move-if-change): Remove, it's in Makeconfig.
66000 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
66002         [BZ #13970]
66003         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
66004         (strtod, strtof, strtold, strtol, strtoul, strtoq)
66005         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
66006         (strtod_l, strtof_l, strtold_l): Remove __wur.
66007         It is not necessarily an error to ignore strtol's return value.
66008         One can reliably look at the stored endptr to decide whether
66009         the number had valid syntax.
66011 2012-04-21  Andreas Jaeger  <aj@suse.de>
66013         [BZ #13739]
66014         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
66016 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
66018         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
66019         * sysdeps/unix/sysv/Versions: Remove file.
66021 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
66023         [BZ #13927]
66024         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66026 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
66028         [BZ #7064]
66029         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
66030         version from __vm86.
66032 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
66034         * sysdeps/unix/common/lxstat.c: Remove file.
66035         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
66037         * sysdeps/unix/sysv/Makefile: Remove file.
66039         * sysdeps/unix/sysv/direct.h: Remove file.
66041         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
66042         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
66043         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
66044         * sysdeps/unix/sysv/bits/signum.h: Likewise.
66045         * sysdeps/unix/sysv/bits/stat.h: Likewise.
66046         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
66047         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
66049         * sysdeps/unix/sysv/setrlimit.c: Remove file.
66051         * sysdeps/unix/xmknod.c: Remove file.
66052         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
66054         * sysdeps/unix/sysv/settimeofday.c: Remove file.
66056         * sysdeps/unix/sysv/i386/time.S: Remove file.
66058         * sysdeps/unix/fxstat.c: Remove file.
66059         * sysdeps/unix/xstat.c: Likewise.
66060         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
66062         * sysdeps/unix/sysv/sigaction.c: Remove file.
66064         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
66065         (sysdep_headers): Remove variable.
66066         [termio.h not in sysdep_headers] (generated): Likewise.
66067         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
66068         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
66069         * sysdeps/unix/sysv/tcdrain.c: Likewise.
66070         * sysdeps/unix/sysv/tcflow.c: Likewise.
66071         * sysdeps/unix/sysv/tcflush.c: Likewise.
66072         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
66073         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
66074         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
66075         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
66076         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
66078         * sysdeps/unix/siglist.c: Remove file.
66080         * sysdeps/unix/getppid.S: Remove file.
66082         * sysdeps/unix/mkdir.c: Remove file.
66083         * sysdeps/unix/rmdir.c: Likewise.
66085 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
66087         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
66088         ERR_MAX value.
66089         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
66090         errlist-compat value.
66092 2012-04-18  David S. Miller  <davem@davemloft.net>
66094         * sysdeps/generic/memcopy.h (reg_char): Delete.
66095         * debug/strcat_chk.c: Use char, not reg_char.
66096         * debug/strcpy_chk.c: Likewise.
66097         * debug/strncat_chk.c: Likewise.
66098         * debug/strncpy_chk.c: Likewise.
66099         * string/memchr.c: Likewise.
66100         * string/memrchr.c: Likewise.
66101         * string/rawmemchr.c: Likewise.
66102         * string/strcat.c: Likewise.
66103         * string/strchr.c: Likewise.
66104         * string/strchrnul.c: Likewise.
66105         * string/strcmp.c: Likewise.
66106         * string/strcpy.c: Likewise.
66107         * string/strncat.c: Likewise.
66108         * string/strncmp.c: Likewise.
66109         * string/strncpy.c: Likewise.
66111 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66113         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
66114         __builtin_memcopy is called when src and dest ranges are known to not
66115         overlap.
66117 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66119         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
66120         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
66121         fwd_align_merge macro call.
66122         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
66123         bwd_align_merge macro call.
66124         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66126 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66128         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
66129         bwd_align_merge macros.
66130         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
66131         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
66132         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66134 2012-04-18  David S. Miller  <davem@davemloft.net>
66136         * sysdeps/sparc/sparc64/memcopy.h: Delete.
66138 2012-04-18  Andreas Jaeger  <aj@suse.de>
66140         [BZ# 6794]
66141         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
66142         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
66143         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66145         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
66146         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
66147         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66149         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
66150         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
66151         Adjust for changed ldbl-128 files.
66153         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
66154         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
66155         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66157 2012-04-17  David S. Miller  <davem@davemloft.net>
66159         * sysdeps/sparc/sparc32/memcopy.h: Delete.
66161 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
66163         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
66164         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
66165         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
66166         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
66167         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
66168         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
66170 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66172         [BZ #6794]
66173         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
66174         * math/libm-test.inc: Add ilogb errno and exception tests.
66175         * math/w_ilogb.c: New file: ilogb wrapper.
66176         * math/w_ilogbf.c: New file: ilogbf wrapper.
66177         * math/w_ilogbl.c: New file: ilogbl wrapper.
66178         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
66179         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
66180         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
66181         exception being thrown with 0.0 as argument.
66182         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
66183         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
66184         exception being thrown with 0.0 as argument.
66185         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
66186         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66187         exception being thrown with 0.0 as argument.
66188         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
66189         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66190         exception being thrown with 0.0 as argument.
66191         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
66192         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
66193         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
66194         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
66195         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
66196         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
66197         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
66198         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
66199         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
66201 2012-04-17  Petr Baudis  <pasky@ucw.cz>
66203         * include/sys/uio.h: Change __vector to __iovec to avoid clash
66204         with altivec.
66206 2012-04-16  Marek Polacek  <polacek@redhat.com>
66208         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
66210 2012-04-16  Marek Polacek  <polacek@redhat.com>
66212         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
66213         operands of fdivp instruction.
66215 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66217         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
66218         * elf/tst-auditmod3b.c: Likewise.
66219         * elf/tst-auditmod4b.c: Likewise.
66220         * elf/tst-auditmod5b.c: Likewise.
66221         * elf/tst-auditmod6b.c: Likewise.
66222         * elf/tst-auditmod6c.c: Likewise.
66223         * elf/tst-auditmod7b.c: Likewise.
66224         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
66225         * sysdeps/x86_64/preconfigure.in: Likewise.
66226         * sysdeps/x86_64/preconfigure: Regenerated.
66228 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66230         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
66231         __ILP32__.
66233 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
66235         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66236         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
66238 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
66240         [BZ #13973]
66241         * locale/iso-639.def: Fix gl language name. Spotted by
66242         Yaron Shahrabani.
66244 2012-04-12  Roland McGrath  <roland@hack.frob.com>
66246         [BZ #2074]
66247         * libio/libio.h (__io_write_fn): Update comment.
66249 2012-04-12  Petr Baudis  <pasky@ucw.cz>
66251         [BZ #2074]
66252         * stdio.texi (Hook Functions): The user provided writer function
66253         is not allowed to return -1.
66255 2012-04-11  David S. Miller  <davem@davemloft.net>
66257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66259 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
66261         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
66262         Add a leading slash to rtkaio.
66264 2012-04-11  Jim Meyering  <meyering@redhat.com>
66266         [BZ #11959]
66267         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
66268         It is not necessarily an error to ignore fwrite's return
66269         value.  One can reliably use ferror to test for errors after
66270         the fact.
66272 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66274         * bits/types.h (__snseconds_t): New type.
66275         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
66277         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
66278         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66279         (__SNSECONDS_T_TYPE): Likewise.
66280         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66281         (__SNSECONDS_T_TYPE): Likewise.
66282         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66283         (__SNSECONDS_T_TYPE): Likewise.
66285 2012-04-10  Andreas Jaeger  <aj@suse.de>
66287         [BZ #2636]
66288         * manual/time.texi (Processor Time): Return type of times is
66289         elapsed real time since an arbitrary point in the past.
66290         (CPU Time): Move CLK_TCK from here...
66291         (Processor Time): ...to here.  Correct description.
66292         * manual/conf.texi (Constants for Sysconf): Correct description of
66293         _SC_CLK_TCK.
66295 2012-04-10  David S. Miller  <davem@davemloft.net>
66297         [BZ #13967]
66298         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
66299         where the is a gap between DT_REL(A) and DT_JMPREL.
66301 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66303         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
66304         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66305         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66307 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66309         * elf/dl-support.c (_dl_inhibit_cache): New variable.
66310         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
66311         (dl_main): Handle --inhibit-cache.
66312         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
66313         _dl_inhibit_cache.
66314         * elf/dl-load.c (_dl_map_object): Use it.
66315         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
66317 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
66319         [BZ #13872]
66320         * sysdeps/i386/fpu/e_powl.S (p78): New object.
66321         (__ieee754_powl): Saturate large exponents rather than testing for
66322         overflow of y*log2(x).
66323         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66324         * math/libm-test.inc (pow_test): Do not permit spurious overflow
66325         exceptions.
66327         [BZ #11521]
66328         * math/s_ctan.c: Include <float.h>.
66329         (__ctan): Avoid internal overflow or cancellation in calculating
66330         denominator.
66331         * math/s_ctanf.c: Likewise.
66332         * math/s_ctanl.c: Likewise.
66333         * math/s_ctanh.c: Likewise.
66334         * math/s_ctanhf.c: Likewise.
66335         * math/s_ctanhl.c: Likewise.
66336         * math/libm-test.inc (ctan_test): Add more tests.
66337         (ctanh_test): Likewise.
66338         * sysdeps/i386/fpu/libm-test-ulps: Update.
66339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66341 2012-04-09  Andreas Jaeger  <aj@suse.de>
66343         [BZ #6894]
66344         * manual/filesys.texi (Directory Entries): Mention that d_namlen
66345         is an optional BSD extension.
66347         [BZ #10254]
66348         * manual/stdio.texi (Opening Streams): Document additional fopen
66349         parameters.
66351 2012-04-09  Roland McGrath  <roland@hack.frob.com>
66353         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
66354         %eax without telling the compiler.
66356 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
66358         [BZ # 13963]
66359         * manual/install.texi: Use sourceware.org.
66361 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
66363         [BZ #13873]
66364         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
66365         (__ieee754_pow): Generate overflow and underflow using huge*huge
66366         and tiny*tiny rather than just returning constant infinity or zero
66367         for large exponents.
66368         * math/libm-test.inc (pow_test): Require overflow exceptions for
66369         applicable cases of large exponents.
66371         [BZ #706]
66372         * sysdeps/i386/fpu/e_pow.S (p10): New object.
66373         (__ieee754_pow): Use iterative multiplication algorithm only for
66374         integer exponents with absolute value below 1024.  Check for odd
66375         integer exponents when using algorithm for real exponents.
66376         * math/libm-test.inc (pow_test): Add more tests.
66377         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66379 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
66381         [BZ #13705]
66382         * math/libm-test.inc (exp_test): Do not allow overflow exception
66383         on underflow test.
66385 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
66387         [BZ #13705]
66388         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
66389         instead of __kernel_standard_f.
66391 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
66393         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
66394         * sysdeps/x86_64/memset_chk.S: Likewise.
66396 2012-04-08  Andreas Jaeger  <aj@suse.de>
66398         [BZ #10153]
66399         * manual/startup.texi (Environment Access): Describe return value
66400         for putenv and setenv.
66402         [BZ #6895]
66403         * manual/filesys.texi (Directory Entries): Add description for
66404         DT_LNK.
66406         [BZ #6890]
66407         * manual/filesys.texi (Directory Entries): Clarify that it's file
66408         system not operating system in the description of DT_UNKNOWN.
66410         [BZ #6578]
66411         * manual/syslog.texi (closelog): Fix reference, it's openlog.
66413 2012-04-08  Stephen Compall  <s11@member.fsf.org>
66415         [BZ #6649]
66416         * manual/llio.texi (Opening and Closing Files): Add cross
66417         reference to explain mode argument.
66419 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
66421         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
66422         * sysdeps/x86_64/memset_chk.S: Likewise.
66424 2012-04-07  David S. Miller  <davem@davemloft.net>
66426         * elf/elf.h (R_SPARC_WDISP10): Define.
66427         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
66428         R_SPARC_SIZE32.
66429         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
66430         R_SPARC_SIZE64 and R_SPARC_H34.
66432 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
66434         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
66435         conditions and remove no longer applicable assertion.
66437 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66439         * bits/byteswap.h: Include <features.h>.
66440         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66441         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66443 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66445         * bits/byteswap.h (__bswap_16): Removed.
66446         Include <bits/byteswap-16.h> to get __bswap_16.
66447         * sysdeps/i386/bits/byteswap.h: Likewise.
66448         * sysdeps/s390/bits/byteswap.h: Likewise.
66449         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66450         * bits/byteswap-16.h: New file.
66451         * sysdeps/i386/bits/byteswap-16.h: Likewise.
66452         * sysdeps/s390/bits/byteswap-16.h: Likewise.
66453         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
66454         * string/Makefile (headers): Add bits/byteswap-16.h.
66456 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66458         [BZ #13895]
66459         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
66460         extra indirection.
66461         * nss/Makefile (tests-static, tests): Add tst-nss-static.
66462         * nss/tst-nss-static.c: New.
66464 2012-04-06  Robert Millan  <rmh@gnu.org>
66466         [BZ #6486]
66467         * manual/llio.texi (File Position Primitive): lseek
66468         refers to WHENCE when it really means OFFSET.
66470 2012-04-06  Andreas Jaeger  <aj@suse.de>
66472         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
66473         strncmp declarations.
66475         * abilist/libc.abilist: Add __poll and __ppoll.
66477 2012-04-05  David S. Miller  <davem@davemloft.net>
66479         * scripts/check-local-headers.sh: Accept a host triplet in the
66480         path matched by the exclude regexp.
66482         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
66483         definition.
66484         * sysdeps/powerpc/powerpc32/dl-machine.h
66485         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
66486         * sysdeps/s390/s390-32/dl-machine.h
66487         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66488         * sysdeps/sparc/sparc32/dl-machine.h
66489         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66490         * sysdeps/sparc/sparc64/dl-machine.h
66491         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66493         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
66494         lazy binding.
66495         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
66496         undefined symbol errors.
66498         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
66499         DT_NEEDED entries.
66501 2012-04-05  Michael Matz  <matz@suse.de>
66503         [BZ #13592]
66504         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
66506 2012-04-05  Andreas Jaeger  <aj@suse.de>
66508         [BZ #13908]
66509         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
66510         comment.
66512 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66514         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
66515         which ROUND is no valid rounding mode.
66517 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66519         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
66520         read again.
66521         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
66523 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66525         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
66526         an exception using FPU order intentionally.
66528 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66530         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
66531         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
66532         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
66533         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
66535 2012-04-05  Simon Josefsson  <simon@josefsson.org>
66537         [BZ #12340]
66538         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
66539         EINVAL when BUFLEN is too smal.
66541 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
66543         [BZ #13553]
66544         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
66545         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
66547 2012-04-03  Andreas Jaeger  <aj@suse.de>
66549         [BZ #13938]
66550         * manual/setjmp.texi (System V contexts): Fix sentence.
66552         [BZ #13926]
66553         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
66554         New macro for this case.
66555         [!__GNUC__] (__bswap_64): New inline function for this case.
66556         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66557         * bits/byteswap.h: Likewise.
66558         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
66559         ull, guard with __GLIBC_HAVE_LONG_LONG.
66561         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
66562         __GLIBC_HAVE_LONG_LONG.
66564         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
66565         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
66567 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66569         [BZ #13691]
66570         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
66571         inptr and inend, rather than using last_ch.
66573 2012-04-02  David S. Miller  <davem@davemloft.net>
66575         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
66576         * stdio-common/printf-parse.h (read_int): Change return type to
66577         'int', return -1 on INT_MAX overflow.
66578         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
66579         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
66580         overflows INT_MAX.  Check for overflow of in-format-string precision
66581         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
66582         SIZE_MAX not INT_MAX for integer overflow test.
66583         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
66584         skip the construct in the format string but do not record anything.
66585         * stdio-common/bug22.c: Adjust to test both width/prevision
66586         INT_MAX overflow as well as total length INT_MAX overflow.  Check
66587         explicitly for proper errno values.
66589 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
66591         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
66592         CHAR_MAX.
66593         * string/test-strcmp.c [! WIDE]: Likewise.
66594         * time/tst-mktime2.c: Likewise for INT_MAX.
66595         * string/test-string.h: #include <sys/param.h> for MIN.
66597         * csu/init-first.c (__libc_init_first): Call __ctype_init.
66598         * sysdeps/i386/init-first.c (init): Likewise.
66599         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
66600         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
66601         * sysdeps/sh/init-first.c (init): Likewise.
66603 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
66605         * po/ru.po: Update from translation team.
66606         * po/vi.po: Likewise.
66608 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66610         * resolv/nss_dns/dns-host.c: Merge copyright years.
66612 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66614         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66615         Optimize memcpy with prefetch if
66616         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
66617         src, dst pointers have unequal 16 byte alignments.
66619 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66621         [BZ #13928]
66622         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
66623         from a CNAME entry and return the minimum ttl for the query.
66624         (gaih_getanswer_slice): Likewise.
66626 2012-03-30  Jeff Law  <law@redhat.com>
66628         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
66629         due to long keys.
66630         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
66631         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
66633         * resolv/nss_dns/dns-host.c: Update copyright year.
66635 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
66637         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
66638         requests to save a system call.  Fix check that all bytes are sent.
66640         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
66641         comments for sendmmsg.
66643 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66645         [BZ #13691]
66646         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
66647         with only 1 character between 0x0041 and 0x01b0.
66648         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
66649         * wcsmbs/tst-mbsnrtowcs.c: New file.
66651 2012-03-29  David S. Miller  <davem@davemloft.net>
66653         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
66654         small copies by hand.
66656 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66658         [BZ #13761]
66659         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
66660         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
66661         group memberships.
66663 2012-03-28  David S. Miller  <davem@davemloft.net>
66665         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
66666         that branches into memcpy.
66667         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
66668         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
66669         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66670         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
66671         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
66672         bits.
66673         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
66674         implementation too.
66675         * sysdeps/sparc/mempcpy.S: New file.
66677         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
66678         the IFUNC routine in the libc case.
66679         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66681         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
66682         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
66683         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
66684         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
66685         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
66686         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
66687         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
66688         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
66690         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
66691         loop to 256 bytes instead of 64 bytes and fix test signedness.
66693         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
66694         * sysdeps/sparc/sparc32/Makefile: rather than here...
66695         * sysdeps/sparc/sparc64/Makefile: and here.
66697 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
66699         * malloc/mallocbug.c: Avoid warnings about unused variables.
66701 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66703         [BZ #13760]
66704         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
66705         in the right place. Discard and retry query if response is
66706         larger than input buffer size.
66708 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
66710         [BZ #369]
66711         [BZ #2678]
66712         [BZ #3866]
66713         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
66714         x for large integer exponent.
66715         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
66716         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
66717         sign of result as needed afterwards.
66718         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
66719         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
66720         result for underflowing pow the same as for overflow.
66721         (__kernel_standard_l): Handle powl overflow and underflow here
66722         rather than calling __kernel_standard.
66723         * math/libm-test.inc (pow_test): Add more tests.
66725         [BZ #3868]
66726         [BZ #13879]
66727         [BZ #13910]
66728         [BZ #13911]
66729         [BZ #13912]
66730         [BZ #13913]
66731         [BZ #13915]
66732         [BZ #13916]
66733         [BZ #13917]
66734         [BZ #13918]
66735         [BZ #13919]
66736         [BZ #13920]
66737         [BZ #13921]
66738         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
66739         * sysdeps/ieee754/k_standard.c: Include <float.h>.
66740         (__kernel_standard_l): New function.
66741         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
66742         __kernel_standard.
66743         * math/w_acosl.c (__acosl): Likewise.
66744         * math/w_asinl.c (__asinl): Likewise.
66745         * math/w_atan2l.c (__atan2l): Likewise.
66746         * math/w_atanhl.c (__atanhl): Likewise.
66747         * math/w_coshl.c (__coshl): Likewise.
66748         * math/w_exp10l.c (__exp10l): Likewise.
66749         * math/w_exp2l.c (__exp2l): Likewise.
66750         * math/w_fmodl.c (__fmodl): Likewise.
66751         * math/w_hypotl.c (__hypotl): Likewise.
66752         * math/w_j0l.c (__j0l, __y0l): Likewise.
66753         * math/w_j1l.c (__j1l, __y1l): Likewise.
66754         * math/w_jnl.c (__jnl, __ynl): Likewise.
66755         * math/w_lgammal.c (__lgammal): Likewise.
66756         * math/w_log10l.c (__log10l): Likewise.
66757         * math/w_log2l.c (__log2l): Likewise.
66758         * math/w_logl.c (__logl): Likewise.
66759         * math/w_powl.c (__powl): Likewise.
66760         * math/w_remainderl.c (__remainderl): Likewise.
66761         * math/w_scalbl.c (sysv_scalbl): Likewise.
66762         * math/w_sinhl.c (__sinhl): Likewise.
66763         * math/w_sqrtl.c (__sqrtl): Likewise.
66764         * math/w_tgammal.c (__tgammal): Likewise.
66765         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
66766         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
66767         * math/libm-test.inc (acos_test): Add more tests.
66768         (acosh_test): Likewise.
66769         (asin_test): Likewise.
66770         (atanh_test): Likewise.
66771         (exp_test): Likewise.
66772         (exp10_test): Likewise.
66773         (exp2_test): Likewise.
66774         (expm1_test): Likewise.
66775         (lgamma_test): Likewise.
66776         (log_test): Likewise.
66777         (log10_test): Likewise.
66778         (log1p_test): Likewise.
66779         (log2_test): Likewise.
66780         (pow_test): Do not allow some spurious overflow exceptions.
66781         (sqrt_test): Add more tests.
66782         (tgamma_test): Likewise.
66783         (y0_test): Likewise.
66784         (y1_test): Likewise.
66785         (yn_test): Likewise.
66787 2012-03-27  Anton Blanchard  <anton@samba.org>
66789         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
66790         MAP_HUGETLB.
66791         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66792         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
66793         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66795 2012-03-27  David S. Miller  <davem@davemloft.net>
66797         * conform/Makefile: Run run-conformtest.sh using $(BASH).
66799         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
66800         have-as-vis3 check.
66802 2012-03-27  Andreas Jaeger  <aj@suse.de>
66804         * sysdeps/x86_64/elf/configure.in: Moved to ...
66805         * sysdeps/x86_64/configure.in: ... here.
66806         * sysdeps/x86_64/elf/start.S: Moved to ...
66807         * sysdeps/x86_64/start.S: ... here.
66808         * sysdeps/x86_64/elf/configure: Delete.
66810         * sysdeps/x86_64/configure.in: Merge contents from
66811         sysdeps/i386/configure.in (without i686 check).
66813         * sysdeps/i386/elf/Versions: Merge into ...
66814         * sysdeps/i386/Versions: ... this.
66815         * sysdeps/i386/elf/Versions: Delete file.
66816         * sysdeps/i386/elf/start.S: Moved to ...
66817         * sysdeps/i386/start.S: ...here.
66818         * sysdeps/i386/elf/configure.in: Merge into...
66819         * sysdeps/i386/configure.in: ...here.
66820         * sysdeps/i386/elf/configure.in: Delete file.
66821         * sysdeps/i386/elf/configure: Delete file.
66823         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
66824         * debug/backtracesyms.c: ... here.
66825         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
66826         * debug/backtracesymsfd.c: ... here.
66827         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
66828         * sysdeps/generic/ifunc-sel.h: ... here.
66830         * sysdeps/unix/i386/start.c: Delete file.
66831         * sysdeps/unix/sparc/start.c: Delete file.
66832         * sysdeps/unix/start.c: Delete file.
66834         * sysdeps/sh/elf/configure.in: Moved to ...
66835         * sysdeps/sh/configure.in: ... here.
66836         * sysdeps/sh/elf/start.S: Moved to ...
66837         * sysdeps/sh/start.S: ... here.
66838         * sysdeps/sh/elf/configure: Delete file.
66840         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
66841         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
66842         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
66843         * sysdeps/powerpc/powerpc64/entry.h: ... here.
66844         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
66845         * sysdeps/powerpc/powerpc64/start.S: here.
66846         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
66847         * sysdeps/powerpc/powerpc64/Makefile: ... this.
66848         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
66849         * sysdeps/powerpc/powerpc64/configure.in: ... this.
66850         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
66852         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
66853         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
66854         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
66855         * sysdeps/powerpc/powerpc32/start.S: ... here.
66856         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
66857         * sysdeps/powerpc/powerpc32/configure.in: ... this.
66858         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
66860         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
66861         * sysdeps/powerpc/ifunc-sel.h: ... here.
66862         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
66863         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
66865         * sysdeps/sparc/elf/configure.in: Moved to ...
66866         * sysdeps/sparc/configure.in: ... here.
66867         * sysdeps/sparc/elf/configure: Delete file.
66868         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
66869         * sysdeps/sparc/sparc32/start.S: ... here.
66870         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
66871         * sysdeps/sparc/sparc64/start.S: ... here.
66872         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
66873         * sysdeps/sparc/sparc32/Makefile: ... this.
66874         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
66875         * sysdeps/sparc/sparc64/Makefile: ... this.
66877         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
66878         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
66879         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
66880         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
66881         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
66882         * sysdeps/s390/s390-32/setjmp.S: ... here.
66883         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
66884         * sysdeps/s390/s390-32/configure.in: ... here.
66885         * sysdeps/s390/s390-32/elf/configure: Delete file.
66886         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
66887         * sysdeps/s390/s390-32/start.S: ... here.
66889         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
66890         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
66891         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
66892         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
66893         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
66894         * sysdeps/s390/s390-64/setjmp.S: ... here.
66895         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
66896         * sysdeps/s390/s390-64/configure.in: ... here
66897         * sysdeps/s390/s390-64/elf/configure: Delete file.
66898         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
66899         * sysdeps/s390/s390-64/start.S: ... here.
66900         * sysdeps/s390/s390-64/elf/configure: Delete.
66902         * configure.in: Remove support for elf directories in sysdeps.
66904         * configure: Regenerated.
66905         * sysdeps/i386/configure: Regenerated.
66906         * sysdeps/powerpc/powerpc32/configure: Regenerated.
66907         * sysdeps/powerpc/powerpc64/configure: Regenerated.
66908         * sysdeps/s390/s390-32/configure: Regenerated.
66909         * sysdeps/s390/s390-64/configure: Regenerated.
66910         * sysdeps/sh/configure: Regenerated.
66911         * sysdeps/sparc/configure: Regenerated.
66912         * sysdeps/x86_64/configure: Regenerated.
66914 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
66916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66918         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
66919         denormal result into account.
66921 2012-03-25  Roland McGrath  <roland@hack.frob.com>
66923         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
66924         Reported by Allan McRae <allan@archlinux.org>.
66926 2012-03-23  Jeff Law  <law@redhat.com>
66928         * nss/getnssent.c (__nss_getent): Fix typo.
66930 2012-03-23  David S. Miller  <davem@davemloft.net>
66932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66934 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
66936         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
66937         to pad to uint64_t for each field.
66938         (dl_tls_index): Replace unsigned long with uint64_t.
66940 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
66941         Paul Pluzhnikov  <ppluzhnikov@google.com>
66943         [BZ #6528]
66944         * grp/Makefile (otherlibs): Don't set it.
66945         * inet/Makefile (otherlibs): Likewise.
66946         * login/Makefile (otherlibs): Likewise.
66947         * nscd/Makefile (otherlibs): Likewise.
66948         * posix/Makefile (otherlibs): Likewise.
66949         * pwd/Makefile (otherlibs): Likewise.
66950         * rt/Makefile (otherlibs): Likewise.
66951         * sunrpc/Makefile (otherlibs): Likewise.
66952         * nss/Makefile (otherlibs): Likewise.
66953         Add libnss_files to routines and static-only-routines.
66954         ($(objpfx)getent): Remove rule.
66955         * resolv/Makefile: Add libnss_dns and libresolv to routines and
66956         static-only-routines.
66958 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66960         [BZ #13892]
66961         * math/s_cexp.c: Include <float.h>.
66962         (__cexp): Handle exp result overflowing not necessarily
66963         overflowing both real and imaginary parts of result.
66964         * math/s_cexpf.c: Likewise.
66965         * math/s_cexpl.c: Likewise.
66966         * math/libm-test.inc (cexp_test): Add more tests.
66967         * sysdeps/i386/fpu/libm-test-ulps: Update.
66968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66970 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66972         * include/link.h (ELFW): New macro.
66973         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
66974         Replace ELF64_R_TYPE with ELFW(R_TYPE).
66976 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66978         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
66979         with uint64_t.
66981 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66983         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
66984         declaration.
66985         (struct La_x32_retval): Likewise.
66987 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66989         * sysdeps/x86_64/preconfigure.in: New file.
66990         * sysdeps/x86_64/preconfigure: New generated file.
66992 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66994         [BZ #13824]
66995         * math/e_exp2l.c: Include <float.h>.
66996         (__ieee754_exp2l): Handle overflow and underflow cases
66997         separately.  Only pass fractional part of argument to
66998         __ieee754_expl.
66999         * math/libm-test.inc (exp2_test): Add more tests.
67001         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
67002         negating x to take absolute value.
67003         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
67004         Likewise.
67005         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
67006         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
67007         Likewise.
67008         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
67009         computing low part if x was negated.
67010         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
67012 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67014         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
67015         la_x32_gnu_pltexit.
67016         (pltexit): Cast int_retval to ptrdiff_t.
67017         * elf/tst-auditmod3b.c: Likewise.
67018         * elf/tst-auditmod4b.c: Likewise.
67019         * elf/tst-auditmod5b.c: Likewise.
67020         * elf/tst-auditmod6b.c: Likewise.
67021         * elf/tst-auditmod6c.c: Likewise.
67022         * elf/tst-auditmod7b.c: Likewise.
67024         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
67025         and x32_gnu_pltexit.
67027         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
67028         __ELF_NATIVE_CLASS.
67029         (La_x32_regs): New macro.
67030         (La_x32_retval): Likewise.
67031         (la_x32_gnu_pltenter): New function prototype.
67032         (la_x32_gnu_pltexit): Likewise.
67034 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
67036         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
67037         exponent.
67039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67041         * configure.in (libc_cv_cc_nofma): Check for option to disable
67042         generation of FMA instructions.
67043         * configure: Regenerate.
67044         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
67045         * sysdeps/ieee754/dbl-64/Makefile: New file.
67046         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
67047         Remove brandred-fma4.
67048         (CFLAGS-brandred-fma4.c): Remove.
67049         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
67050         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
67051         define.
67052         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
67053         define.
67055 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67057         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67058         LLONG_MAX != LONG_MAX.
67059         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67060         (_fitoa_word): Likewise.
67061         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
67062         LLONG_MAX != LONG_MAX.
67063         * stdio-common/_itowa.h: Include <_itoa.h>.
67064         (_itowa_word): Use _ITOA_WORD_TYPE on value.
67065         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
67066         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
67067         only if not defined.
67068         (_ITOA_WORD_TYPE): Likewise.
67069         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67070         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
67072 2012-03-21  David S. Miller  <davem@davemloft.net>
67074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67076 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67078         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
67079         of x86_64 when setting libc_cv_slibdir, libdir and
67080         libc_cv_localedir.
67081         * sysdeps/unix/sysv/linux/configure: Regenerated.
67083 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67085         * manual/lang.texi (Old Varargs): Remove section.
67086         (How Variadic): Update menu.
67087         (va_start): Do not mention varargs.h.
67089 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67090             Joseph Myers  <joseph@codesourcery.com>
67092         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
67093         link test.
67094         * configure: Regenerated.
67096 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67098         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
67099         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
67100         conformtest.pl
67102 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67104         * NOTES: Remove.
67105         * Makefile (files-for-dist): Remove NOTES.
67106         (NOTES): Remove rule.
67107         * README: Don't refer to NOTES.
67108         * manual/creature.texi: Don't include macros.texi.
67109         * manual/intro.texi (creature.texi): Remove comment referring to
67110         NOTES.
67112         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
67113         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
67114         * configure: Regenerated.
67115         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
67116         LIBC_TRY_CC_OPTION.
67117         (libc_cv_as_i686): Likewise.
67118         (libc_cv_cc_avx): Likewise.
67119         (libc_cv_cc_sse2avx): Likewise.
67120         (libc_cv_cc_fma4): Likewise.
67121         (libc_cv_cc_novzeroupper): Likewise.
67122         * sysdeps/i386/configure: Regenerated.
67124         [BZ #13883]
67125         * sysdeps/i386/fpu/s_cexp.S: Remove.
67126         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67127         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67128         * math/libm-test.inc (cexp_test): Add more tests.
67129         * sysdeps/i386/fpu/libm-test-ulps: Update.
67130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67132 2012-03-21  Allan McRae  <allan@archlinux.org>
67134         * timezone/Makefile: Do not install iso3166.tab and zone.tab
67136 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67138         [BZ #13871]
67139         * math/w_exp2.c: Do not include <float.h>.
67140         (o_threshold, u_threshold): Remove.
67141         (__exp2): Calculate result before checking finiteness and calling
67142         __kernel_standard.
67143         * math/w_exp2f.c: Likewise.
67144         * math/w_exp2l.c: Likewise.
67145         * math/libm-test.inc (exp2_test): Require overflow exception for
67146         1e6 input.
67148         [BZ #3866]
67149         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
67150         range of signed 64-bit integers before using fistpll.  Remove
67151         checks for whether integers fit in mantissa bits.
67152         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
67153         the range of signed 32-bit integers before using fistpl.  Remove
67154         checks for whether integers fit in mantissa bits.
67155         * sysdeps/i386/fpu/e_powl.S (p64): New object.
67156         (__ieee754_powl): Test for y outside the range of signed 64-bit
67157         integers before using fistpll.  Reduce 64-bit values to 63-bit
67158         ones as needed.
67159         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
67160         divide-by-zero is raised for zero to large negative powers.
67161         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
67162         (__ieee754_powl): Test for y outside the range of signed 64-bit
67163         integers before using fistpll.  Reduce 64-bit values to 63-bit
67164         ones as needed.
67165         * math/libm-test.inc (pow_test): Add more tests.
67167 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67169         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
67170         <stdio-common/_itoa.h>.
67171         * debug/segfault.c: Likewise.
67172         * elf/dl-cache.c: Likewise.
67173         * elf/dl-minimal.c: Likewise.
67174         * elf/dl-misc.c: Likewise.
67175         * elf/dl-sysdep.c: Likewise.
67176         * elf/dl-version.c: Likewise.
67177         * elf/rtld.c: Likewise.
67178         * hurd/hurdsock.c: Likewise.
67179         * hurd/lookup-retry.c: Likewise.
67180         * malloc/malloc.c: Likewise.
67181         * malloc/mtrace.c: Likewise.
67182         * nscd/nscd_getgr_r.c: Likewise.
67183         * nscd/nscd_getpw_r.c: Likewise.
67184         * nscd/nscd_getserv_r.c: Likewise.
67185         * posix/getopt_init.c: Likewise.
67186         * posix/wordexp.c: Likewise.
67187         * stdio-common/_itoa.c: Likewise.
67188         * stdio-common/printf_fphex.c: Likewise.
67189         * stdio-common/vfprintf.c: Likewise.
67190         * string/_strerror.c: Likewise.
67191         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
67192         * sysdeps/i386/i686/hp-timing.h: Likewise.
67193         * sysdeps/mach/_strerror.c: Likewise.
67194         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
67195         * sysdeps/mach/hurd/sethostid.c: Likewise.
67196         * sysdeps/mach/hurd/xmknodat.c: Likewise.
67197         * sysdeps/mach/xpg-strerror.c: Likewise.
67198         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67199         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67200         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
67201         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
67202         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67203         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
67204         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
67205         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
67206         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
67207         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
67208         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
67209         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
67210         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
67211         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
67212         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
67213         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
67214         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
67215         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
67216         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
67217         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
67218         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
67220         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
67222         * stdio-common/_itoa.h: Moved to ...
67223         * sysdeps/generic/_itoa.h: Here.
67225         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
67227         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
67228         instead of "_itoa.h" and "_itowa.h".
67229         * stdio-common/vfprintf.: Likewise.
67231 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67233         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
67234         <bits/wordsize.h>.
67235         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
67236         (__signbit): Likwise.
67237         (llrintf): Likwise.
67238         (llrint): Likwise.
67240 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67242         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
67243         __WORDSIZE != 64.
67245 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
67247         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
67248         OVERFLOW_EXCEPTION_OK.
67249         * math/libm-test.inc ("Philosophy"): Update comment about
67250         exception testing.
67251         (OVERFLOW_EXCEPTION): Define.
67252         (OVERFLOW_EXCEPTION_OK): Likewise.
67253         (INVALID_EXCEPTION_OK): Renumber.
67254         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67255         (IGNORE_ZERO_INF_SIGN): Likewise.
67256         (test_exceptions): Handle FE_OVERFLOW.
67257         (exp10_test): Expect overflow exceptions.
67258         (exp2_test): Likewise.
67259         (expm1_test): Likewise.
67260         (nextafter_test): Likewise.
67261         (pow_test): Likewise.
67262         (scalbn_test): Likewise.
67263         (scalbln_test): Likewise.
67265 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67267         * sysdeps/x86_64/bits/atomic.h
67268         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
67269         64bit integer.
67270         (atomic_exchange_acq): Likewise.
67271         (__arch_exchange_and_add_body): Likewise.
67272         (__arch_add_body): Likewise.
67273         (atomic_add_negative): Likewise.
67274         (atomic_add_zero): Likewise.
67276 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67278         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
67279         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
67281 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67283         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
67284         Check __x86_64__ instead of __WORDSIZE.
67286 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67288         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
67290 2012-03-19  David S. Miller  <davem@davemloft.net>
67292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67294         * sysdeps/sparc/fpu/fenv_private.h: New file.
67295         * sysdeps/sparc/fpu/math_private.h: Use it.
67296         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
67297         Remove.
67298         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
67299         (libc_feholdexcept_setroundl): Remove.
67300         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
67301         Remove.
67302         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
67303         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
67305 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67307         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
67308         int64_t instead of long int.
67309         (INSERT_WORDS64): Likwise.
67311 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67313         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
67314         _Unwind_GetCFA return to _Unwind_Ptr first.
67316 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
67318         [BZ #13629]
67319         * math/s_clog.c: Include <float.h>.
67320         (__clog): Scale large or subnormal inputs.
67321         * math/s_clogf.c: Likewise.
67322         * math/s_clogl.c: Likewise.
67323         * math/s_clog10.c: Include <float.h>.
67324         (M_LOG10_2): Define.
67325         (__clog10): Scale large or subnormal inputs.
67326         * math/s_clog10f.c: Likewise.
67327         * math/s_clog10l.c: Likewise.
67328         * math/libm-test.inc (clog_test): Add more tests.
67329         (clog10_test): Likewise.
67330         * sysdeps/i386/fpu/libm-test-ulps: Update.
67331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67333         [BZ #11451]
67334         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
67335         x and y.
67336         * math/libm-test.inc (atan2_test): Add another test.
67338         * Makerules (common-objdir-compile): Remove.
67339         * sysdeps/unix/Makefile (config-generated): Do not add
67340         $(unix-generated) to variable.
67341         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
67342         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
67343         Remove rule.
67344         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
67345         Likewise.
67346         [generic bits/local_lim.h] (before-compile): Do not append to
67347         variable.
67348         [generic bits/local_lim.h] (common-generated): Likewise.
67349         [generic sys/param.h] (before-compile): Do not append to variable.
67350         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
67351         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
67352         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
67353         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
67354         include.
67355         [generic sys/param.h] (sys/param.h-includes): Remove variable.
67356         [generic sys/param.h] (sys/param.h-includes): Remove rule.
67357         [generic sys/param.h] ($(addprefix
67358         $(common-objpfx),$(sys/param.h-includes))): Likewise.
67359         [generic sys/param.h] (common-generated): Do not append to
67360         variable.
67361         [generic sys/param.h] (sysdep_headers): Likewise.
67362         [generic bits/errno.h] (before-compile): Do not append to
67363         variable.
67364         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
67365         rule.
67366         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
67367         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
67368         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
67369         [generic bits/errno.h] (common-generated): Do not append to
67370         variable.
67371         [generic bits/ioctls.h] (before-compile): Do not append to
67372         variable.
67373         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
67374         rule.
67375         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
67376         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
67377         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
67378         rule.
67379         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
67380         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
67381         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
67382         [generic bits/ioctls.h] (common-generated): Do not append to
67383         variable.
67384         [generic sys/syscall.h] (syscall.h): Remove variable.
67385         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
67386         rule.
67387         [generic sys/syscall.h] (before-compile): Do not append to
67388         variable.
67389         [generic sys/syscall.h] (common-generated): Likewise.
67390         * sysdeps/unix/errnos-tmpl.c: Remove file.
67391         * sysdeps/unix/errnos.awk: Likewise.
67392         * sysdeps/unix/ioctls-tmpl.c: Likewise.
67393         * sysdeps/unix/ioctls.awk: Likewise.
67394         * sysdeps/unix/mk-local_lim.c: Likewise.
67395         * sysdeps/unix/snarf-ioctls: Likewise.
67397 2012-03-19  Richard Henderson  <rth@twiddle.net>
67399         * sysdeps/i386/fpu/fenv_private.h: New file.
67400         * sysdeps/i386/fpu/math_private.h: Use it.
67401         (math_opt_barrier, math_force_eval): Remove.
67402         (libc_feholdexcept_setround_53bit): Remove.
67403         (libc_feupdateenv_53bit): Remove.
67404         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67405         (math_opt_barrier, math_force_eval): Remove.
67406         (libc_feholdexcept): Remove.
67407         (libc_feholdexcept_setround): Remove.
67408         (libc_fetestexcept, libc_fesetenv): Remove.
67409         (libc_feupdateenv_test): Remove.
67410         (libc_feupdateenv, libc_feholdsetround): Remove.
67411         (libc_feresetround): Remove.
67413         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
67414         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
67416         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
67417         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
67418         (libc_feupdateenv_testl): New.
67419         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
67420         (libc_feupdateenv_testf): New.
67421         (libc_feupdateenv): Use libc_feupdateenv_test.
67422         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
67423         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
67425         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
67426         (libc_feholdsetroundf, libc_feholdsetroundl): New.
67427         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
67428         (libc_feresetround_noex): New.
67429         (libc_feresetround_noexf): New.
67430         (libc_feresetround_noexl): New.
67431         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
67432         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
67433         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
67434         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
67435         SET_RESTORE_ROUND.
67436         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67437         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
67438         (__cos): Likewise.
67439         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
67440         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
67441         SET_RESTORE_ROUND_NOEX.
67442         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
67443         SET_RESTORE_ROUND_NOEXF.
67444         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
67445         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
67446         (libc_feholdsetroundf): New.
67447         (libc_feresetround, libc_feresetroundf): New.
67449         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
67450         (libc_feholdexcept_setround_53bit): Convert from macro to function.
67451         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
67453         * sysdeps/generic/math_private.h: Include <fenv.h>.
67454         (default_libc_feholdexcept): New.
67455         (default_libc_feholdexcept_setround): New.
67456         (default_libc_fesetenv, default_libc_feupdateenv): New.
67457         (libc_feholdexcept): Only define if undefined.
67458         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
67459         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
67460         (libc_feholdexcept_setroundl): Likewise.
67461         (libc_feholdexcept_setround_53bit): Likewise.
67462         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
67463         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
67464         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
67465         (libc_feupdateenv_53bit): Likewise.
67466         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
67467         (libc_feholdexcept): Convert from macro to inline function.
67468         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
67469         (libc_fesetenv, libc_feupdateenv): Likewise.
67471         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
67472         not previously defined.
67473         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
67474         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
67475         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
67476         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
67477         * sysdeps/ieee754/flt-32/math_private.h: New file.
67478         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
67479         math_private.h below SET_FLOAT_WORD.
67480         (__isnan, __isinf_ns, __finite): Remove.
67481         (__isnanf, __isinf_nsf, __finitef): Remove.
67483 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
67485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67487 2012-03-17  David S. Miller  <davem@davemloft.net>
67489         [BZ #6471]
67490         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
67491         for 2.16.
67493 2012-03-16  David S. Miller  <davem@davemloft.net>
67495         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
67496         warnings.
67498         [BZ #6471]
67499         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
67500         properly.
67501         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
67502         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
67503         sysdep_routines when subdir is sysvipc.
67504         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
67505         __getshmlba helper.
67507         * sysdeps/sparc/fpu/libm-test/ulps: Update.
67509 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67511         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
67512         [__LP64__].
67514 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67516         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
67517         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
67518         (__lround): Renamed to ...
67519         (__llround): This.  Replace long int with long long int.
67520         Define lround functions as aliases of llround functions.
67521         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
67523 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67525         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
67526         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
67527         adresses to uintptr_t.  Replace "long int" and "unsigned long
67528         int" with "greg_t" on va_arg.
67530 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67532         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
67533         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
67535         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
67536         Move e_machine check before EI_CLASS check.  Handle x32
67537         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
67538         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
67539         SKIP_EM_IA_64 and include
67540         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
67542         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
67543         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
67544         (add_system_dir): New macro.
67546         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
67547         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
67549 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67551         [BZ #2551]
67552         [BZ #2552]
67553         [BZ #2553]
67554         [BZ #2554]
67555         [BZ #2562]
67556         [BZ #2563]
67557         [BZ #2565]
67558         [BZ #2566]
67559         [BZ #2576]
67560         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
67561         (y0): Likewise.
67562         * math/w_j0f.c (j0f): Likewise.
67563         (y0f): Likewise.
67564         * math/w_j0l.c (__j0l): Likewise.
67565         (__y0l): Likewise.
67566         * math/w_j1.c (j1): Likewise.
67567         (y1): Likewise.
67568         * math/w_j1f.c (j1f): Likewise.
67569         (y1f): Likewise.
67570         * math/w_j1l.c (__j1l): Likewise.
67571         (__y1l): Likewise.
67572         * math/w_jn.c (jn): Likewise.
67573         (yn): Likewise.
67574         * math/w_jnf.c (jnf): Likewise.
67575         (ynf): Likewise.
67576         * math/w_jnl.c (__jnl): Likewise.
67577         (__ynl): Likewise.
67578         * math/libm-test.inc (j0_test): Add more tests.
67579         (j1_test): Likewise.
67580         (jn_test): Likewise.  Add trailing semicolon to existing test.
67581         (y0_test): Likewise.
67582         (y1_test): Likewise.
67583         * sysdeps/i386/fpu/libm-test-ulps: Update.
67584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67586         [BZ #13851]
67587         [BZ #13854]
67588         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
67589         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
67590         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
67591         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
67592         (__tanl): Set errno for infinite argument.
67593         * sysdeps/i386/fpu/mptan.c: Remove.
67594         * sysdeps/i386/fpu/s_tan.S: Likewise.
67595         * sysdeps/i386/fpu/s_tanl.S: Likewise.
67596         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
67597         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
67598         * math/libm-test.inc (tan_test): Add more tests and enable more
67599         tests for double and long double.
67600         * sysdeps/i386/fpu/libm-test-ulps: Update.
67601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67603 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
67605         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
67606         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
67608 2012-03-16  Roland McGrath  <roland@hack.frob.com>
67610         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
67611         * configure.in: Use it for both main tree and add-ons.
67612         * configure: Regenerated.
67614 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67616         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
67618 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67620         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
67621         in comment.
67623         [BZ #13851]
67624         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
67625         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
67626         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
67627         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
67628         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
67629         infinite argument.
67630         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
67631         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
67632         != 0 for prec == 2.
67633         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
67634         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
67635         * sysdeps/i386/fpu/s_cosl.S: Likewise.
67636         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
67637         * sysdeps/i386/fpu/s_sinl.S: Likewise.
67638         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
67639         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
67640         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
67641         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
67642         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
67643         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
67644         * math/libm-test.inc (cos_test): Add more tests and enable more
67645         tests for long double.
67646         (sin_test): Likewise.
67647         (sincos_test): Likewise.
67648         * sysdeps/i386/fpu/libm-test-ulps: Update.
67649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67651 2012-03-16  David S. Miller  <davem@davemloft.net>
67653         * sysdeps/sparc/fpu/math_private.h: New file.
67655 2012-03-15  David S. Miller  <davem@davemloft.net>
67657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
67658         file.
67659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
67660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
67661         file.
67662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
67663         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
67664         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
67665         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
67666         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
67667         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
67668         sysdep routines.
67669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67671         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
67672         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
67674         * sysdeps/sparc/sparc-ifunc.h: New file.
67675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
67676         sparc-ifunc.h
67677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
67679         Likewise.
67680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
67681         Likewise.
67682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
67683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
67684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67686         Likewise.
67687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
67689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
67691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
67692         Likewise.
67693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
67694         Likewise.
67695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
67697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
67698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
67699         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67700         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67701         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
67702         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
67703         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67704         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67705         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
67706         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
67707         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
67708         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
67709         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
67710         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
67711         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
67712         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
67713         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
67714         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
67715         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
67716         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
67717         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
67718         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
67720 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67722         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
67723         scaling.
67724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67726 2012-03-15  Andreas Jaeger  <aj@suse.de>
67728         [BZ #13852]
67729         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
67730         ieee754/flt-32 implementation for sin, cos and sincos.
67731         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
67732         * sysdeps/i386/fpu/s_cosf.S: Likewise.
67733         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
67734         * sysdeps/i386/fpu/s_sinf.S: Likewise.
67735         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
67736         ieee754/flt-32 implementation for tan.
67738         * math/libm-test.inc (cos_test): Enable some large input tests for
67739         float as well
67740         (sin_test): Likewise.
67741         (sincos_test): Likewise.
67742         (tan_test): Add tests for large input.
67744         * sysdeps/i386/fpu/libm-test-ulps: Update.
67746 2012-03-15  Andreas Jaeger  <aj@suse.de>
67748         [BZ #13658]
67749         * math/libm-test.inc (cos_test): Add more test cases.
67750         (sin_test): Likewise.
67751         (sincos_test): Likewise.
67753 2012-03-15  Andreas Jaeger  <aj@suse.de>
67755         [BZ #13837]
67756         * math/libm-test.inc (cos_test): Add a test case for large input
67757         value.
67758         (sin_test): Likewise.
67759         (sincos_test): Likewise.
67761 2012-03-15  Andreas Jaeger  <aj@suse.de>
67762             Joseph Myers  <joseph@codesourcery.com>
67764         [BZ #13658]
67765         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
67766         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
67767         * sysdeps/i386/fpu/branred.c: Likewise.
67768         * sysdeps/i386/fpu/dosincos.c: Likewise.
67769         * sysdeps/i386/fpu/mpa.c: Likewise.
67770         * sysdeps/i386/fpu/s_cos.S: Likewise.
67771         * sysdeps/i386/fpu/s_sin.S: Likewise.
67772         * sysdeps/i386/fpu/s_sincos.S: Likewise.
67773         * sysdeps/i386/fpu/sincos32.c: Likewise.
67775         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
67776         Define.
67777         (libc_feupdateenv_53bit): Define.
67778         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
67779         Define.
67780         (libc_feupdateenv_53bit): Define.
67782         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
67783         53 bit (without extend i386 double precision).
67785         * math/libm-test.inc (sincos_test): Add tests for large input.
67786         (sin): Likewise.
67787         (cos): Likewise.
67789         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
67791 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67795 2012-03-15  David S. Miller  <davem@davemloft.net>
67797         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
67798         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
67799         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
67800         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
67801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
67802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
67803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
67804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
67805         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
67806         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
67807         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
67808         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
67809         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
67810         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
67811         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
67812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
67813         file.
67814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
67815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
67816         file.
67817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
67818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
67819         file.
67820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
67821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
67822         file.
67823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
67824         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
67825         fmin/fmax sysdep routines.
67826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67828 2012-03-14  David S. Miller  <davem@davemloft.net>
67830         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
67831         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
67832         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
67833         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
67834         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
67835         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
67836         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
67837         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
67838         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
67839         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
67840         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
67841         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
67842         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
67843         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
67844         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
67845         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
67846         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
67847         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
67848         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
67849         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
67850         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
67851         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
67852         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
67853         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
67854         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
67855         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
67856         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
67857         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
67858         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
67859         routines.
67860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
67861         file.
67862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
67863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
67864         file.
67865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
67866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
67867         file.
67868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
67869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
67870         file.
67871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
67872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
67873         file.
67874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
67875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
67876         file.
67877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
67878         file.
67879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
67880         file.
67881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
67882         file.
67883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
67884         New file.
67885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
67886         file.
67887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
67888         file.
67889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
67890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
67891         file.
67892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
67893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
67894         file.
67895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
67896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
67897         file.
67898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
67899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
67900         VIS3 routines.
67902         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
67903         New file.
67905         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67907         * sysdeps/sparc/configure.in: New file.
67908         * sysdeps/sparc/configure: Generate.
67909         * configure.in (libc_cv_sparc_as_vis3): Substitute.
67910         * configure: Regenerate.
67911         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
67912         * config.make.in (have-as-vis3): New.
67913         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
67914         available use -Av9d instead of -Av9a.
67915         * sysdeps/sparc/sparc64/Makefile: Likewise.
67916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
67917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
67918         New file.
67919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
67920         file.
67921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
67922         New file.
67923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
67924         file.
67925         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
67926         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
67927         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
67928         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
67929         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
67931         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
67932         fzeros/fnegs to load 0x80000000 into a float register instead of
67933         using the stack.
67934         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
67936 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67938         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67939         bits/syscall.h.
67940         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
67941         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
67942         ($(inst_includedir)/bits/syscall.h): Remove rule.
67943         ($(objpfx)bits/syscall.d): Include instead of
67944         $(objpfx)syscall-list.d.
67945         (generated): Change syscall-list.h and syscall-list.d to
67946         bits/syscall.h and bits/syscall.d.
67948 2012-03-14  Roland McGrath  <roland@hack.frob.com>
67950         [BZ #13846]
67951         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
67953 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67955         [BZ #13841]
67956         * math/s_csqrt.c: Include <float.h>.
67957         (__csqrt): Scale large or subnormal inputs.
67958         * math/s_csqrtf.c: Likewise.
67959         * math/s_csqrtl.c: Likewise.
67960         * math/libm-test.inc (csqrt_test): Add more tests.
67961         * sysdeps/i386/fpu/libm-test-ulps: Update.
67962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67964         [BZ #13840]
67965         * math/libm-test.inc (hypot_test): Add more tests.
67967 2012-03-13  David S. Miller  <davem@davemloft.net>
67969         [BZ #13840]
67970         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
67971         double-precision for the calculation instead of scaling.
67973 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
67975         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
67976         manipulate bits before adding and subtracting TWO52[sx].
67977         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
67978         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
67979         Likewise.
67980         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
67982 2012-03-13  David S. Miller  <davem@davemloft.net>
67984         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
67985         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
67986         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
67987         rtld-global-offsets.h
67988         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67990         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
67991         large parameters.
67993         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
67995         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
67996         'err' in the ifdef scope in which it is actually used.
67998         * nss/nss_db/db-init.c: Include string.h
68000 2012-03-12  David S. Miller  <davem@davemloft.net>
68002         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68003         masking out of the most significant byte of random value used.
68004         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68005         Fix coding style in previous change.
68007         * sysdeps/unix/sysv/linux/kernel-features.h
68008         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
68009         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
68010         expression.
68011         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
68012         later.
68014 2012-03-11  David S. Miller  <davem@davemloft.net>
68016         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68017         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
68018         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
68019         for 'resultvar' otherwise things get truncated on 64-bit.
68021         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68022         Fix masking out of the most significant byte of random value used.
68024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68026 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
68028         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68030 2012-03-09  David S. Miller  <davem@davemloft.net>
68032         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
68033         variables with appropriate CPP guards.
68034         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
68035         from the frame pointer, not the stack pointer.  Correct layout
68036         comments.  Fix test on resulting framesize and the management of
68037         the outregs buffer for pltexit.  Preserve floating point return
68038         values across _dl_call_pltexit call.
68039         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
68040         framesize and the management of the outregs buffer for pltexit.
68041         Preserve floating point return values across _dl_call_pltexit
68042         call.
68043         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
68044         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
68045         (la_sparc64_gnu_pltexit): New functions.
68046         (print_exit): Fix format string for return register value.
68048 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
68050         * sunrpc/Makefile (others): Add rpcgen.
68051         ($(objpfx)rpcgen): Remove special build rule and dependency on
68052         libc.
68053         * sunrpc/rpcgen.c: New file.
68055 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
68057         [BZ #13673]
68058         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
68059         * stdio-common/bug-vfprintf-nargs.c: Likewise.
68060         * sysdeps/i386/crti.S: Likewise.
68061         * sysdeps/i386/crtn.S: Likewise.
68062         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
68063         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
68064         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
68065         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
68066         * sysdeps/sh/crti.S: Likewise.
68067         * sysdeps/sh/crtn.S: Likewise.
68068         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68070         [BZ #13673]
68071         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
68072         with URL.
68073         * locale/programs/locfile-kw.gperf: Likewise.
68074         * locale/programs/charmap-kw.h: Regenerated.
68075         * locale/programs/locfile-kw.h: Likewise.
68077         [BZ #13673]
68078         * intl/plural.y: Replace FSF snail mail address with URL.
68079         * intl/plural.c: Regenerated.
68081 2012-03-09  Richard Henderson  <rth@twiddle.net>
68083         * include/math_private.h: Remove file.
68084         * math/math_private.h: Move file ...
68085         * sysdeps/generic/math_private.h: ... here.
68087         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
68088         * sysdeps/powerpc/fpu/math_private.h: Likewise.
68089         * sysdeps/x86_64/fpu/math_private.h: Likewise.
68091         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
68092         and <math_private.h>.
68093         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68094         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68095         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68096         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68097         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68098         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
68099         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68100         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68101         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68102         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68103         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68104         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68105         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68106         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68107         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68108         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68109         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68110         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68111         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68112         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68113         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68114         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68115         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68116         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68117         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
68118         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68119         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68120         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68121         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68122         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68123         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68124         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68125         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
68126         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
68127         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68128         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68129         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
68130         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68131         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68132         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68133         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
68134         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68135         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68136         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
68137         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
68138         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68139         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
68140         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
68141         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
68142         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68143         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
68144         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
68145         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
68146         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68147         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
68148         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68149         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68150         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
68151         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
68152         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
68153         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68154         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
68155         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68156         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68157         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
68158         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68159         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68160         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68161         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
68162         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
68163         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
68164         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68165         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
68166         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68167         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
68168         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
68169         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
68170         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68171         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
68172         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
68173         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
68174         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
68175         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
68176         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68177         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
68178         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
68179         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
68180         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
68181         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68182         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68183         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68184         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68185         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68186         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68187         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68188         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68189         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68190         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68191         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68192         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68193         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68194         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68195         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68196         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68197         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68198         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68199         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68200         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68201         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68202         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68203         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68204         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68205         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68206         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68207         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
68208         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68209         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68210         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68211         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68212         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
68213         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68214         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68215         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68216         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
68217         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68218         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68219         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68220         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
68221         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68222         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
68223         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
68224         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
68225         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68226         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
68227         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
68228         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68229         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68230         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68231         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
68232         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68233         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68234         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68235         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68236         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
68237         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
68238         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68239         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68240         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68241         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
68242         * sysdeps/ieee754/k_standard.c: Likewise.
68243         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68244         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68245         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68246         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68247         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68248         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68249         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68250         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68251         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68252         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68253         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68254         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68255         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68256         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68257         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68258         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68259         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
68260         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68261         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68262         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
68263         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
68264         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
68265         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68266         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68267         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
68268         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
68269         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68270         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68271         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68272         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68273         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
68274         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68275         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68276         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68277         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
68278         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68279         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68280         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
68281         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
68282         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68283         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
68284         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
68285         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
68286         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68287         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
68288         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
68289         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68290         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68291         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68292         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68293         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68294         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
68295         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68296         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
68297         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68298         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68299         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
68300         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
68301         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68302         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68303         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68304         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
68305         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68306         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68307         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68308         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68309         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68310         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68311         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68312         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68313         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68314         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68315         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68316         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68317         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68318         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68319         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
68320         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68321         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68322         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
68323         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
68324         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
68325         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68326         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68327         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
68328         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68329         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68330         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
68331         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68332         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68333         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
68334         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68335         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
68336         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
68337         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68338         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68339         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
68340         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
68341         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
68342         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
68343         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68344         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68345         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68346         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68347         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
68348         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68349         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68350         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
68351         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
68352         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68353         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68354         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68355         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68356         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68357         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68358         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68359         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68360         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68361         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68362         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68363         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68364         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68365         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68366         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68367         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68368         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
68369         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68370         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68371         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68372         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68373         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68374         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68375         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68376         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
68377         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68378         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68379         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
68380         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
68381         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68382         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
68383         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
68384         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68385         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
68386         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
68387         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68388         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68389         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68390         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68391         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68392         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
68393         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68394         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
68395         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68396         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68397         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
68398         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
68399         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68400         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68401         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68402         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
68403         * sysdeps/ieee754/s_lib_version.c: Likewise.
68404         * sysdeps/ieee754/s_matherr.c: Likewise.
68405         * sysdeps/ieee754/s_signgam.c: Likewise.
68406         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68407         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68408         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
68409         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
68410         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
68411         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68412         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
68413         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
68414         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
68415         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
68416         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
68417         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
68418         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68419         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68420         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
68421         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
68422         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68423         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
68424         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68425         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68426         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68428 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68430         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
68431         * sunrpc/rpc_main.c: Likewise.
68432         * sunrpc/rpc_svcout.c: Likewise.
68434 2012-03-09  David S. Miller  <davem@davemloft.net>
68436         * include/math_private.h: New file.
68438 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68440         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
68441         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
68442         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
68443         from <bits/socket_type.h>.
68444         (enum __socket_type): Don't define here.
68445         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
68446         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68447         bits/socket_type.h.
68449         [BZ #13566]
68450         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
68451         checking __USE_GNU.
68453         * Makerules ($(inst_includedir)/%.h): New rule.
68454         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
68455         (install-others): Remove variable setting.
68456         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
68458 2012-03-08  Richard Henderson  <rth@twiddle.net>
68460         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
68461         from macro to inline function; merge with the
68462         !__LIBC_INTERNAL_MATH_INLINES version.
68463         (__ieee754_sqrtf): Likewise.
68465         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
68466         to inline function.
68467         (__rintf, __floor, __floorf): Likewise.
68469         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
68470         macro to inline function.
68471         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
68473         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
68474         not <math/math_private.h>.
68476 2012-03-08  David S. Miller  <davem@davemloft.net>
68478         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
68479         copyright year.
68480         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
68482 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
68484         * resolv/gai_misc.c (handle_requests): Fix struct timespec
68485         normalization.
68486         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
68487         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
68489 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
68491         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
68492         be defined individually, they must be defined as a block.  Define
68493         S for printing a string instead of hidint the different by using a
68494         macro for adding the 'l'.
68495         * stdio-common/tst-fphex-wide.c: Adjust.
68497 2012-03-07  Marek Polacek  <polacek@redhat.com>
68499         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
68501 2012-03-08  Marek Polacek  <polacek@redhat.com>
68503         [BZ #13806]
68504         * stdio-common/Makefile (tests): Add tst-fphex-wide.
68505         * stdio-common/tst-fphex.c: Define a few macros to make the
68506         test reusable.  Use them.
68507         * stdio-common/tst-fphex-wide.c: New file.
68509 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
68511         [BZ #6911]
68512         * manual/macros.texi (gnusystems): New macro.
68513         (nongnusystems): Likewise.
68514         (gnulinuxhurdsystems): Likewise.
68515         (gnuhurdsystems): Likewise..
68516         (gnulinuxsystems): Likewise.
68517         * manual/charset.texi: Use new macros or @theglibc{} to refer to
68518         variants of the GNU system, not "GNU system".
68519         * manual/conf.texi: Likewise.
68520         * manual/errno.texi: Likewise.  Update example of errno macro
68521         expansion.
68522         * manual/filesys.texi: Likewise.
68523         (getumask): Document as specific to GNU/Hurd.
68524         * manual/install.texi: Likewise.  Reword some references to
68525         GNU/Linux.
68526         * manual/intro.texi: Likewise.
68527         * manual/io.texi: Likewise.
68528         (File Name Portability): Detail which constraints are inapplicable
68529         to all GNU systems and which are only inapplicable to GNU/Hurd.
68530         * manual/job.texi: Likewise.
68531         * manual/llio.texi: Likewise.
68532         (O_NOCTTY): Document as present on GNU/Linux.
68533         * manual/maint.texi: Likewise.
68534         * manual/memory.texi: Likewise.
68535         * manual/pattern.texi: Likewise.
68536         * manual/pipe.texi: Likewise.
68537         * manual/process.texi: Likewise.
68538         * manual/resource.texi: Likewise.
68539         (RUSAGE_CHILDREN): Remove statement about specifying a particular
68540         child on GNU/Hurd.
68541         * manual/setjmp.texi: Likewise.
68542         * manual/signal.texi: Likewise.
68543         * manual/startup.texi: Likewise.
68544         * manual/stdio.texi: Likewise.
68545         * manual/terminal.texi: Likewise.
68546         (ONLCR): Document as POSIX.
68547         (OXTABS): Document availability on GNU/Linux as XTABS.
68548         (ONOEOT): Document availability separately from other bits.
68549         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
68550         * manual/time.texi: Likewise.
68551         * manual/users.texi: Likewise.
68552         * INSTALL: Regenerated.
68553         * sysdeps/gnu/errlist.c: Regenerated.
68555         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
68556         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
68557         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
68558         puts.
68559         * configure: Regenerated.
68561 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
68563         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
68564         default includes instead of AC_HEADER_CHECK.
68565         * sysdeps/i386/configure: Regenerated.
68567         [BZ #10716]
68568         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
68569         * math/s_cacoshf.c (__cacoshf): Likewise.
68570         * math/s_cacoshl.c (__cacoshl): Likewise.
68571         * math/s_casinh.c (__casinh): Set signs of result from argument.
68572         * math/s_casinhf.c (__casinhf): Likewise.
68573         * math/s_casinhl.c (__casinhl): Likewise.
68574         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
68575         (casinh_test): Add more tests.
68576         * sysdeps/i386/fpu/libm-test-ulps: Update.
68577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68579 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
68581         * po/zh_TW.po: Update from translation team.
68583         * login/Makefile (distribute): Remove variable.
68584         * catgets/Makefile: Likewise.
68585         * mach/Makefile: Likewise.
68586         * malloc/Makefile: Likewise.
68587         * misc/Makefile: Likewise.
68588         * iconv/Makefile: Likewise.
68589         * nscd/Makefile: Likewise.
68590         * hurd/Makefile: Likewise.
68591         * manual/Makefile: Likewise.
68592         * locale/Makefile: Likewise.
68593         * intl/Makefile: Likewise.
68594         * conform/Makefile: Likewise.
68595         * nss/Makefile: Likewise.
68596         * time/Makefile: Likewise.
68597         * soft-fp/Makefile: Likewise.
68598         * dirent/Makefile: Likewise.
68599         * gmon/Makefile: Likewise.
68600         * po/Makefile: Likewise.
68601         * rt/Makefile: Likewise.
68602         * socket/Makefile: Likewise.
68603         * math/Makefile: Likewise.
68604         * signal/Makefile: Likewise.
68605         * debug/Makefile: Likewise.
68606         * elf/Makefile: Likewise.
68607         * timezone/Makefile: Likewise.
68608         * stdlib/Makefile: Likewise.
68609         * iconvdata/Makefile: Likewise.
68610         * sunrpc/Makefile: Likewise.
68611         * io/Makefile: Likewise.
68612         * argp/Makefile: Likewise.
68613         * inet/Makefile: Likewise.
68614         * hesiod/Makefile: Likewise.
68615         * grp/Makefile: Likewise.
68616         * csu/Makefile: Likewise.
68617         * wctype/Makefile: Likewise.
68618         * crypt/Makefile: Likewise.
68619         * libio/Makefile: Likewise.
68620         * string/Makefile: Likewise.
68621         * nis/Makefile: Likewise.
68622         * resolv/Makefile: Likewise.
68623         * stdio-common/Makefile: Likewise.
68624         * wcsmbs/Makefile: Likewise.
68625         * dlfcn/Makefile: Likewise.
68626         * posix/Makefile: Likewise.
68628         [BZ #6959]
68629         * timezone/Makefile: Don't install timezone files, just the programs
68630         and scripts.
68632 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
68634         * nss/databases.def: Add missing gshadow entry.
68636         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
68638 2012-03-06  Marek Polacek  <polacek@redhat.com>
68640         [BZ #13726]
68641         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
68642         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
68643         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
68644         * stdio-common/tst-long-dbl-fphex.c: New file.
68646 2012-03-06  David S. Miller  <davem@davemloft.net>
68648         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68649         (set_obp_int): New function.
68650         (get_obp_int): New function.
68651         (__get_clockfreq_via_dev_openprom): Likewise.
68652         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
68653         Avoid unused variable warnings on 'val' and use builtin_expect.
68654         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
68655         __builtin_expect.
68656         (INLINE_CLONE_SYSCALL): Likewise.
68658 2012-03-05  David S. Miller  <davem@davemloft.net>
68660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68662 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
68664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68666         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
68667         only for |x| >= 40.
68668         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68670 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
68672         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
68673         Replace gettimeofday with __vdso_gettimeofday.
68675         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68676         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
68677         __vdso_clock_gettime and __vdso_getcpu.
68679         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
68680         time with __vdso_time.
68682 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68684         * manual/lang.texi (size_t): Note types to which size_t may be
68685         equivalent with the GNU C Library, but do not describe when
68686         differences between them are significant.
68688 2012-03-05  Andreas Jaeger  <aj@suse.de>
68690         * sysdeps/i386/fpu/libm-test-ulps: Update.
68692 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68694         [BZ #3976]
68695         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
68696         (__ieee754_pow): Save and restore rounding mode and use
68697         round-to-nearest for main computations.
68698         * math/libm-test.inc (pow_test_tonearest): New function.
68699         (pow_test_towardzero): Likewise.
68700         (pow_test_downward): Likewise.
68701         (pow_test_upward): Likewise.
68702         (main): Call the new functions.
68703         * sysdeps/i386/fpu/libm-test-ulps: Update.
68704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68706         [BZ #3976]
68707         * math/libm-test.inc (cosh_test_tonearest): New function.
68708         (cosh_test_towardzero): Likewise.
68709         (cosh_test_downward): Likewise.
68710         (cosh_test_upward): Likewise.
68711         (sinh_test_tonearest): Likewise.
68712         (sinh_test_towardzero): Likewise.
68713         (sinh_test_downward): Likewise.
68714         (sinh_test_upward): Likewise.
68715         (main): Call the new functions.
68716         * sysdeps/i386/fpu/libm-test-ulps: Update.
68717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68719 2012-03-05  Tom de Vries  <tom@codesourcery.com>
68721         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
68722         default stack guard is set in last bytes.
68723         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
68725 2012-03-05  Kees Cook  <keescook@chromium.org>
68727         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
68729         [BZ #13656]
68730         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
68731         possibly allocate from heap instead of stack.
68732         * stdio-common/bug-vfprintf-nargs.c: New file.
68733         * stdio-common/Makefile (tests): Add nargs overflow test.
68735 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
68737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68739 2012-03-03  Marek Polacek  <polacek@redhat.com>
68741         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
68742         * math/math_private.h: Likewise.
68743         * stdlib/tst-strtod.c: Likewise.
68744         * sysdeps/i386/i486/bits/atomic.h: Likewise.
68745         * sysdeps/x86_64/bits/atomic.h: Likewise.
68747 2012-03-02  David S. Miller  <davem@davemloft.net>
68749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
68750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
68751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
68752         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
68753         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
68754         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
68755         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
68756         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
68758 2012-03-02  Roland McGrath  <roland@hack.frob.com>
68760         [BZ #13792]
68761         * manual/examples/README: New file, says the example source files
68762         can be used under GPL>=2.
68763         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
68764         line containing just "*/".
68765         * manual/examples/add.c: Add copyright header (GPL>=2).
68766         * manual/examples/argp-ex1.c: Likewise.
68767         * manual/examples/argp-ex2.c: Likewise.
68768         * manual/examples/argp-ex3.c: Likewise.
68769         * manual/examples/argp-ex4.c: Likewise.
68770         * manual/examples/atexit.c: Likewise.
68771         * manual/examples/db.c: Likewise.
68772         * manual/examples/dir.c: Likewise.
68773         * manual/examples/dir2.c: Likewise.
68774         * manual/examples/execinfo.c: Likewise.
68775         * manual/examples/filecli.c: Likewise.
68776         * manual/examples/filesrv.c: Likewise.
68777         * manual/examples/fmtmsgexpl.c: Likewise.
68778         * manual/examples/genpass.c: Likewise.
68779         * manual/examples/inetcli.c: Likewise.
68780         * manual/examples/inetsrv.c: Likewise.
68781         * manual/examples/isockad.c: Likewise.
68782         * manual/examples/longopt.c: Likewise.
68783         * manual/examples/memopen.c: Likewise.
68784         * manual/examples/memstrm.c: Likewise.
68785         * manual/examples/mkfsock.c: Likewise.
68786         * manual/examples/mkisock.c: Likewise.
68787         * manual/examples/mygetpass.c: Likewise.
68788         * manual/examples/pipe.c: Likewise.
68789         * manual/examples/popen.c: Likewise.
68790         * manual/examples/rprintf.c: Likewise.
68791         * manual/examples/search.c: Likewise.
68792         * manual/examples/select.c: Likewise.
68793         * manual/examples/setjmp.c: Likewise.
68794         * manual/examples/sigh1.c: Likewise.
68795         * manual/examples/sigusr.c: Likewise.
68796         * manual/examples/stpcpy.c: Likewise.
68797         * manual/examples/strdupa.c: Likewise.
68798         * manual/examples/strftim.c: Likewise.
68799         * manual/examples/strncat.c: Likewise.
68800         * manual/examples/subopt.c: Likewise.
68801         * manual/examples/swapcontext.c: Likewise.
68802         * manual/examples/termios.c: Likewise.
68803         * manual/examples/testopt.c: Likewise.
68804         * manual/examples/testpass.c: Likewise.
68805         * manual/examples/timeval_subtract.c: Likewise.
68807         [BZ #13792]
68808         * manual/time.texi (Elapsed Time): Move timeval_subtract example
68809         function to ...
68810         * manual/timeval_subtract.c.texi: ... here, new file.
68812 2012-03-02  David S. Miller  <davem@davemloft.net>
68814         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
68816 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
68818         [BZ #3976]
68819         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
68820         (__sin): Save and restore rounding mode and use round-to-nearest
68821         for all computations.
68822         (__cos): Save and restore rounding mode and use round-to-nearest
68823         for all computations.
68824         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
68825         <fenv.h>.
68826         (tan): Save and restore rounding mode and use round-to-nearest for
68827         all computations.
68828         * math/libm-test.inc (cos_test_tonearest): New function.
68829         (cos_test_towardzero): Likewise.
68830         (cos_test_downward): Likewise.
68831         (cos_test_upward): Likewise.
68832         (sin_test_tonearest): Likewise.
68833         (sin_test_towardzero): Likewise.
68834         (sin_test_downward): Likewise.
68835         (sin_test_upward): Likewise.
68836         (tan_test_tonearest): Likewise.
68837         (tan_test_towardzero): Likewise.
68838         (tan_test_downward): Likewise.
68839         (tan_test_upward): Likewise.
68840         (main): Call the new functions.
68841         * sysdeps/i386/fpu/libm-test-ulps: Update.
68842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68844         [BZ #10135]
68845         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
68846         small n, then large n, before computing and testing k+n.
68847         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
68848         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
68849         Likewise.
68850         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
68851         Likewise.
68852         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
68853         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
68854         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
68855         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
68856         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
68857         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
68858         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
68859         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
68860         * math/libm-test.inc (scalbn_test): Add more tests.
68861         (scalbln_test): Likewise.
68863         * manual/filesys.texi (mode_t): Describe constraints on size and
68864         signedness, not exact equivalence to a particular type.
68865         (ino_t): Likewise.
68866         (ino64_t): Likewise.
68867         (dev_t): Likewise.
68868         (nlink_t): Likewise.
68869         (blkcnt_t): Likewise.
68870         (blkcnt64_t): Likewise.
68871         * manual/llio.texi (off_t): Likewise.
68873         [BZ #3976]
68874         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
68875         (__ieee754_exp): Save and restore rounding mode and use
68876         round-to-nearest for all computations.
68877         * math/libm-test.inc (exp_test_tonearest): New function.
68878         (exp_test_towardzero): Likewise.
68879         (exp_test_downward): Likewise.
68880         (exp_test_upward): Likewise.
68881         (main): Call the new functions.
68882         * sysdeps/i386/fpu/libm-test-ulps: Update.
68883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68885 2012-03-01  Chris Demetriou  <cgd@google.com>
68887         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
68888         have predictable order.
68890 2012-03-01  David S. Miller  <davem@davemloft.net>
68892         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
68894         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
68895         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
68896         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
68897         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
68899         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
68900         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
68901         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
68902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
68903         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
68904         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
68905         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
68906         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
68907         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
68909         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68911         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
68912         * sysdeps/sparc/fpu/libm-test-ulps: to here.
68913         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
68915         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
68916         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68917         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68918         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
68919         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
68920         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
68921         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
68922         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68923         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68924         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
68925         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
68926         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68927         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68928         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68929         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68930         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68931         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
68932         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
68933         * sysdeps/sparc/elf/configure: Regenerated.
68935 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
68937         * configure.in (AS, LD): Require binutils 2.20 or later.
68938         * configure: Regenerated.
68939         * manual/install.texi (Tools for Compilation): Give binutils 2.20
68940         as required minimum version.
68941         * INSTALL: Regenerated.
68943         [BZ #2541]
68944         [BZ #4108]
68945         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
68946         before squaring exponent.
68947         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
68948         bottom long double and 27 bits of top long double before squaring
68949         exponent.
68950         * math/libm-test.inc (erfc_test): Add more tests.
68951         * sysdeps/i386/fpu/libm-test-ulps: Update.
68952         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68955 2012-03-01  Kai Tietz  <ktietz@redhat.com>
68957         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
68958         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
68959         containing bit-fields.
68960         * soft-fp/extended.h (_FP_UNION_E): Likewise.
68961         * soft-fp/single.h (_FP_UNION_S): Likewise.
68962         * soft-fp/double.h (_FP_UNION_D): Likewise.
68964 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68966         [BZ #13786]
68967         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
68968         not include ../strcmp.S.
68969         [USE_AS_STRNCASECMP_L]: Likewise.
68970         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
68971         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
68972         * sysdeps/i386/i686/multiarch/strncase_l-c.c
68973         (__strncasecmp_l_ia32): Define as alias to
68974         __strncasecmp_l_nonascii.
68976         [BZ #5794]
68977         * math/libm-test.inc (expm1_test): Add test for bug 5794.
68978         * sysdeps/i386/fpu/libm-test-ulps: Update.
68979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68981         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
68982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68984 2012-02-29  Jeff Law  <law@redhat.com>
68986         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
68987         out of bounds read.
68989 2012-02-29  Marek Polacek  <polacek@redhat.com>
68991         [BZ #13706]
68992         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
68993         * elf/Makefile: Add rules to run tst-unused-dep.out.
68995 2012-02-28  David S. Miller  <davem@davemloft.net>
68997         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
68998         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
68999         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
69000         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
69001         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
69002         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
69004 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69006         * math/libm-test.inc (llround_test): Move one test from
69007         lround_test.  Use TEST_f_L in moved test.
69008         (lround_test): Move misplaced test to llround_test.  Add testcase
69009         from bug 2561.
69011 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
69013         * sysdeps/x86_64/fpu/e_expf.S: New file.
69014         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
69016 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
69018         [BZ #13637]
69019         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
69020         of remain_len that may cause incomplete multi-byte character and
69021         false match.
69022         * posix/bug-regex33.c: New file.
69023         * posix/Makefile (tests): Add bug-regex33.
69025 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
69027         * manual/macros.texi: New file.
69028         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
69029         * manual/libc.texinfo: Include macros.texi.
69030         * manual/creatute.texi: Likewise.
69031         * manual/install.texi: Likewise.
69032         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
69033         @glibcadj{} in references to the GNU C Library.
69034         * manual/charset.texi: Likewise.
69035         * manual/conf.texi: Likewise.
69036         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
69037         when not using those macros.
69038         * manual/creature.texi: Likewise.
69039         * manual/crypt.texi: Likewise.
69040         * manual/errno.texi: Likewise.
69041         * manual/filesys.texi: Likewise.
69042         * manual/header.texi: Likewise.
69043         * manual/install.texi: Likewise.
69044         * manual/intro.texi: Likewise.
69045         * manual/io.texi: Likewise.
69046         * manual/job.texi: Likewise.
69047         * manual/lang.texi: Likewise.
69048         * manual/libc.texiinfo: Likewise.
69049         * manual/llio.texi: Likewise.
69050         * manual/locale.texi: Likewise.
69051         * manual/maint.texi: Likewise.
69052         * manual/math.texi: Likewise.
69053         * manual/memory.texi: Likewise.
69054         * manual/message.texi: Likewise.
69055         * manual/nss.texi: Likewise.
69056         * manual/pattern.texi: Likewise.
69057         * manual/process.texi: Likewise.
69058         * manual/resource.texi: Likewise.
69059         * manual/search.texi: Likewise.
69060         * manual/setjmp.texi: Likewise.
69061         * manual/signal.texi: Likewise.
69062         * manual/socket.texi: Likewise.
69063         * manual/startup.texi: Likewise.
69064         * manual/stdio.texi: Likewise.
69065         * manual/string.texi: Likewise.
69066         * manual/sysinfo.texi: Likewise.
69067         * manual/syslog.texi: Likewise.
69068         * manual/terminal.texi: Likewise.
69069         * manual/time.texi: Likewise.
69070         * manual/users.texi: Likewise.
69071         * INSTALL: Regenerated.
69072         * NOTES: Regenerated.
69073         * sysdeps/gnu/errlist.c: Regenerated.
69075 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
69077         * include/dirent.h: Include <dirstream.h> before
69078         <dirent/dirent.h>.
69080 2012-02-28  David S. Miller  <davem@davemloft.net>
69082         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
69083         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
69084         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
69085         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
69087 2012-02-27  David S. Miller  <davem@davemloft.net>
69089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
69090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
69091         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
69092         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
69094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
69095         frame pointer instead of stack pointer relative arg slot.
69096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69097         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69098         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69100 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
69102         [BZ #3992]
69103         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
69105 2012-02-27  David S. Miller  <davem@davemloft.net>
69107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
69108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
69111         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69112         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69113         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
69114         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
69116 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
69118         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
69119         later.  Allow versions 5-9.
69120         * configure: Regenerated.
69121         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
69122         required minimum version and 4.6 as recommended version.  Do not
69123         mention bugs in GCC 2.7 and 2.8.
69124         * INSTALL: Regenerated.
69126 2012-02-27  David S. Miller  <davem@davemloft.net>
69128         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
69129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
69130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
69131         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
69132         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
69133         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
69134         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
69135         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
69137         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
69138         manipulate bits before adding and subtracting TWO112[sx].
69139         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
69141 2012-02-27  Roland McGrath  <roland@hack.frob.com>
69143         [BZ #13775]
69144         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
69145         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
69146         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
69147         being in POSIX, because they are in 1003.1-2008.
69149         * rt/tst-aio.c: Include <fcntl.h>.
69150         * rt/tst-aio7.c: Likewise.
69151         * rt/tst-aio64.c: Likewise.
69153         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
69155 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
69157         * manual/install.texi (--with-headers): Describe headers as
69158         interface headers, not private headers.
69159         (Specific advice for GNU/Linux systems): Describe use of headers
69160         from "make headers_install", not private headers from older
69161         kernels.
69162         * INSTALL: Regenerated.
69163         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
69164         Change to 2.6.19.
69165         * sysdeps/unix/sysv/linux/configure: Regenerated.
69167         * manual/llio.texi (fclean): Remove documentation.
69169         * manual/Makefile (libc-texi-generated): New variable.  Include
69170         version.texi.
69171         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
69172         $(libc-texi-generated), not duplicated list of files.
69173         (version.texi, stamp-version): New rules.
69174         (realclean): Remove $(libc-texi-generated), not individual files
69175         from that list.  Do not remove dir-add.texinfo.
69176         * manual/libc.texinfo: Comment out uses of edition numbers and
69177         references to printed manual.  Remove last-updated dates.
69178         (EDITION): Comment out.
69179         (ISBN): Likewise.
69180         (VERSION, UPDATED): Remove.
69181         (version.texi): Include.
69183 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
69185         * sysdeps/posix/spawni.c: Include <signal.h>.
69186         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
69187         * sysdeps/pthread/aio_fsync.c: Likewise.
69189 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
69191         * conform/Makefile (tests): Run only when not cross-compiling and
69192         when fast-check is not defined.
69194         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
69195         * conform/data/limits.h-data: Fixes for POSIX2008.
69196         * conform/run-conformtest.sh: Run all tests.
69197         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
69198         headers.
69199         * include/bits/dlfcn.h: Likewise.
69200         * include/langinfo.h: Likewise.
69201         * include/monetary.h: Likewise.
69202         * include/sys/poll.h: Likewise.
69204         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
69205         for __USE_GNU.
69206         * posix/spawn.h: Define __need_sigset_t.
69207         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
69208         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
69209         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
69210         to get sigevent_t only.
69211         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
69212         only for __USE_GNU.
69213         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69214         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69215         process_vm_writev only for __USE_GNU.
69216         * termios/termios.h: Declare tcgetsid also for POSIX2008.
69218         * conform/Makefile: For now ignore errors from run-conformtest.
69219         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
69220         POSIX to avoid namespace pollution.  Don't prepend headers.
69221         * conform/data/aio.h-data: Fixes for POSIX testing.
69222         * conform/data/fcntl.h-data: Likewise.
69223         * conform/data/glob.h-data: Likewise.
69224         * conform/data/grp.h-data: Likewise.
69225         * conform/data/pthread.h-data: Likewise.
69226         * conform/data/pwd.h-data: Likewise.
69227         * conform/data/signal.h-data: Likewise.
69228         * conform/data/spawn.h-data: Likewise.
69229         * conform/data/stdio.h-data: Likewise.
69230         * conform/data/stdlib.h-data: Likewise.
69231         * conform/data/stropts.h-data: Likewise.
69232         * conform/data/sys/mman.h-data: Likewise.
69233         * conform/data/sys/stat.h-data: Likewise.
69234         * conform/data/sys/types.h-data: Likewise.
69235         * conform/data/sys/wait.h-data: Likewise.
69236         * conform/data/time.h-data: Likewise.
69237         * conform/data/unistd.h-data: Likewise.
69238         * conform/data/utime.h-data: Likewise.
69240         * io/sys/stat.h: fchmod was always in POSIX.
69241         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
69242         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
69243         * rt/aio.h: Define __need_timespec before including <time.h>.
69244         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
69245         struct.  Add forward declaration of pthread_attr_t and use it in
69246         sigevent.
69247         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69248         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69249         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
69250         always remove CLK_TCK definition.
69252 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
69254         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
69256 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
69258         * conform/run-conformtest.sh: New file.
69259         * conform/Makefile: Run run-conformtest for tests.
69260         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
69261         support.
69263         * conform/data/uchar.h-data: New file.
69264         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
69265         * conform/data/arpa/inet.h-data: Likewise.
69266         * conform/data/assert.h-data: Likewise.
69267         * conform/data/complex.h-data: Likewise.
69268         * conform/data/cpio.h-data: Likewise.
69269         * conform/data/ctype.h-data: Likewise.
69270         * conform/data/dirent.h-data: Likewise.
69271         * conform/data/dlfcn.h-data: Likewise.
69272         * conform/data/errno.h-data: Likewise.
69273         * conform/data/fcntl.h-data: Likewise.
69274         * conform/data/float.h-data: Likewise.
69275         * conform/data/fmtmsg.h-data: Likewise.
69276         * conform/data/fnmatch.h-data: Likewise.
69277         * conform/data/ftw.h-data: Likewise.
69278         * conform/data/glob.h-data: Likewise.
69279         * conform/data/grp.h-data: Likewise.
69280         * conform/data/iconv.h-data: Likewise.
69281         * conform/data/inttypes.h-data: Likewise.
69282         * conform/data/langinfo.h-data: Likewise.
69283         * conform/data/libgen.h-data: Likewise.
69284         * conform/data/limits.h-data: Likewise.
69285         * conform/data/locale.h-data: Likewise.
69286         * conform/data/math.h-data: Likewise.
69287         * conform/data/monetary.h-data: Likewise.
69288         * conform/data/mqueue.h-data: Likewise.
69289         * conform/data/ndbm.h-data: Likewise.
69290         * conform/data/net/if.h-data: Likewise.
69291         * conform/data/netdb.h-data: Likewise.
69292         * conform/data/netinet/in.h-data: Likewise.
69293         * conform/data/nl_types.h-data: Likewise.
69294         * conform/data/poll.h-data: Likewise.
69295         * conform/data/pthread.h-data: Likewise.
69296         * conform/data/pwd.h-data: Likewise.
69297         * conform/data/regex.h-data: Likewise.
69298         * conform/data/sched.h-data: Likewise.
69299         * conform/data/search.h-data: Likewise.
69300         * conform/data/semaphore.h-data: Likewise.
69301         * conform/data/setjmp.h-data: Likewise.
69302         * conform/data/signal.h-data: Likewise.
69303         * conform/data/spawn.h-data: Likewise.
69304         * conform/data/stdarg.h-data: Likewise.
69305         * conform/data/stdio.h-data: Likewise.
69306         * conform/data/stdlib.h-data: Likewise.
69307         * conform/data/string.h-data: Likewise.
69308         * conform/data/strings.h-data: Likewise.
69309         * conform/data/stropts.h-data: Likewise.
69310         * conform/data/sys/ipc.h-data: Likewise.
69311         * conform/data/sys/mman.h-data: Likewise.
69312         * conform/data/sys/msg.h-data: Likewise.
69313         * conform/data/sys/resource.h-data: Likewise.
69314         * conform/data/sys/select.h-data: Likewise.
69315         * conform/data/sys/sem.h-data: Likewise.
69316         * conform/data/sys/shm.h-data: Likewise.
69317         * conform/data/sys/socket.h-data: Likewise.
69318         * conform/data/sys/stat.h-data: Likewise.
69319         * conform/data/sys/statvfs.h-data: Likewise.
69320         * conform/data/sys/time.h-data: Likewise.
69321         * conform/data/sys/timeb.h-data: Likewise.
69322         * conform/data/sys/times.h-data: Likewise.
69323         * conform/data/sys/types.h-data: Likewise.
69324         * conform/data/sys/uio.h-data: Likewise.
69325         * conform/data/sys/un.h-data: Likewise.
69326         * conform/data/sys/utsname.h-data: Likewise.
69327         * conform/data/sys/wait.h-data: Likewise.
69328         * conform/data/syslog.h-data: Likewise.
69329         * conform/data/tar.h-data: Likewise.
69330         * conform/data/termios.h-data: Likewise.
69331         * conform/data/utime.h-data: Likewise.
69332         * conform/data/utmpx.h-data: Likewise.
69333         * conform/data/varargs.h-data: Likewise.
69334         * conform/data/wchar.h-data: Likewise.
69335         * conform/data/wctype.h-data: Likewise.
69336         * conform/data/wordexp.h-data: Likewise.
69338         * include/stropts.h: New file.
69339         * include/uchar.h: New file.
69340         * include/aio.h: Changes to allow conformtest.pl to use the headers.
69341         * include/assert.h: Likewise.
69342         * include/ctype.h: Likewise.
69343         * include/dirent.h: Likewise.
69344         * include/dlfcn.h: Likewise.
69345         * include/fcntl.h: Likewise.
69346         * include/fnmatch.h: Likewise.
69347         * include/glob.h: Likewise.
69348         * include/grp.h: Likewise.
69349         * include/libio.h: Likewise.
69350         * include/locale.h: Likewise.
69351         * include/math.h: Likewise.
69352         * include/net/if.h: Likewise.
69353         * include/netdb.h: Likewise.
69354         * include/netinet/in.h: Likewise.
69355         * include/pthread.h: Likewise.
69356         * include/pwd.h: Likewise.
69357         * include/regex.h: Likewise.
69358         * include/sched.h: Likewise.
69359         * include/search.h: Likewise.
69360         * include/setjmp.h: Likewise.
69361         * include/signal.h: Likewise.
69362         * include/stdio.h: Likewise.
69363         * include/stdlib.h: Likewise.
69364         * include/string.h: Likewise.
69365         * include/sys/cdefs.h: Likewise.
69366         * include/sys/mman.h: Likewise.
69367         * include/sys/msg.h: Likewise.
69368         * include/sys/resource.h: Likewise.
69369         * include/sys/select.h: Likewise.
69370         * include/sys/socket.h: Likewise.
69371         * include/sys/stat.h: Likewise.
69372         * include/sys/statvfs.h: Likewise.
69373         * include/sys/time.h: Likewise.
69374         * include/sys/times.h: Likewise.
69375         * include/sys/uio.h: Likewise.
69376         * include/sys/utsname.h: Likewise.
69377         * include/sys/wait.h: Likewise.
69378         * include/termios.h: Likewise.
69379         * include/time.h: Likewise.
69380         * include/ulimit.h: Likewise.
69381         * include/unistd.h: Likewise.
69382         * include/utime.h: Likewise.
69383         * include/wchar.h: Likewise.
69384         * include/wctype.h: Likewise.
69385         * include/wordexp.h: Likewise.
69387         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
69389         * time/time.h: TIME_UTC must be a macro.
69390         Make timespec_get available for ISO C11 only as well.
69392 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
69394         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
69395         Reported by Peng Haitao <penght@cn.fujitsu.com>.
69397 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69399         * configure.in: Use -o not -a in test for unsupported multi-arch.
69401 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69403         * manual/texinfo.tex: Update to version 2012-01-19.16.
69405 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69407         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
69409 2012-02-24  Roland McGrath  <roland@hack.frob.com>
69411         [BZ #13738]
69412         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
69413         * manual/fdl-1.3.texi: New file.
69414         * manual/fdl-1.1.texi: File removed.
69416         [BZ #13738]
69417         * manual/libc.texinfo (FDL_VERSION): New @set.
69418         Use it for mention of FDL in cover text.
69419         (Documentation License): Use it in @include file name.
69421 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69422             Roland McGrath  <roland@hack.frob.com>
69424         [BZ #5461]
69425         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
69426         (not LONG_LONG_MAX and LONG_LONG_MIN.
69427         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
69428         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
69429         name.
69430         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
69432 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69434         [BZ #2547]
69435         [BZ #11365]
69436         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
69437         manipulate bits before adding and subtracting TWO23[sx].
69438         * math/libm-test.inc (nearbyint_test): Add more tests.
69440 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69442         [BZ #2548]
69443         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
69444         bits before adding and subtracting TWO23[sx].
69445         * math/libm-test.inc (rint_test): Add more tests.
69446         (rint_test_tonearest): Likewise.
69447         (rint_test_towardzero): Likewise.
69448         (rint_test_downward): Likewise.
69449         (rint_test_upward: Likewise.
69451 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69453         [BZ #10110]
69454         * include/stdc-predef.h: New file.  Extracted from features.h.
69455         * include/features.h: Include stdc-predef.h.
69456         * Makefile (headers): Add stdc-predef.h.
69457         * CONFORMANCE (Compiler limitations): Update.
69459 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69461         * manual/libc.texinfo (VERSION, UPDATED): Revert.
69463 2012-02-21  David S. Miller  <davem@davemloft.net>
69465         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
69466         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69468 2012-02-20  David S. Miller  <davem@davemloft.net>
69470         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
69471         using a normal save/restore sequence, rather than allocating a
69472         dummy stack frame just to store a frame pointer and restore.
69473         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69475 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69477         * manual/install.texi: Fix stray word in line-wrapped comment.
69479 2012-02-20  David S. Miller  <davem@davemloft.net>
69481         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
69482         both binutils and gcc support GOTDATA.
69484         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
69485         "rd %pc" in the PIC register setup sequences.
69487         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
69488         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
69489         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69490         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
69491         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69492         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69493         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69494         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69495         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
69496         (SYSCALL_ERROR_HANDLER): Likewise.
69497         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69498         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69499         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
69500         (SYSCALL_ERROR_HANDLER): Likewise.
69502         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
69503         (HAVE_GCC_GOTDATA): New.
69504         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
69505         relocation support in both binutils and gcc.
69506         * sysdeps/sparc/elf/configure: Regenerate.
69508         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
69509         * sysdeps/sparc/sparc32/elf/configure: Delete.
69510         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
69511         * sysdeps/sparc/sparc64/elf/configure: Delete.
69512         * sysdeps/sparc/elf/configure.in: New file.
69513         * sysdeps/sparc/elf/configure: Generate.
69515         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
69516         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
69517         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69518         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
69519         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
69521 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69523         * manual/install.texi: Do not mention specific glibc version
69524         numbers.
69525         * manual/libc.texinfo (VERSION, UPDATED): Update.
69526         (@copying): Use @copyright{} and range of years.
69528 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69530         [BZ #13695]
69531         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
69532         [crti.S not in sysdirs] (generated): Do not append.
69533         [crti.S not in sysdirs] (omit-deps): Likewise.
69534         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
69535         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
69536         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
69537         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
69538         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
69539         Likewise.
69540         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
69541         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
69542         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
69543         * csu/defs.awk: Remove file.
69544         * sysdeps/generic/initfini.c: Likewise.
69545         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
69546         variable.
69547         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
69548         Likewise.
69550 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69552         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
69553         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
69554         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
69555         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
69556         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69557         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
69558         <bits/epoll.h>.
69559         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
69560         (__EPOLL_PACKED): Define to empty if not defined by
69561         <bits/epoll.h>.
69562         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
69563         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69564         bits/epoll.h.
69566 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69568         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
69569         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
69570         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
69571         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
69572         <bits/timerfd.h>.
69573         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
69574         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69575         bits/timerfd.h.
69577 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69579         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
69580         in C locale.
69581         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69582         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
69583         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
69584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69586 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
69588         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69589         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69591 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
69593         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
69594         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
69595         defined.
69596         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
69597         Likewise.
69598         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
69599         entry for 2.16.
69601 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
69603         * math/w_acos.c: Use non-signaling floating-point comparisons.
69604         * math/w_acosf.c: Likewise.
69605         * math/w_acosh.c: Likewise.
69606         * math/w_acoshf.c: Likewise.
69607         * math/w_acoshl.c: Likewise.
69608         * math/w_acosl.c: Likewise.
69609         * math/w_asin.c: Likewise.
69610         * math/w_asinf.c: Likewise.
69611         * math/w_asinl.c: Likewise.
69612         * math/w_atanh.c: Likewise.
69613         * math/w_atanhf.c: Likewise.
69614         * math/w_atanhl.c: Likewise.
69615         * math/w_exp2.c: Likewise.
69616         * math/w_exp2f.c: Likewise.
69617         * math/w_exp2l.c: Likewise.
69618         * math/w_j0.c: Likewise.
69619         * math/w_j0f.c: Likewise.
69620         * math/w_j0l.c: Likewise.
69621         * math/w_j1.c: Likewise.
69622         * math/w_j1f.c: Likewise.
69623         * math/w_j1l.c: Likewise.
69624         * math/w_jn.c: Likewise.
69625         * math/w_jnf.c: Likewise.
69626         * math/w_log.c: Likewise.
69627         * math/w_log10.c: Likewise.
69628         * math/w_log10f.c: Likewise.
69629         * math/w_log10l.c: Likewise.
69630         * math/w_log2.c: Likewise.
69631         * math/w_log2f.c: Likewise.
69632         * math/w_log2l.c: Likewise.
69633         * math/w_logf.c: Likewise.
69634         * math/w_logl.c: Likewise.
69635         * math/w_sqrt.c: Likewise.
69636         * math/w_sqrtf.c: Likewise.
69637         * math/w_sqrtl.c: Likewise.
69638         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69639         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
69640         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69641         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69642         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69644 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69646         [BZ #9739]
69647         * manual/string.texi (strnlen): Use correct parameter name in
69648         equivalent expression.
69650 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69652         [BZ #11174]
69653         * manual/users.texi (seteuid): Consistently use neweuid for
69654         argument name.
69656 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69658         [BZ #13704]
69659         * manual/nss.texi (Services in the NSS configuration): Correct
69660         list of services in example configuration file.
69662 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
69664         [BZ #11322]
69665         * manual/arith.texi: Remove statements about negative zero
69666         behaving identically to zero.
69668 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69670         [BZ #5993]
69671         * manual/install.texi: Do not document upgrading from libc5.
69673 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69675         [BZ #4596]
69676         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
69678 2012-02-18  David S. Miller  <davem@davemloft.net>
69680         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
69681         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
69682         %o7 across the call.
69683         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
69684         instead.
69685         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
69686         SETUP_PIC_REG_LEAF.
69687         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69688         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
69689         * sysdeps/sparc/crtn.S: Likewise.
69691 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
69693         * aout/Makefile: Remove.
69695 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
69697         [BZ #13058]
69698         * manual/examples/argp-ex1.c (main): Format definition in GNU
69699         style.
69700         * manual/examples/argp-ex2.c (main): Likewise.
69701         * manual/examples/argp-ex3.c (main): Likewise.
69702         * manual/examples/argp-ex4.c (main): Likewise.
69703         * manual/examples/longopt.c (main): Use new-style prototype
69704         definition.
69705         * manual/examples/strncat.c (main): Specify return type and use
69706         (void) for arguments.
69707         * manual/examples/subopt.c (main): Use char **argv argument.
69709 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69711         [BZ #5077]
69712         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
69713         rounding modes.
69715 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
69717         [BZ #6907]
69718         * manual/string.texi (strchr): Change when strchrnul is
69719         recommended.
69721 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
69723         [BZ #174]
69724         * manual/locale.texi (setlocale): Document LOCPATH.
69726 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69728         [BZ #10210]
69729         * manual/process.texi (execle): Move @dots{} before last argument.
69731 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
69733         [BZ #12047]
69734         * manual/charset.texi (Generic Charset Conversion): Fix typo
69735         (LC_TYPE -> LC_CTYPE).
69737 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
69739         [BZ #5805]
69740         * manual/arith.texi (scalbn): Use @var{} on parameter names.
69741         (scalbnf): Likewise.
69742         (scalbnl): Likewise.
69743         (scalbln): Likewise.
69744         (scalblnf): Likewise.
69745         (scalblnl): Likewise.
69746         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
69747         (vwarnx): Likewise.
69748         (verr): Likewise.
69749         (verrx): Likewise.
69750         * manual/filesys.texi (telldir): Use braces around return type.
69751         * manual/llio.texi (mmap): Add space after comma.
69752         (mmap64): Likewise.
69753         * manual/math.texi (jn): Use @var{} on parameter names.
69754         (jnf): Likewise.
69755         (jnl): Likewise.
69756         (yn): Likewise.
69757         (ynf): Likewise.
69758         (ynl): Likewise.
69759         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
69760         line.
69761         * manual/resource.texi (ulimit): Use @dots{} instead of literal
69762         "...".
69763         (sched_get_priority_min): Remove semicolon on @deftypefun line.
69764         (sched_get_priority_max): Likewise.
69765         * manual/signal.texi (sigvec): Add space after comma.
69766         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
69767         names.
69768         (if_indextoname): Likewise.
69769         (if_freenameindex): Likewise.
69770         (sendto): Use ',' instead of '.' in prototype.
69771         * manual/startup.texi (syscall): Use @dots{} instead of literal
69772         "...".
69773         * manual/stdio.texi (__fpending): Separate initial words of
69774         paragraph from @deftypefun line.
69775         * manual/syslog.texi (syslog): Use @dots{} instead of literal
69776         "...".
69777         (vsyslog): Use @var{} on parameter names.
69778         * manual/terminal.texi (stty): Use @var{} on parameter names.
69779         * manual/users.texi (getutmp): Use @var{} on parameter names.
69780         (getutmpx): Likewise.
69782 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69784         [BZ #6884]
69785         * manual/stdio.texi (fopen): Fix typos in description of
69786         ",ccs=STRING".
69788 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
69790         [BZ #4026]
69791         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
69792         get clock_id definition.
69794 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
69796         [BZ #4822]
69797         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
69798         (madvise): Cast every argument to void on its own.
69800 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69802         [BZ #9902]
69803         * manual/startup.texi (Exit Status): Fix typo.
69805 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69807         [BZ #10140]
69808         * manual/examples/argp-ex1.c: Include <stdlib.h>.
69809         * manual/examples/argp-ex2.c: Likewise.
69810         * manual/examples/argp-ex3.c: Likewise.
69812 2012-02-16  Richard Henderson  <rth@redhat.com>
69814         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
69815         * sysdeps/s390/s390-32/initfini.c: Remove.
69816         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
69817         * sysdeps/s390/s390-64/initfini.c: Remove.
69819 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69821         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
69822         compiler output for sysdeps/generic/initfini.c.
69823         * sysdeps/sh/elf/initfini.c: Remove file.
69825 2012-02-16  David S. Miller  <davem@davemloft.net>
69827         [BZ #11494]
69828         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
69830         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
69831         * sysdeps/sparc/crti.S: New file.
69832         * sysdeps/sparc/crtn.S: New file.
69833         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
69834         * sysdeps/sparc/sparc64/Makefile: Likewise.
69836 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
69838         [BZ #3335]
69839         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
69841 2012-02-15  Roland McGrath  <roland@hack.frob.com>
69843         [BZ #4822]
69844         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
69846         * mach/devstream.c (cookie_io_functions_t): Macro removed.
69847         (write, read, close): Likewise.
69848         Patch by Aurelien Jarno <aurelien@aurel32.net>.
69850 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
69852         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
69853         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
69854         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
69855         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
69856         <bits/signalfd.h>.
69857         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
69858         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69859         bits/signalfd.h.
69861 2012-02-14  Marek Polacek  <polacek@redhat.com>
69863         * sysdeps/x86_64/crti.S: New file.
69864         * sysdeps/x86_64/crtn.S: New file.
69865         * sysdeps/x86_64/elf/initfini.c: Remove file.
69867 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69869         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
69870         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
69871         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
69872         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
69873         <bits/inotify.h>.
69874         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
69875         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69876         bits/inotify.h.
69878 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69880         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
69881         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
69882         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
69883         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
69884         <bits/eventfd.h>.
69885         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
69886         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69887         bits/eventfd.h.
69889 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
69891         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
69892         __feraiseexcept instead of feraiseexcept.
69894         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
69895         nanosleep invocations.
69896         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
69897         strings, and add error checking for a nanosleep invocations.
69899 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
69901         Replace FSF snail mail address with URLs, as per GNU coding standards.
69902         Most of the snail mail addresses were wrong anyway, and omitting
69903         them makes the source code easier to maintain.  Almost all of the
69904         changes are to license notices and to locale LC_IDENTIFICATION
69905         addresses, except for this one:
69906         * manual/libc.texinfo: In "Published by", give the FSF's URL,
69907         not its snail mail address.
69909 2012-02-09  Richard Henderson  <rth@twiddle.net>
69911         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
69912         of kernel-features.h.
69914         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
69916 2012-02-08  Marek Polacek  <polacek@redhat.com>
69918         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
69919         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
69920         * sysdeps/gnu/_G_config.h: Likewise.
69921         * sysdeps/generic/_G_config.h: Likewise.
69923 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
69925         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
69926         tests.
69927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69929         * sysdeps/powerpc/powerpc32/crti.S: New file.
69930         * sysdeps/powerpc/powerpc32/crtn.S: New file.
69931         * sysdeps/powerpc/powerpc64/crti.S: New file.
69932         * sysdeps/powerpc/powerpc64/crtn.S: New file.
69934         * Makeconfig (have-initfini): Don't set.
69935         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
69936         * configure.in (nopic_initfini): Don't substitute.
69937         * config.h.in (HAVE_INITFINI): Don't #undef.
69938         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
69939         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
69941 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
69943         Support crti.S and crtn.S provided directly by architectures.
69944         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
69945         [crti.S in sysdirs] (omit-deps): Likewise.
69946         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
69947         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
69948         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
69949         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
69950         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
69951         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
69952         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
69953         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
69954         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
69955         compiler output for sysdeps/generic/initfini.c.
69956         * sysdeps/i386/elf/Makefile: Remove file.
69957         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
69959 2012-02-07  Marek Polacek  <polacek@redhat.com>
69961         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
69962         * sysdeps/gnu/_G_config.h: Likewise.
69963         * sysdeps/mach/hurd/_G_config.h: Likewise.
69965 2012-02-07  Marek Polacek  <polacek@redhat.com>
69967         * math/Makefile (tests): Add tst-CMPLX2.
69968         * math/tst-CMPLX2.c: New file.
69970 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
69972         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69974         * math/libm-test.inc (jn_test): Add missing L suffix.
69976 2012-02-06  Marek Polacek  <polacek@redhat.com>
69978         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
69979         * sysdeps/i386/fpu/e_powf.S: Likewise.
69980         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69981         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69982         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69983         * sysdeps/i386/fpu/e_pow.S: Likewise.
69984         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69985         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69986         * sysdeps/i386/fpu/s_expm1.S: Likewise.
69987         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69988         * sysdeps/i386/fpu/e_log2.S: Likewise.
69989         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69990         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69991         * sysdeps/i386/fpu/e_powl.S: Likewise.
69992         * sysdeps/i386/fpu/s_log1p.S: Likewise.
69993         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69994         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69995         * sysdeps/i386/fpu/e_logl.S: Likewise.
69996         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69997         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
69998         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69999         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70000         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70001         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70002         * sysdeps/i386/fpu/e_log.S: Likewise.
70003         * sysdeps/i386/fpu/s_cexp.S: Likewise.
70004         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70005         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
70006         * sysdeps/i386/fpu/e_logf.S: Likewise.
70007         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70008         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70009         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
70010         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70011         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70012         * sysdeps/i386/fpu/e_log10.S: Likewise.
70013         * sysdeps/i386/fpu/s_frexp.S: Likewise.
70014         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70015         * sysdeps/i386/fpu/s_asinh.S: Likewise.
70016         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70017         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70018         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70019         * sysdeps/i386/asm-syntax.h: Likewise.
70020         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70021         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70022         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70023         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
70024         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
70025         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70026         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70027         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70028         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70029         * sysdeps/powerpc/sysdep.h: Likewise.
70030         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
70031         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70033 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70035         [BZ #411]
70036         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
70038 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70040         * sysdeps/i386/sysdep.h: Include <features.h>.
70041         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
70042         version.
70044 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
70046         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
70047         Define.
70048         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
70049         LOAD_PIC_REG_STR.
70051 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70053         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
70054         (SETUP_PIC_REG): Use GET_PC_THUNK.
70055         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
70056         macro.
70058 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70060         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
70061         for non-PIC compilation.
70062         (SETUP_PIC_REG): Add .p2align directive.
70063         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
70064         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
70065         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70066         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70067         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
70068         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70069         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
70070         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70071         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70072         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70073         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70074         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70075         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70076         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70077         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70078         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
70079         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
70080         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70081         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70082         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70083         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70084         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
70085         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70086         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70087         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
70088         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
70089         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70090         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
70091         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70092         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70093         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70094         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70095         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70096         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70097         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70098         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70099         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70100         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70101         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70102         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70103         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70105 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70107         * math/tst-CMPLX.c: Include <stdio.h>.
70109 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
70111         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
70112         float.
70113         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70114         * sysdeps/sparc/bits/mathdef.h: Likewise.
70116 2012-01-31  Marek Polacek  <polacek@redhat.com>
70118         * libio/libio.h: Don't define _PARAMS.
70119         * locale/programs/config.h: Don't define PARAMS.
70120         * stdlib/strtol_l.c: Likewise.
70121         (__strtol_l): Remove PARAMS from the prototype.
70123 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
70125         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
70126         names.  Just use the correct names.  Remove unnecessary wrapper
70127         functions.
70128         * malloc/arena.c: Likewise.
70129         * malloc/hooks.c: Likewise.
70131         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
70132         ARENA_TEST says not to.  Simplify test for creation of a new arena.
70133         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
70135 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
70137         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
70138         into tail calls.
70139         (update_get_addr): New function.
70140         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
70141         GET_ADDR_MODULE parameter.
70143 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
70145         * crypt/cert.c: Remove __STDC__ conditionals.
70146         * crypt/crypt-entry.c: Likewise.
70147         * crypt/crypt_util.c: Likewise.
70148         * libio/filedoalloc.c: Likewise.
70149         * libio/fileops.c: Likewise.
70150         * libio/genops.c: Likewise.
70151         * libio/iofclose.c: Likewise.
70152         * libio/iofdopen.c: Likewise.
70153         * libio/iofopen.c: Likewise.
70154         * libio/iofopen64.c: Likewise.
70155         * libio/iogetdelim.c: Likewise.
70156         * libio/iopopen.c: Likewise.
70157         * libio/obprintf.c: Likewise.
70158         * libio/oldfileops.c: Likewise.
70159         * libio/oldiofclose.c: Likewise.
70160         * libio/oldiofdopen.c: Likewise.
70161         * libio/oldiofopen.c: Likewise.
70162         * libio/oldiopopen.c: Likewise.
70163         * libio/wfiledoalloc.c: Likewise.
70164         * libio/wgenops.c: Likewise.
70165         * locale/programs/xmalloc.c: Likewise.
70166         * misc/syslog.c: Likewise.
70167         * stdio-common/xbug.c: Likewise.
70168         * string/memchr.c: Likewise.
70169         * string/memcmp.c: Likewise.
70170         * string/memrchr.c: Likewise.
70171         * string/rawmemchr.c: Likewise.
70172         * sysdeps/posix/getcwd.c: Likewise.
70173         * time/strftime_l.c: Likewise.
70175 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
70177         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
70178         * config.make.in (config-cflags-sse2avx): Define.
70179         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
70180         Fix typo.
70182 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
70184         * scripts/config.guess: Update from upstream config git repository.
70185         * scripts/config.sub: Likewise.
70187 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
70189         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
70190         (EM_NUM): Update.
70191         (R_TILEPRO_*, R_TILEGX_*): New macros.
70193         * scripts/firstversions.awk: Fix bug in version range handling.
70195         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
70197         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
70199         * include/sys/epoll.h: New file.
70200         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
70201         libc_hidden_def.
70203 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
70205         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
70206         Avoid unnecessary __WORDSIZE == 64 test.
70207         (fmaxf): Use VEX format if possible.
70208         (fmax): Likewise.
70209         (fminf): Likewise.
70210         (fmin): Likewise.
70212         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
70213         * math/math_private.h: Remove libc_fegetround* and
70214         libc_fesetround*.
70215         * sysdeps/i386/configure.in: Check for -msse2avx.
70216         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
70217         also if SSE2AVX is defined.
70218         Remove libc_fegetround* and libc_fesetround*.
70219         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
70220         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
70221         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
70222         of HAS_YMM_USABLE.
70223         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70224         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70225         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70226         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70227         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70229         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
70231 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70233         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
70234         size is not set.
70235         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70237 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
70239         [BZ #13618]
70240         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
70241         relocation.
70242         * Makeconfig (libm): Define.
70243         * elf/Makefile: Add rules to build and run tst-relsort1.
70244         * elf/tst-relsort1.c: New file.
70245         * elf/tst-relsort1mod1.c: New file.
70246         * elf/tst-relsort1mod2.c: New file.
70248 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
70250         * math/s_ldexp.c: Remove __STDC__ conditionals.
70251         * math/s_ldexpf.c: Likewise.
70252         * math/s_ldexpl.c: Likewise.
70253         * math/s_nextafter.c: Likewise.
70254         * math/s_nexttowardf.c: Likewise.
70255         * math/s_significand.c: Likewise.
70256         * math/s_significandf.c: Likewise.
70257         * math/s_significandl.c: Likewise.
70258         * math/w_jnl.c: Likewise.
70259         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70260         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70261         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70262         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70263         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70264         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70265         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
70266         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70267         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70268         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70269         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70270         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70271         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70272         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70273         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70274         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70275         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70276         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70277         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70278         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70279         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70280         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70281         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70282         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70283         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70284         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70285         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70286         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70287         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70288         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70289         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70290         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70291         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70292         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70293         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70294         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70295         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70296         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70297         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70298         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70299         * sysdeps/ieee754/k_standard.c: Likewise.
70300         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70301         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70302         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70303         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70304         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70305         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70306         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70307         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70308         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70309         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70310         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70311         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70312         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70313         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70314         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70315         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70316         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70317         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70318         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70319         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70320         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70321         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70322         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70323         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70324         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70325         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70326         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70327         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70328         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70329         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70330         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70331         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
70332         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70333         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70334         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70335         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70336         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
70337         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70338         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70339         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
70340         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
70341         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70342         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
70343         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
70344         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70345         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
70346         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
70347         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70348         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70349         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
70350         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
70351         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70352         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70353         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70354         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70355         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70356         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
70357         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70358         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70359         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70360         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70361         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70362         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70363         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70364         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70365         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70366         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70367         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70368         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70369         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70370         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70371         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70372         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70373         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70374         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70375         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70376         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70377         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70378         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70379         * sysdeps/ieee754/s_matherr.c: Likewise.
70380         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70381         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70382         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70383         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70385 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
70387         * crypt/md5.h: Remove __STDC__ conditionals.
70388         * libio/libioP.h: Likewise.
70389         * locale/programs/config.h: Likewise.
70390         * sysdeps/generic/sysdep.h: Likewise.
70391         * sysdeps/i386/asm-syntax.h: Likewise.
70392         * sysdeps/s390/asm-syntax.h: Likewise.
70393         * sysdeps/unix/sysdep.h: Likewise.
70394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
70395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70397 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
70399         * libio/libio.h: Remove __STDC__ conditionals.
70400         * malloc/obstack.h: Likewise.
70401         * math/complex.h: Likewise.
70402         * math/math.h: Likewise.
70403         * sysdeps/generic/_G_config.h: Likewise.
70404         * sysdeps/gnu/_G_config.h: Likewise.
70405         * sysdeps/mach/hurd/_G_config.h: Likewise.
70406         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70407         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70408         * sysdeps/sparc/bits/mathdef.h: Likewise.
70410 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
70412         [BZ #13583]
70413         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
70414         Clean up HAS_* macros.
70415         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
70416         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
70417         possible.
70418         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
70419         HAS_AVX.
70420         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70421         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70422         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70423         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70424         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70426 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
70428         * elf/tst-unique3.cc (gets): Remove declaration.
70429         * elf/tst-unique3lib.cc (gets): Likewise.
70430         * elf/tst-unique3lib2.cc (gets): Likewise.
70431         * elf/tst-unique4.cc (gets): Likewise.
70433 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
70435         * include/stdio.h: Add C++ protection.  Add gets declarations and
70436         definitions.
70437         * debug/tst-chk1.c: Don't declare gets here.
70438         * stdio-common/tst-gets.c: Likewise.
70440 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70442         * posix/glob: Remove directory.
70444 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70446         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
70448 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
70450         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
70451         of the non-standard EPFNOSUPPORT.
70453 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70455         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
70456         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
70457         ANYWHERE set to 1 only on KERN_NO_SPACE error.
70459 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
70461         * wcsmbs/uchar.h: Test __STDC_VERSION__.
70463 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
70465         * nscd/aicache.c (addhstaiX): Do not cache negative results of
70466         transient errors.
70467         * nscd/grpcache.c (cache_addgr): Likewise.
70468         * nscd/hstcache.c (cache_addhst): Likewise.
70469         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70470         * nscd/pwdcache.c (cache_addpw): Likewise.
70471         * nscd/servicescache.c (cache_addserv): Likewise.
70473 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
70475         * malloc/malloc.c: Various cleanups.
70476         * malloc/hooks.c: Likewise.
70478         * stdlib/Makefile (tests): Add bug-fmtmsg1.
70479         * stdlib/bug-fmtmsg1.c: New file.
70481         * stdlib/fmtmsg.c (init): Add missing unlock.
70482         Patch by Peng Haitao <penght@cn.fujitsu.com>.
70484 2012-01-12  Marek Polacek  <polacek@redhat.com>
70486         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
70487         and _GNU_SOURCE.
70489 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
70491         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
70492         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
70493         macro to ensure uniqueness of label name.
70494         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70495         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70497 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
70499         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
70501         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
70502         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70503         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70504         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
70506 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
70508         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
70510         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
70511         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70512         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70514         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
70516         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
70517         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70518         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70519         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
70521         * math/bits/math-finite.h: Add ldexp support.
70523 2012-01-10  Marek Polacek  <polacek@redhat.com>
70525         * locale/programs/localedef.h (show_archive_content): Add noreturn
70526         attribute.
70528 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
70530         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
70532 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70534         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
70536         * io/Makefile (headers): Add bits/poll2.h.
70538 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
70540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
70541         typo #include statement.
70543 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70545         * include/sys/cdefs.h: Define __attribute_alloc_size.
70546         * catgets/gencat.c: Add alloc_size attribute and apply consistently
70547         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
70548         * elf/pldd.c: Likewise.
70549         * iconv/iconv_charmap.c: Likewise.
70550         * iconv/iconvconfig.c: Likewise.
70551         * iconv/strtab.c: Likewise.
70552         * locale/programs/locale.c: Likewise.
70553         * locale/programs/localedef.h: Likewise.
70554         * locale/programs/simple-hash.c: Likewise.
70555         * nscd/nscd.h: Likewise.
70556         * nss/makedb.c: Likewise.
70557         * sysdeps/generic/ldconfig.h: Likewise.
70558         * locale/programs/localedef.c: Remove xmalloc prototype.
70559         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
70561 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70563         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
70564         appropriate.
70566 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70568         * math/Makefile (tests): Add tst-CMPLX.
70569         * math/tst-CMPLX.c: New file.
70571         * math/complex.h (CMPLXL): Fix typo.
70573         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
70574         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
70575         GLIBC_2.16.
70576         * debug/tst-chk1.c: Add poll and ppoll tests.
70577         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
70578         * include/sys/poll.h: Add hidden proto for ppoll.
70579         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
70580         * sysdeps/mach/hurd/ppoll.c: Likewise.
70581         * io/ppoll.c: Likewise.
70582         * debug/poll_chk.c: New file.
70583         * debug/ppoll_chk.c: New file.
70584         * include/bits/poll2.h: New file.
70585         * io/bits/poll2.h: New file.
70587         [BZ #1350]
70588         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
70590         * configure.in: static is always set to yes.  Remove.
70591         * config.make.in: Don't set build-static.
70592         * Makeconfig: Remove use of build-static.
70593         * dlfcn/Makefile: Likewise.
70594         * elf/Makefile: Likewise.
70595         * math/Makefile: Likewise.
70596         * misc/Makefile: Likewise.
70597         * nptl/Makefile: Likewise.
70598         * sysdeps/mach/hurd/Makefile: Likewise.
70600         * configure.in: PWD_P is not used anymore.
70601         * config.make.in: Remove PWD_P entry.
70603         * configure.in: Remove last remnants of RANLIB.
70604         No need to check for signed size_t anymore.
70605         Don't set libc_commonpagesize and libc_relro_required here for Alpha
70606         and IA-64.
70607         Remove __builtin_expect test because we require at least gcc 3.4.
70608         * aclocal.m4: Likewise.
70610         * wcsmbs/mbrtoc16.c: Implement using towc function.
70611         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
70612         * wcsmbs/wcsmbsload.c: Likewise.
70613         * iconv/gconv_simple.c: Likewise.
70614         * iconv/gconv_int.h: Likewise.
70615         * iconv/gconv_builtin.h: Likewise.
70616         * iconv/iconv_prog.c: Remove CHAR16 handling.
70618         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
70620         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
70622         * configure.in: Remove --with-elf and --enable-bounded options.
70623         Dont set base_machine for ia64.  More non-ELF conditions removed.
70624         Remove testing and setting of leading underscore information.
70625         * config.make.in (build-bounded): Set to no.
70626         * config.h.in: Remove NO_UNDERSCORES entry.
70627         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
70628         them.
70629         * csu/start.c: Remove !NO_UNDERSCORE code.
70630         * locale/localeinfo.h: Likewise.
70631         * sysdeps/generic/machine-gmon.h: Likewise.
70632         * sysdeps/generic/sysdep.h: Likewise.
70633         * sysdeps/i386/sysdep.h: Likewise.
70634         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70635         * sysdeps/mach/sysdep.h: Likewise.
70636         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70637         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70638         * sysdeps/sh/sysdep.h: Likewise.
70639         * sysdeps/sparc/sparc32/alloca.S: Likewise.
70640         * sysdeps/unix/i386/sysdep.S: Likewise.
70641         * sysdeps/unix/sparc/start.c: Likewise.
70642         * sysdeps/unix/sparc/sysdep.S: Likewise.
70643         * sysdeps/unix/sparc/sysdep.h: Likewise.
70644         * sysdeps/unix/start.c: Likewise.
70645         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70646         * sysdeps/x86_64/sysdep.h: Likewise.
70648 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
70650         [BZ #13553]
70651         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
70652         for non-gcc.
70653         * argp/argp-fmtstream.h: Use const instead __const.
70654         * argp/argp.h: Likewise.
70655         * assert/assert.h: Likewise.
70656         * bits/fenv.h: Likewise.
70657         * bits/sched.h: Likewise.
70658         * bits/sigset.h: Likewise.
70659         * bits/sigthread.h: Likewise.
70660         * catgets/nl_types.h: Likewise.
70661         * conform/data/pthread.h-data: Likewise.
70662         * crypt/crypt-private.h: Likewise.
70663         * crypt/crypt.h: Likewise.
70664         * crypt/crypt_util.c: Likewise.
70665         * ctype/ctype.h: Likewise.
70666         * debug/execinfo.h: Likewise.
70667         * debug/mbsnrtowcs_chk.c: Likewise.
70668         * debug/mbsrtowcs_chk.c: Likewise.
70669         * debug/wcsnrtombs_chk.c: Likewise.
70670         * debug/wcsrtombs_chk.c: Likewise.
70671         * debug/wcstombs_chk.c: Likewise.
70672         * dirent/dirent.h: Likewise.
70673         * dlfcn/dlfcn.h: Likewise.
70674         * elf/neededtest4.c: Likewise.
70675         * grp/grp.h: Likewise.
70676         * gshadow/gshadow.h: Likewise.
70677         * iconv/gconv.h: Likewise.
70678         * iconv/gconv_int.h: Likewise.
70679         * iconv/gconv_simple.c: Likewise.
70680         * iconv/iconv.h: Likewise.
70681         * iconv/loop.c: Likewise.
70682         * iconv/skeleton.c: Likewise.
70683         * include/aio.h: Likewise.
70684         * include/aliases.h: Likewise.
70685         * include/argz.h: Likewise.
70686         * include/arpa/inet.h: Likewise.
70687         * include/assert.h: Likewise.
70688         * include/dirent.h: Likewise.
70689         * include/dlfcn.h: Likewise.
70690         * include/execinfo.h: Likewise.
70691         * include/fcntl.h: Likewise.
70692         * include/fenv.h: Likewise.
70693         * include/glob.h: Likewise.
70694         * include/grp.h: Likewise.
70695         * include/libintl.h: Likewise.
70696         * include/mntent.h: Likewise.
70697         * include/netdb.h: Likewise.
70698         * include/pwd.h: Likewise.
70699         * include/rpc/netdb.h: Likewise.
70700         * include/sched.h: Likewise.
70701         * include/search.h: Likewise.
70702         * include/shadow.h: Likewise.
70703         * include/signal.h: Likewise.
70704         * include/stdio.h: Likewise.
70705         * include/stdlib.h: Likewise.
70706         * include/string.h: Likewise.
70707         * include/sys/socket.h: Likewise.
70708         * include/sys/stat.h: Likewise.
70709         * include/sys/statfs.h: Likewise.
70710         * include/sys/statvfs.h: Likewise.
70711         * include/sys/syslog.h: Likewise.
70712         * include/sys/time.h: Likewise.
70713         * include/sys/uio.h: Likewise.
70714         * include/time.h: Likewise.
70715         * include/unistd.h: Likewise.
70716         * include/utmp.h: Likewise.
70717         * include/wchar.h: Likewise.
70718         * include/wctype.h: Likewise.
70719         * inet/aliases.h: Likewise.
70720         * inet/arpa/inet.h: Likewise.
70721         * inet/netinet/ether.h: Likewise.
70722         * inet/netinet/in.h: Likewise.
70723         * intl/libintl.h: Likewise.
70724         * io/bits/fcntl2.h: Likewise.
70725         * io/fcntl.h: Likewise.
70726         * io/ftw.h: Likewise.
70727         * io/sys/poll.h: Likewise.
70728         * io/sys/stat.h: Likewise.
70729         * io/sys/statfs.h: Likewise.
70730         * io/sys/statvfs.h: Likewise.
70731         * io/utime.h: Likewise.
70732         * libio/bits/stdio.h: Likewise.
70733         * libio/bits/stdio2.h: Likewise.
70734         * libio/libio.h: Likewise.
70735         * libio/libioP.h: Likewise.
70736         * libio/stdio.h: Likewise.
70737         * locale/lc-ctype.c: Likewise.
70738         * locale/locale.h: Likewise.
70739         * login/utmp.h: Likewise.
70740         * malloc/arena.c: Likewise.
70741         * malloc/malloc.c: Likewise.
70742         * malloc/malloc.h: Likewise.
70743         * malloc/mcheck.c: Likewise.
70744         * malloc/mtrace.c: Likewise.
70745         * math/bits/mathcalls.h: Likewise.
70746         * math/fenv.h: Likewise.
70747         * math/math_private.h: Likewise.
70748         * misc/bits/error.h: Likewise.
70749         * misc/bits/syslog.h: Likewise.
70750         * misc/err.h: Likewise.
70751         * misc/error.h: Likewise.
70752         * misc/fstab.h: Likewise.
70753         * misc/mntent.h: Likewise.
70754         * misc/regexp.h: Likewise.
70755         * misc/search.h: Likewise.
70756         * misc/sgtty.h: Likewise.
70757         * misc/sys/mman.h: Likewise.
70758         * misc/sys/syslog.h: Likewise.
70759         * misc/sys/uio.h: Likewise.
70760         * misc/sys/xattr.h: Likewise.
70761         * misc/ttyent.h: Likewise.
70762         * nis/rpcsvc/ypclnt.h: Likewise.
70763         * nss/nss.h: Likewise.
70764         * posix/bits/unistd.h: Likewise.
70765         * posix/fnmatch.h: Likewise.
70766         * posix/glob.h: Likewise.
70767         * posix/sched.h: Likewise.
70768         * posix/spawn.h: Likewise.
70769         * posix/sys/wait.h: Likewise.
70770         * posix/unistd.h: Likewise.
70771         * posix/wordexp.h: Likewise.
70772         * pwd/pwd.h: Likewise.
70773         * resolv/netdb.h: Likewise.
70774         * resource/sys/resource.h: Likewise.
70775         * rt/aio.h: Likewise.
70776         * rt/bits/mqueue2.h: Likewise.
70777         * rt/mqueue.h: Likewise.
70778         * shadow/shadow.h: Likewise.
70779         * signal/signal.h: Likewise.
70780         * socket/send.c: Likewise.
70781         * socket/sendto.c: Likewise.
70782         * socket/sys/socket.h: Likewise.
70783         * stdio-common/printf.h: Likewise.
70784         * stdlib/bits/stdlib.h: Likewise.
70785         * stdlib/fmtmsg.h: Likewise.
70786         * stdlib/monetary.h: Likewise.
70787         * stdlib/stdlib.h: Likewise.
70788         * stdlib/ucontext.h: Likewise.
70789         * streams/stropts.h: Likewise.
70790         * string/argz.h: Likewise.
70791         * string/bits/string2.h: Likewise.
70792         * string/string.h: Likewise.
70793         * string/strings.h: Likewise.
70794         * sunrpc/rpc/auth.h: Likewise.
70795         * sunrpc/rpc/auth_des.h: Likewise.
70796         * sunrpc/rpc/clnt.h: Likewise.
70797         * sunrpc/rpc/netdb.h: Likewise.
70798         * sunrpc/rpc/pmap_clnt.h: Likewise.
70799         * sunrpc/rpc/xdr.h: Likewise.
70800         * sysdeps/generic/inttypes.h: Likewise.
70801         * sysdeps/generic/net/if.h: Likewise.
70802         * sysdeps/generic/sys/swap.h: Likewise.
70803         * sysdeps/gnu/net/if.h: Likewise.
70804         * sysdeps/gnu/utmpx.h: Likewise.
70805         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
70806         * sysdeps/i386/i486/bits/string.h: Likewise.
70807         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
70808         * sysdeps/s390/bits/string.h: Likewise.
70809         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
70810         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
70811         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
70812         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
70813         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
70814         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
70815         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
70816         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
70817         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
70818         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
70819         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
70820         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
70821         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
70822         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
70823         * sysdeps/unix/sysv/linux/readv.c: Likewise.
70824         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
70825         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
70826         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70827         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
70828         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
70829         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70830         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
70831         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
70832         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
70833         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
70834         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
70835         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
70836         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70837         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
70838         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
70839         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
70840         * sysvipc/sys/ipc.h: Likewise.
70841         * sysvipc/sys/msg.h: Likewise.
70842         * sysvipc/sys/sem.h: Likewise.
70843         * sysvipc/sys/shm.h: Likewise.
70844         * termios/termios.h: Likewise.
70845         * time/sys/time.h: Likewise.
70846         * time/time.h: Likewise.
70847         * wcsmbs/bits/wchar2.h: Likewise.
70848         * wcsmbs/uchar.h: Likewise.
70849         * wcsmbs/wchar.h: Likewise.
70850         * wctype/wctype.h: Likewise.
70852         [BZ #13551]
70853         * Makeconfig: Remove all but ELF support including AIX support.
70854         * Makerules: Likewise.
70855         * config.h.in: Likewise.
70856         * config.make.in: Likewise.
70857         * configure: Likewise.
70858         * configure.in: Likewise.
70859         * csu/Makefile: Likewise.
70860         * csu/version.c: Likewise.
70861         * debug/Makefile: Likewise.
70862         * dlfcn/Makefile: Likewise.
70863         * elf/Makefile: Likewise.
70864         * extra-lib.mk: Likewise.
70865         * iconv/Makefile: Likewise.
70866         * include/libc-symbols.h: Likewise.
70867         * include/shlib-compat.h: Likewise.
70868         * resolv/Makefile: Likewise.
70869         * resolv/res_libc.c: Likewise.
70870         * rt/Makefile: Likewise.
70871         * sysdeps/i386/asm-syntax.h: Likewise.
70872         * sysdeps/i386/sysdep.h: Likewise.
70873         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70874         * sysdeps/mach/sysdep.h: Likewise.
70875         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
70876         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
70877         * sysdeps/s390/asm-syntax.h: Likewise.
70878         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70879         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70880         * sysdeps/sh/sysdep.h: Likewise.
70881         * sysdeps/unix/sparc/sysdep.h: Likewise.
70882         * sysdeps/wordsize-32/divdi3.c: Likewise.
70883         * sysdeps/x86_64/sysdep.h: Likewise.
70885         * argp/Versions: Remove _argp_unlock_xxx.
70887         [BZ #13559]
70888         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
70889         * abilist/libBrokenLocale.abilist: Likewise.
70890         * abilist/libanl.abilist: Likewise.
70891         * abilist/libc.abilist: Likewise.
70892         * abilist/libcrypt.abilist: Likewise.
70893         * abilist/libdl.abilist: Likewise.
70894         * abilist/libm.abilist: Likewise.
70895         * abilist/libnsl.abilist: Likewise.
70896         * abilist/libpthread.abilist: Likewise.
70897         * abilist/libresolv.abilist: Likewise.
70898         * abilist/librt.abilist: Likewise.
70899         * abilist/libthread_db.abilist: Likewise.
70900         * abilist/libutil.abilist: Likewise.
70901         * abilist/libnss_db.abilist: New file.
70903         * scripts/abilist.awk: Add support for indirect functions.
70905         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
70907         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
70909         * shlib-versions: Remove entries for ports architectures.
70911         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
70912         files in ports.
70913         * elf/stackguard-macros.h: Remove support for IA-64.
70914         * elf/tst-auditmod1.c: Likewise.
70915         * sysdeps/generic/ldsodefs.h: Likewise.
70917         * sysdeps/unix/sysv/linux/configure.in: Ports should define
70918         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
70919         configure files.
70921         [BZ #13552]
70922         * configure.in: Remove --enable-omitfp support.
70923         * FAQ.in: Adjust.
70924         * config.make.in: Likewise.
70925         * Makeconfig: Likewise.
70926         * manual/install.texi: Likewise.
70928         In case anyone cares, the IA-64 architecture could move to ports.
70929         * sysdeps/ia64/*: Removed.
70930         * sysdeps/unix/sysv/linux/ia64/*: Removed.
70931         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
70933         [BZ #13555]
70934         * configure.in: Remove entries for unsupported architectures.
70936         [BZ #13533]
70937         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
70938         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
70939         routines.
70940         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
70941         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
70942         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
70943         fall back to using wcrtomb.
70944         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
70945         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
70946         renaming.
70947         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
70948         * wcsmbs/tst-c16c32-1.c: New file.
70950         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
70951         local variable.
70953         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
70955         * elf/tst-unique3.cc: Add explicit declaration of gets.
70956         * elf/tst-unique3lib.cc: Likewise.
70957         * elf/tst-unique3lib2.cc: Likewise.
70958         * elf/tst-unique4.cc: Likewise.
70960         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
70962 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
70964         [BZ #13566]
70965         * assert/assert.h (static_assert): Don't define for C++.
70966         * libio/stdio.h (gets): Do declare for C++ <= C++11.
70967         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
70969 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
70971         * iconv/loop.c (single loop): Fix assertion in storing of
70972         remaining bytes.
70974         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
70976 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
70978         * posix/getconf.c: Update copyright year.
70979         * nss/getent.c: Likewise.
70980         * nss/makedb.c: Likewise.
70981         * iconv/iconvconfig.c: Likewise.
70982         * iconv/iconv_prog.c: Likewise.
70983         * elf/ldconfig.c: Likewise.
70984         * elf/pldd.c: Likewise.
70985         * elf/sotruss.ksh: Likewise.
70986         * catgets/gencat.c: Likewise.
70987         * csu/version.c: Likewise.
70988         * elf/ldd.bash.in: Likewise.
70989         * elf/sprof.c (print_version): Likewise.
70990         * locale/programs/locale.c: Likewise.
70991         * locale/programs/localedef.c: Likewise.
70992         * login/programs/pt_chown.c: Likewise.
70993         * nscd/nscd.c (print_version): Likewise.
70994         * debug/xtrace.sh: Likewise.
70995         * malloc/memusage.sh: Likewise.
70996         * malloc/mtrace.pl: Likewise.
70997         * debug/catchsegv.sh: Likewise.
70999 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
71001         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
71002         pure attribute.
71004 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
71006         [BZ #13533]
71007         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
71008         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
71009         transformations.
71010         * iconv/gconv_int.h: Likewise.
71011         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
71012         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
71013         from libc for GLIBC_2.16.
71014         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
71015         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
71016         * wcsmbs/uchar.h: Really define mbstate_t.
71017         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
71018         * wcsmbs/c16rtomb.c: New file.
71019         * wcsmbs/mbrtoc16.c: New file.
71020         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
71021         for C/POSIX locale.
71022         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
71023         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
71025         * wcsmbs/wchar.h: Add missing __restrict.
71027 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71029         [BZ #13532]
71030         * time/Makefile (routines): Add timespec_get.
71031         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
71032         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
71033         timespec for ISO C11.
71034         * time/timespec_get.c: New file.
71035         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
71036         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
71038         [BZ #13531]
71039         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
71040         * stdlib/stdlib.h: Declare aligned_alloc.
71041         * Versions.def: Add GLIBC_2.16 for libc.
71042         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
71044         [BZ 13527]
71045         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
71046         ISO C11.
71048         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
71049         code.
71051         [BZ #13528]
71052         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
71054         [BZ #13529]
71055         * assert/assert.h (static_assert): Define.
71057         * version.h: Update for 2.16 development version.
71059         [BZ #13526]
71060         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
71061         _ISOC11_SOURCE.
71063         * version.h (RELEASE): Bump for 2.15 release.
71064         * include/features.h (__GLIBC_MINOR__): Bump to 15.
71066         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
71067         Patch by Marek Polacek <mpolacek@redhat.com>.
71069         * bits/byteswap.h: Protect long long constants with __extension__.
71070         * sysdeps/i386/bits/byteswap.h: Likewise.
71071         * sysdeps/ia64/bits/byteswap.h: Likewise.
71072         * sysdeps/s390/bits/byteswap.h: Likewise.
71073         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71075 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71077         [BZ #13540]
71078         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
71079         destination buffer.
71080         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
71082 2011-12-23  Marek Polacek  <polacek@redhat.com>
71084         * elf/dl-addr.c (determine_info): Add inline keyword.
71085         * elf/tst-auditmod4b.c (check_avx): Likewise.
71086         * elf/tst-auditmod6b.c (check_avx): Likewise.
71087         * elf/tst-auditmod6c.c (check_avx): Likewise.
71088         * elf/tst-auditmod7b.c (check_avx): Likewise.
71090 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71092         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
71093         !__SSE_MATH__.
71095 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71097         [BZ #13540]
71098         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
71099         processing for last bytes.
71101 2011-08-06  Bruno Haible  <bruno@clisp.org>
71103         [BZ #13061]
71104         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
71105         U+0385, not to U+1FEE.
71107         [BZ #13062]
71108         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
71109         entry for U+00A5 U+0301.
71111 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
71113         [BZ #13166]
71114         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
71115         buffer for the output is too small.
71117         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
71118         optimization.
71120         [BZ #13185]
71121         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
71122         SSE flags if possible.
71124 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71126         [BZ #13540]
71127         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
71128         processing for last bytes.
71130 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
71132         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
71133         (syscall-list-default-options, syscall-list-default-condition)
71134         (syscall-list-includes): Define.
71135         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
71136         list of ABIs and options and #if conditions for each ABI.  Do not
71137         handle common syscalls between ABIs specially.
71138         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
71139         Remove.
71140         (syscall-list-variants, syscall-list-32bit-options)
71141         (syscall-list-32bit-condition, syscall-list-64bit-options)
71142         (syscall-list-64bit-condition): Define.
71143         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
71144         (syscall-list-variants, syscall-list-32bit-options)
71145         (syscall-list-32bit-condition, syscall-list-64bit-options)
71146         (syscall-list-64bit-condition): Define.
71147         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
71148         Remove.
71149         (syscall-list-variants, syscall-list-32bit-options)
71150         (syscall-list-32bit-condition, syscall-list-64bit-options)
71151         (syscall-list-64bit-condition): Define.
71152         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
71153         Remove.
71154         (syscall-list-variants, syscall-list-32bit-options)
71155         (syscall-list-32bit-condition, syscall-list-64bit-options)
71156         (syscall-list-64bit-condition): Define.
71158 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
71160         * locale/iso-639.def: Add brx entry.
71162         [BZ #13328]
71163         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
71164         Proposed by Mariusz_Cukr <marcukr@op.pl>.
71166         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
71167         __feraiseexcept_renamed.
71169 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71171         [BZ #13538]
71172         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
71173         EPOLLET with unsigned values.
71174         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71175         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71177         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
71178         to large cancellation.
71179         * math/s_cacoshf.c: Likewise.
71180         * math/s_cacoshl.c: Likewise.
71182 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
71184         [BZ #13305]
71185         [BZ #12786]
71186         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
71187         * math/s_cacoshf.c: Likewise.
71188         * math/s_cacoshl.c: Likewise.
71190 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71192         [BZ #13439]
71193         * iconv/gconv.h: Define __GCONV_SWAP.
71194         * iconvdata/unicode.c: The swap bit must be stored in __flags.
71195         * iconvdata/utf-16.c: Likewise.
71196         * iconvdata/utf-32.c: Likewise.
71198 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
71200         [BZ #13524]
71201         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
71202         numerator after shifting it by one limb.
71204 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
71206         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
71207         under [__USE_EXTERN_INLINES].
71209 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71211         [BZ #13446]
71212         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
71214 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71216         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
71217         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
71218         optimized code.
71219         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
71220         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
71221         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
71222         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
71223         for strncasecmp/strncasecmp_l compilation.
71224         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
71225         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
71227 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
71229         [BZ #13484]
71230         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
71231         of __asm__.
71233 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71235         [BZ #13506]
71236         * time/tzfile.c (__tzfile_read): Check values from file header.
71238 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71240         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
71241         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
71242         * powerpc/powerpc32/dl-start.S: Likewise.
71243         * powerpc/powerpc32/elf/start.S: Likewise.
71244         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
71245         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
71246         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
71247         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
71248         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
71249         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
71250         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
71251         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
71252         * powerpc/powerpc32/fpu/s_round.S: Likewise.
71253         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
71254         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
71255         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
71256         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
71257         * powerpc/powerpc32/memset.S: Likewise.
71258         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
71259         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
71260         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
71261         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
71262         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
71263         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
71264         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
71265         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
71266         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
71267         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
71268         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
71269         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71270         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71272 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71274         * math/libm-test.inc: Added more nearbyint tests.
71275         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
71276         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
71277         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
71278         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
71280 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
71282         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
71283         FD_CLOEXEC.
71285 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71287         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
71288         Add wcscpy-ssse3 wcscpy-c.
71289         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
71290         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
71291         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
71292         * sysdeps/x86_64/wcschr.S: New file.
71293         * sysdeps/x86_64/wcsrchr.S: New file.
71294         * string/test-strcmp.c: Remove checking of wcscmp function for
71295         wrong alignments.
71296         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
71297         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
71298         wcsrchr-sse2 wcsrchr-c.
71299         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
71300         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
71301         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
71302         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
71303         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
71304         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
71305         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
71306         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
71307         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
71308         * wcsmbc/wcschr.c (WCSCHR): New macro.
71310 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71312         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
71313         * wcsmbs/test-wcsrchr.c: New file.
71314         * string/test-strrchr.c: Add wcsrchr support.
71315         (WIDE): New macro.
71316         * wcsmbs/test-wcscpy.c: New file.
71317         * string/test-strcpy.c: Add wcscpy support.
71318         (WIDE): New macro.
71320 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
71322         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
71323         the inner loop.
71325 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
71327         [BZ #13472]
71328         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
71330 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
71332         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
71333         Minor optimizations.
71335         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
71336         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
71337         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
71339 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
71341         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
71342         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
71343         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
71344         for gcc to avoid warnings.
71345         * inet/Makefile (tests): Add tst-checks.
71346         * inet/tst-checks.c: New file.
71348         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
71349         warning.
71351         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
71352         __wmemcmp_sse2.
71354         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
71355         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
71357         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
71359 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
71361         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
71362         problem.
71364         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
71366 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
71368         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
71369         conditional on GCC version.
71370         (__arch_compare_and_exchange_val_8_acq)
71371         (__arch_compare_and_exchange_val_16_acq)
71372         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
71373         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
71374         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
71376 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
71378         * sysdeps/sh/backtrace.c: New file.
71380 2011-12-02  Andreas Schwab  <schwab@redhat.com>
71382         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
71383         parenthesis.
71385 2011-12-01  Andreas Schwab  <schwab@redhat.com>
71387         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
71388         falling back to utime.
71390 2011-11-30  Andreas Schwab  <schwab@redhat.com>
71392         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
71393         expectations for float.
71395 2011-11-29  Andreas Schwab  <schwab@redhat.com>
71397         * locale/weight.h (findidx): Add parameter len.
71398         * locale/weightwc.h (findidx): Likewise.
71399         * posix/fnmatch_loop.c (FCT): Adjust caller.
71400         * posix/regcomp.c (build_equiv_class): Likewise.
71401         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
71402         * posix/regexec.c (check_node_accept_bytes): Likewise.
71403         * string/strcoll_l.c (STRCOLL): Likewise.
71404         * string/strxfrm_l.c (STRXFRM): Likewise.
71406 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
71408         * Makefile.in: Remove CVSOPT handling.
71409         * configure.in: Remove use of AC_REVISION.
71410         * iconvdata/Makefile (distribute): No need to filter out CVS.
71411         * scripts/list-sources.sh: Remove CVS, subversion and monotone
71412         handling.
71414 2011-11-16  Andreas Schwab  <schwab@redhat.com>
71416         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
71417         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
71418         [USE_AS_STRNCASECMP_L]: Likewise.
71419         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
71420         NO_TLS_DIRECT_SEG_REFS.
71421         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
71422         Fix argument offsets for non-PIC.
71423         [USE_AS_STRNCASECMP_L]: Likewise.
71424         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
71425         NO_TLS_DIRECT_SEG_REFS.
71427 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71429         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
71430         O_CLOEXEC.
71431         * locale/loadlocale.c (_nl_load_locale): Likewise.
71433 2011-11-15  Andreas Schwab  <schwab@redhat.com>
71435         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
71436         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
71437         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
71438         (SYSCALL_GETTIME): Set errno on error.
71440         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
71441         count references to noai6ai_cached.
71443 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71445         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
71447         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
71448         FD_CLOEXEC for /proc/self/maps.
71450         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
71451         FD_CLOEXEC for /proc/meminfo.
71453         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
71454         gai.conf.
71456         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
71457         FD_CLOEXEC for given file.
71459         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
71461         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
71462         FD_CLOEXEC for /etc/hosts.
71463         (_gethtent): Likewise.
71465         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
71467         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
71468         cancellation and set FD_CLOEXEC for /etc/netgroup.
71470         * nss/nss_files/files-key.c (search): Don't allow cancellation when
71471         reading /etc/publickey.
71473         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
71474         allow cancellation when reading /etc/group.
71476         * nss/nss_files/files-alias.c (internal_setent): Don't allow
71477         cancellation.
71478         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
71480         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
71481         when using data file.
71483         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
71485         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
71486         (write_nis_obj): Use "c" and "e" in fopen.
71488         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
71490         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
71492         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
71494         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
71496         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
71497         locale.alias.
71499         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
71501         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
71503         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
71505         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
71506         file parsing and set FD_CLOEXEC.
71508 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71510         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
71512 2011-11-14  Andreas Schwab  <schwab@redhat.com>
71514         * malloc/arena.c (arena_get2): Don't call reused_arena when
71515         _int_new_arena failed.
71517 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71519         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
71520         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
71521         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
71522         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71523         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71524         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
71525         to compile strcasecmp and strncasecmp.
71526         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
71527         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
71529         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
71531 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
71533         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
71534         locale-defines.sym to gen-as-const-headers.
71535         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
71536         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
71537         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
71538         to compile strcasecmp and strncasecmp.
71539         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
71540         strcasecmp_l and strncasecmp_l.
71541         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
71542         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
71543         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
71544         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
71545         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
71546         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
71547         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
71548         * sysdeps/i386/i686/multiarch/strncase.S: New file.
71549         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
71550         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
71551         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
71553 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
71555         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
71556         result of SYSDEP_GETTIME_CPU to retval.
71557         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
71558         parameter list to macro.  Remove trailing semicolon.  Adjust users.
71560         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
71561         variable.
71563         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
71564         mantissa words.
71565         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
71567         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
71568         from unused variable.
71570         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
71571         DWARF definitions.
71572         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
71573         for assembling.
71575         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
71576         over namespaces.
71578         * sunrpc/rpc_prot.c (rejected): Fix case value.
71580         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
71581         unsigned long long int to avoid warnings in shift.
71583         * posix/regex_internal.c (re_string_reconstruct): Actually use result
71584         of use of trans.
71585         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
71586         variable tmp.
71588         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
71589         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
71590         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
71592         * nis/nis_table.c (nis_list): Use variable of correct type for
71593         result of __follow_path call.
71595 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71597         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
71598         of math functions ceil, trunc, floor, round, and sqrt, when
71599         avaliable on the platform.
71600         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
71601         name clash.
71602         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71603         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71604         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71606 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
71608         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
71609         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71611 2011-11-11  Roland McGrath  <roland@hack.frob.com>
71613         * include/unistd.h: Fix __readlink return type.
71614         Reported by Chris Metcalf <cmetcalf@tilera.com>.
71616 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
71618         * stdlib/ucontext.h: Undo last change for makecontext.
71620 2011-11-11  Andreas Schwab  <schwab@redhat.com>
71622         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
71624         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
71625         * setjmp/setjmp.h: Mark functions as non-leaf.
71626         * setjmp/bits/setjmp2.h: Likewise.
71627         * stdlib/ucontext.h: Likewise.
71629 2011-11-10  Andreas Schwab  <schwab@redhat.com>
71631         * malloc/arena.c (_int_new_arena): Don't increment narenas.
71632         (reused_arena): Don't check arena limit.
71633         (arena_get2): Atomically check arena limit.
71635 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
71637         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
71638         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
71640         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
71641         instructions.
71643 2011-11-07  Andreas Schwab  <schwab@redhat.com>
71645         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
71646         handler when locking.
71648         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71649         Fix size of allocated buffer.
71651 2011-11-04  Andreas Schwab  <schwab@redhat.com>
71653         [BZ #10103]
71654         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
71655         declarations for long double functions.
71656         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
71658         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
71660 2011-11-03  Andreas Schwab  <schwab@redhat.com>
71662         * nscd/nscd.c (main): Don't start AVC thread until credentials are
71663         installed.
71665         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
71666         is disabled.
71668 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71670         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
71672 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71674         * include/alloca.h (stackinfo_alloca_round): Define.
71675         (extend_alloca): Use it.
71676         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
71677         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
71678         here.
71680         * scripts/check-local-headers.sh: Ignore libaudit.h.
71682         * nscd/Makefile (extra-objs): Make recursively expanded.
71684 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
71686         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
71687         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
71689         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
71690         * posix/tst-rfc3484-2.c: Likewise.
71691         * posix/tst-rfc3484-3.c: Likewise.
71693         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71694         process_vm_writev.
71695         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
71696         process_vm_writev.
71697         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
71698         process_vm_writev from libc using GLIBC_2.15 version.
71700         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
71702 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
71704         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
71705         stack usage.
71707 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
71709         [BZ #13367]
71710         * nss/getent.c (initgroups_keys): Show error message in case no group
71711         names are given.
71713         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
71714         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
71715         __bump_nl_timestamp.
71716         * nscd/connections (nscd_init): When host database is served open
71717         netlink socket and request notification about configuration changes.
71718         (main_loop_poll): Track netlink file descriptor and bump timestamp
71719         in case data becomes available.
71720         (main_loop_epoll): Likewise.
71721         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
71722         (database_pers_head): Add extra_data fileds.
71723         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
71724         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
71725         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
71726         Adjust caller.
71727         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
71728         in6ai data, call __free_in6ai.
71729         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
71730         Add -DHAVE_NETLINK.
71731         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
71732         interface information.  Reuse previous data if netlink timestamp
71733         is not changed.
71734         (__bump_nl_timestamp): New function.
71735         (__free_in6ai): New function.
71737 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
71739         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
71740         close_not_cancel_no_status here.
71741         (__check_pf): Reorganize code a bit to not call close twice if OOM.
71743 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71745         [BZ #13276]
71746         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
71747         return value.
71749         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
71750         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
71751         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
71753 2011-07-03  Andreas Jaeger  <aj@suse.de>
71755         [BZ #10709]
71756         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
71757         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
71758         * math/libm-test.inc (sin_test): Add test case.
71760 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71762         [BZ #13337]
71763         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
71764         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71766         * elf/chroot_canon.c (chroot_canon): Cleanups.
71768         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
71770         [BZ #13335]
71771         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
71772         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71774         * string/test-strchr.c: Make usable for strchrnul testing.
71775         * string/test-strchrnul.c: New file.
71776         * string/Makefile (strop-tests): Add strchrnul.
71778         * po/it.po: Update from translation team.
71779         * po/es.po: Likewise.
71781 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
71783         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
71784         the three constants needed as parameters.  Drop the others.
71785         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
71786         __m128i_strloadu_tolower.
71787         Create and initialize variable zero and use it in all the places
71788         where _mm_setzero_si128 was used.
71790         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
71791         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
71792         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
71793         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
71794         anymore.
71795         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
71796         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
71797         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
71798         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
71799         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
71800         __mpranred, __mptan.
71801         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
71802         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
71803         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
71804         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
71805         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
71806         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
71807         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
71808         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
71809         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
71811 2011-10-28  Andreas Schwab  <schwab@redhat.com>
71813         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
71814         redefine if SHARED.
71815         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
71817         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
71818         wide char related routines to wcsmbs subdir.
71820 2011-10-27  Andreas Schwab  <schwab@redhat.com>
71822         [BZ #13344]
71823         * misc/sys/cdefs.h (__THROWNL): Define.
71824         * posix/unistd.h: Use __THREADNL instead of __THREAD
71825         for memory synchronization functions.
71827 2011-10-26  Roland McGrath  <roland@hack.frob.com>
71829         [BZ #13349]
71830         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
71831         doesn't exist.
71832         * manual/stdio.texi (Obstack Streams): Node removed.
71834 2011-10-26  Andreas Schwab  <schwab@redhat.com>
71836         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
71837         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71838         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71840         * math/math_private.h (math_force_eval): Allow non-addressable
71841         arguments.
71842         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
71844 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71846         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
71847         file is not needed.
71849         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
71850         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
71851         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71852         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71853         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71854         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71855         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71856         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
71857         Add AVX variants.
71858         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
71859         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
71860         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
71861         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
71862         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
71863         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
71864         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
71865         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
71866         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
71867         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
71868         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
71869         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
71870         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
71871         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
71872         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
71873         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
71874         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
71875         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
71876         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
71878         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
71879         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
71881         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
71882         place.  Use VEX encoding when compiling for AVX.
71884 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71886         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
71887         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
71889         * string/test-strchr.c (do_test): Don't generate NUL bytes.
71891 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71893         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
71894         useless if() expression.
71895         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71896         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71897         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71898         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71899         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71900         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71901         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71902         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71903         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71904         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71905         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71906         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71907         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71908         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71909         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71910         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71911         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71912         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71913         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71915         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
71917 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71919         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
71920         condition.
71921         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71923 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71925         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
71926         .text section.  Avoid duplicate constants.
71927         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71928         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71929         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71930         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71931         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71932         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71933         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71934         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71935         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71936         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
71937         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71938         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71939         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71940         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71941         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71942         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71943         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71944         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71945         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71946         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71947         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71948         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71949         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71950         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
71951         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
71952         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
71953         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
71954         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
71955         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
71956         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
71957         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
71958         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
71959         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71960         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
71961         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
71962         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
71963         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
71964         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
71965         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
71966         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
71967         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
71968         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
71969         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
71970         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
71971         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
71973 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
71975         * sysdeps/x86_64/dla.h: Move to ...
71976         * sysdeps/x86_64/fpu/dla.h: ...here.
71977         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
71978         situations.  Use __builtin_fma only for gcc 4.6 and up.
71980         * config.make.in: Add have-mfma4 entry.
71981         * configure.in: Substitute libc_cv_cc_fma4.
71982         * math/Makefile (dbl-only-routines): Add sincostab.
71983         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
71984         Use __sincostab not sincos.
71985         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
71986         name is a macro.
71987         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71988         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71989         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71990         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
71991         using __copysign.
71992         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
71993         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
71994         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
71995         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
71996         and __inv.
71997         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
71998         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
71999         __copysign.
72000         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
72001         define aliases when function name is a macro.
72002         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
72003         sysdeps/ieee754/dbl-64/sincos.tbl.
72004         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
72005         fma4-enabled routines.
72006         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
72007         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
72008         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
72009         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
72010         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
72011         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
72012         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
72013         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
72014         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
72015         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
72016         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
72017         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
72018         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
72019         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
72020         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
72021         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
72022         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
72023         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
72024         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
72025         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
72026         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
72027         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
72028         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
72029         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
72030         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
72031         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
72032         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
72033         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
72034         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
72035         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
72037         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
72038         rename.
72039         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72040         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72041         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72042         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72043         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72044         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72045         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72046         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72048 2011-10-24  Andreas Schwab  <schwab@redhat.com>
72050         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
72052 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72054         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
72056         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
72057         prediction.
72058         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
72060         * string/strnlen.c: Don't define STRNLEN, reverse logic.
72061         Remove unused variable magic_bits.
72062         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
72064         * string/strnlen.c: Define and use STRNLEN macro.
72065         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
72066         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
72067         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
72068         * wcsmbs/wcslen.c: Define and use WCSLEN.
72069         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
72070         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
72071         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
72072         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
72073         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
72074         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
72075         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72077 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72079         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72080         strnlen-sse2-no-bsf.
72081         Rename strlen-no-bsf to strlen-sse2-no-bsf.
72082         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
72083         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
72084         Add strnlen support.
72085         (USE_AS_STRNLEN): New macro.
72086         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
72087         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
72088         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
72089         * sysdeps/x86_64/wcslen.S: New file.
72091 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
72093         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72094         XMM-moves are used for copying on small sizes.
72096 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72098         * wcsmbs/Makefile (strop-tests): Add wcschr.
72099         * wcsmbs/test-wcschr.c: New file.
72100         * string/test-strchr.c: Update.
72101         Add wcschr support.
72102         (WIDE): New macro.
72104 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72106         * wcsmbs/Makefile (strop-tests): Add wcslen.
72107         * wcsmbs/test-wcslen.c: New file.
72108         * string/test-strlen.c: Update.
72109         Add wcslen support.
72110         (WIDE): New macro.
72112 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72114         * po/it.po: Update from translation team.
72116 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72118         * sysdeps/x86_64/wcscmp.S: Update.
72119         Fix wrong comparison semantics.
72120         wcscmp shall use signed comparison not unsigned.
72121         Don't use substraction to avoid overflow bug.
72122         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
72123         * wcsmbc/wcscmp.c: Likewise.
72124         * string/test-strcmp.c: Likewise.
72125         Add new tests to check cases with negative values.
72127 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72129         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
72130         * sysdeps/x86_64/dla.h: ...here.  New file.
72131         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
72132         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72133         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72134         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72135         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72136         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72137         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72138         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72139         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72141 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
72143         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
72144         __ynl_finite aliases.
72146 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
72148         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72150         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
72151         define DLA_FMA.
72152         [DLA_FMA] (EMULV): Use DLA_FMA.
72153         [DLA_FMA] (MUL12): Use EMULV.
72154         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
72155         that are not needed.
72156         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72157         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72158         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72159         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72160         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72161         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72162         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72164 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
72166         * math/s_nan.c: Undef __nan.
72167         * math/s_nanf.c: Undef __nanf.
72168         * math/s_nanl.c: Undef __nanl.
72169         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
72170         "math_private.h".
72172 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
72174         * math/s_catan.c: Add branch predictions.
72175         * math/s_catanf.c: Likewise.
72176         * math/s_catanh.c: Likewise.
72177         * math/s_catanhf.c: Likewise.
72178         * math/s_catanhl.c: Likewise.
72179         * math/s_catanl.c: Likewise.
72180         * math/s_cexp.c: Likewise.
72181         * math/s_cexpf.c: Likewise.
72182         * math/s_cexpl.c: Likewise.
72183         * math/s_clog.c: Likewise.
72184         * math/s_clog10.c: Likewise.
72185         * math/s_clog10f.c: Likewise.
72186         * math/s_clog10l.c: Likewise.
72187         * math/s_clogf.c: Likewise.
72188         * math/s_clogl.c: Likewise.
72189         * math/s_csqrt.c: Likewise.
72190         * math/s_csqrtf.c: Likewise.
72191         * math/s_csqrtl.c: Likewise.
72192         * math/s_ctanf.c: Likewise.
72193         * math/s_ctanh.c: Likewise.
72194         * math/s_ctanhf.c: Likewise.
72195         * math/s_ctanhl.c: Likewise.
72196         * math/s_ctanl.c: Likewise.
72198         * math/math_private.h: Define __nan, __nanf, __nanl.
72199         * math/s_cacosh.c: Include <math_private.h>.
72200         * math/s_cacoshl.c: Likewise.
72201         * math/s_casinh.c: Likewise.
72202         * math/s_casinhf.c: Likewise.
72203         * math/s_casinhl.c: Likewise.
72204         * math/s_ccos.c: Rely entire on ccosh.
72205         * math/s_ccosf.c: Rely entire on ccoshf.
72206         * math/s_ccosl.c: Rely entirely on ccoshl.
72207         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
72208         Remove tests for FE_INVALID.
72209         * math/s_ccoshf.c: Likewise.
72210         * math/s_ccoshl.c: Likewise.
72211         * math/s_csin.c: Likewise.
72212         * math/s_csinf.c: Likewise.
72213         * math/s_csinh.c Likewise.
72214         * math/s_csinhf.c: Likewise.
72215         * math/s_csinhl.c: Likewise.
72216         * math/s_csinl.c: Likewise.
72217         * math/s_ctan.c: Likewise.
72218         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
72219         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
72220         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
72222 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
72224         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
72225         compilation problems.
72227         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
72228         __builtin_expect.
72230 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
72232         * sysdeps/i386/configure.in: Test for -mfma4 option.
72233         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
72234         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
72235         COMMON_CPUID_INDEX_80000001.
72236         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
72237         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
72238         use it if FMA3 is not supported.
72239         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
72241         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
72242         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72244 2011-10-20  Andreas Schwab  <schwab@redhat.com>
72246         [BZ #12892]
72247         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
72248         it would create a cycle with a link time dependency.
72250 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
72252         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
72253         instruction.
72254         * string/Makefile (strop-tests): Add rawmemchr.
72255         * string/test-rawmemchr.c: New file.
72257         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
72258         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
72259         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
72260         when compiling str{,n}casecmp and when AVX is available.  Hook up
72261         new optimized code in initializers.
72263 2011-10-19  Andreas Schwab  <schwab@redhat.com>
72265         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
72266         __feraiseexcept instead of feraiseexcept.
72268 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
72270         * math/math_private.h: Define defaults for libc_fetestexcept and
72271         libc_feupdateenv.
72272         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
72273         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
72274         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72275         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72276         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72277         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72278         libc_fetestexcept and libc_feupdateenv.
72280         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
72281         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
72282         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
72283         * sysdeps/x86_64/fpu/math_private.h: Define special version of
72284         libc_feholdexcept_setround.
72286         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
72287         Add s_nearbyint-c and s_nearbyintf-c.
72288         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
72289         nearbyintf inlines.
72290         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
72291         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
72292         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
72293         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
72295         * math/math_private.h: Define defaults for libc_fegetround,
72296         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
72297         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
72298         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
72299         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
72300         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
72301         standard functions.
72302         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72303         Remove comments and hacks for old compiler versions.
72304         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72305         libc_fegetround, libc_fesetround, libc_feholdexcept, and
72306         libc_feholdexceptl.
72308 2011-10-18  Andreas Schwab  <schwab@redhat.com>
72310         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
72311         (__feraiseexcept_renamed): Add __NTH.
72312         (feraiseexcept): Add __NTH.  Rename local variables to fix
72313         namespace violations.
72315 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
72317         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
72319         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
72321         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
72322         recently added interfaces.
72323         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
72325         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
72326         about macro parameter expansion.
72328         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
72329         __NO_MATH_INLINES is defined.  Cleanups.
72331         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
72332         and __floorf is target has SSE4.1.
72333         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
72334         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
72335         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
72336         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
72338         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
72339         name.
72340         (floorf): Likewise.
72342         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
72344 2011-10-17  Andreas Schwab  <schwab@redhat.com>
72346         * misc/sys/cdefs.h: Fix last change.
72348         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
72349         database lookup.
72351 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
72353         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
72355         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
72356         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72357         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72358         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72359         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72360         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72361         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72362         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72363         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72364         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
72365         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
72366         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
72367         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
72368         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
72369         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
72370         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
72371         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
72372         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
72373         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
72374         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
72375         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
72376         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
72378         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
72379         ceil, ceilf, floor, floorf.
72381         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
72382         Perform IRELATIVE relocations last.
72384         * elf/do-rel.h: Add another parameter nrelative, replacing the
72385         local variable with the same name.  Change name of the function
72386         to end in Rel or Rela (uppercase).
72387         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
72388         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
72389         elf_dynamic_do_##reloc function.
72391 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72393         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
72394         is sufficient, at least on modern CPUs.
72396         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
72398         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
72399         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
72401         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
72402         __expl_finite.
72403         * math/bits/math-finite.h: Add entries for exp.
72404         * math/e_expl.c: Add __*_finite alias.
72405         * sysdeps/i386/fpu/e_exp.S: Likewise.
72406         * sysdeps/i386/fpu/e_expf.S: Likewise.
72407         * sysdeps/i386/fpu/e_expl.c: Likewise.
72408         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72409         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72410         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
72411         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
72412         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
72413         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72414         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72416         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
72417         is sufficient, at least on modern CPUs.
72419         * ctype/ctype-info.c (__ctype_init): Define.
72420         * include/ctype.h (__ctype_init): Declare.
72421         (__ctype_b_loc): The variable is always initialized.
72422         (__ctype_toupper_loc): Likewise.
72423         (__ctype_tolower_loc): Likewise.
72424         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
72425         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
72427 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
72429         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
72431         * configure.in: Also look in $cxxmachine/include for C++ system
72432         headers.
72434 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72436         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
72437         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
72438         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
72439         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
72440         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
72441         (USE_AS_WMEMCMP): New macro.
72442         Fixing indents.
72443         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
72444         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
72445         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
72446         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
72447         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72448         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
72449         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
72450         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
72451         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
72452         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
72453         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
72454         (USE_AS_WMEMCMP): New macro.
72455         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
72456         * sysdeps/string/test-memcmp.c: Update.
72457         Fix simple_wmemcmp.
72458         Add new tests.
72459         * wcsmbs/wmemcmp.c: Update.
72460         (WMEMCMP): New macro.
72461         Fix overflow bug.
72463 2011-10-12  Andreas Jaeger  <aj@suse.de>
72465         [BZ #13268]
72466         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
72468 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72470         * libio/iofwide.c (do_length): Avoid warning.
72472         * ctype/ctype.h (__isctype_f): Add missing __THROW.
72474 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
72476         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
72478         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
72479         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
72480         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
72481         * sysdeps/i386/i686/fpu/e_log.S: New file.
72482         * sysdeps/i386/i686/fpu/e_logf.S: New file.
72483         * sysdeps/i386/i686/fpu/e_logl.S: New file.
72485         * ctype/ctype.h: Add support for inlined isXXX functions when
72486         compiling C++ code.
72488 2011-10-14  Andreas Schwab  <schwab@redhat.com>
72490         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72492         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
72494 2011-10-13  Roland McGrath  <roland@hack.frob.com>
72496         [BZ #13291]
72497         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
72499 2011-10-13  Andreas Schwab  <schwab@redhat.com>
72501         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
72502         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
72503         feraiseexcept.
72505         * sysdeps/x86_64/memrchr.S: Check for zero size.
72507         * string/stratcliff.c: Add memrchr tests.
72509 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72511         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72512         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
72513         rawmemchr-sse2 rawmemchr-sse2-bsf.
72514         * sysdeps/i386/i686/multiarch/memchr.S: New file.
72515         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
72516         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
72517         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
72518         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
72519         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
72520         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
72521         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
72522         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
72523         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
72524         * string/memrchr.c (MEMRCHR): New macro.
72526 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
72528         Add integration with gcc's -ffinite-math-only and optimize wrapper
72529         functions in libm.
72530         * Versions.def: Define GLIBC_2.15 version for libm.
72531         * math/Makefile (headers): Add bits/math-finite.h.
72532         * math/bits/math-finite.h: New file.
72533         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
72534         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
72535         * math/e_acoshl.c: Add __*_finite alias.
72536         * math/e_acosl.c: Likewise.
72537         * math/e_asinl.c: Likewise.
72538         * math/e_atan2l.c: Likewise.
72539         * math/e_atanhl.c: Likewise.
72540         * math/e_coshl.c: Likewise.
72541         * math/e_exp10.c: Likewise.
72542         * math/e_exp10f.c: Likewise.
72543         * math/e_exp10l.c: Likewise.
72544         * math/e_exp2l.c: Likewise.
72545         * math/e_fmodl.c: Likewise.
72546         * math/e_gammal_r.c: Likewise.
72547         * math/e_hypotl.c: Likewise.
72548         * math/e_j0l.c: Likewise.
72549         * math/e_j1l.c: Likewise.
72550         * math/e_jnl.c: Likewise.
72551         * math/e_lgammal_r.c: Likewise.
72552         * math/e_log10l.c: Likewise.
72553         * math/e_log2l.c: Likewise.
72554         * math/e_logl.c: Likewise.
72555         * math/e_powl.c: Likewise.
72556         * math/e_sinhl.c: Likewise.
72557         * math/e_sqrtl.c: Likewise.
72558         * math/e_scalb.c: Completely rewritten and optimized.
72559         * math/e_scalbf.c: Likewise.
72560         * math/e_scalbl.c: Likewise.
72561         * math/w_acos.c: Likewise.
72562         * math/w_acosf.c: Likewise.
72563         * math/w_acosl.c: Likewise.
72564         * math/w_acosh.c: Likewise.
72565         * math/w_acoshf.c: Likewise.
72566         * math/w_acoshl.c: Likewise.
72567         * math/w_asin.c: Likewise.
72568         * math/w_asinf.c: Likewise.
72569         * math/w_asinl.c: Likewise.
72570         * math/w_atan2.c: Likewise.
72571         * math/w_atan2f.c: Likewise.
72572         * math/w_atan2l.c: Likewise.
72573         * math/w_atanh.c: Likewise.
72574         * math/w_atanhf.c: Likewise.
72575         * math/w_atanhl.c: Likewise.
72576         * math/w_exp10.c: Likewise.
72577         * math/w_exp10f.c: Likewise.
72578         * math/w_exp10l.c: Likewise.
72579         * math/w_fmod.c: Likewise.
72580         * math/w_fmodf.c: Likewise.
72581         * math/w_fmodl.c: Likewise.
72582         * math/w_j0.c: Likewise.
72583         * math/w_j0f.c: Likewise.
72584         * math/w_j0l.c: Likewise.
72585         * math/w_j1.c: Likewise.
72586         * math/w_j1f.c: Likewise.
72587         * math/w_j1l.c: Likewise.
72588         * math/w_jn.c: Likewise.
72589         * math/w_jnf.c: Likewise.
72590         * math/w_log.c: Likewise.
72591         * math/w_logf.c: Likewise.
72592         * math/w_logl.c: Likewise.
72593         * math/w_log10.c: Likewise.
72594         * math/w_log10f.c: Likewise.
72595         * math/w_log10l.c: Likewise.
72596         * math/w_log2.c: Likewise.
72597         * math/w_log2f.c: Likewise.
72598         * math/w_log2l.c: Likewise.
72599         * math/w_pow.c: Likewise.
72600         * math/w_powf.c: Likewise.
72601         * math/w_powl.c: Likewise.
72602         * math/w_remainder.c: Likewise.
72603         * math/w_remainderf.c: Likewise.
72604         * math/w_remainderl.c: Likewise.
72605         * math/w_scalb.c: Likewise.
72606         * math/w_scalbf.c: Likewise.
72607         * math/w_scalbl.c: Likewise.
72608         * math/w_sqrt.c: Likewise.
72609         * math/w_sqrtf.c: Likewise.
72610         * math/w_sqrtl.c: Likewise.
72611         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
72612         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
72613         used.
72614         * math/math_private.h: Declare __kernel_standard_f.
72615         * math/w_cosh.c: Remove cruft and optimize a bit.
72616         * math/w_coshf.c: Likewise.
72617         * math/w_coshl.c: Likewise.
72618         * math/w_exp2.c: Likewise.
72619         * math/w_exp2f.c: Likewise.
72620         * math/w_exp2l.c: Likewise.
72621         * math/w_hypot.c: Likewise.
72622         * math/w_hypotf.c: Likewise.
72623         * math/w_hypotl.c: Likewise.
72624         * math/w_lgamma.c: Likewise.
72625         * math/w_lgamma_r.c: Likewise.
72626         * math/w_lgammaf.c: Likewise.
72627         * math/w_lgammaf_r.c: Likewise.
72628         * math/w_lgammal.c: Likewise.
72629         * math/w_lgammal_r.c: Likewise.
72630         * math/w_sinh.c: Likewise.
72631         * math/w_sinhf.c: Likewise.
72632         * math/w_sinhl.c: Likewise.
72633         * math/w_tgamma.c: Likewise.
72634         * math/w_tgammaf.c: Likewise.
72635         * math/w_tgammal.c: Likewise.
72636         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72637         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72638         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
72639         Minor optimizations.  Pretty printing.  Remove cruft.
72640         * sysdeps/i386/fpu/e_acosf.S: Likewise.
72641         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72642         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72643         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72644         * sysdeps/i386/fpu/e_acosl.c: Likewise.
72645         * sysdeps/i386/fpu/e_asin.S: Likewise.
72646         * sysdeps/i386/fpu/e_asinf.S: Likewise.
72647         * sysdeps/i386/fpu/e_atan2.S: Likewise.
72648         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
72649         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
72650         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72651         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72652         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72653         * sysdeps/i386/fpu/e_exp10.S: Likewise.
72654         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
72655         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
72656         * sysdeps/i386/fpu/e_exp2.S: Likewise.
72657         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
72658         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
72659         * sysdeps/i386/fpu/e_fmod.S: Likewise.
72660         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
72661         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
72662         * sysdeps/i386/fpu/e_hypot.S: Likewise.
72663         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
72664         * sysdeps/i386/fpu/e_log.S: Likewise.
72665         * sysdeps/i386/fpu/e_log10.S: Likewise.
72666         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72667         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72668         * sysdeps/i386/fpu/e_log2.S: Likewise.
72669         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72670         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72671         * sysdeps/i386/fpu/e_logf.S: Likewise.
72672         * sysdeps/i386/fpu/e_logl.S: Likewise.
72673         * sysdeps/i386/fpu/e_pow.S: Likewise.
72674         * sysdeps/i386/fpu/e_powf.S: Likewise.
72675         * sysdeps/i386/fpu/e_powl.S: Likewise.
72676         * sysdeps/i386/fpu/e_remainder.S: Likewise.
72677         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
72678         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
72679         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72680         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72681         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72682         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
72683         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
72684         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
72685         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72686         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72687         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72688         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72689         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72690         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72691         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
72692         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72693         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72694         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72695         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72696         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72697         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72698         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72699         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72700         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72701         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72702         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72703         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72704         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72705         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72706         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72707         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72708         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72709         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72710         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72711         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72712         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72713         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
72714         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72715         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72716         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72717         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72718         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72719         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72720         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72721         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72722         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72723         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72724         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72725         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72726         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72727         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72728         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72729         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72730         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72731         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72732         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72733         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72734         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
72735         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72736         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72737         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72738         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72739         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72740         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72741         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72742         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72743         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72744         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72745         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72746         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72747         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72748         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72749         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72750         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72751         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72752         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72753         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
72754         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72755         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72756         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72757         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72758         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72759         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72760         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72761         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72762         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72763         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72764         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72765         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72766         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72767         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
72768         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72769         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72770         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72771         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72772         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72773         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72774         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72775         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72776         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72777         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72778         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
72779         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72780         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72781         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72782         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
72783         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
72784         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
72785         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
72786         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
72787         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
72788         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
72789         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72790         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72791         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72792         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72793         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
72794         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72795         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
72796         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
72797         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
72798         (__isnanf): Likewise.
72799         (__isinf_ns): Likewise.
72800         (__isinf_nsf): Likewise.
72801         (__finite): Likewise.
72802         (__finitef): Likewise.
72803         (__ieee754_sqrt): Define as macro.
72804         (__ieee754_sqrtf): Define as macro.
72805         (__ieee754_sqrtl): Define as macro.
72806         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
72807         inlined copy.
72808         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
72809         __FINITE_MATH_ONLY__ consistent.
72810         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
72812 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
72814         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
72815         of rawmemchr.
72817         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
72819 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
72821         * po/ja.po: Update from translation team.
72823 2011-10-08  Roland McGrath  <roland@hack.frob.com>
72825         * locale/programs/locarchive.c (prepare_address_space): New function.
72826         (create_archive, enlarge_archive, open_archive): Use it.
72828         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
72829         inside [SHARED], where it is used.
72831         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
72833         * nss/getent.c (netgroup_keys): Remove unused variable.
72834         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72836 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
72838         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
72839         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
72840         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
72841         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
72842         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
72843         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
72844         * math/Makefile (libm-calls): Add s_isinf_ns.
72845         * math/divtc3.c: Use __isinf_nsl instead of isinf.
72846         * math/multc3.c: Likewise.
72847         * math/s_casin.c: Likewise.
72848         * math/s_casinf.c: Likewise.
72849         * math/s_casinl.c: Likewise.
72850         * math/s_ccos.c: Likewise.
72851         * math/s_ccosf.c: Likewise.
72852         * math/s_ccosl.c: Likewise.
72853         * math/s_ctan.c: Likewise.
72854         * math/s_ctanf.c: Likewise.
72855         * math/s_ctanh.c: Likewise.
72856         * math/s_ctanhf.c: Likewise.
72857         * math/s_ctanhl.c: Likewise.
72858         * math/s_ctanl.c: Likewise.
72859         * math/w_fmod.c: Likewise.
72860         * math/w_fmodf.c: Likewise.
72861         * math/w_fmodl.c: Likewise.
72862         * math/w_remainder.c: Likewise.
72863         * math/w_remainderf.c: Likewise.
72864         * math/w_remainderl.c: Likewise.
72865         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
72866         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
72867         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
72868         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
72869         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
72870         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
72871         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
72872         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
72874         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
72875         of the number.
72876         * stdio-common/printf_fphex.c: Likewise.
72877         * stdio-common/printf_size.c: Likewise.
72879         * math/e_exp10.c: Include math_private.h using <...> not "...".
72880         * math/e_exp10f.c: Likewise.
72881         * math/e_exp10l.c: Likewise.
72882         * math/e_exp2l.c: Likewise.
72883         * math/e_j0l.c: Likewise.
72884         * math/e_j1l.c: Likewise.
72885         * math/e_jnl.c: Likewise.
72886         * math/e_lgammal_r.c: Likewise.
72887         * math/e_rem_pio2l.c: Likewise.
72888         * math/e_scalb.c: Likewise.
72889         * math/e_scalbf.c: Likewise.
72890         * math/e_scalbl.c: Likewise.
72891         * math/k_cosl.c: Likewise.
72892         * math/k_sinl.c: Likewise.
72893         * math/k_tanl.c: Likewise.
72894         * math/s_cacoshf.c: Likewise.
72895         * math/s_catan.c: Likewise.
72896         * math/s_catanf.c: Likewise.
72897         * math/s_catanh.c: Likewise.
72898         * math/s_catanhf.c: Likewise.
72899         * math/s_catanhl.c: Likewise.
72900         * math/s_catanl.c: Likewise.
72901         * math/s_ccosh.c: Likewise.
72902         * math/s_ccoshf.c: Likewise.
72903         * math/s_ccoshl.c: Likewise.
72904         * math/s_cexp.c: Likewise.
72905         * math/s_cexpf.c: Likewise.
72906         * math/s_cexpl.c: Likewise.
72907         * math/s_clog.c: Likewise.
72908         * math/s_clog10.c: Likewise.
72909         * math/s_clog10f.c: Likewise.
72910         * math/s_clog10l.c: Likewise.
72911         * math/s_clogf.c: Likewise.
72912         * math/s_clogl.c: Likewise.
72913         * math/s_csin.c: Likewise.
72914         * math/s_csinf.c: Likewise.
72915         * math/s_csinh.c: Likewise.
72916         * math/s_csinhf.c: Likewise.
72917         * math/s_csinhl.c: Likewise.
72918         * math/s_csinl.c: Likewise.
72919         * math/s_csqrt.c: Likewise.
72920         * math/s_csqrtf.c: Likewise.
72921         * math/s_csqrtl.c: Likewise.
72922         * math/s_ctan.c: Likewise.
72923         * math/s_ctanf.c: Likewise.
72924         * math/s_ctanh.c: Likewise.
72925         * math/s_ctanhf.c: Likewise.
72926         * math/s_ctanhl.c: Likewise.
72927         * math/s_ctanl.c: Likewise.
72928         * math/s_ldexp.c: Likewise.
72929         * math/s_ldexpf.c: Likewise.
72930         * math/s_ldexpl.c: Likewise.
72931         * math/s_significand.c: Likewise.
72932         * math/s_significandf.c: Likewise.
72933         * math/s_significandl.c: Likewise.
72934         * math/w_acos.c: Likewise.
72935         * math/w_acosf.c: Likewise.
72936         * math/w_acosh.c: Likewise.
72937         * math/w_acoshf.c: Likewise.
72938         * math/w_acoshl.c: Likewise.
72939         * math/w_acosl.c: Likewise.
72940         * math/w_asin.c: Likewise.
72941         * math/w_asinf.c: Likewise.
72942         * math/w_asinl.c: Likewise.
72943         * math/w_atan2.c: Likewise.
72944         * math/w_atan2f.c: Likewise.
72945         * math/w_atan2l.c: Likewise.
72946         * math/w_atanh.c: Likewise.
72947         * math/w_atanhf.c: Likewise.
72948         * math/w_atanhl.c: Likewise.
72949         * math/w_cosh.c: Likewise.
72950         * math/w_coshf.c: Likewise.
72951         * math/w_coshl.c: Likewise.
72952         * math/w_dremf.c: Likewise.
72953         * math/w_exp10.c: Likewise.
72954         * math/w_exp10f.c: Likewise.
72955         * math/w_exp10l.c: Likewise.
72956         * math/w_exp2.c: Likewise.
72957         * math/w_exp2f.c: Likewise.
72958         * math/w_fmod.c: Likewise.
72959         * math/w_fmodf.c: Likewise.
72960         * math/w_fmodl.c: Likewise.
72961         * math/w_hypot.c: Likewise.
72962         * math/w_hypotf.c: Likewise.
72963         * math/w_hypotl.c: Likewise.
72964         * math/w_j0.c: Likewise.
72965         * math/w_j0f.c: Likewise.
72966         * math/w_j0l.c: Likewise.
72967         * math/w_j1.c: Likewise.
72968         * math/w_j1f.c: Likewise.
72969         * math/w_j1l.c: Likewise.
72970         * math/w_jn.c: Likewise.
72971         * math/w_jnf.c: Likewise.
72972         * math/w_jnl.c: Likewise.
72973         * math/w_lgamma.c: Likewise.
72974         * math/w_lgamma_r.c: Likewise.
72975         * math/w_lgammaf.c: Likewise.
72976         * math/w_lgammaf_r.c: Likewise.
72977         * math/w_lgammal.c: Likewise.
72978         * math/w_lgammal_r.c: Likewise.
72979         * math/w_log.c: Likewise.
72980         * math/w_log10.c: Likewise.
72981         * math/w_log10f.c: Likewise.
72982         * math/w_log10l.c: Likewise.
72983         * math/w_log2.c: Likewise.
72984         * math/w_log2f.c: Likewise.
72985         * math/w_log2l.c: Likewise.
72986         * math/w_logf.c: Likewise.
72987         * math/w_logl.c: Likewise.
72988         * math/w_pow.c: Likewise.
72989         * math/w_powf.c: Likewise.
72990         * math/w_powl.c: Likewise.
72991         * math/w_remainder.c: Likewise.
72992         * math/w_remainderf.c: Likewise.
72993         * math/w_remainderl.c: Likewise.
72994         * math/w_scalb.c: Likewise.
72995         * math/w_scalbf.c: Likewise.
72996         * math/w_scalbl.c: Likewise.
72997         * math/w_sinh.c: Likewise.
72998         * math/w_sinhf.c: Likewise.
72999         * math/w_sinhl.c: Likewise.
73000         * math/w_sqrt.c: Likewise.
73001         * math/w_sqrtf.c: Likewise.
73002         * math/w_sqrtl.c: Likewise.
73003         * math/w_tgamma.c: Likewise.
73004         * math/w_tgammaf.c: Likewise.
73005         * math/w_tgammal.c: Likewise.
73007         * po/ja.po: Update from translation team.
73009 2011-09-29  Andreas Jaeger  <aj@suse.de>
73011         [BZ #13179]
73012         * sunrpc/netname.c (netname2host): Fix logic.
73014         [BZ #6779]
73015         [BZ #6783]
73016         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
73017         correctly.
73018         * math/w_remainder.c (__remainder): Likewise.
73019         * math/w_remainderf.c (__remainderf): Likewise.
73020         * math/libm-test.inc (remainder_test): Add test cases.
73022 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73024         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
73025         sdiv_qrnnd.
73027 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73029         * string/test-memcmp.c: Avoid unncessary #defines.
73030         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73032 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73034         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
73035         Use new sse2 version for core i3 - i7 as it's faster
73036         than sse42 version.
73037         (bit_Prefer_PMINUB_for_stringop): New.
73038         * sysdeps/x86_64/rawmemchr.S: Update.
73039         Replace with faster SSE2 version.
73040         * sysdeps/x86_64/memrchr.S: New file.
73041         * sysdeps/x86_64/memchr.S: Update.
73042         Replace with faster SSE2 version.
73044 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
73046         * elf/dl-load.c (lose): Add cast to avoid warning.
73048 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73050         * po/ca.po: Update from translation team.
73052         * inet/getnetgrent_r.c: Hook up nscd.
73053         * nscd/Makefile (routines): Add nscd_netgroup.
73054         (nscd-modules): Add netgroupcache.
73055         (CFLAGS-netgroupcache.c): Define.
73056         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
73057         (cache_search): Add const to second parameter.
73058         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
73059         INNETGR.
73060         (dbs): Add netgrdb entry.
73061         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
73062         (verify_persistent_db): Handle netgrdb.
73063         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
73064         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
73065         GETFDNETGR.
73066         (netgroup_response_header): Define.
73067         (innetgroup_response_header): Define.
73068         (datahead): Add netgroup_response_header and innetgroup_response_header
73069         elements.
73070         * nscd/nscd.conf: Add entries for netgroup cache.
73071         * nscd/nscd.h (dbtype): Add netgrdb.
73072         (_PATH_NSCD_NETGROUP_DB): Define.
73073         (netgroup_iov_disabled): Declare.
73074         (xmalloc, xcalloc, xrealloc): Move declarations here.
73075         (cache_search): Adjust prototype.
73076         Add netgroup-related prototypes.
73077         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
73078         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
73079         (__nscd_innetgr): Declare.
73080         * nscd/selinux.c (perms): Use access_vector_t as element type and
73081         add netgroup-related initializers.
73082         * nscd/netgroupcache.c: New file.
73083         * nscd/nscd_netgroup.c: New file.
73084         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
73085         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
73086         For four parameters use innetgr.
73087         * nss/nss_files/files-init.c: Add definition and callback for netgr.
73088         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
73089         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
73090         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
73092         * nscd/connections.c (register_traced_file): Don't register file
73093         for disabled databases.
73095 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
73097         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
73099         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
73100         from tree and freeing node.
73102 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
73104         * nss/nsswitch.c (__nss_database_lookup): Handle
73105         nss_parse_service_list out of memory case.
73107 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
73109         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
73110         out of memory case.
73112 2011-10-04  Andreas Schwab  <schwab@redhat.com>
73114         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
73115         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
73116         pass it down.
73117         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
73118         elf_machine_rela, elf_machine_lazy_rel.
73119         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
73120         (ELF_DYNAMIC_DO_REL): Likewise.
73121         (ELF_DYNAMIC_DO_RELA): Likewise.
73122         (ELF_DYNAMIC_RELOCATE): Likewise.
73123         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
73124         to ELF_DYNAMIC_DO_REL.
73125         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
73126         (dl_main): In trace mode always set __RTLD_NOIFUNC.
73127         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
73128         elf_machine_rela.
73129         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
73130         skip_ifunc, don't call ifunc function if non-zero.
73131         (elf_machine_rela): Likewise.
73132         (elf_machine_lazy_rel): Likewise.
73133         (elf_machine_lazy_rela): Likewise.
73134         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
73135         (elf_machine_lazy_rel): Likewise.
73136         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
73137         Likewise.
73138         (elf_machine_lazy_rel): Likewise.
73139         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73140         Likewise.
73141         (elf_machine_lazy_rel): Likewise.
73142         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
73143         (elf_machine_lazy_rel): Likewise.
73144         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
73145         (elf_machine_lazy_rel): Likewise.
73146         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
73147         (elf_machine_lazy_rel): Likewise.
73148         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
73149         (elf_machine_lazy_rel): Likewise.
73150         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
73151         (elf_machine_lazy_rel): Likewise.
73152         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
73153         (elf_machine_lazy_rel): Likewise.
73155 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
73157         * nss/nss_files/files-init.c (_nss_files_init): Use static
73158         initialization for all the *_traced_file variables.
73160 2011-09-28  Andreas Schwab  <schwab@redhat.com>
73162         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73164 2011-09-27  Roland McGrath  <roland@hack.frob.com>
73166         [BZ #13226]
73167         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
73169 2011-09-27  Andreas Schwab  <schwab@redhat.com>
73171         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73172         Reread the line before reparsing it.
73174 2011-09-26  Andreas Schwab  <schwab@redhat.com>
73176         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
73178 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
73179             Maxim Kuvyrkov  <maxim@codesourcery.com>
73180             Joseph Myers  <joseph@codesourcery.com>
73182         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
73183         if needed for __stack_chk_guard.
73185 2011-09-19  Roland McGrath  <roland@hack.frob.com>
73187         * sysdeps/posix/spawni.c (script_execute): Always define it.
73188         It will be optimized away if unused.
73189         (maybe_script_execute): New function.
73190         (__spawni): Call it.
73192         * Makerules: Don't include tls.make.
73193         (config-tls): Always set to thread.
73194         * tls.make.c: File removed.
73196 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
73198         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
73199         * config.make.in (CPPFLAGS-config): New substituted variable.
73201 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73203         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
73205         [BZ #13192]
73206         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
73207         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
73209 2011-09-15  Roland McGrath  <roland@hack.frob.com>
73211         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
73212         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
73213         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
73214         (CALL_FAIL): Likewise.
73215         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
73216         (CALL_FAIL): Macro removed.
73217         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
73219 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73221         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
73222         for __FINITE_MATH_ONLY__ == 1.
73224 2011-09-15  Andreas Schwab  <schwab@redhat.com>
73226         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
73227         __ieee754_sqrt instead of sqrt.
73228         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
73229         __ieee754_sqrtf instead of sqrtf.
73230         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
73231         __floorf instead of floorf.
73232         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
73233         __floorf, __truncf instead of floorf, truncf.
73235 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
73237         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
73239         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
73240         __extern_always_inline.
73241         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
73242         32-bit.
73244 2011-09-14  Andreas Schwab  <schwab@redhat.com>
73246         * elf/rtld.c (dl_main): Also relocate in dependency order when
73247         doing symbol dependency testing.
73249 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
73251         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73252         Always define `refsym'.
73254 2011-09-13  Andreas Schwab  <schwab@redhat.com>
73256         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
73257         (__FD_ELT): Renamed from __FDELT.
73258         * misc/bits/select2.h (__FD_ELT): Likewise.
73259         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
73260         __FD_MASK instead of __FDELT, __FDMASK.
73261         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73262         Likewise.
73263         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73264         Likewise.
73266         * elf/Makefile (gen-ldd): Fix pattern.
73268         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
73269         (init_tls): Likewise.
73271 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
73273         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
73275 2011-09-12  Andreas Schwab  <schwab@redhat.com>
73277         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
73278         `struct cmsghdr *' instead of `void *'.
73279         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
73280         Likewise.
73282 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
73284         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
73285         if non-absolute.
73286         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
73287         ldd_rewrite_script.
73289 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
73291         * configure.in: Remove --with-tls option.
73292         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
73293         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
73294         out in case it is missing.
73295         * sysdeps/ia64/elf/configure.in: Likewise.
73296         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
73297         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
73298         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
73299         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
73300         * sysdeps/sh/elf/configure.in: Likewise.
73301         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
73302         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73303         * sysdeps/x86_64/elf/configure.in: Likewise.
73304         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
73305         * sysdeps/mach/hurd/tls.h: Likewise.
73307         [BZ #13067]
73308         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
73310         [BZ #13090]
73311         * configure.in: Fix use of AC_INIT.
73313         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
73315 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
73317         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
73318         __set_errno.
73319         * malloc/hooks.c: Likewise.
73321         [BZ #11929]
73322         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
73323         variables statically.
73324         (narenas): Initialize.
73325         (list_lock): Initialize.
73326         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
73327         initializtion of main_arena and list_lock.  Small cleanups.
73328         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
73329         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
73330         Add initializers to main_arena and mp_.
73331         (malloc_state): Remove pagesize member.  Change all users to use
73332         GLRO(dl_pagesize).
73334         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
73335         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
73336         is always initialized.
73338         * malloc/malloc.c: Removed unused configurations and dead code.
73339         * malloc/arena.c: Likewise.
73340         * malloc/hooks.c: Likewise.
73341         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
73343         * include/tls.h: Removed.  USE___THREAD must always be defined.
73344         * bits/libc-tsd.h: Don't handle !USE___THREAD.
73345         * elf/dl-libc.c: Likewise.
73346         * elf/dl-tsd.c: Likewise.
73347         * include/errno.h: Likewise.
73348         * include/netdb.h: Likewise.
73349         * include/resolv.h: Likewise.
73350         * inet/herrno-loc.c: Likewise.
73351         * inet/herrno.c: Likewise.
73352         * malloc/arena.c: Likewise.
73353         * malloc/hooks.c: Likewise.
73354         * malloc/malloc.c: Likewise.
73355         * resolv/res-state.c: Likewise.
73356         * resolv/res_libc.c: Likewise.
73357         * sysdeps/i386/dl-machine.h: Likewise.
73358         * sysdeps/ia64/dl-machine.h: Likewise.
73359         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
73360         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
73361         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
73362         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
73363         * sysdeps/sh/dl-machine.h: Likewise.
73364         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
73365         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
73366         * sysdeps/unix/i386/sysdep.S: Likewise.
73367         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
73368         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
73369         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
73370         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
73371         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
73372         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
73373         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
73374         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
73375         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73376         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
73377         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73378         * sysdeps/x86_64/dl-machine.h: Likewise.
73379         * tls.make.c: Likewise.
73381         * configure.in: Remove --with-__thread option.  Make tests for
73382         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
73383         tls_model attribute fail if no support is available.  Remove
73384         USE_IN_LIBIO.
73385         * Makeconfig: Adjust for dropped configure option.  All features are
73386         now mandatory.
73387         * Makerules: Likewise.
73388         * Versions.def: Likewise.
73389         * argp/argp-fmtstream.c: Likewise.
73390         * argp/argp-fmtstream.h: Likewise.
73391         * argp/argp-help.c: Likewise.
73392         * assert/assert.c: Likewise.
73393         * config.h.in: Likewise.
73394         * config.make.in: Likewise.
73395         * configure: Likewise.
73396         * configure.in: Likewise.
73397         * csu/Versions: Likewise.
73398         * csu/init.c: Likewise.
73399         * elf/tst-audit2.c: Likewise.
73400         * elf/tst-tls10.c: Likewise.
73401         * elf/tst-tls10.h: Likewise.
73402         * elf/tst-tls11.c: Likewise.
73403         * elf/tst-tls12.c: Likewise.
73404         * elf/tst-tls14.c: Likewise.
73405         * elf/tst-tlsmod11.c: Likewise.
73406         * elf/tst-tlsmod12.c: Likewise.
73407         * elf/tst-tlsmod13.c: Likewise.
73408         * elf/tst-tlsmod13a.c: Likewise.
73409         * elf/tst-tlsmod14a.c: Likewise.
73410         * elf/tst-tlsmod15b.c: Likewise.
73411         * elf/tst-tlsmod16a.c: Likewise.
73412         * elf/tst-tlsmod16b.c: Likewise.
73413         * elf/tst-tlsmod7.c: Likewise.
73414         * elf/tst-tlsmod8.c: Likewise.
73415         * elf/tst-tlsmod9.c: Likewise.
73416         * gmon/gmon.c: Likewise.
73417         * grp/fgetgrent_r.c: Likewise.
73418         * grp/putgrent.c: Likewise.
73419         * hurd/fopenport.c: Likewise.
73420         * include/libc-symbols.h: Likewise.
73421         * include/tls.h: Likewise.
73422         * intl/gettextP.h: Likewise.
73423         * intl/loadinfo.h: Likewise.
73424         * locale/global-locale.c: Likewise.
73425         * locale/localeinfo.h: Likewise.
73426         * mach/devstream.c: Likewise.
73427         * malloc/arena.c: Likewise.
73428         * malloc/set-freeres.c: Likewise.
73429         * misc/err.c: Likewise.
73430         * misc/getttyent.c: Likewise.
73431         * misc/mntent_r.c: Likewise.
73432         * posix/getopt.c: Likewise.
73433         * posix/wordexp.c: Likewise.
73434         * pwd/fgetpwent_r.c: Likewise.
73435         * resolv/Versions: Likewise.
73436         * resolv/res_hconf.c: Likewise.
73437         * shadow/fgetspent_r.c: Likewise.
73438         * shadow/putspent.c: Likewise.
73439         * stdio-common/printf_fphex.c: Likewise.
73440         * stdio-common/tmpfile.c: Likewise.
73441         * stdlib/abort.c: Likewise.
73442         * stdlib/fmtmsg.c: Likewise.
73443         * sunrpc/auth_unix.c: Likewise.
73444         * sunrpc/clnt_perr.c: Likewise.
73445         * sunrpc/clnt_tcp.c: Likewise.
73446         * sunrpc/clnt_udp.c: Likewise.
73447         * sunrpc/clnt_unix.c: Likewise.
73448         * sunrpc/openchild.c: Likewise.
73449         * sunrpc/svc_simple.c: Likewise.
73450         * sunrpc/svc_tcp.c: Likewise.
73451         * sunrpc/svc_udp.c: Likewise.
73452         * sunrpc/svc_unix.c: Likewise.
73453         * sunrpc/xdr.c: Likewise.
73454         * sunrpc/xdr_array.c: Likewise.
73455         * sunrpc/xdr_rec.c: Likewise.
73456         * sunrpc/xdr_ref.c: Likewise.
73457         * sunrpc/xdr_stdio.c: Likewise.
73459 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73461         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73463 2011-07-03  Andreas Jaeger  <aj@suse.de>
73465         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
73466         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
73467         regenerate with gen-libm-tests.pl.
73469 2010-05-12  Petr Baudis  <pasky@suse.cz>
73471         [BZ #11589]
73472         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
73473         around j0() zero points by switching to j1().
73474         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73475         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73476         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73477         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73479 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73481         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
73482         instead of 0.
73483         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
73484         instead of 0.
73485         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73486         Patch in part by Pavel Roskin <proski@gnu.org>.
73488         [BZ #13138]
73489         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
73490         realloc.
73491         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
73492         Free memory block if necessary.
73494         [BZ #12847]
73495         * libio/genops.c (INTDEF): For string streams the _lock pointer can
73496         be NULL.  Don't lock in this case.
73498 2011-09-09  Roland McGrath  <roland@hack.frob.com>
73500         * elf/elf.h (ELFOSABI_GNU): New macro.
73501         (ELFOSABI_LINUX): Define to that.
73503 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
73505         * string/strncat.c (strncat): Undef the symbol in case it has been
73506         defined in bits/string.h.
73508 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73510         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
73512         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
73513         link map.
73515 2011-08-17  Andreas Jaeger  <aj@suse.de>
73517         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
73519 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
73520             Ian Lance Taylor  <iant@google.com>
73522         * math/libm-test.inc (lround_test): New testcase.
73523         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
73525 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
73527         * Makefile: Remove support for automatic cvs check-ins.
73528         * Makerules: Likewise.
73529         * config.make.in: Likewise.
73530         * configure.in: Likewise.
73531         * intl/Makefile: Likewise.
73532         * locale/Makefile: Likewise.
73533         * po/Makefile: Likewise.
73534         * posix/Makefile: Likewise.
73535         * sysdeps/gnu/Makefile: Likewise.
73536         * sysdeps/mach/hurd/Makefile: Likewise.
73537         * sysdeps/sparc/sparc32/Makefile: Likewise.
73539         [BZ #13118]
73540         * posix/Makefile (bug-regex32-ENV): Define.
73541         Patch by John Stanley <jpsinthemix@verizon.net>.
73543         * misc/Makefile (headers): Add bits/select2.h.
73544         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
73545         * misc/bits/select2.h: New file.
73546         * include/bits/select2.h: New file.
73547         * debug/Makefile (routines): Add fdelt_chk.
73548         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
73549         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
73550         FD_ISSET.
73551         * debug/fdelt_chk.c: New file.
73553         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
73554         * wcsmbs/test-wmemcmp.c: Likewise.
73555         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
73556         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
73558 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73560         * string/Makefile (strop-tests): Add memcmp.
73561         * string/test-wmemcmp.c: New file.
73562         * string/test-memcmp.c: Add wmemcmp support.
73564 2011-09-08  Roland McGrath  <roland@hack.frob.com>
73566         [BZ #13153]
73567         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
73568         2011-07-19 change.
73570         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
73571         garbage value in a __mach_port_mod_refs call in the cases of the
73572         task-self and thread-self ports.
73574 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73576         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
73578 2011-09-08  Andreas Schwab  <schwab@redhat.com>
73580         * elf/dl-load.c (lose): Check for non-null L.
73582 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73584         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
73586         * elf/dl-libc.c (dlerror_run): Pass back error code from
73587         dl_catch_error.
73589         [BZ #13123]
73590         * elf/dl-load.c (lose): Free l_origin if it is valid.
73592         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
73593         names.
73594         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
73595         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73596         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73597         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73598         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
73599         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
73601 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73603         * sysdeps/powerpc/fpu/e_hypot.c: New file.
73604         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
73605         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
73606         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
73607         * sysdeps/powerpc/fpu/k_cosf.c: New file.
73608         * sysdeps/powerpc/fpu/k_sinf.c: New file.
73609         * sysdeps/powerpc/fpu/s_cosf.c: New file.
73610         * sysdeps/powerpc/fpu/s_sinf.c: New file.
73611         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
73612         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
73614 2011-08-15  Alan Modra  <amodra@gmail.com>
73616         [BZ #13092]
73617         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
73618         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
73619         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
73620         ppc_mcount to static-only-routines.
73621         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
73622         __mcount_internal.
73623         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
73624         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
73626 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
73628         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
73629         for finite and infinity parameters.
73631 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73633         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
73634         and add nop instructions for throughput optimization.
73635         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73637 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
73639         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
73640         aligned copy for power7 with vector-scalar instructions.
73641         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
73643 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
73645         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
73646         AVX check.
73648 2011-09-07  Andreas Schwab  <schwab@redhat.com>
73650         [BZ #13144]
73651         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
73652         last change.
73654 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73656         * sysdeps/unix/sysv/linux/x86_64/init-first.c
73657         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
73658         syscall wrapper around clock_gettime in __vdso_clock_gettime.
73659         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
73660         clock_gettime.
73662 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73664         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
73665         Forgot to demangle the pointer.
73667         * sysdeps/i386/sysdep.h: Define atom_text_section.
73668         * sysdeps/x86_64/sysdep.h: Likewise.
73669         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
73670         section with atom_text_section.
73671         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73672         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73673         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
73674         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73675         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
73677         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
73678         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
73679         already be defined.  Change to take two parameters and don't assign
73680         result to variable.  Adjust all users.
73681         Define INTERNAL_GETTIME if not already defined.
73682         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
73683         call.
73684         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
73685         HAVE_CLOCK_GETTIME_VSYSCALL.
73686         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
73688         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
73689         gettimeofday vsyscall, just use time.
73691 2011-09-06  Andreas Schwab  <schwab@redhat.com>
73693         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
73694         <errno.h>.
73696 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73698         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
73699         syscall on x86-64.
73700         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
73701         syscall.
73702         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
73703         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
73704         syscall if possible.
73706 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73708         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
73709         e_ident.  Don't pass to find_mapsXX.
73710         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
73712 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73714         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73715         strchr-sse2-no-bsf strrchr-sse2-no-bsf
73716         * sysdeps/x86_64/multiarch/strchr.S: Update.
73717         Check bit_slow_BSF bit.
73718         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73719         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
73720         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
73722 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73724         [BZ #13134]
73725         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
73726         before glibc 2.15.
73727         (tryshell): Define.
73728         (__spawni): Change last parameter to be flag.  Test
73729         SPAWN_XFLAGS_USE_PATH flag to use path or not.
73730         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
73731         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
73732         * posix/spawni.c: Likewise.
73733         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
73734         * posix/spawnp.c: Likewise.  Change normal version to use
73735         SPAWN_XFLAGS_USE_PATH.
73736         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
73737         SPAWN_XFLAGS_TRY_SHELL.
73739         [BZ #13150]
73740         * posix/glob.h: Remove gcc 1.x support.
73742         [BZ #13068]
73743         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
73745 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73747         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73748         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
73749         strrchr-sse2-bsf
73750         * sysdeps/i386/i686/multiarch/strchr.S: New file.
73751         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
73752         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
73753         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
73754         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
73755         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
73757 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73759         * sysdeps/x86_64/wcscmp.S: New file.
73761         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
73762         wcscmp-c wcscmp-sse2
73763         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
73764         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
73765         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
73766         * wcsmbs/wcscmp.c: Allow renaming.
73768 2011-09-05  David S. Miller  <davem@davemloft.net>
73770         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
73771         stack slot, rather than the struct return pointer slot.
73772         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
73773         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
73774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
73775         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
73777 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73779         * po/ja.po: Update from translation team.
73781         [BZ #13144]
73782         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
73783         kernel in 64-bit binaries.
73785 2011-09-01  David S. Miller  <davem@davemloft.net>
73787         * elf/elf.h (HWCAP_SPARC_*): Move to..
73788         * sysdeps/sparc/sysdep.h: this new file and add new values.
73789         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
73790         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
73791         _DL_HWCAP_COUNT to 24.
73792         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73793         entries.
73794         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
73795         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
73796         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
73797         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
73798         instead of magic constants.
73799         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73801 2011-08-31  David S. Miller  <davem@davemloft.net>
73803         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
73804         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
73805         Reimplement to do errno handling inline.
73806         (SYSCALL_ERROR_HANDLER): New macro.
73807         (__SYSCALL_STRING): Do not do errno handling in asm.
73808         (__CLONE_SYSCALL_STRING): Delete.
73809         (__INTERNAL_SYSCALL_STRING): Delete.
73810         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
73811         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
73812         (PSEUDO): Reimplement to do errno handling inline.
73813         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
73814         (SYSCALL_ERROR_HANDLER): New macro.
73815         (__SYSCALL_STRING): Do not do errno handling in asm.
73816         (__CLONE_SYSCALL_STRING): Delete.
73817         (__INTERNAL_SYSCALL_STRING): Delete.
73818         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
73819         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
73820         i386.
73821         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
73822         (inline_syscall*): Add 'err' argument.
73823         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
73824         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
73825         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
73826         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
73828         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
73829         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
73831 2011-08-30  Andreas Schwab  <schwab@redhat.com>
73833         * elf/rtld.c (dl_main): Relocate objects in dependency order.
73835 2011-08-29  Jiri Olsa <jolsa@redhat.com>
73837         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
73838         directive.
73840 2011-08-24  David S. Miller  <davem@davemloft.net>
73842         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
73844 2011-08-24  Andreas Schwab  <schwab@redhat.com>
73846         * elf/Makefile: Add rules to build and run unload8 test.
73847         * elf/unload8.c: New file.
73848         * elf/unload8mod1.c: New file.
73849         * elf/unload8mod1x.c: New file.
73850         * elf/unload8mod2.c: New file.
73851         * elf/unload8mod3.c: New file.
73853         * elf/dl-close.c (_dl_close_worker): Reset private search list if
73854         it wasn't used.
73856 2011-08-23  David S. Miller  <davem@davemloft.net>
73858         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
73859         subtract stack bias.
73860         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
73861         %sp not %fp in calculations.
73862         (_JMPBUF_UNWINDS_ADJ): Likewise.
73864         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
73865         (aio_suspend): Call it to force an exception region around the
73866         AIO_MISC_WAIT() invocation.
73868 2011-08-23  Andreas Schwab  <schwab@redhat.com>
73870         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
73871         backslash.
73873 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
73875         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
73876         protection macro.
73877         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
73878         and <dl-machine.h>.
73879         (Elf64_FuncDesc): Remove.
73881 2011-08-22  David S. Miller  <davem@davemloft.net>
73883         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
73884         sigaltstack check, add missing cfi directives.
73885         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
73886         missing cfi directives, and sigaltstack handling.
73888 2011-08-16  Andreas Schwab  <schwab@redhat.com>
73890         [BZ #11724]
73891         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
73892         object is seen twice.
73893         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73895         * elf/Makefile (distribute): Add tst-initorder2.c.
73896         (tests): Add tst-initorder2.
73897         (modules-names): Add tst-initorder2a tst-initorder2b
73898         tst-initorder2c tst-initorder2d.  Add rules to build them.
73899         ($(objpfx)tst-initorder2.out): New rule.
73900         * elf/tst-initorder2.c: New file.
73901         * elf/tst-initorder2.exp: New file.
73903 2011-08-22  Andreas Schwab  <schwab@redhat.com>
73905         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
73907         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
73908         dependencies back to end of function.
73910         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73911         $(elfobjdir)/ld.so.
73913 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
73915         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
73916         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
73917         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
73918         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
73919         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
73920         of __vdso_gettimeofday.
73921         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
73922         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
73923         attribute_hidden.
73924         (_libc_vdso_platform_setup): Remove initialization of
73925         __vdso_gettimeofday and __vdso_time.
73927 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73929         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
73930         and fgetc_unlocked.
73931         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
73932         getc_unlocked.
73934         * elf/dl-open.c (add_to_global): Report additions to the global scope
73935         for LD_DEBUG=scopes.
73936         (dl_open_worker): Also print scope of newly loaded dependencies.
73937         (_dl_show_scope): Indicate if there is no scope.
73939         [BZ #13114]
73940         * stdio-common/Makefile (tests): Add bug24.
73941         * stdio-common/bug24.c: New file.
73943 2011-08-19  Andreas Jaeger  <aj@suse.de>
73945         [BZ #13114]
73946         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
73947         non-existant file when using close-on-exec mode.
73949 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73951         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
73952         the very first instruction.
73954         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
73955         the CFI state in the end.
73956         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
73957         inclusion of dl-trampoline.h.
73958         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
73960 2011-08-19  Andreas Schwab  <schwab@redhat.com>
73962         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
73963         expectations for long double.
73965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
73966         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
73968 2011-08-14  David S. Miller  <davem@davemloft.net>
73970         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
73971         artificual limit depends upon the system page size.
73973 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73975         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
73976         * resolv/Makefile: Define CFLAGS-libresolv.
73978 2011-08-17  Andreas Schwab  <schwab@redhat.com>
73980         * nss/makedb.c (compute_tables): Make variables used in nested
73981         function static.
73983 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73985         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
73986         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
73987         if buffer was too small.
73989         * elf/pldd.c (main): Attach to all threads in the process.
73990         Rewrite /proc handling to use *at functions.
73992 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
73994         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
73995         specifies first scope to show.
73996         (dl_open_worker): Update callers.  Move printing scope of new
73997         object to before the relocation.
73998         * elf/rtld.c (dl_main): Update _dl_show_scope call.
73999         * sysdeps/generic/ldsodefs.h: Update declaration.
74001         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
74002         string for the scope number.
74004 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
74006         * nscd/servicescache.c (cache_addserv): Make sure written is always
74007         initialized.
74009 2011-08-14  Roland McGrath  <roland@hack.frob.com>
74011         * sysdeps/i386/i486/bits/atomic.h
74012         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
74013         statement expression, so as to suppress "set but not used" warning.
74014         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
74016         * string/strncat.c (STRNCAT): Use prototype definition.
74018         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
74019         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
74020         -Iprograms here.
74021         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
74022         (localedef-modules): Add localedef.
74023         (locale-modules): Add locale.
74025         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
74026         * elf/rtld.c (dl_main): Invert order of assignment in last change,
74027         to avoid a warning.
74029 2011-08-14  David S. Miller  <davem@davemloft.net>
74031         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
74032         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
74034 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
74036         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
74037         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
74038         * elf/rtld.c (dl_main): Set l_name of vDSO.
74039         Call _dl_show_scope when DL_DEBUG_SCOPES.
74040         (process_dl_debug): Recognize scopes flag and also set it for all.
74041         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
74042         Declare _dl_show_scope.
74044         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
74045         (do_dlopen): Pass caller_dlopen to dl_open.
74046         (__libc_dlopen_mode): Initialize caller_dlopen.
74048         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
74049         of libc.  Make tolower call locale-independent.  Optimize a bit by
74050         using isdigit instead of isalnum.
74051         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
74053 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
74055         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
74056         was a dependency or dynamically loaded.
74058 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
74060         * intl/l10nflist.c: Allow architecture-specific pop function.
74061         * sysdeps/x86_64/l10nflist.c: New file.
74063         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
74064         classification.
74066 2011-08-10  Andreas Schwab  <schwab@redhat.com>
74068         * include/dirent.h: Add libc_hidden_proto for scandirat and
74069         scandirat64.  Don't declare __scandirat64.
74070         * dirent/scandirat.c: Add libc_hidden_def.
74071         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
74072         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
74074 2011-08-10  David S. Miller  <davem@davemloft.net>
74076         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
74077         enum.
74078         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74079         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74080         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74082 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
74084         * Versions.def [libc]: Add GLIBC_2.15.
74085         * dirent/Makefile (routines): Add scandirat and scandirat64.
74086         * dirent/Versions [libc]: Export scandirat and scandirat64 for
74087         GLIBC_2.15.
74088         * dirent/dirent.h: Declare scandirat and scandirat64.
74089         * dirent/scandirat.c: New file.
74090         * dirent/scandirat64.c: New file.
74091         * sysdeps/wordsize-64/scandirat.c: New file.
74092         * sysdeps/wordsize-64/scandirat64.c: New file.
74093         * dirent/opendir.c: Define opendirat.
74094         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
74095         using scandirat.
74096         * dirent/scandir64.c: Adjust for scandir.c change.
74097         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
74098         __scandirat64, and __scandir_cancel_handler.
74099         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
74100         additional parameter and use openat instead of open (outside of ld.so).
74101         Add new __opendir as wrapper around __opendirat.
74102         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
74103         here without requiring old scandirat implementation.
74105 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
74107         * dirent/scandir.c (cancel_handler): Renamed to
74108         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
74109         defined.  Adjust users.
74110         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
74111         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
74113 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
74115         * string/test-string.h (IMPL): Use __STRING to expand name and then
74116         stringify it.
74118         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
74119         of cleanups.
74121 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74123         * string/Makefile: Update.
74124         (strop-tests): Append strncat.
74125         * string/test-wcscmp.c: New file.
74126         New comprehensive test for wcscmp.
74127         * string/test-strcmp.c: Update.
74128         (WIDE): New define.
74130 2011-07-22  Andreas Schwab  <schwab@redhat.com>
74132         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
74133         line.
74135 2011-07-26  Andreas Schwab  <schwab@redhat.com>
74137         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74138         encoding to ACE if AI_IDN.
74140 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
74142         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
74143         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
74145 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74147         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
74148         Fix overflow bug in strncat.
74149         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
74151         * string/test-strncat.c: Update.
74152         Add new tests for checking overflow bugs.
74154 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74156         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74157         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
74158         * sysdeps/i386/i686/multiarch/strcat.S: New file.
74159         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
74160         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
74161         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
74162         * sysdeps/i386/i686/multiarch/strncat.S: New file.
74163         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
74164         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
74166         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
74167         (USE_AS_STRCAT): Define.
74168         Add strcat and strncat support.
74169         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74171 2011-07-25  Andreas Schwab  <schwab@redhat.com>
74173         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
74174         __n bigger than INT_MAX+1.
74175         (__strncmp_g): Likewise.
74177 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
74179         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
74180         * libio/stido.h: Likewise.
74182         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
74183         (AF_NFC): Define.
74184         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
74185         (AF_NFC): Define.
74187         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
74188         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74189         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74190         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
74191         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74193         [BZ #13021]
74194         * scripts/test-installation.pl: Don't expect libnss_test1 to be
74195         installed.
74197         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
74198         typo.
74199         (_dl_x86_64_save_sse): Likewise.
74201 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
74203         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
74204         OSXSAVE.
74205         (_dl_x86_64_save_sse): Likewise.
74207         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
74209         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
74211 2011-07-21  Andreas Schwab  <schwab@redhat.com>
74213         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
74214         change.
74215         (_dl_x86_64_save_sse): Use correct AVX check.
74217 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74219         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
74220         bug in strncpy/strncat.
74221         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
74223 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
74225         * string/tester.c (test_strcat): Add tests for different alignments
74226         of source and destination.
74227         (test_strncat): Likewise.
74229 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74231         [BZ #12852]
74232         * posix/glob.c (glob): Check passed in values before using them in
74233         expressions to avoid some overflows.
74234         (glob_in_dir): Likewise.
74236         [BZ #13007]
74237         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
74238         check for AVX enablement so that we don't crash with old kernels and
74239         new hardware.
74240         * elf/tst-audit4.c: Add same checks here.
74241         * elf/tst-audit6.c: Likewise.
74243         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
74245 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
74247         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
74249 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74251         * po/cs.po: Update from translation team.
74252         * po/bg.po: Likewise.
74254 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
74256         * misc/sys/cdefs.h: Add support for const attribute.
74257         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
74258         to gnu_dev_{major,minor,makedev} functions.
74260 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
74262         * intl/dcigettext.c (get_output_charset): Add missing bracket.
74264 2011-07-20  Andreas Schwab  <schwab@redhat.com>
74266         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
74267         strlen results.
74269 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74271         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
74272         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
74273         register in order to avoid conflicts with the soft frame pointer
74274         being held in r11 when necessary.
74275         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
74276         (INTERNAL_VSYSCALL_NCS): Likewise.
74278 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
74280         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
74281         * elf/dl-fini.c (_dl_fini): Adjust caller.
74282         * elf/dl-close.c (_dl_close_worker): Likewise.
74283         * sysdeps/generic/ldsodefs.h: Adjust declaration.
74285 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
74287         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
74288         "aux_cache->nlibs < 0".
74290         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
74291         in the reload-count case.
74293 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74295         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74296         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
74297         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
74298         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
74299         * sysdeps/x86_64/multiarch/strcat.S: New file.
74300         * sysdeps/x86_64/multiarch/strncat.S: New file.
74301         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
74302         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
74303         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
74304         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
74305         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
74306         (USE_AS_STRCAT): Define.
74307         Add strcat and strncat support.
74308         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74309         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
74310         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
74311         * string/strncat.c: Update.
74312         (USE_AS_STRNCAT): Define.
74313         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74314         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
74315         and i7.
74316         * sysdeps/x86_64/multiarch/init-arch.h
74317         (bit_Prefer_PMINUB_for_stringop): New.
74318         (index_Prefer_PMINUB_for_stringop): Likewise.
74319         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
74320         bit_Prefer_PMINUB_for_stringop.
74322 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
74324         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
74325         buffer64.
74326         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
74327         of casting of buffer.
74328         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
74329         buffer32 and buffer64.
74330         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
74331         writes instead of casting of buffer.
74332         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
74333         buffer32.
74334         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
74335         casting of buffer.
74337 2011-07-19  Andreas Schwab  <schwab@redhat.com>
74339         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
74341 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
74343         * nscd/nscd.c (termination_handler): Don't do anything for a database
74344         if it has not yet been initialized.
74346 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
74348         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74350 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
74352         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74354 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
74356         * po/nl.po: Update from translation team.
74357         * po/sv.po: Likewise.
74359 2011-07-16  Roland McGrath  <roland@hack.frob.com>
74361         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
74362         now disallowed by GCC.
74364         * configure.in (use-default-link): Default to yes if a test -shared
74365         link meets our qualifications.
74366         * configure: Regenerated.
74368         * config.make.in (output-format): New variable.
74369         * configure.in: Check for ld --print-output-format support.
74370         * configure: Regenerated.
74371         * Makerules ($(common-objpfx)format.lds)
74372         [$(output-format) != unknown]: Just use $(output-format),
74373         instead of the linker-script munging.
74375 2011-07-14  Roland McGrath  <roland@hack.frob.com>
74377         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
74378         of $(common-objpfx)shlib.lds.
74379         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
74381         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
74382         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
74384         * configure.in (-z relro check): Adjust test code to add a large
74385         writable data section after it.
74386         * configure: Regenerated.
74388 2011-07-11  Roland McGrath  <roland@hack.frob.com>
74390         * configure.in (-z relro check): Fix test code to make the variable
74391         truly const.
74392         * configure: Regenerated.
74394 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
74396         * nscd/nscd.h (struct traced_file): Define.
74397         (struct database_dyn): Remove inotify_descr, reset_res, and filename
74398         elements.  Add traced_files.
74399         (inotify_fd): Declare.
74400         (register_traced_file): Declare.
74401         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
74402         (inotify_fd): Export.
74403         (resolv_conf_descr): Remove.
74404         (nscd_init): Move inotify descriptor creation to main.
74405         Don't register files for notification here.
74406         (register_traced_file): New function.
74407         (invalidate_cache): Don't use reset_res to determine whether to call
74408         res_init, go through the list of registered files.
74409         (main_loop_poll): The inotify descriptors are now stored in the
74410         structures for the traced files.
74411         (main_loop_epoll): Likewise.
74412         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
74413         to __nss_disable_nscd.
74414         * nscd/cache.c (prune_cache): There is no single inotify descriptor
74415         for a database anymore.  Check the records for all the registered
74416         files instead.
74417         * nss/Makefile (libnss_files-routines): Add files-init.
74418         (libnss_db-routines): Add db-init.
74419         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
74420         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
74421         * nss/nss_db/db-init.c: New file.
74422         * nss/nss_files/files-init.c: New file.
74423         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
74424         __nss_lookup_function.
74425         (__nss_lookup_function): Call nss_load_library.
74426         (nss_load_all_libraries): New function.
74427         (__nss_disable_nscd): Take parameter with callback function for files
74428         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
74429         used for the cached services.
74430         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
74431         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
74432         options for features to all the files in nscd.
74434         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
74436 2011-07-10  Roland McGrath  <roland@hack.frob.com>
74438         * csu/elf-init.c (__libc_csu_init): Comment typo.
74440 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
74442         * po/pl.po: Update from translation team.
74443         * po/ja.po: Likewise.
74444         * po/ru.po: Likewise.
74445         * po/ko.po: Likewise.
74446         * po/fr.po: Likewise.
74448 2011-07-09  Roland McGrath  <roland@hack.frob.com>
74450         * configure.in (.ctors/.dtors header and trailer check):
74451         Use an empirical test on a built program.
74452         * configure: Regenerated.
74454         * configure.in (-z relro check): Use an empirical test on a built DSO.
74455         Detect, but do not require, on ia64.
74456         * configure: Regenerated.
74458         * configure.in (READELF): Find it with AC_CHECK_TOOL.
74459         Update tests that use readelf to use $READELF instead.
74460         * configure: Regenerated.
74462 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
74464         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
74465         if the result is not used.
74467 2011-07-05  Andreas Jaeger  <aj@suse.de>
74469         [BZ#9696]
74470         * stdlib/tst-strtod.c: Add testcase.
74472 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
74474         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
74475         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
74476         The latter has a higher limit.  Take additional parameter to pass to
74477         the new function.
74478         (__pathconf): Pass file to __statfs_link_max.
74479         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
74480         __statfs_link_max.
74481         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
74482         __statfs_link_max.
74484         [BZ #12868]
74485         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
74486         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74487         Handle Lustre.
74488         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
74489         (__statfs_filesize_max): Likewise.
74490         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
74492 2011-07-05  Andreas Jaeger  <aj@suse.de>
74494         * resolv/res_comp.c (dn_skipname): Remove unused variable.
74496 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
74498         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
74499         `status' variable.
74500         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
74501         Likewise.
74503 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
74505         * Makefile (strop-tests): Add strncat.
74506         * string/test-strncat.c: New file.
74508 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
74510         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
74512 2011-06-21  Andreas Jaeger  <aj@suse.de>
74514         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
74515         Copy rule from iconvdata/Makefile.
74517 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74519         [BZ #12922]
74520         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
74521         but no long options are defined, just return 'W'.
74523 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
74525         [BZ #9696]
74526         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
74528 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74530         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
74531         netgroups to read.
74532         (innetgr): Likewise.
74534 2011-07-05  Roland McGrath  <roland@hack.frob.com>
74536         * config.make.in (install_root): Default to $(DESTDIR).
74538 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
74540         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
74542 2011-07-02  Roland McGrath  <roland@hack.frob.com>
74544         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
74546         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
74547         containing directory rather than embedding absolute directory names.
74549         * scripts/check-local-headers.sh: Rewritten using awk.
74550         Match by word, not by line.  Print error messages for matches.
74551         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
74553         * Makerules [shlib-lds-flags empty]:
74554         ($(common-objpfx)libc_pic.opts): New target.
74555         ($(common-objpfx)libc_pic.os.clean): New target.
74556         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
74558         * config.make.in (OBJCOPY): New variable.
74559         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
74560         * configure: Regenerated.
74562         * config.make.in (use-default-link): New variable.
74563         * configure.in (use_default_link): Grok --with-default-link to set it.
74564         * configure: Regenerated.
74565         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
74566         (shlib-lds, shlib-lds-flags): Define to empty.
74568         * Makerules (shlib-lds): New variable.
74569         (shlib-lds-flags): New variable.
74570         (build-shlib, build-moduile, build-module-asneeded): Use it.
74571         ($(common-objpfx)libc.so): Use $(shlib-lds).
74572         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
74573         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
74575         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
74576         DT_FLAGS/DT_FLAGS_1 with zero flags.
74578         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
74579         linker script munging.
74581 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
74583         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
74584         as 128-bit value.
74585         * crypt/sha512.c (sha512_process_block): Perform total addition using
74586         128-bit if possible.
74587         (__sha512_finish_ctx): Likewise.
74588         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
74589         as 64-bit value.
74590         * crypt/sha256.c (SWAP64): Define.
74591         (sha256_process_block): Perform total addition using 64-bit if
74592         possible.
74593         (__sha256_finish_ctx): Likewise.
74595 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
74597         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
74598         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74599         * nscd/hstcache.c (cache_addhst): Likewise.
74600         * nscd/grpcache.c (cache_addgr): Likewise.
74601         * nscd/aicache.c (addhstaiX): Likewise.
74602         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
74604 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
74606         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
74607         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74608         * nscd/hstcache.c (cache_addhst): Likewise.
74609         * nscd/grpcache.c (cache_addgr): Likewise.
74610         * nscd/aicache.c (addhstaiX): Likewise.
74612 2011-07-01  Andreas Schwab  <schwab@redhat.com>
74614         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
74615         domain only when needed.
74617 2011-06-30  Andreas Schwab  <schwab@redhat.com>
74619         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
74620         is always restored.
74622 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
74624         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
74625         are re-adding the entry.
74626         * nscd/servicescache.c (cache_addserv): Likewise.
74628 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
74630         * sysdeps/generic/dl-irel.h: fix protection against multiple
74631         inclusions.
74632         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
74634 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
74636         [BZ #12935]
74637         * malloc/memusage.sh: Fix quoting in message.
74638         * debug/xtrace.sh: Likewise.
74640         * configure.in: Remove support for --experimental-malloc option, make
74641         it the default.
74642         * config.make.in: Likewise.
74643         * malloc/Makefile: Likewise.
74645 2011-06-27  Andreas Schwab  <schwab@redhat.com>
74647         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
74648         two-byte characters.
74650 2011-06-27  Roland McGrath  <roland@hack.frob.com>
74652         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
74653         AC_CACHE_CHECK invocation.
74654         * configure: Regenerated.
74656         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
74658 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
74660         [BZ #12350]
74661         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
74662         bit from old_res_options.
74664         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
74666         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
74667         value type for setfct.
74669 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
74671         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74672         __gettimeofday instead of gettimeofday.
74674 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
74676         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
74678 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
74680         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
74682         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
74683         info.
74685 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74687         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74688         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74689         strcpy-sse2-unaligned strncpy-sse2-unaligned
74690         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
74691         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
74692         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
74693         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
74694         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
74695         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
74696         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
74697         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
74698         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
74699         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
74700         (STRCPY): Support SSE2 and SSSE3 versions.
74702 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
74704         [BZ #12874]
74705         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
74706         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
74707         kernels which artificially limit size of requests.
74709 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74711         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74712         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74713         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
74714         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
74715         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
74716         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
74717         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
74718         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
74719         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
74720         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
74721         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
74722         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
74723         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
74724         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
74725         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
74726         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74727         Enable unaligned load optimization for Intel Core i3, i5 and i7
74728         processors.
74729         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
74730         Define.
74731         (index_Fast_Unaligned_Load): Define.
74732         (HAS_FAST_UNALIGNED_LOAD): Define.
74734 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
74736         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
74738 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74740         [BZ #12907]
74741         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
74742         until it is clear that the information is realy needed.
74743         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
74745 2011-06-22  Andreas Schwab  <schwab@redhat.com>
74747         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
74749 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74751         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74752         /sys/devices/system/cpu/online if it is usable.
74754         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
74755         reading the information from the /proc filesystem to once a second.
74757 2011-06-21  Andreas Jaeger  <aj@suse.de>
74759         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
74760         NULL after inclusion of kernel headers.
74762 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
74764         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
74765         calls to internal_setent.
74767         [BZ #12885]
74768         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
74769         addresses using gethostbyname4_r ignore IPv4 addresses.
74771         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
74772         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
74774         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
74776 2011-06-20  David S. Miller  <davem@davemloft.net>
74778         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
74779         inclusions.
74780         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
74782         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
74783         (elf_irel): Use it.
74784         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
74785         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
74786         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
74787         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
74788         * sysdeps/x86_64/dl-irel.h: Likewise.
74790         * elf/dl-runtime.c: Use elf_ifunc_invoke.
74791         * elf/dl-sym.c: Likewise.
74793 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74795         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
74796         need to dereference resplen2.
74798 2011-06-14  Andreas Schwab  <schwab@redhat.com>
74800         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
74802 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74804         * Makeconfig: Define vardbdir and inst_vardbdir.
74805         * nss/Makefile: Add rules to install db-Makefile.
74807         * nss/nss_db/db-XXX.c: Cleanup.
74809         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
74810         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
74811         GLIBC_PRIVATE.
74812         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
74813         * nss/makedb.c: Implement -g option to specify that value strings
74814         are generated and should not be added to table iterated over for
74815         get*ent calls.
74816         * nss/nss_db/db-initgroups.c: New file.
74818         * nss/getent.c: Add support for initgroups lookups through getgrouplist
74819         interface.
74821         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
74822         (internal_getgrouplist): Adjust to name change.
74823         Update use_initgroups_entry if this is not the first call.
74824         * nss/databases.def: Add initgroups entry.
74826         * nss/makedb.c (compute_tables): Check result of multiple hash table
74827         sizes to minimize maximum chain length.
74829 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
74831         * Versions.def: Add entry for libnss_db.
74832         * shlib-versions: Likewise.
74833         * nss/Makefile: Add rules to build libnss_db.
74834         * nss/Versions: Add libnss_db information.  Organize libnss_files
74835         entries better.
74836         * nss/db-Makefile: Add gshadow support.  Change rules for the new
74837         makedb progra.  Some minor improvements to generate smaller files.
74838         * nss/nss_db/nss_db.h: Move NSS database header data structures to
74839         here from...
74840         * nss/makedb.c: ...here.
74841         Improve database format to be smaller and require less memory at
74842         runtime.
74843         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
74844         db anymore.
74845         * nss/nss_db/db-netgrp.c: Likewise.
74846         * nss/nss_db/db-open.c: Likewise.
74847         * nss/nss_files/flies-XXX.x: Adjust comments.
74848         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
74849         * nss/nss_files/files-grp.c: Likewise.
74850         * nss/nss_files/files-hosts.c: Likewise.
74851         * nss/nss_files/files-network.c: Likewise.
74852         * nss/nss_files/files-proto.c: Likewise.
74853         * nss/nss_files/files-pwd.c: Likewise.
74854         * nss/nss_files/files-rpc.c: Likewise.
74855         * nss/nss_files/files-service.c: Likewise.
74856         * nss/nss_files/files-sgrp.c: Likewise.
74857         * nss/nss_files/files-spwd.c: Likewise.
74858         * nss/nss_db/db-alias.c: Removed.
74859         * nss/nss_db/dummy-db.h: Removed.
74861 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
74863         * nss/makedb.c: Rewritten to not use database library.
74864         * nss/Makefile: Update to build new makedb program.
74866 2011-06-14  Andreas Jaeger  <aj@suse.de>
74868         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
74869         memset declaration.
74871 2011-06-10  Andreas Schwab  <schwab@redhat.com>
74873         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
74874         tmpbuf.
74876 2011-06-10  Roland McGrath  <roland@hack.frob.com>
74878         * Makerules (shlib.lds): Fail if the linker script comes out empty.
74879         * elf/Makefile ($(objpfx)ld.so): Likewise.
74881         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
74882         Don't list ld.so twice in dependencies.
74884         * posix/bug-regex31.c: Include <stdlib.h>.
74886         * nscd/hstcache.c (cache_addhst): Remove unused variable.
74888         * nis/nss_compat/compat-spwd.c
74889         (getspent_next_nss_netgr): Remove unused variable.
74890         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
74892         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
74893         nonmembers" output to use the right array.
74895         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
74897         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
74899         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
74900         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
74901         * catgets/gencat.c (read_input_file): Likewise.
74902         * locale/programs/locarchive.c (enlarge_archive): Likewise.
74904         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
74905         variable definition inside #if's controlling its use.
74907         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
74909         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
74911         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
74913         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
74914         unreachable code.
74916         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
74918         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
74919         * configure: Regenerated.
74921         * Makerules: Revert last change.
74922         * elf/Makefile: Likewise.
74924 2011-06-09  Roland McGrath  <roland@hack.frob.com>
74926         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
74927         * elf/Makefile ($(objpfx)librtld.os): Likewise.
74928         (reloc-link): Likewise.
74930 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
74932         * elf/Makefile: Add rules to build pldd.
74933         * elf/pldd.c: New file.
74934         * elf/pldd-xx.c: New file.
74936 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
74938         * version.h: Update for 2.15 development version.
74940 2011-06-07  David S. Miller  <davem@davemloft.net>
74942         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
74943         ifuncs.
74944         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
74945         elf_machine_lazy_rel): Likewise.
74946         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
74947         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
74948         elf_machine_lazy_rel): Likewise.
74949         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
74950         dl_hwcap via passed in argument.
74951         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
74952         Likewise.
74954 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74956         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
74958 2011-06-06  Roland McGrath  <roland@hack.frob.com>
74960         [BZ #12849]
74961         * manual/fdl-1.1.texi: New file, verbatim from:
74962         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
74963         * manual/lgpl-2.1.texi: New file, verbatim from:
74964         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
74965         * manual/Makefile (licenses): New variable, list those new file names.
74966         (texis): Use it.
74967         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
74969         * manual/fdl.texi: File removed.
74970         * manual/lesser.texi: File removed.
74971         * manual/libc.texinfo (Copying, Documentation License):
74972         Use new @include file names, put @appendix directive before @include.
74974 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
74976         [BZ #12841]
74977         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
74978         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
74979         (mq_open): Add __NTH.
74981 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
74983         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74984         Assume Intel Core i3/i5/i7 processor if AVX is available.
74986 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74988         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
74989         typo.
74991 2011-05-31  Andreas Schwab  <schwab@redhat.com>
74993         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
74994         memory.  Use alloca_account.  Fix memory leak when retrying.
74996 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74998         * version.h (RELEASE): Bump for 2.14 release.
74999         * include/features.h (__GLIBC_MINOR__): Bump to 14.
75001         * config.make.in (RANLIB): Remove entry.
75003 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
75005         * po/Makefile (po-sed-cmd): Add ksh to extensions.
75006         (libc.pot): Work around missing support for .ksh extension in xgettext.
75008         [BZ #12684]
75009         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
75010         if both request failed.
75011         (send_dg): In case of server errors clear resplen or *resplen2.
75013         [BZ #12454]
75014         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
75015         when there are multiple maps.
75016         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
75017         (_dl_fini): Remove test here.
75019         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
75021 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
75023         [BZ #12350]
75024         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
75025         bit from old_res_options.
75026         (gaih_inet): Likewise.
75028         [BZ #11099]
75029         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
75030         as signed.
75032         * resolv/res_init.c (res_setoptions): Make the code more compact.
75034         [BZ #11558]
75035         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
75036         set RES_USEVC.
75038         [BZ #11634]
75039         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
75041         * malloc/malloc.h: Mark malloc hook variables as deprecated.
75043         [BZ #11781]
75044         * malloc/malloc.h: Declare malloc hook variables as volatile.
75046         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
75047         in last patch.
75049         [BZ #11799]
75050         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
75051         raise in the comment.
75052         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
75053         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
75054         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
75056 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
75058         [BZ #12811]
75059         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
75060         grow the buffers more if it already has to be sufficient.
75061         (build_wcs_upper_buffer): Likewise.
75062         * posix/regexec.c (check_matching): Likewise.
75063         (clean_state_log_if_needed): Likewise.
75064         (extend_buffers): Don't enlarge buffers beyond size of the input
75065         buffer.
75066         Patches mostly by Emil Wojak <emil@wojak.eu>.
75067         * posix/bug-regex32.c: New file.
75068         * posix/Makefile (tests): Add bug-regex32.
75070         * locale/findlocale.c (_nl_find_locale): Return right away if
75071         _nl_explode_name failed.
75072         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
75074         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
75076         * debug/xtrace.sh: Unify messages.
75077         * malloc/memusage.sh: Likewise.
75079         [BZ #12813]
75080         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
75081         time symbol from vDSO.  Substitute with vsyscall if not available.
75082         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
75083         __vdso_time.
75085         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
75086         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
75087         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
75088         Add sendmmsg and internal_sendmmsg.
75089         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
75090         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
75091         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
75093         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
75094         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
75095         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
75097 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
75099         [BZ #12813]
75100         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
75101         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
75102         available.
75103         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
75104         __vdso_getcpu.
75106         [BZ #12814]
75107         * iconvdata/Makefile (tests): Add bug-iconv9.
75108         * iconvdata/bug-iconv9.c: New file.
75110 2011-05-27  Andreas Schwab  <schwab@redhat.com>
75112         [BZ #12814]
75113         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
75115 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
75117         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75118         (struct user_regs_struct): Change intcs field back to cs.
75120 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
75122         * po/ja.po: Update from translation team.
75124 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
75126         [BZ #12795]
75127         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
75128         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
75130 2011-05-20  Andreas Schwab  <schwab@redhat.com>
75132         * stdlib/longlong.h: Update from GCC.
75134 2011-05-23  Andreas Schwab  <schwab@redhat.com>
75136         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
75137         parameter name.
75138         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
75139         Add parameter name.
75140         (__sysconf): Pass it down.
75142 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
75144         [BZ #12671]
75145         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
75146         some situations.
75147         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
75148         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
75149         add in in __libc_use_alloca calls.  Adjust callers.
75150         (glob): Use malloc in some situations.
75152         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
75153         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
75154         pltexit.
75156 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
75158         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
75159         and CLOCK_BOOTTIME_ALARM.
75161         [BZ #12782]
75162         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
75163         is returned.
75165         * string/_strerror.c (__strerror_r): Print negative errors as signed
75166         numbers.
75168         [BZ #12777]
75169         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
75170         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
75171         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
75173         * configure.in: Fix typo in redirection and correct removal of test
75174         files in two cases.
75176         [BZ #12788]
75177         * locale/setlocale.c (new_composite_name): Fix test to check for
75178         identical name of all categories.
75180         [BZ #12792]
75181         * libio/filedoalloc.c (local_isatty): New function.
75182         (_IO_file_doallocate): Use local_isatty.
75183         * stdio-common/perror.c (perror): In case a new stream is used
75184         forward the stream error.
75185         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
75186         error flag.
75188 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
75190         [BZ #11884]
75191         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
75192         alloca.
75193         * include/alloca.h (extend_alloca_account): Define.
75195         [BZ #11857]
75196         * posix/regex.h: Fix comments with documentation of user-accessible
75197         fields after compilation and describe correct free'ing of pattern
75198         after re_compile_pattern.
75199         Patch by Reuben Thomas <rrt@sc3d.org>.
75201 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
75203         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
75204         and -mno-altivec to prevent the compiler from using Altivec and/or
75205         VSX instructions when the corresponding registers are not available.
75207 2011-05-19  Andreas Schwab  <schwab@redhat.com>
75209         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
75211 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
75213         * libio/freopen.c (freopen): Use __dup2, not dup2.
75214         * libio/freopen64.c (freopen64): Likewise.
75216 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75218         [BZ #12775]
75219         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
75220         * math/Makefile (tests): Add test-powl.
75221         (CFLAGS-test-powl.c): Define.
75222         * math/test-powl.c: New file.
75224 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75226         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
75228 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
75230         [BZ #11837]
75231         * iconvdata/gb18030.c: Update to GB18020-2005.
75233 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
75235         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
75236         RE_SYNTAX_POSIX_AWK): Update to match recent development.
75237         Patch by Aharon Robbins <arnold@skeeve.com>.
75239         [BZ #11892]
75240         * stdlib/putenv.c (putenv): Don't always create copy of the variable
75241         on the stack.
75243         [BZ #11895]
75244         * misc/pselect.c (__pselect): Handle timeout value errors hidden
75245         through underflows.
75247         [BZ #12766]
75248         * misc/error.c (error_at_line): Ensure file_name and old_file_name
75249         point to strings before performing equality test for error_one_per_line
75250         mode.
75252         [BZ #11697]
75253         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
75255         [BZ #11820]
75256         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75257         (struct user_fpregs_struct): Avoid __uint*_t types.
75259         [BZ #6420]
75260         * malloc/mtrace.c (tr_where): Add additional parameter to point to
75261         symbol info.  Use it instead of calling _dl_addr locally.
75262         (lock_and_info): New function.
75263         (tr_freehook): Call lock_and_info and pass symbol info as additional
75264         parameter to tr_where.
75265         (tr_mallochook): Likewise.
75266         (tr_reallochook): Likewise.
75267         (tr_memalignhook): Likewise.
75269         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
75270         used and couldn't be at all thread-safe.
75272 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
75274         * libio/freopen.c (freopen): Don't close old file descriptor
75275         before the new one is opened.  Instead dup the new file descriptor
75276         to the old one after the new stream is created.
75277         * libio/freopen64.c (freopen64): Likewise.
75278         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
75279         * libio/fileops.c (_IO_new_file_close_it): Handle new
75280         _IO_FLAGS2_NOCLOSE flag.
75281         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
75282         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
75283         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
75284         _IO_FLAGS2_NOCLOSE flag.
75285         * include/unistd.h: Add hidden_proto for dup3.
75286         Define __have_dup3.
75287         * io/dup3.c: Define hidden symbol.
75288         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
75290         [BZ #7101]
75291         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
75292         when an incomplete long option is used.
75293         * posix/tst-getopt_long1.c: New file.
75294         * posix/Makefile (tests): Add tst-getopt_long1.
75296         [BZ #10138]
75297         * scripts/config.guess: Update from autoconf-2.68.
75298         * scripts/config.sub: Likewise.
75300         [BZ #10157]
75301         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
75302         tests into ...
75303         (has_cpuclock): ...this.  New function.
75304         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
75305         macro here based on has_cpuclock code.
75307         [BZ #10149]
75308         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75309         First byte (not low byte) is now always NUL.
75310         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
75312         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75313         Use non-cancelable interfaces.
75315         [BZ #9809]
75316         * locale/iso-639.def: Add entry for Sorani.
75318         [BZ #11901]
75319         * include/stdlib.h: Move include protection to the right place.
75320         Define abort_msg_s.  Declare __abort_msg with it.
75321         * stdlib/abort.c (__abort_msg): Adjust type.
75322         * assert/assert.c (__assert_fail_base): New function.  Majority
75323         of code from __assert_fail.  Allocate memory for __abort_msg with
75324         mmap.
75325         (__assert_fail): Now call __assert_fail_base.
75326         * assert/assert-perr.c: Remove bulk of implementation.  Use
75327         __assert_fail_base.
75328         * include/assert.hL Declare __assert_fail_base.
75329         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
75330         mmap.
75331         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
75333 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
75335         [BZ #11952]
75336         [BZ #12453]
75337         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
75338         until all modules are registered in the DTV.
75339         * elf/Makefile: Add rules to build and run tst-tls19.
75340         * elf/tst-tls19.c: New file.
75341         * elf/tst-tls19mod1.c: New file.
75342         * elf/tst-tls19mod2.c: New file.
75343         * elf/tst-tls19mod3.c: New file.
75344         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
75346         [BZ #12083]
75347         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
75348         correctly.
75350         [BZ #12601]
75351         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
75352         two-byte sequence errors.
75353         * iconvdata/Makefile (tests): Add bug-iconv8.
75354         * iconvdata/bug-iconv8.c: New file.
75356         [BZ #12626]
75357         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
75358         buf2 definition.
75360         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
75362         [BZ #12432]
75363         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
75364         (dummy_getcfa): New function.
75365         (init): Get _Unwind_GetCFA address, use dummy if not found.
75366         (backtrace_helper): In recursion check, also check whether CFA changes.
75367         (__backtrace): Completely initialize arg.
75369         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
75370         storing incomplete byte sequence in state object.  Avoid testing for
75371         guaranteed too small input if we know there is enough data available.
75373 2011-05-11  Andreas Schwab  <schwab@redhat.com>
75375         * Makeconfig (+link-pie): Indent.
75376         * Rules (binaries-pie): Define if $(have-fpie) and
75377         $(build-shared).
75378         (binaries-shared): Also filter out $(binaries-pie).
75379         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
75380         * nscd/Makefile (others-pie): Add nscd.
75381         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
75382         ($(objpfx)nscd): Remove command override.
75383         * login/Makefile (others-pie): Add pt_chown.
75384         ($(objpfx)pt_chown): Remove command override.
75385         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
75386         remove command overrides.
75388 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
75390         * libio/tst_putwc.c: Fix error messages.
75392         [BZ #12724]
75393         * libio/fileops.c (_IO_new_file_close_it): Always flush when
75394         currently writing and seek to current position when not.
75395         * libio/Makefile (tests): Add bug-fclose1.
75396         * libio/bug-fclose1.c: New file.
75398 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
75400         [BZ #12511]
75401         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
75402         don't set DF_1_NODELETE here.
75403         (do_lookup_x): When entering new entry test for copy relocation
75404         and if necessary set DF_1_NODELETE flag.
75405         * elf/tst-unique4.cc: New file.
75406         * elf/tst-unique4.h: New file.
75407         * elf/tst-unique4lib.cc: New file.
75408         * elf/Makefile: Add rules to build and run tst-unique4.
75409         Patch by Piotr Bury <pbury@goahead.com>.
75411 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
75413         [BZ #12052]
75414         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
75416         [BZ #12625]
75417         * misc/mntent_r.c (addmntent): Flush the stream after the output
75419         [BZ #12393]
75420         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
75421         (is_trusted_path_normalize): Skip initial colon.  Append slash
75422         to empty buffer.  Duplicate is_trusted_path code but allow
75423         constructed patch to be prefix.
75424         (is_dst): Allow $ORIGIN followed by /.
75425         (_dl_dst_substitute): Correct clearing of check_for_trusted.
75426         Correct testing of result of is_trusted_path_normalize
75427         (decompose_rpath): Fix warning.
75429 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
75431         [BZ #11257]
75432         * grp/initgroups.c (internal_getgrouplist): When we found the service
75433         list through the initgroups entry in nsswitch.conf do not always
75434         continue on a successful lookup.  Don't always use the
75435         __nss_group_database value if it is set.
75436         * nss/nsswitch.conf (initgroups): Change action for successful db
75437         lookup to continue for compatibility.
75439 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
75441         [BZ #11532]
75442         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
75443         and CP774 modules.
75444         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
75445         and CP774 modules.
75446         * iconvdata/tst-tables.sh: Likewise.
75447         * iconvdata/cp770.c: New file.
75448         * iconvdata/cp771.c: New file.
75449         * iconvdata/cp772.c: New file.
75450         * iconvdata/cp773.c: New file.
75451         * iconvdata/cp774.c: New file.
75452         * iconvdata/testdata/CP770: New file.
75453         * iconvdata/testdata/CP770..UTF8: New file.
75454         * iconvdata/testdata/CP771: New file.
75455         * iconvdata/testdata/CP771..UTF8: New file.
75456         * iconvdata/testdata/CP772: New file.
75457         * iconvdata/testdata/CP772..UTF8: New file.
75458         * iconvdata/testdata/CP773: New file.
75459         * iconvdata/testdata/CP773..UTF8: New file.
75460         * iconvdata/testdata/CP774: New file.
75461         * iconvdata/testdata/CP774..UTF8: New file.
75463         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
75464         END CHARMAP line.
75465         * iconvdata/gen-8bit-gap.sh: Likewise.
75466         * iconvdata/gen-8bit.sh: Likewise.
75468         * locale/iso-639.def: Add ary entry.
75470         [BZ #11258]
75471         * locale/C-translit.h.in: Add U20A1 transliteration.
75473         [BZ #12178]
75474         * locale/iso-639.def: Add wae entry.
75475         Patch by Kevin Bortis <bortis@translate-wae.ch>.
75477         [BZ #12545]
75478         * locale/programs/localedef.c (construct_output_path): Use ssize_t
75479         for n.
75481         [BZ #12711]
75482         * locale/C-translit.h.in: Add entry for U20B9.
75483         Patch by pravin.d.s@gmail.com.
75485 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
75487         [BZ #12713]
75488         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
75489         ENAMETOOLONG use generic getcwd.
75490         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
75491         in rtld.  Use *stat64.
75492         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
75493         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
75494         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
75495         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
75496         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
75497         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
75498         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
75499         __fstatat64 macros.
75500         * include/dirent.h: Add libc_hidden_proto for rewinddir.
75501         * dirent/rewinddir.c: Add libc_hidden_def.
75502         * sysdeps/mach/hurd/rewinddir.c: Likewise.
75503         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
75505         * include/dirent.h (__alloc_dir): Add flags parameter.
75506         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
75507         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
75508         __alloc_dir.
75509         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
75510         from fdopendir if O_CLOEXEC is already set.
75512 2011-03-15  Alan Modra  <amodra@gmail.com>
75514         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
75515         l_tls_firstbyte_offset non-zero.  Save padding offset in
75516         l_tls_firstbyte_offset for later use.
75517         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
75518         freeing static tls block.
75520 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
75522         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
75523         where #ifdef was intended.  The intent is to prevent ARG_MAX from
75524         being defined by the kernel headers.
75526 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
75528         [BZ #12734]
75529         * resolv/resolv.h: Define RES_NOTLDQUERY.
75530         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
75531         no-tld-query and set RES_NOTLDQUERY.
75532         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
75533         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
75534         modern BIND to search name as TLD unless forbidden.
75536 2011-05-07  Petr Baudis  <pasky@suse.cz>
75537             Ulrich Drepper  <drepper@gmail.com>
75539         [BZ #12393]
75540         * elf/dl-load.c (fillin_rpath): Move trusted path check...
75541         (is_trusted_path): ...to here.
75542         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
75543         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
75544         using is_trusted_path_normalize() in setuid scripts.
75546 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
75548         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
75549         __BEGIN/__END_DECLS.
75551 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
75553         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
75554         NSS_STATUS_NOTFOUND if no record was found.
75556 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75558         * sunrpc/Makefile (headers): Add rpc/netdb.h.
75559         (headers-not-in-tirpc): Remove rpc/netdb.h
75560         * resolv/netdb.h: Revert last change.
75562 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
75564         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
75565         circular dependency between libgcc.a and libc.a.
75567 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75569         * resolv/netdb.h: Don't include <rpc/netdb.h>.
75570         * nis/Makefile: Don't install rpcsvc/*.
75571         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
75572         instead of <rpc/types.h>.
75573         (MAXHOSTNAMELEN): Define.
75575 2011-05-03  Andreas Schwab  <schwab@redhat.com>
75577         * elf/ldconfig.c (add_dir): Don't crash on empty path.
75579 2011-04-28  Maciej Babinski  <mbabinski@google.com>
75581         [BZ #12714]
75582         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
75583         gethostbyname4_r when IPv6 results are possible.
75585 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
75587         [BZ #12723]
75588         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
75589         _PC_PIPE_BUF handling.
75591 2011-04-30  Bruno Haible  <bruno@clisp.org>
75593         [BZ #12717]
75594         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
75595         * resolv/netdb.h (getnameinfo): Change type of flags parameter
75596         to 'int'.
75597         * inet/getnameinfo.c (getnameinfo): Likewise.
75599 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
75601         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
75602         to groups setting in database lookup.
75603         * nss/nsswitch.conf: Add initgroups entry.
75605 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
75607         [BZ #12685]
75608         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
75609         mode string.
75610         Patch by Eric Blake <eblake@redhat.com>.
75612 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
75614         * sunrpc/Makefile (need-export-routines): Add svc_run.
75615         (routines): Remove svc_run.
75616         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
75617         * sunrpc/clnt_perr.c (clnt_perrno): Export.
75618         * sunrpc/svc_run.c (svc_run): Likewise.
75619         * sunrpc/svc_udp.c (svcudp_create): Likewise.
75621 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
75623         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
75624         problem in reallocation in last patch.
75626 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
75628         * sunrpc/Makefile: Move inclusion of Rules.
75630 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75632         * nss/nss_files/files-initgroups.c: New file.
75633         * nss/Makefile (libnss_files-routines): Add files-initgroups.
75634         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
75635         _nss_files_initgroups_dyn.
75637 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
75639         * elf/elf.h (R_ARM_IRELATIVE): Define.
75641 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75643         * po/ru.po: Update from translation team.
75645 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75647         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
75648         dependencies.
75650 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
75652         [BZ #12653]
75653         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
75654         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
75655         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75656         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
75657         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
75659 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
75661         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
75662         differing bytes.
75663         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
75664         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
75665         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75667 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75669         [BZ #12420]
75670         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
75671         storing it.
75672         * stdlib/bug-getcontext.c: New file.
75673         * stdlib/Makefile: Add rules to build and run bug-getcontext.
75675 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75677         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
75678         instructions into .machine "z9-109".
75679         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
75680         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
75682 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75684         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
75685         between environment variables and auxiliary vector.
75687 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
75689         * Makefile: Add rules to build linkobj/libc.so.
75690         * include/libc-symbols.h: Define libc_hidden_nolink.
75691         * include/rpc/auth.h: Mark functions which are to be hidden.
75692         * include/rpc/auth_des.h: Likewise.
75693         * include/rpc/auth_unix.h: Likewise.
75694         * include/rpc/clnt.h: Likewise.
75695         * include/rpc/des_crypt.h: Likewise.
75696         * include/rpc/key_prot.h: Likewise.
75697         * include/rpc/pmap_clnt.h: Likewise.
75698         * include/rpc/pmap_prot.h: Likewise.
75699         * include/rpc/pmap_rmt.h: Likewise.
75700         * include/rpc/rpc_msg.h: Likewise.
75701         * include/rpc/svc.h: Likewise.
75702         * include/rpc/svc_auth.h: Likewise.
75703         * include/rpc/xdr.h: Likewise.
75704         * nis/Makefile: Link all DSOs against linkobj/libc.so.
75705         * nss/Makefile: Likewise.
75706         * sunrpc/Makefile: Don't install headers.  Build library with normal
75707         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
75708         * sunrpc/auth_des.c: Hide exported symbols by default, export some
75709         for the compat linking library.  Remove use of INTDEF/INTUSE.
75710         * sunrpc/auth_none.c: Likewise.
75711         * sunrpc/auth_unix.c: Likewise.
75712         * sunrpc/authdes_prot.c: Likewise.
75713         * sunrpc/authuxprot.c: Likewise.
75714         * sunrpc/clnt_gen.c: Likewise.
75715         * sunrpc/clnt_perr.c: Likewise.
75716         * sunrpc/clnt_raw.c: Likewise.
75717         * sunrpc/clnt_simp.c: Likewise.
75718         * sunrpc/clnt_tcp.c: Likewise.
75719         * sunrpc/clnt_udp.c: Likewise.
75720         * sunrpc/clnt_unix.c: Likewise.
75721         * sunrpc/des_crypt.c: Likewise.
75722         * sunrpc/des_soft.c: Likewise.
75723         * sunrpc/get_myaddr.c: Likewise.
75724         * sunrpc/key_call.c: Likewise.
75725         * sunrpc/key_prot.c: Likewise.
75726         * sunrpc/netname.c: Likewise.
75727         * sunrpc/pm_getmaps.c: Likewise.
75728         * sunrpc/pm_getport.c: Likewise.
75729         * sunrpc/pmap_clnt.c: Likewise.
75730         * sunrpc/pmap_prot.c: Likewise.
75731         * sunrpc/pmap_prot2.c: Likewise.
75732         * sunrpc/pmap_rmt.c: Likewise.
75733         * sunrpc/publickey.c: Likewise.
75734         * sunrpc/rpc_cmsg.c: Likewise.
75735         * sunrpc/rpc_common.c: Likewise.
75736         * sunrpc/rpc_dtable.c: Likewise.
75737         * sunrpc/rpc_prot.c: Likewise.
75738         * sunrpc/rpc_thread.c: Likewise.
75739         * sunrpc/rtime.c: Likewise.
75740         * sunrpc/svc.c: Likewise.
75741         * sunrpc/svc_auth.c: Likewise.
75742         * sunrpc/svc_authux.c: Likewise.
75743         * sunrpc/svc_raw.c: Likewise.
75744         * sunrpc/svc_run.c: Likewise.
75745         * sunrpc/svc_simple.c: Likewise.
75746         * sunrpc/svc_tcp.c: Likewise.
75747         * sunrpc/svc_udp.c: Likewise.
75748         * sunrpc/svc_unix.c: Likewise.
75749         * sunrpc/svcauth_des.c: Likewise.
75750         * sunrpc/xcrypt.c: Likewise.
75751         * sunrpc/xdr.c: Likewise.
75752         * sunrpc/xdr_array.c: Likewise.
75753         * sunrpc/xdr_float.c: Likewise.
75754         * sunrpc/xdr_intXX_t.c: Likewise.
75755         * sunrpc/xdr_mem.c: Likewise.
75756         * sunrpc/xdr_rec.c: Likewise.
75757         * sunrpc/xdr_ref.c: Likewise.
75758         * sunrpc/xdr_sizeof.c: Likewise.
75759         * sunrpc/xdr_stdio.c: Likewise.
75761 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
75763         [BZ #12650]
75764         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
75765         * sysdeps/ia64/dl-tls.h: Likewise.
75766         * sysdeps/powerpc/dl-tls.h: Likewise.
75767         * sysdeps/s390/dl-tls.h: Likewise.
75768         * sysdeps/sh/dl-tls.h: Likewise.
75769         * sysdeps/sparc/dl-tls.h: Likewise.
75770         * sysdeps/x86_64/dl-tls.h: Likewise.
75771         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
75773 2011-03-14  Andreas Schwab  <schwab@redhat.com>
75775         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
75776         rpath element also skip the following colon.
75777         (expand_dynamic_string_token): Add is_path parameter and pass
75778         down to DL_DST_REQUIRED and _dl_dst_substitute.
75779         (decompose_rpath): Call expand_dynamic_string_token with
75780         non-zero is_path.  Ignore empty rpaths.
75781         (_dl_map_object_from_fd): Call expand_dynamic_string_token
75782         with zero is_path.
75784 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
75786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75787         Make cancelable.
75789 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
75791         [BZ #12655]
75792         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
75793         Patch by Filipe David Manana <fdmanana@apache.org>.
75795 2011-04-07  Andreas Schwab  <schwab@redhat.com>
75797         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
75798         Maintain aligned stack.
75799         (CHECK_RSP): Remove unused macro.
75801 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
75803         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
75804         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
75806 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
75808         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
75810         * include/features.h: Mention __USE_XOPEN2K8 in comment.
75812 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
75814         [BZ #12518]
75815         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
75816         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
75817         * sysdeps/x86_64/memmove.c: New file.
75818         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
75819         (memcpy): Renamed to ...
75820         (__new_memcpy): This.
75821         (memcpy): Provide GLIBC_2_14 memcpy.
75822         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
75823         (memcpy): Provide GLIBC_2_2_5 memcpy.
75825 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75827         [BZ #12631]
75828         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
75830 2011-03-30  Andreas Schwab  <schwab@redhat.com>
75832         * misc/syncfs.c: New file.
75833         * misc/Makefile (routines): Add syncfs.
75834         * posix/unistd.h: Declare syncfs.
75835         * sysdeps/unix/syscalls.list: Add syncfs.
75837 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75839         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
75840         open_by_handle_at.
75841         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75842         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75843         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75844         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75845         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75846         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
75847         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75849 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75851         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
75852         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75853         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
75854         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75855         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75856         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75857         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75859         * io/Makefile: Compile fallocate.c, fallocate64.c, and
75860         sync_file_range.c with -fexceptions.
75861         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
75862         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
75863         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
75864         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
75865         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
75866         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75867         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
75868         sync_file_range as cancellation point
75869         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
75870         now a wrapper around __call_sync_file_range with cancellation handling.
75871         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
75872         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
75873         function name to __call_sync_file_range.
75874         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
75875         Add call_sync_file_range.
75877 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75879         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75880         bits/timex.h.
75882 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75884         * iconv/iconv.h: Fix typo in comment.
75885         * io/fcntl.h: Likewise.
75886         * libio/stdio.h: Likewise.
75887         * posix/spawn.h: Likewise.
75888         * posix/unistd.h: Likewise.
75889         * stdlib/stdlib.h: Likewise.
75890         * time/time.h: Likewise.
75891         * wcsmbs/wchar.h: Likewise.
75893         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
75894         open_by_handle): Add.
75895         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
75896         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
75897         Augment a few comments.
75898         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75899         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75900         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75901         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75902         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75903         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
75904         open_by_handle.
75906         * io/fcntl.h (AT_EMPTY_PATH): Define.
75908 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
75910         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
75911         * sysdeps/unix/sysv/linux/bits/time.h: New file.
75912         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
75913         to...
75914         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
75915         * Versions.def: Add GLIBC_2.14.
75916         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
75917         Export.
75919 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
75921         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
75922         round counter.
75923         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75925 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75927         [BZ #12597]
75928         * string/test-strncmp.c (do_page_test): New function.
75929         (check2): Likewise.
75930         (test_main): Call check2.
75931         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
75933 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
75935         [BZ #12587]
75936         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
75937         Handle cache information in CPU leaf 4.
75938         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75940 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
75942         [BZ #12583]
75943         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
75944         character representation.
75945         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
75947 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
75949         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
75950         END(__isnan) to END(__isnanf) to match function entry point/label
75951         EALIGN(__isnanf,...).
75953 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
75955         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
75957 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
75959         [BZ #12510]
75960         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
75961         copy from the symbol referenced in the relocation to initialize the
75962         used variable.
75963         Patch by Piotr Bury <pbury@goahead.com>.
75964         * elf/Makefile: Add rules to build and tst-unique3.
75965         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
75966         * elf/tst-unique3.cc: New file.
75967         * elf/tst-unique3.h: New file.
75968         * elf/tst-unique3lib.cc: New file.
75969         * elf/tst-unique3lib2.cc: New file.
75971         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
75973 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
75975         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
75976         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
75977         to _start.
75979 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
75981         * elf/dl-load.c (_dl_map_object): If we are looking for the first
75982         to-be-loaded object along a path to loader is ld.so.
75984 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75985             Ulrich Drepper  <drepper@gmail.com>
75987         * sysdeps/x86_64/memset.S: After aligning destination, code
75988         branches to different locations depending on the value of
75989         misalignment, when multiarch is enabled. Fix this.
75991 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75993         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
75994         Set _x86_64_preferred_memory_instruction for AMD processsors.
75995         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75996         Set bit_Prefer_SSE_for_memop for AMD processors.
75998 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
76000         * libio/fmemopen.c (fmemopen): Optimize a bit.
76002 2011-03-03  Andreas Schwab  <schwab@redhat.com>
76004         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
76006 2011-03-03  Roland McGrath  <roland@redhat.com>
76008         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
76010 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
76012         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
76013         __bzero_ultra1 instead of __memset_ultra1.
76015 2011-02-23  Andreas Schwab  <schwab@redhat.com>
76016             Ulrich Drepper  <drepper@gmail.com>
76018         [BZ #12509]
76019         * include/link.h (struct link_map): Add l_orig_initfini.
76020         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
76021         returning unsuccessfully.
76022         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
76023         close of a file loaded at startup, restore the original l_initfini
76024         list.
76025         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
76026         list, store the pointer.
76027         * elf/Makefile ($(objpfx)noload-mem): New rule.
76028         (noload-ENV): Define.
76029         (tests): Add $(objpfx)noload-mem.
76030         * elf/noload.c: Include <memcheck.h>.
76031         (main): Call mtrace.  Close all opened handles.
76033 2011-02-17  Andreas Schwab  <schwab@redhat.com>
76035         [BZ #12454]
76036         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
76037         dependencies are missing.
76039 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76041         Fix __if_freereq crash: Unlike the generic version which uses free,
76042         Hurd needs munmap.
76043         * sysdeps/mach/hurd/ifreq.h: New file.
76045 2011-01-27  Petr Baudis  <pasky@suse.cz>
76046             Ulrich Drepper  <drepper@gmail.com>
76048         [BZ 12445]#
76049         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
76050         to extend_alloca().
76051         * stdio-common/bug23.c: New file.
76052         * stdio-common/Makefile (tests): Add bug23.
76054 2010-09-28  Andreas Schwab  <schwab@redhat.com>
76055             Ulrich Drepper  <drepper@gmail.com>
76057         [BZ #12489]
76058         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
76059         before performing relro protection.  At old place add assertion
76060         to make sure nothing changed.
76062 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
76063             Glauber de Oliveira Costa  <glommer@gmail.com>
76065         * elf/elf.h: Add new ARM TLS relocs.
76067 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
76069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
76070         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
76071         cast from r3.
76072         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
76073         'tests' variable.
76074         * sysdeps/wordsize-64/tst-writev.c: New file.
76076 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
76078         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
76079         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
76080         insns in _dl_start to prevent a TOC reference before relocs are
76081         resolved.
76083 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
76085         [BZ #12469]
76086         * Makeconfig: Remove RANLIB definition.
76087         * Makerules: Don't use RANLIB.
76088         * aclocal.m4: Remove ranlib test.
76089         * configure.in: No need to check for ranlib.
76090         * elf/rtld-Rules: Don't use RANLIB.
76092 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76094         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
76095         protection macro.
76096         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
76097         inclusion protection macro.
76099         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
76100         SIGRTMIN and SIGRTMAX and print information in that case only when
76101         SIGRTMIN is defined.
76103 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
76105         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
76106         arginfo fn returning -1.
76108         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
76109         and thousands string is zero terminated.
76111 2011-02-03  Andreas Schwab  <schwab@redhat.com>
76113         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
76114         sysdeps/unix/sysv/linux/bits/socket.h.
76116 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76118         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
76119         (__CPU_COUNT): Remove old macros.
76120         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
76121         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
76122         (__CPU_ALLOC, __CPU_FREE): Add macros.
76123         (__sched_cpualloc, __sched_cpufree): Add declarations.
76125 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
76127         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
76128         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
76129         * nscd/aicache.c (addhstaiX): Return timeout of added value.
76130         (readdhstai): Return value of addhstaiX call.
76131         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
76132         (addgrbyX): Return value returned by cache_addgr.
76133         (readdgrbyname): Return value returned by addgrbyX.
76134         (readdgrbygid): Likewise.
76135         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
76136         (addpwbyX): Return value returned by cache_addpw.
76137         (readdpwbyname): Return value returned by addhstbyX.
76138         (readdpwbyuid): Likewise.
76139         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
76140         (addservbyX): Return value returned by cache_addserv.
76141         (readdservbyname): Return value returned by addservbyX:
76142         (readdservbyport): Likewise.
76143         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
76144         (addhstbyX): Return value returned by cache_addhst.
76145         (readdhstbyname): Return value returned by addhstbyX.
76146         (readdhstbyaddr): Likewise.
76147         (readdhstbynamev6): Likewise.
76148         (readdhstbyaddrv6): Likewise.
76149         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
76150         (readdinitgroups): Return value returned by addinitgroupsX.
76151         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
76152         (prune_cache): Keep track of timeout value of re-added entries.
76153         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
76154         * nscd/nscd.h: Adjust prototypes of readd* functions.
76156 2011-02-04  Roland McGrath  <roland@redhat.com>
76158         * nis/nis_server.c (nis_servstate): Use the right name for 0.
76159         (nis_stats): Likewise.
76160         * nis/nis_modify.c (nis_modify): Likewise.
76161         * nis/nis_remove.c (nis_remove): Likewise.
76162         * nis/nis_add.c (nis_add): Likewise.
76164         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
76166         * posix/fnmatch_loop.c: Add some consts.
76168         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
76170 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
76172         [BZ #12460]
76173         * config.make.in (config-cflags-novzeroupper): Define.
76174         * configure.in: Substitute libc_cv_cc_novzeroupper.
76175         * elf/Makefile (AVX-CFLAGS): Define.
76176         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
76177         (CFLAGS-tst-auditmod4a.c): Likewise.
76178         (CFLAGS-tst-auditmod4b.c): Likewise.
76179         (CFLAGS-tst-auditmod6b.c): Likewise.
76180         (CFLAGS-tst-auditmod6c.c): Likewise.
76181         (CFLAGS-tst-auditmod7b.c): Likewise.
76182         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
76184 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
76186         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
76187         function to the callback.
76188         Patch partly by Jiri Olsa <jolsa@redhat.com>.
76190 2011-02-02  Andreas Schwab  <schwab@redhat.com>
76192         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
76193         of errno.
76195 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
76197         [BZ #11724]
76198         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
76199         of constructors.
76200         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
76201         of destructors.
76202         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
76204         [BZ #11724]
76205         * elf/Makefile: Add rules to build and run new test.
76206         * elf/tst-initorder.c: New file.
76207         * elf/tst-initorder.exp: New file.
76208         * elf/tst-initordera1.c: New file.
76209         * elf/tst-initordera2.c: New file.
76210         * elf/tst-initordera3.c: New file.
76211         * elf/tst-initordera4.c: New file.
76212         * elf/tst-initorderb1.c: New file.
76213         * elf/tst-initorderb2.c: New file.
76214         * elf/tst-order-a1.c: New file.
76215         * elf/tst-order-a2.c: New file.
76216         * elf/tst-order-a3.c: New file.
76217         * elf/tst-order-a4.c: New file.
76218         * elf/tst-order-b1.c: New file.
76219         * elf/tst-order-b2.c: New file.
76220         * elf/tst-order-main.c: New file.
76221         New test case by George Gensure <werkt0@gmail.com>.
76223 2010-10-01  Andreas Schwab  <schwab@redhat.com>
76225         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76226         decoding ACE if AI_CANONIDN.
76228 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
76230         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
76232 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
76234         * version.h (RELEASE): Bump for 2.13 release.
76235         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
76237         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
76239         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
76240         MADV_NOHUGEPAGE.
76241         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
76242         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
76243         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76244         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76245         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76246         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76248         * posix/getconf.c: Update copyright year.
76249         * catgets/gencat.c: Likewise.
76250         * csu/version.c: Likewise.
76251         * debug/catchsegv.sh: Likewise.
76252         * debug/xtrace.sh: Likewise.
76253         * elf/ldconfig.c: Likewise.
76254         * elf/ldd.bash.in: Likewise.
76255         * elf/sprof.c (print_version): Likewise.
76256         * iconv/iconv_prog.c: Likewise.
76257         * iconv/iconvconfig.c: Likewise.
76258         * locale/programs/locale.c: Likewise.
76259         * locale/programs/localedef.c: Likewise.
76260         * malloc/memusage.sh: Likewise.
76261         * malloc/mtrace.pl: Likewise.
76262         * nscd/nscd.c (print_version): Likewise.
76263         * nss/getent.c: Likewise.
76265         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
76266         PF_CAIF, and PF_ALG.
76267         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76269 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
76271         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
76272         (modules-names): Use them.
76273         (ifunc-test-modules, ifunc-pie-tests): Define.
76274         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
76275         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
76276         (test-extras): Likewise.
76277         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
76278         $(compile-command.c).
76279         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
76280         (all-built-dso): Define.
76281         (check-textrel.out, check-execstack.out): Depend on it.
76283         * configure.in: Don't override --enable-multi-arch.
76285 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
76287         [BZ #6812]
76288         * nscd/hstcache.c (tryagain): Define.
76289         (cache_addhst): Return tryagain not notfound for temporary errors.
76290         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
76291         failed.
76293 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
76295         [BZ #10563]
76296         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
76297         to make the syscall.
76298         * sysdeps/unix/sysv/linux/setgroups.c: New file.
76300         [BZ #12378]
76301         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
76302         and fall back to matching as normal character if the string ends before
76303         the matching ']' is found.  This is what POSIX requires.
76304         * posix/testfnm.c: Adjust test result.
76305         * posix/globtest.sh: Adjust test result.  Add new test.
76306         * posix/tst-fnmatch.input: Likewise.
76307         * posix/tst-fnmatch2.c: Add new test.
76309 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
76311         * elf/Makefile (check-execstack): Revert last change.  Depend on
76312         check-execstack.h.
76313         (check-execstack.h): New target.
76314         (generated): Add check-execstack.h.
76315         * elf/check-execstack.c: Include "check-execstack.h".
76316         (main): Revert last change.
76317         (handle_file): Return zero if GNU_STACK is absent and
76318         DEFAULT_STACK_PERMS doesn't include PF_X.
76320 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
76322         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
76323         in child fails because the descriptor is already closed.
76324         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
76325         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
76326         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
76328         [BZ #12397]
76329         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
76330         syscall.
76332         [BZ #10484]
76333         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
76334         temporary buffer used to handle multi lookups locally.
76335         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
76337 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
76339         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
76340         loader is ld.so.
76342 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
76344         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
76345         alignment for SSE2.
76347 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
76349         [BZ #12394]
76350         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
76351         characters.  When rounding increased number of integer digits recompute
76352         number of groups.
76353         * stdio-common/tst-grouping.c: New file.
76354         * stdio-common/Makefile: Add rules to build and run tst-grouping.
76356 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
76358         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
76359         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
76361         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
76362         void.
76363         * bits/select.h: Likewise.
76365 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
76367         * po/ja.po: Update from translation team.
76369 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
76371         [BZ #11155]
76372         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
76373         implementation just like for lxstat, fxstatat, et al.
76375 2010-12-27  Jim Meyering  <meyering@redhat.com>
76377         [BZ #12348]
76378         * posix/regexec.c (build_trtable): Return failure indication upon
76379         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
76381 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
76383         [BZ #12201]
76384         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
76385         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
76386         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
76387         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
76389         [BZ #12207]
76390         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
76392         [BZ #12204]
76393         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
76394         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
76396 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
76398         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
76399         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
76400         script has SORT_BY_INIT_PRIORITY.
76401         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
76402         NO_CTORS_DTORS_SECTIONS is defined.
76403         * elf/soinit.c: Likewise.
76404         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
76405         NO_CTORS_DTORS_SECTIONS is defined.
76406         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
76407         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
76408         * sysdeps/sh/init-first.c: Likewise.
76409         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
76411 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
76413         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
76414         always use the slow path.
76416 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
76418         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
76419         similar rule which adds the sysdep directories to the header search in
76420         order to pick up the correct platform stackinfo.h.
76421         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
76422         perform test if it is, otherwise return successfully without testing.
76423         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
76424         DEFAULT_STACK_PERMS define in stackinfo.h.
76425         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
76426         defined in stackinfo.h.
76427         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
76428         DEFAULT_STACK_PERMS defined in stackinfo.h.
76429         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
76430         * sysdeps/ia64/stackinfo.h: Likewise.
76431         * sysdeps/s390/stackinfo.h: Likewise.
76432         * sysdeps/sh/stackinfo.h: Likewise.
76433         * sysdeps/sparc/stackinfo.h: Likewise.
76434         * sysdeps/x86_64/stackinfo.h: Likewise.
76435         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
76436         PF_X for powerpc64.  Retain PF_X for powerpc32.
76438 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
76440         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
76441         accurately.
76442         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
76443         GETDENTS_64BIT_ALIGNED.
76445 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
76447         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
76449 2010-12-10  Andreas Schwab  <schwab@redhat.com>
76451         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
76452         _GNU_SOURCE.
76454         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
76455         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
76456         Remove __restrict.
76457         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
76458         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
76460 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
76462         [BZ #11655]
76463         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
76464         are initialized.
76466 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
76468         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
76470 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
76472         * po/it.po: Update from translation team.
76474 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
76476         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
76477         unused codes.
76479 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
76481         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
76483 2010-11-24  Andreas Schwab  <schwab@redhat.com>
76485         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
76486         specially.
76487         (gaih_getanswer_slice): Likewise.
76489 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
76491         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
76493 2010-05-31  Petr Baudis  <pasky@suse.cz>
76495         [BZ #11149]
76496         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
76497         silently even in the chroot mode.
76499 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
76501         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
76502         last patch a bit.  Pretty printing
76504 2010-05-31  Petr Baudis <pasky@suse.cz>
76506         [BZ #10085]
76507         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
76508         initialization of skip_initgroups_dyn.
76510 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
76512         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
76513         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76515 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
76517         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
76519 2010-11-11  Andreas Schwab  <schwab@redhat.com>
76521         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
76522         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
76523         (tst-fnmatch-ENV): Set MALLOC_TRACE.
76524         ($(objpfx)tst-fnmatch-mem): New rule.
76525         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
76526         * posix/tst-fnmatch.c (main): Call mtrace.
76528 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
76530         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76531         Support Intel processor model 6 and model 0x2c.
76533 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
76535         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
76536           signed comparison.
76538 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
76540         [BZ #12205]
76541         * string/test-strncasecmp.c (check_result): New function.
76542         (do_one_test): Use it.
76543         (check1): New function.
76544         (test_main): Use it.
76545         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
76546         Support strcasecmp and strncasecmp.
76548 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
76550         [BZ #12194]
76551         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
76552         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76554 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
76556         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
76557         IFUNC support.
76558         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76559         memset-x86-64.
76560         * sysdeps/x86_64/multiarch/bzero.S: New file.
76561         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
76562         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
76563         * sysdeps/x86_64/multiarch/memset.S: New file.
76564         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
76565         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76566         Set bit_Prefer_SSE_for_memop for Intel processors.
76567         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
76568         Define.
76569         (index_Prefer_SSE_for_memop): Define.
76570         (HAS_PREFER_SSE_FOR_MEMOP): Define.
76572 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
76574         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
76575         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
76577 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
76579         [BZ #12191]
76580         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76581         (__x86_64_raw_data_cache_size_half): Likewise.
76582         (__x86_64_raw_shared_cache_size): Likewise.
76583         (__x86_64_raw_shared_cache_size_half): Likewise.
76585         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76586         (__x86_64_raw_data_cache_size_half): Likewise.
76587         (__x86_64_raw_shared_cache_size): Likewise.
76588         (__x86_64_raw_shared_cache_size_half): Likewise.
76589         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
76590         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
76591         and __x86_64_raw_shared_cache_size_half.  Round
76592         __x86_64_data_cache_size_half, __x86_64_data_cache_size
76593         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
76594         to multiple of 256 bytes.
76596 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
76598         [BZ #12167]
76599         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
76600         of inacessible symlinks.  Verify result of symlink before returning it.
76601         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
76602         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
76604 2010-10-28  Erich Ritz  <erichritz@gmail.com>
76606         * math/math.h (isinf): Fix typo in comment.
76608 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
76610         * po/da.po: Update from translation team.
76612 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
76614         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
76615         is added to the list.
76617 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76618             Ulrich Drepper  <drepper@gmail.com>
76620         * elf/dl-object.c (_dl_new_object): Don't append the new object to
76621         the global list here.  Move code to...
76622         (_dl_add_to_namespace_list): ...here.  New function.
76623         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
76624         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
76625         * elf/dl-load.c (lose): Don't remove the element from the list.
76626         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
76627         (_dl_map_object): Likewise.
76629 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
76631         [BZ #12159]
76632         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
76633         into all bytes of SSE register.
76634         Patch by Richard Li <richardpku@gmail.com>.
76636 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
76638         [BZ #12140]
76639         * malloc/malloc.c (_int_free): Fill correct number of bytes when
76640         perturbing.
76642 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
76644         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
76645         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
76646         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
76647         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
76649         submachine.
76650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
76652 2010-10-22  Andreas Schwab  <schwab@redhat.com>
76654         * include/dlfcn.h (__RTLD_SECURE): Define.
76655         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
76656         mode & __RTLD_SECURE instead.
76657         (open_path): Rename preloaded parameter to secure.
76658         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
76659         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
76660         * elf/dl-deps.c (openaux): Likewise.
76661         * elf/rtld.c (struct map_args): Remove is_preloaded.
76662         (map_doit): Don't use it.
76663         (dl_main): Likewise.
76664         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
76665         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
76667 2010-09-09  Andreas Schwab  <schwab@redhat.com>
76669         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
76670         (sysd-rules-targets): Remove duplicates.
76671         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
76672         rtld-%.$o dependency.
76674 2010-10-18  Andreas Schwab  <schwab@redhat.com>
76676         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
76677         _dl_map_object do it.
76679 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
76681         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
76682         fast fma builtins, define the macros in the C99 standard.
76683         (FP_FAST_FMAF): Likewise.
76684         (FP_FAST_FMAL): Likewise.
76685         * sysdeps/x86_64/bits/mathdef.h: Likewise.
76687         * bits/mathdef.h: Update copyright year.
76688         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76690 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
76692         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
76693         builtins, define the macros in the C99 standard.
76694         (FP_FAST_FMAF): Likewise.
76695         (FP_FAST_FMAL): Likewise.
76696         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
76697         multiply/add.
76698         (FP_FAST_FMAF): Likewise.
76700 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
76702         [BZ #3268]
76703         * math/libm-test.inc (fma_test): Some new testcases.
76704         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
76705         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
76706         y and infinite z.  Do multiplication by C already in long double.
76707         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
76708         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
76709         y and infinite z.  Do bitwise or of inexact bit into u.d.
76710         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
76711         * sysdeps/i386/fpu/s_fmaf.S: Removed.
76712         * sysdeps/i386/fpu/s_fma.S: Removed.
76713         * sysdeps/i386/fpu/s_fmal.S: Removed.
76715 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
76717         [BZ #3268]
76718         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
76719         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
76720         computation is not scheduled after fetestexcept.  Fix value
76721         of minimum denormal long double.
76723 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
76725         [BZ #3268]
76726         * math/libm-test.inc (fma_test): Add some more tests.
76727         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
76728         correctly.
76730 2010-10-15  Andreas Schwab  <schwab@redhat.com>
76732         * scripts/data/localplt-s390-linux-gnu.data: New file.
76733         * scripts/data/localplt-s390x-linux-gnu.data: New file.
76735 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
76737         [BZ #3268]
76738         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
76739         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
76740         instead of dbl-64.
76741         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
76742         inlines.
76743         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
76744         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
76745         if one of x and y is very large and the other is subnormal.
76746         * sysdeps/s390/fpu/s_fmaf.c: New file.
76747         * sysdeps/s390/fpu/s_fma.c: New file.
76748         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
76749         * sysdeps/powerpc/fpu/s_fma.S: New file.
76750         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
76751         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
76752         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
76754 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
76756         [BZ #3268]
76757         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
76758         fma tests.
76759         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
76760         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
76761         * sysdeps/i386/i686/multiarch/s_fma.c: Include
76762         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
76763         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
76764         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
76765         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
76767 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
76769         [BZ #12078]
76770         * posix/regcomp.c (parse_branch): One more memory leak plugged.
76771         * posix/bug-regex31.input: Add test case.
76773 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76775         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
76776         * posix/bug-regex31.input: New file.
76778         [BZ #12078]
76779         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
76780         (parse_sub_exp): Fix last change, use postorder.
76782         * posix/bug-regex31.c: New file.
76783         * posix/Makefile: Add rules to build and run bug-regex31.
76785         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
76787         [BZ #12078]
76788         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
76790         [BZ #12108]
76791         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
76792         to have entries in sys_siglist.
76794         [BZ #12093]
76795         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
76796         be NULL.
76798 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
76800         [BZ #3268]
76801         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
76802         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
76803         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
76804         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
76805         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76806         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
76807         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
76808         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
76809         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
76810         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
76811         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
76812         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
76813         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
76814         * math/ftestexcept.c (fetestexcept): Likewise.
76815         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
76816         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
76817         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
76818         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
76819         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
76820         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
76821         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76823 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76825         [BZ #12107]
76826         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
76827         newline.
76829 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
76831         * string/bug-strstr1.c: New file.
76832         * string/Makefile: Add rules to build and run bug-strstr1.
76834 2010-10-05  Eric Blake  <eblake@redhat.com>
76836         [BZ #12092]
76837         * string/str-two-way.h (two_way_long_needle): Always clear memory
76838         when skipping input due to the shift table.
76840 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
76842         [BZ #12005]
76843         * malloc/mcheck.c: Handle large requests.
76845         [BZ #12077]
76846         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
76847         for strncmp and strncasecmp.
76848         * string/stratcliff.c: Add tests for strcmp and strncmp.
76849         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
76851 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76853         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
76854         __set_fpscr.
76856 2010-09-30  Andreas Jaeger  <aj@suse.de>
76858         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
76859         (CGROUP_SUPER_MAGIC): Define.
76860         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76861         Handle btrfs and cgroup file systems.
76862         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
76863         Likewise.
76865 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
76867         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
76868         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
76870 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76872         [BZ #12067]
76873         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
76874         trying to locate the ELF header.
76876 2010-09-27  Andreas Schwab  <schwab@redhat.com>
76878         [BZ #11611]
76879         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
76880         Mask out sign-bit copies when constructing f_fsid.
76882 2010-09-24  Petr Baudis <pasky@suse.cz>
76884         * debug/stack_chk_fail_local.c: Add missing licence exception.
76885         * debug/warning-nop.c: Likewise.
76887 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
76889         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
76890         implementing getdents64 using getdents syscall, set d_type if
76891         __ASSUME_GETDENTS32_D_TYPE.
76893 2010-09-16  Andreas Schwab  <schwab@redhat.com>
76895         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
76896         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
76898 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
76900         [BZ #12037]
76901         * posix/unistd.h: Undo change of feature selection for ftruncate from
76902         2010-01-11.
76904 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
76906         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
76907         detection.
76909 2010-09-20  Andreas Schwab  <schwab@redhat.com>
76911         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
76912         fanotify_mark.
76913         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76915 2010-09-14  Andreas Schwab  <schwab@redhat.com>
76917         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
76918         variables after CHECK_SP call.
76919         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
76921 2010-09-13  Andreas Schwab  <schwab@redhat.com>
76922             Ulrich Drepper  <drepper@redhat.com>
76924         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
76925         re-relocationg ld.so.
76926         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
76927         _dl_init_paths call.
76928         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
76929         here anymore.
76931 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
76933         * resolv/res_init.c (__res_vinit): Count the default server we added.
76935 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
76936             Ulrich Drepper  <drepper@redhat.com>
76938         [BZ #11968]
76939         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76940         (____longjmp_chk): Use %ebx for saving value across system call.
76941         Add unwind info.
76943 2010-09-06  Andreas Schwab  <schwab@redhat.com>
76945         * manual/Makefile: Don't mix pattern rules with normal rules.
76947 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76949         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
76950         operation.
76951         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
76952         * libio/iofopncook.c (_IO_cookie_init): Likewise.
76953         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
76954         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
76955         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76956         Likewise.
76958 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
76960         [BZ #11979]
76961         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
76962         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
76964 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
76966         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
76967         * sysdeps/x86_64/addmul_1.S: Likewise.
76968         * sysdeps/x86_64/lshift.S: Likewise.
76969         * sysdeps/x86_64/mul_1.S: Likewise.
76970         * sysdeps/x86_64/rshift.S: Likewise.
76971         * sysdeps/x86_64/sub_n.S: Likewise.
76972         * sysdeps/x86_64/submul_1.S: Likewise.
76974 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76976         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
76977         Define __sched_param instead of SCHED_* and sched_param when
76978         <bits/sched.h> is included with __need_schedparam defined.
76979         * bits/sched.h [__need_schedparam]
76980         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
76981         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
76982         (__defined_schedparam): Define to 1.
76983         (__sched_param): New structure, identical to sched_param.
76984         (__need_schedparam): Undefine.
76986 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
76988         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
76989         (epoll_create1): Declare.
76991         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
76993 2010-08-31  Andreas Schwab  <schwab@redhat.com>
76995         [BZ #7066]
76996         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
76997         shifting retval into place.
76999 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
77001         * nis/rpcsvc/nis.h: Update copyright notice.
77002         * nis/rpcsvc/nis.x: Likewise.
77003         * nis/rpcsvc/nis_callback.h: Likewise.
77004         * nis/rpcsvc/nis_callback.x: Likewise.
77005         * nis/rpcsvc/nis_object.x: Likewise.
77006         * nis/rpcsvc/nis_tags.h: Likewise.
77007         * nis/rpcsvc/yp.h: Likewise.
77008         * nis/rpcsvc/yp.x: Likewise.
77009         * nis/rpcsvc/ypupd.h: Likewise.
77010         * nis/yp_xdr.c: Likewise.
77011         * nis/ypupdate_xdr.c: Likewise.
77013         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
77014         mainly the body of pmap_getport.  Add parameters to specify timeouts.
77015         (pmap_getport): Use __libc_rpc_getport.
77016         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
77017         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
77018         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
77020 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
77022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
77023         fanotify_mark.
77025 2010-08-27  Roland McGrath  <roland@redhat.com>
77027         * sysdeps/i386/i686/multiarch/Makefile
77028         (CFLAGS-varshift.c): New variable.
77030 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
77032         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
77033         * sysdeps/i386/i686/multiarch/varshift.c: New file.
77035         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
77037         * sysdeps/x86_64/strlen.S: Minimal code improvement.
77039 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
77041         * sysdeps/x86_64/strlen.S: Unroll the loop.
77042         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77043         strlen-sse2 strlen-sse2-bsf.
77044         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
77045         __strlen_no_bsf if bit_Slow_BSF is set.
77046         (__strlen_sse42): Removed.
77047         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
77048         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
77050 2010-08-25  Roland McGrath  <roland@redhat.com>
77052         * sysdeps/x86_64/multiarch/varshift.S: File removed.
77053         * sysdeps/x86_64/multiarch/varshift.c: New file.
77054         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
77055         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
77056         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
77057         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
77059 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
77061         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77062         strlen-sse2 strlen-sse2-bsf.
77063         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
77064         __strlen_sse2_bsf if bit_Slow_BSF is unset.
77065         (__strlen_sse2): Removed.
77066         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
77067         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
77068         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
77069         bit_Slow_BSF for Atom.
77070         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
77071         (index_Slow_BSF): Define.
77072         (HAS_SLOW_BSF): Define.
77074 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
77076         [BZ #10851]
77077         * resolv/res_init.c (__res_vinit): When no server address at all
77078         is given default to loopback.
77080 2010-08-24  Roland McGrath  <roland@redhat.com>
77082         * configure.in: Remove config-name.h generation.
77083         * configure: Regenerated.
77084         * config-name.in: File removed.
77085         * scripts/config-uname.sh: New file.
77086         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
77087         ($(objdir)config-name.h): New target.
77089         * sunrpc/rpc_parse.h: Avoid nested comment.
77091 2010-08-24  Richard Henderson  <rth@redhat.com>
77092             Ulrich Drepper  <drepper@redhat.com>
77093             H.J. Lu  <hongjiu.lu@intel.com>
77095         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
77096         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
77097         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
77098         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
77099         _mm_alignr_epi8 with _mm_loadu_si128.
77100         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
77101         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
77102         (__m128i_shift_right): Removed.
77103         * sysdeps/i386/i686/multiarch/varshift.h: New file.
77104         * sysdeps/i386/i686/multiarch/varshift.S: New file.
77105         * sysdeps/x86_64/multiarch/varshift.h: New file.
77106         * sysdeps/x86_64/multiarch/varshift.S: New file.
77108 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
77110         * configure.in: Move assembler checks to before sysdep dir checking.
77112 2010-08-20  Petr Baudis  <pasky@suse.cz>
77114         * LICENSES: Sync the sunrpc license.
77116 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
77118         * sunrpc/auth_des.c: Update copyright notice once again.
77119         * sunrpc/auth_none.c: Likewise.
77120         * sunrpc/auth_unix.c: Likewise.
77121         * sunrpc/authdes_prot.c: Likewise.
77122         * sunrpc/authuxprot.c: Likewise.
77123         * sunrpc/bindrsvprt.c: Likewise.
77124         * sunrpc/clnt_gen.c: Likewise.
77125         * sunrpc/clnt_perr.c: Likewise.
77126         * sunrpc/clnt_raw.c: Likewise.
77127         * sunrpc/clnt_simp.c: Likewise.
77128         * sunrpc/clnt_tcp.c: Likewise.
77129         * sunrpc/clnt_udp.c: Likewise.
77130         * sunrpc/clnt_unix.c: Likewise.
77131         * sunrpc/des_crypt.c: Likewise.
77132         * sunrpc/des_soft.c: Likewise.
77133         * sunrpc/get_myaddr.c: Likewise.
77134         * sunrpc/getrpcport.c: Likewise.
77135         * sunrpc/key_call.c: Likewise.
77136         * sunrpc/key_prot.c: Likewise.
77137         * sunrpc/openchild.c: Likewise.
77138         * sunrpc/pm_getmaps.c: Likewise.
77139         * sunrpc/pm_getport.c: Likewise.
77140         * sunrpc/pmap_clnt.c: Likewise.
77141         * sunrpc/pmap_prot.c: Likewise.
77142         * sunrpc/pmap_prot2.c: Likewise.
77143         * sunrpc/pmap_rmt.c: Likewise.
77144         * sunrpc/rpc/auth.h: Likewise.
77145         * sunrpc/rpc/auth_unix.h: Likewise.
77146         * sunrpc/rpc/clnt.h: Likewise.
77147         * sunrpc/rpc/des_crypt.h: Likewise.
77148         * sunrpc/rpc/key_prot.h: Likewise.
77149         * sunrpc/rpc/netdb.h: Likewise.
77150         * sunrpc/rpc/pmap_clnt.h: Likewise.
77151         * sunrpc/rpc/pmap_prot.h: Likewise.
77152         * sunrpc/rpc/pmap_rmt.h: Likewise.
77153         * sunrpc/rpc/rpc.h: Likewise.
77154         * sunrpc/rpc/rpc_des.h: Likewise.
77155         * sunrpc/rpc/rpc_msg.h: Likewise.
77156         * sunrpc/rpc/svc.h: Likewise.
77157         * sunrpc/rpc/svc_auth.h: Likewise.
77158         * sunrpc/rpc/types.h: Likewise.
77159         * sunrpc/rpc/xdr.h: Likewise.
77160         * sunrpc/rpc_clntout.c: Likewise.
77161         * sunrpc/rpc_cmsg.c: Likewise.
77162         * sunrpc/rpc_common.c: Likewise.
77163         * sunrpc/rpc_cout.c: Likewise.
77164         * sunrpc/rpc_dtable.c: Likewise.
77165         * sunrpc/rpc_hout.c: Likewise.
77166         * sunrpc/rpc_main.c: Likewise.
77167         * sunrpc/rpc_parse.c: Likewise.
77168         * sunrpc/rpc_parse.h: Likewise.
77169         * sunrpc/rpc_prot.c: Likewise.
77170         * sunrpc/rpc_sample.c: Likewise.
77171         * sunrpc/rpc_scan.c: Likewise.
77172         * sunrpc/rpc_scan.h: Likewise.
77173         * sunrpc/rpc_svcout.c: Likewise.
77174         * sunrpc/rpc_tblout.c: Likewise.
77175         * sunrpc/rpc_util.c: Likewise.
77176         * sunrpc/rpc_util.h: Likewise.
77177         * sunrpc/rpcinfo.c: Likewise.
77178         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
77179         * sunrpc/rpcsvc/key_prot.x: Likewise.
77180         * sunrpc/rpcsvc/klm_prot.x: Likewise.
77181         * sunrpc/rpcsvc/mount.x: Likewise.
77182         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
77183         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
77184         * sunrpc/rpcsvc/rex.x: Likewise.
77185         * sunrpc/rpcsvc/rstat.x: Likewise.
77186         * sunrpc/rpcsvc/rusers.x: Likewise.
77187         * sunrpc/rpcsvc/sm_inter.x: Likewise.
77188         * sunrpc/rpcsvc/spray.x: Likewise.
77189         * sunrpc/rpcsvc/yppasswd.x: Likewise.
77190         * sunrpc/rtime.c: Likewise.
77191         * sunrpc/svc.c: Likewise.
77192         * sunrpc/svc_auth.c: Likewise.
77193         * sunrpc/svc_authux.c: Likewise.
77194         * sunrpc/svc_raw.c: Likewise.
77195         * sunrpc/svc_run.c: Likewise.
77196         * sunrpc/svc_simple.c: Likewise.
77197         * sunrpc/svc_tcp.c: Likewise.
77198         * sunrpc/svc_udp.c: Likewise.
77199         * sunrpc/svc_unix.c: Likewise.
77200         * sunrpc/svcauth_des.c: Likewise.
77201         * sunrpc/xcrypt.c: Likewise.
77202         * sunrpc/xdr.c: Likewise.
77203         * sunrpc/xdr_array.c: Likewise.
77204         * sunrpc/xdr_float.c: Likewise.
77205         * sunrpc/xdr_mem.c: Likewise.
77206         * sunrpc/xdr_rec.c: Likewise.
77207         * sunrpc/xdr_ref.c: Likewise.
77208         * sunrpc/xdr_sizeof.c: Likewise.
77209         * sunrpc/xdr_stdio.c: Likewise.
77211         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
77212         handling.
77214 2010-08-19  Andreas Schwab  <schwab@redhat.com>
77216         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
77218 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
77220         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
77221         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
77222         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
77223         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
77224         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
77225         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
77226         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
77227         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
77228         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
77229         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
77230         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
77231         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
77232         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
77233         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
77235 2010-07-26  Anton Blanchard  <anton@samba.org>
77237         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
77238         * malloc/arena.c (heap_trim): Likewise.
77240 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
77242         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
77243         here.  Not...
77244         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
77245         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
77247 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
77249         * sysdeps/i386/elf/Makefile: New file.
77251 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77253         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
77254         from fanotify_init.
77255         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
77256         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77258 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
77260         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
77261         of strncasecmp_l.
77262         * sysdeps/multiarch/strcmp.S: Likewise.
77264 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
77266         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77267         strncase_l-nonascii.
77268         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77269         Add strncase_l-ssse3.
77270         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
77271         * sysdeps/x86_64/strcmp.S: Likewise.
77272         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
77273         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
77274         * sysdeps/x86_64/strncase.S: New file.
77275         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
77276         * sysdeps/x86_64/strncase_l.S: New file.
77277         * string/Makefile (strop-tests): Add strncasecmp.
77278         * string/test-strncasecmp.c: New file.
77280         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
77281         warning.
77283         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
77284         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
77286 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77288         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
77290 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
77292         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
77293         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
77294         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
77296 2010-05-01  Alan Modra  <amodra@gmail.com>
77298         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
77299         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
77300         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
77301         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
77302         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
77303         tidying.  Don't tail-call __sigjmp_save for static lib.
77304         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
77305         save location.
77306         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
77307         (CALL_MCOUNT): Add eh info, and nop after bl.
77308         (TAIL_CALL_SYSCALL_ERROR): New macro.
77309         (PSEUDO_RET): Use it.
77310         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
77311         Correct save location of integer regs and cr.
77312         (_dl_profile_resolve): Correct cr save location.  Delete nops
77313         after bl when SHARED.  Reduce cfi size a little by better
77314         placement of cfi directives.
77315         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
77316         make a stack frame.  Instead use parm save area as a temp.
77317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
77318         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
77319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
77320         Don't make a stack frame for parent, use parm save area.
77321         Increase child stack frame to 112 bytes.  Don't save unused reg,
77322         and adjust reg usage.  Set up cfi on error recovery and
77323         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
77324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77325         (__makecontext): Add dummy nop after jump to exit.
77326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
77327         Use correct parm save area and cr save, reduce stack frame.
77328         Correct cfi for possible PSEUDO_RET frame setup.
77329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
77330         Branch to local label emitted by PSEUDO_RET rather than
77331         __syscall_error.
77333 2010-08-12  Andreas Schwab  <schwab@redhat.com>
77335         [BZ #11904]
77336         * locale/programs/locale.c (print_assignment): New function.
77337         (show_locale_vars): Use it.
77339 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
77341         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
77342         field.
77343         (struct statfs64): Likewise.
77344         (_STATFS_F_FLAGS): Define.
77345         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
77346         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77347         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
77348         (ST_VALID): Define locally.
77349         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
77350         __statvfs_getflags, use the provided value.
77351         * sysdeps/unix/sysv/linux/kernel-features.h: Define
77352         __ASSUME_STATFS_F_FLAGS.
77354         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
77356         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
77357         Add sys/fanotify.h.
77358         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
77359         fanotify_mask for GLIBC_2.13.
77360         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
77361         fanotify_init and fanotify_mark.
77362         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77363         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
77365         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
77366         Add prlimit.
77367         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
77368         prlimit64 for GLIBC_2.13.
77369         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
77370         prlimit64.
77371         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
77372         syscall.
77373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
77374         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77375         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
77376         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
77377         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
77378         add prlimit alias.
77379         * sysdeps/unix/sysv/linux/prlimit.c: New file.
77381         [BZ #11903]
77382         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
77383         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
77385         * nss/Makefile: Add rules to build and run tst-nss-test1.
77386         * shlib-versions: Add entry for libnss_test1.
77387         * nss/nss_test1.c: New file.
77388         * nss/tst-nss-test1.c: New file.
77390         * nss/nsswitch.c (__nss_database_custom): Define new variable.
77391         (__nss_configure_lookup): Set appropriate entry in
77392         __nss_configure_lookup to true.
77393         * nss/nsswitch.h: Define enum with indeces of databases in
77394         databases and __nss_database_custom arrays.  Declare
77395         __nss_database_custom.
77396         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
77397         to avoid using nscd when custom rules are installed.
77398         * nss/getXXbyYY_r.c: Likewise.
77399         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
77401         * nss/nss_files/files-parse.c: Whitespace fixes.
77403 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
77405         [BZ #11883]
77406         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
77407         * posix/fnmatch_loop.c: Likewise.
77409 2010-07-17  Andi Kleen  <ak@linux.intel.com>
77411         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
77412         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
77413         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
77414         * Versions.def [GLIBC_2.13]: Add.
77416 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
77418         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77419         Also fail if tpwd after pwuid call is NULL.
77421 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77423         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
77424         when converting to ms.
77426 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77428         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
77429         EOPNOTSUPP errors with ENOTTY.
77430         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
77431         EOPNOTSUPP errors with ENOTTY.
77433 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
77435         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77436         Add strcasecmp_l-ssse3.
77437         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
77438         strcasecmp.
77439         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
77440         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
77441         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
77443 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
77445         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
77447         * string/Makefile (strop-tests): Add strcasecmp.
77448         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77449         strcasecmp_l-nonascii.
77450         (gen-as-const-headers): Add locale-defines.sym.
77451         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
77452         * sysdeps/x86_64/strcasecmp.S: New file.
77453         * sysdeps/x86_64/strcasecmp_l.S: New file.
77454         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
77455         * sysdeps/x86_64/locale-defines.sym: New file.
77456         * string/test-strcasecmp.c: New file.
77458         * string/test-strcasestr.c: Test both ends of the range of characters.
77459         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
77461 2010-07-29  Roland McGrath  <roland@redhat.com>
77463         [BZ #11856]
77464         * manual/locale.texi (Yes-or-No Questions): Fix example code.
77466 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
77468         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
77469         for ld.so.
77471 2010-07-27  Andreas Schwab  <schwab@redhat.com>
77473         * manual/memory.texi (Malloc Tunable Parameters): Document
77474         M_PERTURB.
77476 2010-07-26  Roland McGrath  <roland@redhat.com>
77478         [BZ #11840]
77479         * configure.in (-fgnu89-inline check): Set and substitute
77480         gnu89_inline, not libc_cv_gnu89_inline.
77481         * configure: Regenerated.
77482         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
77484 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
77486         * string/test-strnlen.c: New file.
77487         * string/Makefile (strop-tests): Add strnlen.
77488         * string/tester.c (test_strnlen): Add a few more test cases.
77489         * string/tst-strlen.c: Better error reporting.
77491         * sysdeps/x86_64/strnlen.S: New file.
77493 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
77495         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
77496         lower-latency instructions.
77498 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
77500         * string/test-strcasestr.c: New file.
77501         * string/test-strstr.c: New file.
77502         * string/Makefile (strop-tests): Add strstr and strcasestr.
77503         * string/str-two-way.h: Don't undefine MAX.
77504         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
77506 2010-07-21  Andreas Schwab  <schwab@redhat.com>
77508         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77509         strcasestr-nonascii.
77510         (CFLAGS-strcasestr-nonascii.c): Define.
77511         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
77512         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
77513         Remove unused attribute.
77515 2010-07-20  Roland McGrath  <roland@redhat.com>
77517         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
77518         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
77519         ld.so.cache was broken.  With it, there is no way to disable dsocaps
77520         like LD_HWCAP_MASK can disable hwcaps.
77522 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77524         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
77526 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
77528         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
77529         call in strcasestr.
77530         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
77531         __strcasestr_sse42_nonascii.
77532         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
77533         strcasestr-nonascii.c.
77534         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
77536 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
77538         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
77539         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
77540         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
77541         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
77543 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
77545         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
77546         fcntl.
77548 2010-07-06  Andreas Schwab  <schwab@redhat.com>
77550         [BZ #11577]
77551         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
77552         dl_signal_cerror.
77554 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
77556         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
77557         _PC_PIPE_BUF using F_GETPIPE_SZ.
77559 2010-07-05  Roland McGrath  <roland@redhat.com>
77561         * manual/arith.texi (Rounding Functions): Fix rint description
77562         implicit in round description.
77564 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
77566         * elf/Makefile: Fix linking for a few tests to make recent linker
77567         happy.
77569 2010-06-30  Andreas Schwab  <schwab@redhat.com>
77571         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77572         $(common-objpfx)libc_nonshared.a.
77574 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
77576         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
77577         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
77578         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77579         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77580         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
77581         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
77582         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77583         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
77585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
77586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
77587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
77589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
77591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
77592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
77593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
77594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
77596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
77598         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
77599         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
77600         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
77601         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
77602         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
77603         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
77604         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
77605         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
77606         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
77607         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
77608         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
77609         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
77610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
77611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
77612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
77613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
77614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
77615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
77616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
77617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
77618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
77619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
77620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
77621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
77622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
77623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
77625 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
77627         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
77628         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
77629         * string/memmove.c (memmove): Renamed to ...
77630         (MEMMOVE): ...this.  Default to memmove.
77631         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
77632         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
77633         (END_CHK): Define.
77634         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77635         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
77636         mempcpy-ssse3-back memmove-ssse3-back.
77637         * sysdeps/x86_64/multiarch/bcopy.S: New file .
77638         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
77639         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
77640         * sysdeps/x86_64/multiarch/memcpy.S: New file.
77641         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
77642         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
77643         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
77644         * sysdeps/x86_64/multiarch/memmove.c: New file.
77645         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
77646         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
77647         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
77648         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
77649         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
77650         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
77651         Define.
77652         (index_Fast_Copy_Backward): Define.
77653         (HAS_ARCH_FEATURE): Define.
77654         (HAS_FAST_REP_STRING): Define.
77655         (HAS_FAST_COPY_BACKWARD): Define.
77657 2010-06-21  Andreas Schwab  <schwab@redhat.com>
77659         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77660         Restore proper fallback handling.
77662 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
77664         [BZ #11701]
77665         * posix/group_member.c (__group_member): Correct checking loop.
77667         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
77668         OOM in getpwuid_r correctly.  Return error number when the caller
77669         should return, otherwise -1.
77670         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
77671         call returning > 0 value.
77672         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
77674 2010-06-07  Andreas Schwab  <schwab@redhat.com>
77676         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
77677         libc_nonshared.a from targets in modules-names.
77679 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
77681         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
77682         requires it.
77684 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
77686         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
77687         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
77688         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
77689         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
77691 2010-06-02  Andreas Schwab  <schwab@redhat.com>
77693         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
77695 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
77697         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
77698         and F_GETPIPE_SZ.
77699         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77700         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77701         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77702         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77703         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77704         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77706 2010-06-14  Roland McGrath  <roland@redhat.com>
77708         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
77710 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
77712         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
77713         __REDIRECT followed by __THROW.
77714         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
77715         * posix/getopt.h (getopt): Likewise.
77717 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77719         * hurd/lookup-at.c (__file_name_lookup_at): Accept
77720         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
77721         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
77722         in AT_FLAGS.
77723         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
77724         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
77726 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
77728         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
77730 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
77732         [BZ #11640]
77733         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77734         Properly check family and model.
77736 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
77738         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
77740 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
77742         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
77744 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
77746         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
77747         symbol reference.
77749 2010-05-19  Andreas Schwab  <schwab@redhat.com>
77751         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
77752         symbol reference.
77754 2010-05-21  Andreas Schwab  <schwab@redhat.com>
77756         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
77757         and internal_recvmmsg.
77758         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
77759         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
77760         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
77761         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
77763         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
77764         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
77765         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
77767 2010-05-20  Andreas Schwab  <schwab@redhat.com>
77769         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
77771 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
77773         POWER7 optimizations.
77774         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
77775         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
77777 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
77779         * version.h: Update for 2.13 development version.
77781 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
77783         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
77784         exceptions.  Return 0.
77786 2010-05-07  Roland McGrath  <roland@redhat.com>
77788         * elf/ldconfig.c (main): Add a const.
77790 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
77792         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
77793         (args_options): Add no-idn option.
77794         (ahosts_keys_int): Add idn_flags to ai_flags.
77795         (parse_option): Handle 'i' option to clear idn_flags.
77797         * malloc/malloc.c (_int_free): Possible race in the most recently
77798         added check.  Only act on the data if no current modification
77799         happened.
77801 See ChangeLog.17 for earlier changes.