Use VSQRT instruction for ARM sqrt (bug 20660).
[glibc.git] / ChangeLog
blobef710b4194c16ff0b7ff4daab5f599cd8af4836f
1 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #20660]
4         * sysdeps/arm/e_sqrt.c: New file.
5         * sysdeps/arm/e_sqrtf.c: Likewise.
7 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
9         [BZ #20718]
10         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
11         not use floating-point comparisons to test sign.
12         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
13         Likewise.
15         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16         (getpayload): New declaration.
17         * math/Versions (getpayload): New libm symbol at version
18         GLIBC_2.25.
19         (getpayloadf): Likewise.
20         (getpayloadl): Likewise.
21         * math/Makefile (libm-calls): Add s_getpayloadF.
22         * math/libm-test.inc: Include <nan-high-order-bit.h>.
23         (struct test_f_f_data): Add comment.
24         (RUN_TEST_fp_f): New macro.
25         (RUN_TEST_LOOP_fp_f): Likewise.
26         (getpayload_test_data): New array.
27         (getpayload_test): New function.
28         (main): Call getpayload_test.
29         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
30         descriptor.
31         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
32         getpayloadf and getpayloadl.
33         * manual/libm-err-tab.pl: Update comment on interfaces without
34         ulps tabulated.
35         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
36         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
37         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
38         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
39         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
40         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
41         * sysdeps/nacl/libm.abilist: Update.
42         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
43         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
44         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
45         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
46         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
47         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
48         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
49         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
50         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
51         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
52         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
53         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
54         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
55         Likewise.
56         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
57         Likewise.
58         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
59         Likewise.
60         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
61         Likewise.
62         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
63         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
64         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
65         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
66         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
67         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
68         Likewise.
69         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
70         Likewise.
71         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
72         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
73         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
75 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
77         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
78         tst-fallocate{64}.
79         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
80         on syscall return.
82 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
84         [BZ #20689]
85         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
86         usable.
88 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
90         * sysdeps/generic/nan-high-order-bit.h: New file.
91         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
92         * sysdeps/mips/nan-high-order-bit.h: Likewise.
93         * sysdeps/hppa/math_private.h: Remove file.
94         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
95         not define here.
96         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
97         <nan-high-order-bit.h>.
98         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
99         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
100         <nan-high-order-bit.h>.
101         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
102         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
103         <nan-high-order-bit.h>.
104         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
105         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
106         <nan-high-order-bit.h>.
107         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
108         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
109         <nan-high-order-bit.h>.
110         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
111         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
112         <nan-high-order-bit.h>.
113         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
114         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
115         <nan-high-order-bit.h>.
116         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
117         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
118         <nan-high-order-bit.h>.
119         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
120         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
121         <nan-high-order-bit.h>.
122         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
123         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
124         <nan-high-order-bit.h>.
125         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
126         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
127         <nan-high-order-bit.h>.
128         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
129         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
130         <nan-high-order-bit.h>.
131         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
132         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
133         <nan-high-order-bit.h>.
134         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
135         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
136         <nan-high-order-bit.h>.
137         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
138         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
139         <nan-high-order-bit.h>.
140         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
141         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
142         <nan-high-order-bit.h>.
143         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
144         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
145         <nan-high-order-bit.h>.
146         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
147         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
148         <nan-high-order-bit.h>.
149         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
151 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
153         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
155 2016-09-22  John David Anglin  <dave.anglin@bell.net>
157         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
158         abort-instr.h.
159         (EFAULT): Remove conditional define.
160         (ENOSYS): Likewise.
161         (atomic_compare_and_exchange_val_acq): Use instruction nullification
162         instead of conditional branch instructions.
164 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
166         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
167         (totalordermag): New declaration.
168         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
169         New macro.
170         * math/Versions (totalordermag): New libm symbol at version
171         GLIBC_2.25.
172         (totalordermagf): Likewise.
173         (totalordermagl): Likewise.
174         * math/Makefile (libm-calls): Add s_totalordermagF.
175         * math/libm-test.inc (totalordermag_test_data): New array.
176         (totalordermag_test): New function.
177         (main): Call totalordermag_test.
178         * math/test-tgmath.c (NCALLS): Increase to 125.
179         (F(compile_test)): Call totalordermag.
180         (F(totalordermag)): New function.
181         * manual/arith.texi (FP Comparison Functions): Document
182         totalordermag, totalordermagf and totalordermagl.
183         * manual/libm-err-tab.pl: Update comment on interfaces without
184         ulps tabulated.
185         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
186         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
187         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
188         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
189         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
190         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
191         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
192         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
193         totalordermag.
194         (CFLAGS-nldbl-totalordermag.c): New variable.
195         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
196         (do_test): Also test totalordermagl.
197         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
198         Likewise.
199         * sysdeps/nacl/libm.abilist: Update.
200         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
201         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
202         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
203         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
204         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
205         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
206         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
207         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
208         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
209         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
210         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
211         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
213         Likewise.
214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
215         Likewise.
216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
217         Likewise.
218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
219         Likewise.
220         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
221         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
222         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
223         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
224         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
226         Likewise.
227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
228         Likewise.
229         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
230         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
231         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
233 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
235         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
236         boolean.
238 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
240         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
241         raising FE_INVALID with feraisexcept in case where part of
242         argument is infinite, subtract that part of argument from itself.
243         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
244         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
245         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
247 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
249         * math/libm-test.inc (totalorder_test_data): Add more tests.
251 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
253         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
254         Undefine weak_alias and add a comment why mips64 require
255         versioning.
257 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
259         [BZ #20647]
260         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
261         maximum CPUID level is less than 2.
263 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
265         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
266         (totalorder): New declaration.
267         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
268         New macro.
269         * math/Versions (totalorder): New libm symbol at version
270         GLIBC_2.25.
271         (totalorderf): Likewise.
272         (totalorderl): Likewise.
273         * math/Makefile (libm-calls): Add s_totalorderF.
274         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
275         string.
276         * math/libm-test.inc (PAYLOAD_DIG): New macro.
277         (qnan_value_pl): Likewise.
278         (snan_value_pl): Likewise.
279         (qnan_value): Define using qnan_value_pl.
280         (snan_value): Define using snan_value_pl.
281         (struct test_ff_i_data): Add comment about which tests use this
282         structure.
283         (RUN_TEST_ff_b): New macro.
284         (RUN_TEST_LOOP_ff_b): Likewise.
285         (totalorder_test_data): New array.
286         (totalorder_test): New function.
287         (main): Call totalorder_test.
288         * math/test-tgmath.c (NCALLS): Increase to 122.
289         (F(compile_test)): Call totalorder.
290         (F(totalorder)): New function.
291         * manual/arith.texi (FP Comparison Functions): Document
292         totalorder, totalorderf and totalorderl.
293         * manual/libm-err-tab.pl: Update comment on interfaces without
294         ulps tabulated.
295         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
296         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
297         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
298         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
299         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
300         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
301         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
302         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
303         totalorder.
304         (CFLAGS-nldbl-totalorder.c): New variable.
305         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
306         file.
307         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
308         Add test-totalorderl-ldbl-128ibm.
309         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
310         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
311         test-totalorderl-ldbl-96.
312         * sysdeps/nacl/libm.abilist: Update.
313         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
314         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
315         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
316         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
317         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
318         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
319         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
320         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
321         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
322         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
323         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
324         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
326         Likewise.
327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
328         Likewise.
329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
330         Likewise.
331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
332         Likewise.
333         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
334         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
335         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
336         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
337         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
339         Likewise.
340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
341         Likewise.
342         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
343         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
344         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
346 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
348         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
349         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
350         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
351         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
352         remove ENOSYS implementation.
353         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
354         Consolidate all Linux implementations.
356 2016-10-11  Florian Weimer  <fweimer@redhat.com>
358         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
359         * resolv/herror.c (herror): Cast away const-ness.
360         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
361         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
363 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
365         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
366         instead of M_NAN + M_NAN.
367         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
369 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
371         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
372         unused variable 'p'.
374 2016-10-09  Alan Modra  <amodra@gmail.com>
375             Andreas Schwab  <schwab@linux-m68k.org>
377         [BZ #20554]
378         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
379         [PIC && !SHARED]: Set up PIC register for PLT call.
381 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
383         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
384         conditional on value of [__FLT_EVAL_METHOD__].
385         * math/test-iseqsig-excess-precision.c: New file.
386         * math/Makefile (tests): Add test-iseqsig-excess-precision.
388 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
390         * math/s_iseqsig_template.c: Include math-private.h.
392         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
393         * posix/tst-posix_fadvise.c: New file.
394         * posix/tst-posix_fadvise64.c: Likewise.
395         * posix/tst-posix_fadvise-common.c: Likewise.
396         * sysdeps/unix/sysv/linux/arm/kernel-features.h
397         (__ASSUME_FADVISE64_64_6ARG): Define.
398         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
399         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
400         * sysdeps/unix/sysv/linux/tile/kernel-features.h
401         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
402         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
403         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
404         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
405         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
406         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
407         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
408         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
409         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
412         Likewise.
413         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
414         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
415         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
416         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
417         Alias to __posix_fadvise64_l32.
418         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
419         Add compat definition to posix_fadvise64.
420         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
421         Add versioned definition to posix_fadvise64.
422         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
423         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
424         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
425         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
426         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
428         * io/Makefile (tests): Add tst-posix_fallocate and
429         tst-posix_fallocate64.
430         * io/tst-posix_fallocate-common.c: New file.
431         * io/tst-posix_fallocate.c: Likewise.
432         * io/tst-posix_fallocate64.c: Likewise.
433         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
434         file.
435         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
436         Likewise.
437         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
438         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
439         Likewise.
440         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
441         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
442         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
443         SYSCALL_LL to pass both offset and len arguments.
444         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
445         Likewise.
446         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
447         __libc_pwrite64 alias used by posix_fallocate64.
449         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
450         tst-fallocate64.
451         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
452         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
453         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
454         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
455         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
456         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
457         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
458         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
459         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
460         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
461         macro on offset argument.
462         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
463         SYSCALL_LL64 on offset argument.
465         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
466         tst-fallocate64.
467         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
468         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
469         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
470         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
471         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
472         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
473         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
474         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
475         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
476         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
477         macro on offset argument.
478         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
479         SYSCALL_LL64 on offset argument.
480         * test-skeleton.c (FAIL_RET): Add macro.
481         (FAIL_EXIT): Likewise.
482         (FAIL_EXIT1): Likewise.
483         (_FAIL): Likewise.
485 2016-10-07  Florian Weimer  <fweimer@redhat.com>
487         [BZ #20629]
488         resolv: Remove RES_USEBSTRING and its implementation.
489         * resolv/resolv.h (RES_USEBSTRING): Remove.
490         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
491         (digitvalue, encode_bitstring, decode_bitstring): Remove.
492         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
493         (labellen): Remove extended label types support.
494         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
495         * resolv/res_init.c (res_setoptions): Likewise.
496         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
498 2016-10-07  Florian Weimer  <fweimer@redhat.com>
500         resolv: Remove RES_NOIP6DOTINT and its implementation.
501         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
502         (RES_NOIP6DOTINT): Remove.
503         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
504         handling.
505         * resolv/res_debug.c (p_option): Likewise.
506         * resolv/res_init.c (res_setoptions): Likewise.
507         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
509 2016-10-07  Florian Weimer  <fweimer@redhat.com>
511         resolv: Deprecate unimplemented flags.
512         * misc/sys/cdefs.h (__glibc_macro_warning1)
513         (__glibc_macro_warning): Define.
514         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
515         (RES_KEEPTSIG): Mark as deprecated.
516         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
517         RES_NOCHECKNAME, RES_KEEPTSIG.
518         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
520 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
522         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
523         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
524         Use strong_alias to create symbols for glibc verison 2.19.
526 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
528         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
530 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
532         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
534 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
536         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
538 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
540         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
541         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
542         in header for using it as type for ifunc function because __GI_* symbols
543         for ppc32 do not target the ifunc symbols.
544         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
546 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
548         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
549         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
550         libc_ifunc_hidden_def.
551         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
552         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
553         Redirect ifunced function in header for using it as type of ifunc'ed
554         function. Redefine libc_hidden_def to use fallback non ifunc'ed
555         function for __GI_* symbol.
556         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
557         * include/libc-symbols.h
558         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
560 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
562         [BZ #20478]
563         * sysdeps/s390/multiarch/ifunc-resolve.h
564         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
565         to create ifunc symbols.
566         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
567         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
568         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
569         for using it as type for ifunc function.
570         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
571         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
572         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
573         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
574         * sysdeps/s390/multiarch/strcat.c: Likewise.
575         * sysdeps/s390/multiarch/strchr.c: Likewise.
576         * sysdeps/s390/multiarch/strcmp.c: Likewise.
577         * sysdeps/s390/multiarch/strcpy.c: Likewise.
578         * sysdeps/s390/multiarch/strcspn.c: Likewise.
579         * sysdeps/s390/multiarch/strlen.c: Likewise.
580         * sysdeps/s390/multiarch/strncmp.c: Likewise.
581         * sysdeps/s390/multiarch/strncpy.c: Likewise.
582         * sysdeps/s390/multiarch/strnlen.c: Likewise.
583         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
584         * sysdeps/s390/multiarch/strrchr.c: Likewise.
585         * sysdeps/s390/multiarch/strspn.c: Likewise.
586         * sysdeps/s390/multiarch/wcschr.c: Likewise.
587         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
588         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
589         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
590         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
591         * sysdeps/s390/multiarch/wmemset.c: Likewise.
592         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
593         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
594         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
595         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
596         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
597         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
599 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
601         * include/libc-symbols.h (__ifunc_resolver):
602         New macro is used by __ifunc* macros.
603         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
604         depending on HAVE_GCC_IFUNC.
605         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
606         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
608         Redirect ifunced function in header for using as type for ifunc function.
609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
613         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
614         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
615         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
616         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
617         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
618         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
619         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
620         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
621         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
622         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
628         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
629         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
630         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
631         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
632         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
633         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
634         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
635         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
636         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
637         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
638         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
639         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
640         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
641         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
643         Add libc_hidden_def() and use libc_ifunc_hidden() macro
644         instead of libc_ifunc() macro.
645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
646         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
648 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
650         * config.h.in (HAVE_GCC_IFUNC): New undef.
651         * configure.ac: Add check if gcc supports attribute ifunc feature.
652         * configure: Regenerated.
653         * manual/install.texi: Add recommendation for gcc with
654         indirect-function support.
655         * INSTALL: Regenerated.
657 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
659         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
660         macro.
661         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
662         (__iseqsig): New declaration.
663         * math/s_iseqsig_template.c: New file.
664         * math/Versions (__iseqsigf): New libm symbol at version
665         GLIBC_2.25.
666         (__iseqsig): Likewise.
667         (__iseqsigl): Likewise.
668         * math/libm-test.inc (iseqsig_test_data): New array.
669         (iseqsig_test): New function.
670         (main): Call iseqsig_test.
671         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
672         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
673         * manual/libm-err-tab.pl: Update comment on interfaces without
674         ulps tabulated.
675         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
676         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
677         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
678         * sysdeps/nacl/libm.abilist: Update.
679         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
680         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
681         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
682         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
683         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
684         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
685         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
686         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
687         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
688         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
689         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
690         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
692         Likewise.
693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
694         Likewise.
695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
696         Likewise.
697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
698         Likewise.
699         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
700         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
701         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
702         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
703         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
705         Likewise.
706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
707         Likewise.
708         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
709         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
710         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
712 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
714         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
715         do_sincos_2, sloww, sloww1): Update comments.
717         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
718         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
720         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
721         K boolean and rename it.
722         (__sin): Adjust.
723         (__cos): Adjust.
725 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
726             Siddhesh Poyarekar  <siddhesh@sourceware.org>
728         * manual/nss.texi: Fix typos in the manual.
730 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
732         * manual/contrib.texi: Fix typos in the manual.
734         * manual/maint.texi: Fix typos in the manual.
736         * manual/install.texi: Fix typos in the manual.
737         * INSTALL: Regenerated.
739         * manual/lang.texi: Fix typos in the manual.
741         * manual/probes.texi: Fix typos in the manual.
743         * manual/threads.texi: Fix typos in the manual.
745         * manual/debug.texi: Fix typos in the manual.
747         * manual/crypt.texi: Fix typos in the manual.
749         * manual/conf.texi: Fix typos in the manual.
751         * manual/sysinfo.texi: Fix typos in the manual.
753         * manual/users.texi: Fix typos in the manual.
755         * manual/job.texi: Fix typos in the manual.
757         * manual/process.texi: Fix typos in the manual.
759         * manual/argp.texi: Fix typos in the manual.
760         * manual/getopt.texi: Likewise.
761         * manual/startup.texi: Likewise.
763         * manual/signal.texi: Fix typos in the manual.
765         * manual/setjmp.texi: Fix typos in the manual.
767         * manual/resource.texi: Fix typos in the manual.
769         * manual/time.texi: Fix typos in the manual.
771         * manual/arith.texi: Fix typos in the manual.
773         * manual/math.texi: Fix typos in the manual.
775         * manual/syslog.texi: Fix typos in the manual.
777         * manual/terminal.texi: Fix typos in the manual.
779         * manual/socket.texi: Fix typos in the manual.
781         * manual/filesys.texi: Fix typos in the manual.
783         * manual/llio.texi: Fix typos in the manual.
785         * manual/stdio.text: Fix typos in the manual.
787 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
789         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
790         instead of K1.
792         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
793         SHIFT_QUADRANT and make it bool.
794         (do_sincos_2): Likewise.
795         (sloww): Likewise.
796         (sloww1): Likewise.
797         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
798         (__cos): Likewise.
800 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
802         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
804 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
806         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
807         Define to __WORDSIZE, not conditional on [LONG_MAX ==
808         0x7fffffffL].
809         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
811 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
813         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
814         inline by __inline__.
815         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
816         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
817         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
818         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
819         sigset_t from signal.h.
820         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
821         which is already required.
823 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
825         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
827 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
829         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
830         (struct tcp_repair_window): New type.
832 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
834         * libio/tst-memstream3.c: Include string.h.
836 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
838         [BZ #18241]
839         [BZ #20181]
840         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
841         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
842         write position is at the end the buffer.
843         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
844         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
845         (_IO_str_seekoff): Set correct offset from negative displacement and
846         set EINVAL for invalid ones.
847         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
848         buffer length.
849         (_IO_wstr_switch_to_get_mode): New function.
850         (_IO_wstr_seekoff): Set correct offset from negative displacement and
851         set EINVAL for invalid ones.
852         * libio/tst-memstream3.c: New file.
853         * libio/tst-wmemstream3.c: Likewise.
854         * manual/examples/memstrm.c: Remove warning when priting size_t.
856 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
858         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
859         macro to use __builtin_fma.
860         * sysdeps/x86_64/fpu/dla.h: Remove file.
862         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
863         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
864         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
866 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
868         [BZ #20292]
869         * elf/Makefile (routines): Add dl-addr-obj.
870         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
871         tst-_dl_addr_inside_object.
872         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
873         [ifeq (yesyes,$(have-fpie)$(build-shared))]
874         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
875         [ifeq (yesyes,$(have-fpie)$(build-shared))]
876         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
877         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
878         * elf/dl-open.c: Likewise.
879         * elf/dl-addr-obj.c: New file.
880         * elf/tst-_dl_addr_inside_object.c: New file.
882 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
884         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
885         <bits/iscanonical.h>.
886         * bits/iscanonical.h: New file.
887         * math/s_iscanonicall.c: Likewise.
888         * math/Versions (__iscanonicall): New libm symbol at version
889         GLIBC_2.25.
890         * math/libm-test.inc (iscanonical_test_data): New array.
891         (iscanonical_test): New function.
892         (main): Call iscanonical_test.
893         * math/Makefile (headers): Add bits/iscanonical.h.
894         (type-ldouble-routines): Add s_iscanonicall.
895         * manual/arith.texi (Floating Point Classes): Document
896         iscanonical.
897         * manual/libm-err-tab.pl: Update comment on interfaces without
898         ulps tabulated.
899         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
900         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
901         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
902         Likewise.
903         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
904         test-iscanonical-ldbl-128ibm.
905         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
906         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
907         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
908         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
909         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
910         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
911         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
913         Likewise.
914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
915         Likewise.
916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
917         Likewise.
918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
919         Likewise.
920         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
921         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
923 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
925         * string/bits/string3.h: Remove C++ style comments.
927 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
929         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
930         instead of ternary condition.
931         (do_sincos_2): Likewise.
932         (__sin): Likewise.
933         (__cos): Likewise.
934         (slow): Likewise.
935         (sloww): Likewise.
936         (sloww1): Likewise.
937         (bsloww): Likewise.
938         (bsloww1): Likewise.
940         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
941         instead of ternary condition.
942         (do_sin_slow): Likewise.
943         (do_sincos_1): Likewise.
944         (do_sincos_2): Likewise.
945         (__cos): Likewise.
946         (sloww): Likewise.
947         (sloww1): Likewise.
948         (sloww2): Likewise.
949         (bsloww): Likewise.
950         (bsloww1): Likewise.
951         (bsloww2): Likewise.
953         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
954         check from here...
955         (slow2): ... and here...
956         (__sin): ... to here.
958 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
960         * math/math.h
961         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
962         Cast argument to its own type.
963         * math/test-iszero-excess-precision.c: New file.
964         * math/Makefile (tests): Add test-iszero-excess-precision.
965         (CFLAGS-test-iszero-excess-precision.c): New variable.
967 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
969         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
970         field, add err field.
971         (__spawni_child): Report error through err member instead of pipe.
972         (__spawnix): Likewise.
974 2016-09-28  Zack Weinberg  <zackw@panix.com>
976         * scripts/check-installed-headers.sh: Generalize treatment of
977         sys/elf.h to all target architectures.
979         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
980         deleted typedef ucontext_t.
982 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
984         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
985         (__INTERNAL_SYSCALL1): Likewise.
986         (__INTERNAL_SYSCALL2): Likewise.
987         (__INTERNAL_SYSCALL3): Likewise.
988         (__INTERNAL_SYSCALL4): Likewise.
989         (__INTERNAL_SYSCALL5): Likewise.
990         (__INTERNAL_SYSCALL6): Likewise.
991         (__INTERNAL_SYSCALL7): Likewise.
992         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
993         (__INTERNAL_SYSCALL_NARGS): Likewise.
994         (__INTERNAL_SYSCALL_DISP): Likewise.
995         (INTERNAL_SYSCALL_CALL): Likewise.
996         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
997         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
998         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
999         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
1000         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
1001         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
1002         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
1003         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
1004         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
1005         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
1006         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
1007         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
1008         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
1010 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
1012         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
1013         macro.
1014         * math/libm-test.inc (iszero_test_data): New array.
1015         (iszero_test): New function.
1016         (main): Call iszero_test.
1017         * manual/arith.texi (Floating Point Classes): Document iszero.
1018         * manual/libm-err-tab.pl: Update comment on interfaces without
1019         ulps tabulated.
1021 2016-09-23  Zack Weinberg  <zackw@panix.com>
1023         * scripts/check-installed-headers.sh: New script.
1024         * Rules: In each directory that defines header files to be installed,
1025         run check-installed-headers.sh on them as a special test.
1026         * Makefile: Likewise for the headers installed at top level.
1028         * include/aliases.h, include/alloca.h, include/argz.h
1029         * include/arpa/nameser.h, include/arpa/nameser_compat.h
1030         * include/elf.h, include/envz.h, include/err.h
1031         * include/execinfo.h, include/fpu_control.h, include/getopt.h
1032         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
1033         * include/link.h, include/malloc.h, include/mcheck.h
1034         * include/mntent.h, include/netinet/ether.h
1035         * include/nss.h, include/obstack.h, include/printf.h
1036         * include/pty.h, include/resolv.h, include/rpc/auth.h
1037         * include/rpc/auth_des.h, include/rpc/auth_unix.h
1038         * include/rpc/clnt.h, include/rpc/des_crypt.h
1039         * include/rpc/key_prot.h, include/rpc/netdb.h
1040         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
1041         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
1042         * include/rpc/rpc_msg.h, include/rpc/svc.h
1043         * include/rpc/svc_auth.h, include/rpc/xdr.h
1044         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
1045         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
1046         * include/rpcsvc/ypupd.h, include/shadow.h
1047         * include/stdio_ext.h, include/sys/epoll.h
1048         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
1049         * include/sys/prctl.h, include/sys/profil.h
1050         * include/sys/statfs.h, include/sys/sysctl.h
1051         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
1052         * sysdeps/arm/nacl/include/bits/setjmp.h
1053         * sysdeps/mips/include/sys/asm.h
1054         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
1055         * sysdeps/unix/sysv/linux/include/sys/timex.h
1056         * sysdeps/x86/fpu/include/bits/fenv.h:
1057         Add #ifndef _ISOMAC guard around internal declarations.
1058         Add multiple-inclusion guard if not already present.
1060 2016-09-23  Zack Weinberg  <zackw@panix.com>
1062         * sysdeps/generic/sys/ucontext.h
1063         * sysdeps/arm/sys/ucontext.h
1064         * sysdeps/i386/sys/ucontext.h
1065         * sysdeps/m68k/sys/ucontext.h
1066         * sysdeps/mips/sys/ucontext.h
1067         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
1068         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
1069         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
1070         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
1071         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
1072         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
1073         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1074         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
1075         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1076         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
1077         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
1078         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
1079         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
1080         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
1081         Include both bits/sigcontext.h and bits/sigstack.h.
1082         Fix grammar error in comment, if present.
1084         * bits/sigstack.h
1085         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
1086         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
1087         * sysdeps/unix/sysv/linux/bits/sigstack.h
1088         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
1089         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
1090         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
1091         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
1092         * bits/sigcontext.h
1093         * sysdeps/mach/hurd/i386/bits/sigcontext.h
1094         * sysdeps/unix/sysv/linux/bits/sigcontext.h
1095         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
1096         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
1097         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
1098         as well as signal.h, if this was not already allowed.  Request
1099         definition of size_t if necessary.  Minimize semantically-null
1100         differences across files.
1102 2016-09-23  Zack Weinberg  <zackw@panix.com>
1104         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
1105         Remove all logic conditional on __need macros.  Move all the
1106         conditionally defined types to their own headers...
1107         * time/bits/types/clock_t.h: Define clock_t here.
1108         * time/bits/types/clockid_t.h: Define clockid_t here.
1109         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
1110         * time/bits/types/struct_timespec.h: Define struct timespec here.
1111         * time/bits/types/struct_timeval.h: Define struct timeval here.
1112         * time/bits/types/struct_tm.h: Define struct tm here.
1113         * time/bits/types/time_t.h: Define time_t here.
1114         * time/bits/types/timer_t.h: Define timer_t here.
1115         * time/Makefile: Install the new headers.
1117         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
1118         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
1119         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
1120         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
1121         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
1122         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
1123         * sysdeps/unix/sysv/linux/bits/resource.h
1124         * sysdeps/unix/sysv/linux/bits/timex.h
1125         * sysdeps/unix/sysv/linux/mips/bits/resource.h
1126         * sysdeps/unix/sysv/linux/net/ppp_defs.h
1127         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
1128         * sysdeps/unix/sysv/linux/sys/acct.h
1129         * sysdeps/unix/sysv/linux/sys/timerfd.h
1130         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
1131         * time/sys/time.h, time/sys/timeb.h
1132         Use the new bits/types headers.
1134         * include/time.h: Remove __need logic.
1135         * include/bits/time.h
1136         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
1137         * include/bits/types/time_t.h, include/bits/types/timer_t.h
1138         * include/bits/types/struct_itimerspec.h
1139         * include/bits/types/struct_timespec.h
1140         * include/bits/types/struct_timeval.h
1141         * include/bits/types/struct_tm.h:
1142         New wrapper headers.
1144 2016-09-23  Zack Weinberg  <zackw@panix.com>
1146         * sysdeps/mach/hurd/net/if_ppp.h
1147         * sysdeps/unix/sysv/linux/net/if_ppp.h:
1148         Only define struct ifpppstatsreq and struct ifpppcstatsreq
1149         if __USE_MISC is defined, to ensure struct ifreq is declared.
1151         * inet/netinet/ether.h: Condition all function prototypes
1152         on __USE_MISC, to ensure struct ether_addr is declared.
1154         * socket/bits/types/struct_osockaddr.h: New header.
1155         * include/bits/types/struct_osockaddr.h: New wrapper.
1156         * socket/Makefile: Install the new header.
1157         * socket/sys/socket.h, inet/protocols/talkd.h:
1158         Refer to bits/types/struct_osockaddr.h for the definition of
1159         struct osockaddr.
1161 2016-09-23  Zack Weinberg  <zackw@panix.com>
1163         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
1164         * inet/protocols/routed.h, inet/protocols/talkd.h
1165         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
1166         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
1167         * sysdeps/generic/netinet/if_ether.h
1168         * sysdeps/generic/netinet/in_systm.h
1169         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
1170         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1171         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
1172         * sysdeps/mach/hurd/net/if_arp.h
1173         * sysdeps/mach/hurd/net/if_ppp.h
1174         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
1175         * sysdeps/unix/sysv/linux/bits/in.h
1176         * sysdeps/unix/sysv/linux/net/ethernet.h
1177         * sysdeps/unix/sysv/linux/net/if_arp.h
1178         * sysdeps/unix/sysv/linux/net/if_ppp.h
1179         * sysdeps/unix/sysv/linux/net/if_shaper.h
1180         * sysdeps/unix/sysv/linux/net/route.h
1181         * sysdeps/unix/sysv/linux/netinet/if_ether.h
1182         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1183         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1184         * sysdeps/unix/sysv/linux/netipx/ipx.h
1185         * sysdeps/unix/sysv/linux/sys/acct.h
1186         * include/arpa/nameser.h, include/resolv.h:
1187         Change all uses of u_char to unsigned char,
1188         u_short and ushort to unsigned short, u_int and uint to unsigned int,
1189         u_long and ulong to unsigned long, u_int8_t to uint8_t,
1190         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
1191         and u_int64_t and u_quad_t to uint64_t.
1193         * mach/sys/reboot.h: Remove two casts of integer literals
1194         to the types they already have.
1196         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
1197         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
1198         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
1199         from referring to 'unsigned char' to 'uint8_t' for consistency with
1200         the macro definition below.
1202         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
1203         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
1204         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
1205         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
1206         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
1207         * sysdeps/unix/sysv/linux/sys/acct.h
1208         * include/arpa/nameser.h, include/resolv.h:
1209         Fix indentation disrupted by mechanical edits.
1211         * inet/protocols/talkd.h, resolv/arpa/nameser.h
1212         * sysdeps/generic/netinet/in_systm.h
1213         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1214         * sysdeps/gnu/netinet/udp.h
1215         * sysdeps/unix/sysv/linux/net/ethernet.h
1216         * sysdeps/unix/sysv/linux/net/if_arp.h
1217         * sysdeps/unix/sysv/linux/net/if_ppp.h
1218         * sysdeps/unix/sysv/linux/net/if_shaper.h
1219         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1220         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1221         * sysdeps/unix/sysv/linux/netipx/ipx.h
1222         * sysdeps/unix/sysv/linux/sys/acct.h
1223         Include stdint.h for uintNN_t definitions.
1224         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
1226 2016-09-23  Zack Weinberg  <zackw@panix.com>
1228         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
1229         * sysdeps/unix/sysv/linux/netrose/rose.h:
1230         Include sys/socket.h and netax25/ax25.h.
1232         * inet/netinet/icmp6.h, inet/netinet/ip6.h
1233         * resolv/arpa/nameser_compat.h:
1234         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
1236         * sysdeps/unix/sysv/linux/sys/quota.h:
1237         Use __caddr_t instead of caddr_t.
1238         * sysdeps/unix/sysv/linux/sys/timerfd.h:
1239         Use __clockid_t instead of clockid_t.
1241         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
1243         * argp/argp.h: Check whether _LIBC is defined before expanding it.
1244         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
1245         expanding it.
1247         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
1248         Define __glibc_c99_flexarr_available to 1 when the compiler
1249         supports C99-compatible flexible array members, 0 otherwise.
1250         * sysdeps/unix/sysv/linux/bits/socket.h
1251         * sysdeps/mach/hurd/bits/socket.h
1252         * bits/socket.h: Use __glibc_c99_flexarr_available in
1253         definitions of struct cmsghdr and CMSG_DATA.
1255 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1257         * manual/nss.texi (NSS Modules Interface): Adjust function return
1258         type to enum nss_status.  Document errnop argument.  Clarify
1259         h_errnop semantics.  Fix cross-reference formatting.
1260         (NSS Module Function Internals): Mention that *errnop needs to be
1261         set on failure, but not to zero.
1263 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1265         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
1266         (get_random_name): New functions.
1267         (check_wrapper_flags_mode): Use linkat to give the new file a name
1268         determined by get_random_name.
1269         (do_test): Add calls to test open64 and openat64.
1271 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1273         * test-skeleton.c: Remove #include <stdarg.h>.
1275 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
1277         [BZ #19826]
1278         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
1279         initialization of static TLS entries.
1280         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
1281         * nptl/allocatestack.c (init_one_static_tls): Likewise.
1283 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1285         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
1286         _hurd_malloc_fork_prepare.
1287         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
1288         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
1289         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
1290         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
1291         (_hurd_fork_child_hook): Drop malloc_fork_child.
1292         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
1293         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
1294         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
1295         after locking locks (notably hurd_dtable_lock). Call
1296         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
1297         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
1298         __malloc_fork_unlock_child.
1299         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
1301 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
1303         * soft-fp/extendhftf2.c: New.
1304         * soft-fp/fixhfti.c: Likewise.
1305         * soft-fp/fixunshfti.c: Likewise.
1306         * soft-fp/floattihf.c: Likewise.
1307         * soft-fp/floatuntihf.c: Likewise.
1308         * soft-fp/half.h: Likewise.
1309         * soft-fp/trunctfhf2.c: Likewise.
1311 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
1313         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
1314         macro.
1315         * math/libm-test.inc (issubnormal_test_data): New array.
1316         (issubnormal_test): New function.
1317         * manual/arith.texi (Floating Point Classes): Document
1318         issubnormal.
1319         * manual/libm-err-tab.pl: Update comment on interfaces without
1320         ulps tabulated.
1322         * sysdeps/generic/stdint.h: Define
1323         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1324         <bits/libc-header-start.h> instead of including <features.h>.
1325         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
1326         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
1327         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
1328         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
1329         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
1330         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
1331         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
1332         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
1333         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
1334         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
1335         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
1336         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
1337         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
1338         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
1339         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
1340         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
1341         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
1342         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
1343         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
1344         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
1345         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
1346         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
1347         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
1348         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
1349         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
1350         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
1351         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
1352         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
1353         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
1354         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
1355         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
1356         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
1357         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
1358         * manual/arith.texi (Integers): Document these macros for types
1359         specified by width properties.
1360         * manual/lang.texi (Width of Type): Document these macros for
1361         other standard typedefs.
1362         * stdlib/tst-width-stdint.c: New file.
1363         * stdlib/Makefile (tests): Add tst-width-stdint.
1365 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1367         [BZ #20016]
1368         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
1369         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
1370         Move ...
1371         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
1372         ... here, as compatibility symbols in a new file.
1373         * resolv/Makefile (libresolv-routines): Add compat-hooks.
1374         * resolv/res_init.c (__res_vinit): Adjust member names.
1375         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
1376         * resolv/resolv.h (res_sendhookact, res_send_qhook)
1377         (res_send_rhook): Remove.
1378         (struct __res_state): Rename qhook, rhook members.
1380 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1382         malloc: Use __libc_lock wrappers.
1383         * malloc/arena.c (list_lock, free_list_lock): Define using
1384         __libc_lock_define_initialized.
1385         (arena_lock): Adjust formatting.
1386         * malloc/malloc.c (struct malloc_state): Define mutex using
1387         __libc_lock_define.
1388         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
1389         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
1390         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
1391         (mutex_unlock, mutex_trylock): Remove.
1392         (__pthread_initialize): Remove unused macro.
1393         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
1394         (mutex_unlock, mutex_trylock): Remove.
1396 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1398         [BZ #20592]
1399         Remove RR type classification macros.
1400         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
1401         (ns_t_udp_p, ns_t_xfr_p): Remove.
1403 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1405         Remove misleading version information.
1406         * resolv/arpa/nameser.h (__NAMESER): Remove.
1407         * resolv/arpa/nameser_compat.h (__BIND): Remove.
1409 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1411         Remove the always-defined BIND_4_COMPAT macro.
1412         * resolv/arpa/nameser.h: Unconditionally include
1413         <arpa/nameser_compat.h>.
1414         (BIND_4_COMPAT): Remove.
1415         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
1417 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1419         [BZ #20591]
1420         Remove obsolete DNSSEC support.
1421         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
1422         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
1423         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
1424         (ns_verify_tcp, ns_verify_tcp_init): Remove.
1425         (ns_cert_types): Add comment.
1426         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
1427         separately.
1428         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
1429         (dst_s_dns_key_id): Remove.
1430         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
1431         variables.
1433 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1435         [BZ #20524]
1436         * manual/string.texi (String/Array Comparison): Clarify the
1437         strverscmp behavior.
1439 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1441         * test-skeleton.c (xasprintf): Add function.
1442         * io/tst-open-tmpfile.c: New test.
1443         * io/Makefile (tests): Add it.
1445 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1447         Avoid running $(CXX) during build to obtain header file paths.
1448         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
1449         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
1450         * Makerules (cstdlib, cmath): Remove variables.  Use
1451         $(c++-cstdlib-header), $(c++-cmath-header) instead.
1452         * configure: Regenerate.
1454 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1456         * Makeconfig (all-object-suffixes): Include .op only if
1457         $(build-profile).
1459 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1461         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
1462         conditionals.  Do not define PATH_MAX.
1464 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1466         * posix/Makefile (tests): Add tst-spawn3.
1467         * posix/tst-spawn3.c: New file.
1468         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
1469         if it is already opened for open action.
1471         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
1472         all signals when executing the clone vfork child.
1473         (SIGALL_SET): Remove macro.
1475         * nptl/Makefile (tests): Add tst-exec5.
1476         * nptl/tst-exec5.c: New file.
1477         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
1478         asynchronous cancellation.
1480 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1482         * hurd/exc2signal.c: #include <hurd/signal.h>
1483         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
1484         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
1485         accordingly.
1486         * mach/mach_error.c (mach_error): Fix old-style function definition.
1487         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
1489 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1491         * math/Makefile (libm-calls): Remove s_nanF.
1492         (gen-libm-calls): Add s_nanF.
1494         * math/s_nan.c: Refactor into ...
1495         * math/s_nan_template.c: New file.
1497         * math/s_nanf.c: Removed.
1498         * math/s_nanl.c: Removed.
1499         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
1500         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
1502         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1503         (LDOUBLE_nanl_libm_version): New macro.
1505         * sysdeps/generic/math-type-macros-double.h:
1506         (M_STRTO_NAN): New macro.
1507         * sysdeps/generic/math-type-macros-float.h: Likewise.
1508         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1510         * sysdeps/generic/math-type-macros.h: Document
1511         M_STRTO_NAN.
1513 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1515         * math/s_nanf.c: Remove __nanf undef.
1516         * math/s_nan.c: Remove __nan undef.
1517         * math/s_nanl.c: Remove __nanl undef.
1519         * sysdeps/generic/math_private.h (__nan): Remove macro
1520         override.
1521         (__nanf): Likewise.
1522         (__nanl): Likewise.
1524 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1526         * math/Makefile (gen-all-calls): New variable.
1527         (generated): Replace gen-libm-calls with gen-all-calls.
1528         (gen-libm-templates.stmp): Likewise.  Also, ensure
1529         the output directory exists or is created and add
1530         dependency on the Makefile.
1531         (calls): Move s_ldexpF into gen-calls.
1532         (gen-calls): New variable.
1534         * math/s_ldexpf.c: Removed.
1535         * math/s_ldexpl.c: Removed.
1536         * math/s_ldexp.c: Refactored into ...
1537         * math/s_ldexp_template.c: New file.
1539         * sysdeps/generic/math-type-macros-double.h: Remove
1540         redundant fall-through definition of declare_mgen_alias.
1541         (declare_mgen_alias_2): New macro.
1543         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
1544         New macro for function aliased to two exported symbols.
1546         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
1547         new template file.
1548         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1550 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1552         * Makeconfig (all-object-suffixes): Remove .og.
1553         * Makerules (elide-routines.og): Remove.
1554         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
1555         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
1556         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
1558 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1560         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
1561         .os objects.
1563 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1565         [BZ #20615]
1566         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
1567         fpu directory by non-fpu.
1568         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
1569         on non-fpu directory from a fpu directory.
1571 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
1573         * include/limits.h: Define
1574         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1575         <bits/libc-header-start.h> instead of including <features.h>.
1576         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
1577         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
1578         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
1579         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
1580         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
1581         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
1582         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
1583         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
1584         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1585         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
1586         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
1587         * manual/lang.texi (Width of Type): Document these macros.
1588         * stdlib/tst-width.c: New file.
1589         * stdlib/Makefile (tests): Add tst-width.
1591 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1593         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
1594         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
1596 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1598         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
1599         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1600         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1602 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1604         [BZ #18243]
1605         * rt/Makefile (test): Add tst-shm-cancel.
1606         * rt/tst-shm-cancel.c: New file.
1607         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
1609         [BZ #18243]
1610         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
1611         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
1612         definition.
1613         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
1614         uncontended case.
1615         * nptl/sem_wait.c (__new_sem_wait): Likewise.
1616         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
1617         (tf): Fix check for uncontended case.
1618         (do_test): Likewise.
1619         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
1620         (tf): Fix check for uncontended case.
1621         (do_test): Likewise.
1622         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
1623         (tf): Fix check for uncontended case.
1624         (do_test): Likewise.
1625         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
1626         (tf): Fix check for uncontended case.
1627         (do_test): Likewise.
1629         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
1630         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
1632         [BZ #15765]
1633         * nptl/Makefile (tests): Add tst-sem16.
1634         * nptl/tst-sem16.c: New file.
1635         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
1637         * nptl/sem_open.c (sem_open): Init pad value to 0.
1638         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1639         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1641 2016-09-15  Florian Weimer  <fweimer@redhat.com>
1643         [BZ #20611]
1644         * inet/Makefile (routines): Add inet6_scopeid_pton.
1645         (tests): Add tst-inet6_scopeid_pton.
1646         * inet/inet6_scopeid_pton.c: New file.
1647         * inet/net-internal.h: Likewise.
1648         * inet/tst-inet6_scopeid_pton.c: New test.
1649         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
1650         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
1651         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1653 2016-09-14  Florian Weimer  <fweimer@redhat.com>
1655         Remove support for compiling wrappers with PTW.
1656         * sysdeps/nptl/Makeconfig: Drop ptw- support.
1657         * nptl/Makefile (pthread-compat-wrappers): Define.
1658         (libpthread-routines): Use pthread-compat-wrappers.
1659         * sysdeps/unix/sysv/linux/alpha/Makefile
1660         (libpthread-routines, libpthread-shared-only-routines): Remove
1661         ptw- prefix.
1662         * sysdeps/s390/nptl/Makefile
1663         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1664         * sysdeps/ia64/nptl/Makefile
1665         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1666         * sysdeps/nacl/Makefile (libpthread-routines): Use
1667         pthread-compat-wrappers to filter the routines list instead of the
1668         ptw- prefix.
1670 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1672         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
1673         with L() and remove explicit suffix, convert real literals
1674         which can be equivalentally substituted with integers, and
1675         transform -L(x) to L(-x).
1677         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1678         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1679         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1680         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1681         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1682         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1683         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1684         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1685         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1686         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1687         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1688         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1689         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1690         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1691         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1692         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1693         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1694         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1695         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1696         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1697         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1698         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1699         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1700         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1701         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1702         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1703         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1704         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1705         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1706         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1707         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1708         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1709         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1710         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1711         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1712         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1713         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1714         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1715         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1716         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1717         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1718         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1719         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1720         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1721         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1722         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1723         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1724         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1725         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1726         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1728 2016-09-13  Florian Weimer  <fweimer@redhat.com>
1730         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
1732 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1734         * malloc/Makefile (tests): Remove individual static test names
1735         and just add all of tests-static.
1737         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
1739 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
1741         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
1742         file.
1744         * sysdeps/sparc/fpu/fegetmode.c: New file.
1745         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
1747         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
1748         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
1750         * sysdeps/s390/fpu/fegetmode.c: New file.
1751         * sysdeps/s390/fpu/fesetmode.c: Likewise.
1753         * sysdeps/powerpc/fpu/fegetmode.c: New file.
1754         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
1755         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
1756         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
1757         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
1758         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
1760         * sysdeps/mips/fpu/fegetmode.c: New file.
1761         * sysdeps/mips/fpu/fesetmode.c: Likewise.
1763         * sysdeps/m68k/fpu/fegetmode.c: New file.
1764         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
1766         * sysdeps/ia64/fpu/fegetmode.c: New file.
1767         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
1769         * sysdeps/hppa/fpu/fegetmode.c: New file.
1770         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
1772         * sysdeps/arm/fegetmode.c: New file.
1773         * sysdeps/arm/fesetmode.c: Likewise.
1775         * sysdeps/alpha/fpu/fegetmode.c: New file.
1776         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
1778         * sysdeps/aarch64/fpu/fegetmode.c: New file.
1779         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
1781         * math/fegetmode.c: New file.
1782         * math/fesetmode.c: Likewise.
1783         * sysdeps/i386/fpu/fegetmode.c: Likewise.
1784         * sysdeps/i386/fpu/fesetmode.c: Likewise.
1785         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
1786         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
1787         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
1788         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
1789         declaration.
1790         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
1791         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
1792         typedef.
1793         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1794         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1795         (femode_t): New typedef.
1796         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1797         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1798         (femode_t): New typedef.
1799         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1800         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1801         (femode_t): New typedef.
1802         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1803         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1804         (femode_t): New typedef.
1805         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1806         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1807         (femode_t): New typedef.
1808         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1809         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1810         (femode_t): New typedef.
1811         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1812         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1813         (femode_t): New typedef.
1814         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1815         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1816         (femode_t): New typedef.
1817         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1818         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1819         (femode_t): New typedef.
1820         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1821         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1822         (femode_t): New typedef.
1823         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
1824         declaration.
1825         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1826         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1827         (femode_t): New typedef.
1828         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1829         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1830         (femode_t): New typedef.
1831         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1832         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1833         (femode_t): New typedef.
1834         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1835         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1836         (femode_t): New typedef.
1837         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1838         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1839         (femode_t): New typedef.
1840         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1841         * manual/arith.texi (FE_DFL_MODE): Document macro.
1842         (fegetmode): Document function.
1843         (fesetmode): Likewise.
1844         * math/Versions (fegetmode): New libm symbol at version
1845         GLIBC_2.25.
1846         (fesetmode): Likewise.
1847         * math/Makefile (libm-support): Add fegetmode and fesetmode.
1848         (tests): Add test-femode and test-femode-traps.
1849         * math/test-femode-traps.c: New file.
1850         * math/test-femode.c: Likewise.
1851         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
1852         alias for __fe_dfl_env.
1853         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
1854         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
1855         (__fe_dfl_mode): Likewise.
1856         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
1857         version GLIBC_2.25.
1858         * sysdeps/nacl/libm.abilist: Update.
1859         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1860         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1861         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1862         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1863         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1864         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1865         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1866         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1867         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1868         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1869         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1870         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1872         Likewise.
1873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1874         Likewise.
1875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1876         Likewise.
1877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1878         Likewise.
1879         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1880         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1881         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1882         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1883         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1885         Likewise.
1886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1887         Likewise.
1888         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1889         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1890         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1892 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1894         [BZ #20495]
1895         [BZ #20508]
1896         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
1897         processors, set Use_dl_runtime_resolve_slow and set
1898         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
1899         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
1900         New.
1901         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
1902         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
1903         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
1904         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
1905         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
1906         if Use_dl_runtime_resolve_opt is set.  Use
1907         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
1908         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
1909         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
1910         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
1911         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
1912         New.
1913         (_dl_runtime_resolve_opt): Likewise.
1914         (_dl_runtime_profile): Define only if _dl_runtime_profile is
1915         defined.
1917 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1919         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
1920         __libc_memalign with "+ RELA R_390_GLOB_DAT".
1922 2016-09-06  Florian Weimer  <fweimer@redhat.com>
1924         Convert malloc to __libc_lock.  Automated part, using this Perl
1925         s/// command:
1926           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
1927             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
1928         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
1929         conversion.
1931 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
1933         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
1934         (linknamespace-symlists-tests): Likewise.
1935         (linknamespace-header-tests): Likewise.
1937 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
1939         [BZ #19810]
1940         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
1941         * elf/tst-noload.c: New test case.
1942         * elf/Makefile (tests): Add tst-noload.
1944 2016-09-02  Roland McGrath  <roland@hack.frob.com>
1946         * sysdeps/nacl/dup.c: Add libc_hidden_def.
1948         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
1949         not any more.
1951         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
1953 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1955         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
1956         (do_cos_slow): Likewise.
1957         (do_sin): Likewise.
1958         (do_sin_slow): Likewise.
1959         (slow): Likewise.
1960         (slow1): Likewise.
1961         (slow2): Likewise.
1962         (sloww): Likewise.
1963         (sloww1): Likewise.
1964         (sloww2): Likewise.
1965         (bsloww): Likewise.
1966         (bsloww1): Likewise.
1967         (bsloww2): Likewise.
1968         (cslow2): Likewise.
1970         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
1972         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
1973         arguments.  Consolidate input partitioning from callers here.
1974         (do_cos_slow): Likewise.
1975         (do_sin): Likewise.
1976         (do_sin_slow): Likewise.
1977         (do_sincos_1): Remove the no longer necessary input partitioning.
1978         (do_sincos_2): Likewise.
1979         (__sin): Likewise.
1980         (__cos): Likewise.
1981         (slow1): Likewise.
1982         (slow2): Likewise.
1983         (sloww1): Likewise.
1984         (sloww2): Likewise.
1985         (bsloww1): Likewise.
1986         (bsloww2): Likewise.
1987         (cslow2): Likewise.
1989 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1991         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
1992         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
1993         outside of allocated array.
1995 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1997         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
1998         instead of MB_CUR_MAX to avoid variable-length array.
2000 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2002         * math/Makefile (libm-calls): Remove k_rem_pio2F.
2003         (type-double-routines): Add k_rem_pio2.
2004         (type-float-routines): Add k_rem_pio2f.
2006         * sysdeps/generic/math_private.h:
2007         (__kernel_rem_pio2l): Removed.
2009         * math/k_rem_pio2l.c: Removed.
2010         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
2011         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
2012         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
2013         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
2015 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2017         * math/Makefile (gen-libm-calls): Add s_fmin
2018         (libm-calls): Remove above.
2020         * math/s_fmin.c: Refactor into ...
2021         * math/s_fmin_template.c: New file.
2023         * math/s_fminf.c: Removed.
2024         * math/s_fminl.c: Removed.
2025         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2026         (LDOUBLE_fmin_libm_version): New macro.
2028         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
2029         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
2031 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2033         * math/Makefile: (gen-libm-calls): Add s_fmax.
2034         (libm-calls): Remove above.
2036         * math/s_fmax.c: Refactor into ...
2037         * math/s_fmax_template.c: New file.
2038         * math/s_fmaxf.c: Removed.
2039         * math/s_fmaxl.c: Removed.
2041         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2042         (LDOUBLE_fmaxl_libm_version): New macro.
2044         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
2045         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
2047         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
2048         s_fmin.c to pick the aarch64 version of the file.
2049         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
2050         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
2052 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2054         * math/Makefile: (gen-libm-calls): Add s_nextdown.
2055         (libm-calls): Remove above.
2057         * math/s_nextdown.c: Refactor into ...
2058         * math/s_nextdown_template.c: New file.
2059         * math/s_nextdownf.c: Removed.
2060         * math/s_nextdownl.c: Removed.
2062         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
2064 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2066         * math/Makefile (gen-libm-calls): Add s_fdim.
2067         (libm-calls): Move to above.
2069         * math/s_fdim.c: Renamed and refactored into to ...
2070         * math/s_fdim_template.c: New file.
2071         * math/s_fdiml.c: Removed.
2072         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
2073         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
2075         * sysdeps/generic/math-type-macros-double.h:
2076         (declare_mgen_alias): Don't declare if already declared.
2077         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
2078         Likewise.
2080         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2081         (declare_mgen_alias): Don't declare if already declared.
2082         (M_LIBM_NEED_COMPAT): Likewise.
2083         (declare_mgen_libm_compat): Likewise.
2084         (LDOUBLE_fdiml_libm_version): New macro.
2086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2087         Include math/s_fdim.c now that ldbl-opt version is not needed.
2088         (declare_mgen_alias): New macro to disable aliasing.
2090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
2091         (declare_mgen_alias): Likewise.
2092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
2093         (declare_mgen_alias): Likewise.
2094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
2095         (declare_mgen_alias): Likewise.
2096         (M_LIBM_NEED_COMPAT): Likewise.
2098 2016-09-01  Florian Weimer  <fweimer@redhat.com>
2100         [BZ #20525]
2101         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
2102         Include <linux/quota.h>.
2103         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
2104         and btodb.
2105         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
2106         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
2107         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
2108         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
2109         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
2110         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
2111         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
2112         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
2113         types.
2114         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
2115         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
2117 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2119         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
2120         (gammal_positive): Fix spacing.
2121         (__ieee754_gammal_r): Likewise.
2123 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2125         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
2126         (_Float128): Define as long double, always.
2127         (L): Apply long double type suffix, always.
2129         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
2130         _Float128, excepting comments.
2132         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2133         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2134         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2135         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2136         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2137         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2138         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2139         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2140         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2141         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
2142         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2143         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2144         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2145         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2146         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2147         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2148         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2149         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2150         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2151         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2152         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2153         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2154         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2155         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2156         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2157         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2158         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2159         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2160         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2161         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2162         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2163         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2164         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2165         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2166         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2167         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2168         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2169         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2170         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2171         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2172         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2173         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2174         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2175         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2176         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2177         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2178         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2179         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2180         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2181         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2182         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2183         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2184         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2185         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2186         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2187         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2188         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2189         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2190         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2191         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2192         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2193         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2194         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2195         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2196         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2197         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2198         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2199         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2201         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
2202         _Float128, and include math_private.h.
2203         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2205         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
2206         long double semantics.
2207         (_Float128): Likewise.
2208         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
2209         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2210         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2211         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2213 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2215         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
2216         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
2217         * sysdeps/s390/configure: Regenerated.
2218         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
2219         instruction for raising over-/underflow if z196 zarch is supported
2220         by default.
2221         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
2223 2016-08-30  Svante Signell  <svante.signell@gmail.com>
2225         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
2226         it point to a dumb buffer for RPC to fill it.
2228 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2230         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
2231         instead of if/else.
2232         (do_sin_slow): Likewise.
2233         (do_sincos_1): Use fabs instead of if/else.
2234         (do_sincos_2): Likewise.
2235         (__sin): Likewise.
2236         (__cos): Likewise.
2237         (slow2): Likewise.
2238         (sloww): Likewise.
2239         (sloww1): Likewise.  Drop argument M.
2240         (sloww2): Use fabs instead of if/else.
2241         (bsloww): Likewise.
2242         (bsloww1): Likewise.
2243         (bsloww2): Likewise.
2245         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
2246         fall through comment.
2247         (do_sincos_1): Likewise.
2249         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
2250         Consolidate switch cases 0 and 2.
2252 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2254         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
2255         (libm-calls): Remove the above.
2257         * math/s_cexp_template.c: Update using type-generic macros.
2258         * math/s_clog10_template.c: Likewise.
2259         * math/s_cpow_template.c: Likewise.
2260         * math/s_clog_template.c: Likewise.
2261         * math/s_cproj_template.c: Likewise.
2262         * math/s_csqrt_template.c: Likewise.
2264         * math/s_cexp.c: Removed.
2265         * math/s_cexpf.c: Removed.
2266         * math/s_cexpl.c: Removed.
2267         * math/s_clog10.c: Removed.
2268         * math/s_clog10f.c: Removed.
2269         * math/s_clog10l.c: Removed.
2270         * math/s_cpow.c: Removed.
2271         * math/s_cpowf.c: Removed.
2272         * math/s_cpowl.c: Removed.
2273         * math/s_clog.c: Removed.
2274         * math/s_clogf.c: Removed.
2275         * math/s_clogl.c: Removed.
2276         * math/s_cproj.c: Removed.
2277         * math/s_cprojf.c: Removed.
2278         * math/s_cprojl.c: Removed.
2279         * math/s_csqrt.c: Removed.
2280         * math/s_csqrtf.c: Removed.
2281         * math/s_csqrtl.c: Removed.
2283         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
2284         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
2285         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
2286         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
2287         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
2288         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
2290         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
2291         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
2292         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
2293         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
2294         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
2295         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
2296         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
2297         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
2298         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
2299         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
2300         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
2302         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
2303         version.
2305         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
2306         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
2307         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
2308         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
2310 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2312         * s_cexp_template.c: Copy of s_cexp.c.
2313         * s_clog_template.c: Copy of s_clog.c.
2314         * s_clog10_template.c: Copy of s_clog10.c.
2315         * s_cpow_template.c: Copy of s_cpow.c.
2316         * s_cproj_template.c: Copy of s_cproj.c.
2317         * s_csqrt_template.c: Copy of s_csqrt.c.
2319 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2321         [BZ #20517]
2322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2323         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
2324         exported.
2326 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
2328         * math/fetestexceptflag.c: New file.
2329         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
2330         Stefan Liebler.
2331         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2332         (fetestexceptflag): New function declaration.
2333         * manual/arith.texi (fetestexceptflag): Document function.
2334         * math/Versions (fetestexceptflag): New libm symbol at version
2335         GLIBC_2.25.
2336         * math/Makefile (libm-support): Add fetestexceptflag.
2337         (tests): Add test-fetestexceptflag.
2338         * math/test-fetestexceptflag.c: New file.
2339         * sysdeps/nacl/libm.abilist: Update.
2340         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2341         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2342         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2343         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2344         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2345         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2346         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2347         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2348         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2349         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2350         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2351         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2353         Likewise.
2354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2355         Likewise.
2356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2357         Likewise.
2358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2359         Likewise.
2360         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2361         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2362         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2363         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2364         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2366         Likewise.
2367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2368         Likewise.
2369         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2370         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2371         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2373 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2375         [BZ #20432]
2376         Avoid strong references to malloc-internal symbols when linking
2377         statically, to support statically interposed mallocs.
2378         * include/libc-symbols.h (call_function_static_weak): New macro.
2379         * malloc/Makefile (tests): Add tst-interpose-nothread,
2380         tst-interpose-thread, tst-interpose-static-nothread,
2381         tst-interpose-static-thread.
2382         (tests-static): Add tst-interpose-static-nothread,
2383         tst-interpose-static-thread.
2384         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
2385         tst-interpose-aux-thread.o.
2386         (test-extras): Add tst-interpose-aux-nothread,
2387         tst-interpose-aux-thread.
2388         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
2389         tst-interpose-aux-nothread.o.
2390         (tst-interpose-thread, tst-interpose-static-thread): Link with
2391         tst-interpose-aux-thread.o and libthread.
2392         * malloc/tst-interpose-aux-nothread.c: New file.
2393         * malloc/tst-interpose-aux-thread.c: Likewise.
2394         * malloc/tst-interpose-aux.c: Likewise.
2395         * malloc/tst-interpose-aux.h: Likewise.
2396         * malloc/tst-interpose-nothread.c: Likewise.
2397         * malloc/tst-interpose-skeleton.c: Likewise.
2398         * malloc/tst-interpose-static-nothread.c: Likewise.
2399         * malloc/tst-interpose-static-thread.c: Likewise.
2400         * malloc/tst-interpose-thread.c: Likewise.
2401         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
2402         * sysdeps/mach/hurd/fork.c (__fork): Only call
2403         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2404         __malloc_fork_unlock_child if defined.
2405         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2407 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2409         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
2410         timespec C99 designated initialization.
2412 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2414         [BZ #19946]
2415         Avoid expected SIGALRM signals.
2416         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
2417         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
2418         (xpthread_create, xpthread_detach, xpthread_join)
2419         (delayed_exit_thread, delayed_exit): New functions.
2420         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
2421         (tf): Use xpthread_cond_wait.
2422         (do_test): Likewise.  Replace alarm with delayed_exit.
2423         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2424         (do_test): Call delayed_exit.  Report failure.
2425         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2426         (do_test): Call delayed_exit.
2427         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2428         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
2429         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2430         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
2431         error.
2432         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2433         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
2434         error.
2435         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
2436         (do_test): Call delayed_exit.
2437         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
2438         (do_test): Call delayed_exit.
2439         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
2440         (do_test): Call delayed_exit instead of alarm.  Use
2441         xpthread_mutex_lock.
2442         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
2443         (do_test): Call delayed_exit instead of alarm.  Use
2444         xpthread_mutex_lock.
2445         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
2446         (do_test): Call delayed_exit instead of alarm.
2447         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
2448         (do_test): Call delayed_exit instead of alarm.  Use
2449         xpthread_spin_lock.
2450         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
2451         (do_test): Call delayed_exit instead of alarm.  Use
2452         xpthread_join.
2454 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
2456         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
2457         adjust CFA when allocating register save area on re-aligned
2458         stack.
2460 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2462         * string/tst-cmp.c: New test.
2463         * string/Makefile (tests): Add it.
2465 2016-08-25  Mark Wielaard  <mark@klomp.org>
2467         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
2468         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
2469         (check_tree_recurse): Use newly defined accessors.
2470         (check_tree): Likewise.
2471         (maybe_split_for_insert): Likewise.
2472         (__tfind): Likewise.
2473         (__tdelete): Likewise.
2474         (trecurse): Likewise.
2475         (tdestroy_recurse): Likewise.
2476         (__tsearch): Likewise. And add asserts for malloc alignment.
2477         (__twalk): Cast root to node in case CHECK_TREE is defined.
2479 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2481         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
2483 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2485         * math/Makefile (libm-gen-calls): Add
2486         catan, catanh, ctan, ctanh.
2487         (libm-calls): Remove the above.
2489         * math/s_catan_template.c: Update using type-generic macros.
2490         * math/s_catanh_template.c: Likewise.
2491         * math/s_ctan_template.c: Likewise.
2492         * math/s_ctanh_template.c: Likewise.
2494         * math/s_catanf.c: Removed.
2495         * math/s_catan.c: Removed.
2496         * math/s_catanl.c: Removed.
2497         * math/s_catanhf.c: Removed.
2498         * math/s_catanh.c: Removed.
2499         * math/s_catanhl.c: Removed.
2500         * math/s_ctanf.c: Removed.
2501         * math/s_ctan.c: Removed.
2502         * math/s_ctanl.c: Removed.
2503         * math/s_ctanhf.c: Removed.
2504         * math/s_ctanh.c: Removed.
2505         * math/s_ctanhl.c: Removed.
2507         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
2508         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
2509         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
2510         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
2511         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
2512         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
2514         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
2515         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
2516         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
2517         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
2519 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2521         * s_catan_template.c: Copy of s_catan.c.
2522         * s_catanh_template.c: Copy of s_catanh.c.
2523         * s_ctan_template.c: Copy of s_ctan.c.
2524         * s_ctanh_template.c: Copy of s_ctanh.c.
2526 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2528         * math/Makefile (gen-libm-calls): Move
2529         casin, casinh, csin, csinh here.
2530         (libm-calls): Remove the above.
2532         * math/s_casin_template.c: Update using type-generic macros.
2533         * math/s_casinh_template.c: Likewise.
2534         * math/s_csin_template.c: Likewise.
2535         * math/s_csinh_template.c: Likewise.
2536         * math/k_casinh_template.c: Likewise.
2538         * math/s_casinf.c: Removed.
2539         * math/s_casin.c: Removed.
2540         * math/s_casinl.c: Removed.
2541         * math/s_casinh.c: Removed.
2542         * math/s_casinhf.c: Removed.
2543         * math/s_casinhl.c: Removed.
2544         * math/s_csin.c: Removed.
2545         * math/s_csinf.c: Removed.
2546         * math/s_csinl.c: Removed.
2547         * math/s_csinh.c: Removed.
2548         * math/s_csinhf.c: Removed.
2549         * math/s_csinhl.c: Removed.
2550         * math/k_casinh.c: Removed.
2551         * math/k_casinhf.c: Removed.
2552         * math/k_casinhl.c: Removed.
2554         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
2555         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
2556         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
2557         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
2559         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
2560         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
2561         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
2562         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
2563         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
2564         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
2565         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
2566         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
2568         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
2569         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
2570         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
2571         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
2573         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
2574         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
2575         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
2576         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
2578 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2580         * s_casin_template.c: Copy of s_casin.c.
2581         * s_casinh_template.c: Copy of s_casinh.c.
2582         * s_csin_template.c: Copy of s_csin.c.
2583         * s_csinh_template.c: Copy of s_csinh.c.
2584         * k_casinh_template.c: Copy of k_casinh.c.
2586 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2588         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
2590 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2592         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
2593         (mul_split) Remove, rename as mul_splitl, remove
2594         redundant float.h include, and include via mul_splitl.h
2596         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2597         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2598         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2599         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
2600         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2602         * math/mul_splitl.h: New file.
2604         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
2605         Move into mul_split.h, and remove redundant float.h include.
2607         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
2608         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
2609         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2610         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
2612         * math/mul_split.h: New file.
2614 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2616         * math/Makefile (libm-gen-calls): Move
2617         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
2618         (libm-calls): Remove above.
2620         * math/s_cacos_template.c: Update using type-generic macros.
2621         * math/s_cacosh_template.c: Likewise.
2622         * math/s_ccos_template.c: Likewise.
2623         * math/s_ccosh_template.c: Likwise.
2625         * math/s_cacosf.c: Removed.
2626         * math/s_cacos.c: Removed.
2627         * math/s_cacosl.c: Removed.
2628         * math/s_cacoshf.c: Removed.
2629         * math/s_cacosh.c: Removed.
2630         * math/s_cacoshl.c: Removed.
2631         * math/s_ccosf.c: Removed.
2632         * math/s_ccos.c: Removed.
2633         * math/s_ccosl.c: Removed.
2634         * math/s_ccoshf.c: Removed.
2635         * math/s_ccosh.c: Removed.
2636         * math/s_ccoshl.c: Removed.
2638         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
2639         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
2640         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
2641         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
2642         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
2643         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
2645         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
2646         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
2647         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
2648         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
2650         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
2651         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
2652         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
2653         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
2655 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2657         * s_cacos_template.c: Copy of s_cacos.c.
2658         * s_cacosh_template.c: Copy of s_cacosh.c.
2659         * s_ccos_template.c: Copy of s_ccos.c.
2660         * s_ccosh_template.c: Copy of s_ccosh.c.
2662 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2664         * stdlib/tst-strtod-round-skeleton.c:
2665         Refactored from tst-strtod-round.c.
2667         (L_): New macro to apply literal modifier.
2668         (FNPFX): New macro to select str or wcs prefix.
2669         (CHAR): New macro to choose wchar_t or char.
2670         (STRM): New macro to choose printf for tested character type.
2672         (STRTO): New macro to choose appropriate string -> real function.
2673         (FNPFXS): Stringitized version of FNPFX.
2674         (STR): Support for above macro.
2675         (STRX): Likewise.
2677         (TEST): Update with above macros.
2678         (test): Likewise.
2679         (GEN_ONE_TEST): Likewise.
2680         (test_in_one_mode): Likewise.
2682         * stdlib/tst-strtod-round.c: New file.
2683         * wcsmbs/tst-wcstod-round.c: New file.
2685         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
2686         (tst-wcstod-round): Add libm depencency for fesetround.
2688 2016-08-19  Zack Weinberg  <zackw@panix.com>
2690         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
2692 2016-08-18  Torvald Riegel  <triegel@redhat.com>
2694         [BZ #20477]
2695         * resolv/res_hconf.c (do_init): Use atomic access.
2696         * resolv/res_hconf.h: Add comments.
2697         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
2698         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
2699         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2701 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
2703         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
2704         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
2705         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2706         Likewise.
2708 2016-08-18  Florian Weimer  <fweimer@redhat.com>
2710         [BZ #16907]
2711         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
2712         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
2713         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
2714         (__attribute__): Remove definition.
2716 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2718         * sysdeps/ieee754/ldbl-128/e_asinl.c:
2719         Remove unused sqrtl declaration.
2721 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2723         * math/Makefile: (gen-libm-templates.stmp): New rule.
2724         (libm-calls): Move carg conj cimag and cabs into ...
2725         (gen-libm-calls): New variable.
2726         (generated): Inform Make objects from gen-libm-calls
2727         may be generated.
2729         * sysdeps/generic/math-type-macros.h: New file.
2730         * sysdeps/generic/math-type-macros-float.h: Likewise.
2731         * sysdeps/generic/math-type-macros-double.h: Likewise.
2732         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2733         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
2734         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
2736         * math/cabs.c: Refactor into
2737         * math/cabs_template.c: new file.
2738         * math/cabsf.c: Removed.
2739         * math/cabsl.c: Removed.
2740         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
2741         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
2743         * math/carg.c: Refactor into
2744         * math/carg_template.c: new file.
2745         * math/cargf.c: Removed.
2746         * math/cargl.c: Removed.
2747         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
2748         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
2750         * math/conj.c: Refactor into
2751         * math/conj_template.c: new file.
2752         * math/conjf.c: Removed.
2753         * math/conjl.c: Removed.
2754         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
2755         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
2757         * math/cimag.c: Refactor into
2758         * math/cimag_template.c: new file.
2759         * math/cimagf.c: Removed.
2760         * math/cimagl.c: Removed.
2761         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2762         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2764         * math/cimag.c: Refactor into
2765         * math/cimag_template.c: new file.
2766         * math/cimagf.c: Removed.
2767         * math/cimagl.c: Removed.
2768         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2769         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2771 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2773         Reduce time to expected nptl/tst-once5 failure.
2774         * nptl/tst-once5.cc (TIMEOUT): Define.
2776 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2778         [BZ #20452]
2779         Avoid additional copies of objects in libc.a in static libraries.
2780         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
2781         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
2782         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
2783         rt-sysdep.
2784         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
2785         Add nptl-sysdep.
2786         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
2787         Add ptw-sysdep.
2788         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
2789         rt-sysdep.
2790         * sysdeps/unix/sysv/linux/alpha/Makefile
2791         (libpthread-shared-only-routines): Add ptw-sysdep,
2792         ptw-sigprocmask, ptw-rt_sigaction.
2793         * sysdeps/unix/sysv/linux/ia64/Makefile
2794         (librt-shared-only-routines): Add rt-sysdep.
2795         * sysdeps/unix/sysv/linux/i386/Makefile
2796         (libpthread-shared-only-routines): Add libc-do-syscall.
2797         * sysdeps/unix/sysv/linux/microblaze/Makefile
2798         (libpthread-shared-only-routines): Add sysdep.
2799         * sysdeps/unix/sysv/linux/powerpc/Makefile
2800         (librt-shared-only-routines): Add rt-sysdep.
2801         (libpthread-shared-only-routines): Add sysdep.
2802         * sysdeps/unix/sysv/linux/s390/Makefile
2803         (librt-shared-only-routines): Add rt-sysdep.
2804         * sysdeps/unix/sysv/linux/sparc/Makefile
2805         (librt-shared-only-routines): Add rt-sysdep.
2806         (libpthread-shared-only-routines): Add sysdep.
2807         * sysdeps/unix/sysv/linux/tile/Makefile
2808         (libpthread-shared-only-routines): Likewise.
2810 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
2812         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
2813         Mask implicit bit out of unpacked value.
2814         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
2815         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
2816         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
2818         * sysdeps/sparc/fpu/fesetexcept.c: New file.
2820         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
2822         * sysdeps/s390/fpu/fesetexcept.c: New file.
2824         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
2825         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
2826         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
2828         * sysdeps/mips/fpu/fesetexcept.c: New file.
2830         * sysdeps/m68k/fpu/fesetexcept.c: New file.
2832         * sysdeps/ia64/fpu/fesetexcept.c: New file.
2834         * sysdeps/hppa/fpu/fesetexcept.c: New file.
2836         * sysdeps/arm/fesetexcept.c: New file.
2838         * sysdeps/alpha/fpu/fesetexcept.c: New file.
2840         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
2842         * math/fesetexcept.c: New file.
2843         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
2844         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
2845         * math/fenv.h: Define
2846         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2847         <bits/libc-header-start.h> instead of including <features.h>.
2848         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
2849         declaration.
2850         * manual/arith.texi (fesetexcept): Document function.
2851         * math/Versions (fesetexcept): New libm symbol at version
2852         GLIBC_2.25.
2853         * math/Makefile (libm-support): Add fesetexcept.
2854         (tests): Add test-fesetexcept and test-fesetexcept-traps.
2855         * math/test-fesetexcept.c: New file.
2856         * math/test-fesetexcept-traps.c: Likewise.
2857         * sysdeps/nacl/libm.abilist: Update.
2858         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2859         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2860         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2861         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2862         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2863         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2864         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2865         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2866         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2867         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2868         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2869         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2871         Likewise.
2872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2873         Likewise.
2874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2875         Likewise.
2876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2877         Likewise.
2878         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2879         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2880         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2881         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2882         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2884         Likewise.
2885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2886         Likewise.
2887         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2888         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2889         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2891 2016-08-16  Florian Weimer  <fweimer@redhat.com>
2893         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
2894         New.
2895         (do_test): Apply default_stack_size_in_mb if not set.
2896         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
2898 2016-08-15  Andreas Schwab  <schwab@suse.de>
2900         [BZ #20435]
2901         CVE-2016-6323
2902         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
2903         as .cantunwind.
2905 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
2907         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
2908         comment from fraiseexcpt.c.
2910         * math/test-fexcept.c (feraiseexcept_exact): New function.
2911         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
2912         (test_except): Likewise.
2914 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
2916         [BZ #20455]
2917         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
2918         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
2919         to be restored.
2921         * math/test-fexcept-traps.c: New file.
2922         * math/test-fexcept.c: Likewise.
2923         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
2924         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
2925         macro.
2926         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
2927         (EXCEPTION_SET_FORCES_TRAP): Likewise.
2929 2016-08-09  Torvald Riegel  <triegel@redhat.com>
2931         * include/atomic.h (atomic_fetch_and_relaxed,
2932         atomic_fetch_and_release, atomic_fetch_or_release,
2933         atomic_fetch_xor_release): New.
2935 2016-08-06  Christian Seiler  <christian@iwakd.de>
2937         [BZ #20444]
2938         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
2939         MACH_PORT_NULL.
2941 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2943         * math/s_fdim.c: Avoid alias renamed.
2944         * math/s_fdimf.c: Likewise.
2945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2946         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2947         Add s_fdimf-vis3, s_fdim-vis3.
2948         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2949         (CFLAGS-s_fdim-vis3.c): Likewise.
2950         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
2951         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2953 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2956         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2957         Remove s_fdimf-vis3, s_fdim-vis3.
2958         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
2959         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
2960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
2961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
2962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
2963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
2964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
2965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
2966         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
2967         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
2969 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2971         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
2972         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
2973         -Wa,-Av9a -mvis.
2975 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2977         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
2978         LIT() to individual constants in simple expressions
2979         after splitting on spaces.
2980         (_apply_lit): Rename replaced version, and use it to
2981         apply to what appears to be a token.
2983         * math/libm-test.inc: Fix many, many issues with
2984         spacing.
2986 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
2988         * math/math.h: Move comment about <bits/mathdef.h> definitions
2989         above inclusion of <bits/mathdef.h>.  Do not mention
2990         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
2992 2016-08-05  Torvald Riegel  <triegel@redhat.com>
2994         * include/atomic.h (atomic_exchange_relaxed): New.
2996 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
2998         * math/e_scalb.c: Do not include <fenv.h>.
2999         (invalid_fn): Do calculation resulting in NaN instead of raising
3000         FE_INVALID and returning a NaN explicitly.
3001         * math/e_scalbf.c: Do not include <fenv.h>.
3002         (invalid_fn): Do calculation resulting in NaN instead of raising
3003         FE_INVALID and returning a NaN explicitly.
3004         * math/e_scalbl.c: Do not include <fenv.h>.
3005         (invalid_fn): Do calculation resulting in NaN instead of raising
3006         FE_INVALID and returning a NaN explicitly.
3008 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
3010         * po/de.po: Updated from Translation Project.
3011         * po/fi.po: Likewise.
3012         * po/sv.po: Likewise.
3014 2016-08-04  Florian Weimer  <fweimer@redhat.com>
3016         [BZ #20452]
3017         Use sysdep.o from libc.a in static libraries.
3018         * sysdeps/unix/sysv/linux/i386/Makefile
3019         (libpthread-shared-only-routines): Add sysdep.
3020         (librt-shared-only-routines): Likewise.
3022 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3024         * math/tgmath.h (nextdown): Define if
3025         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
3026         (nextup): Likewise.
3028         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
3029         macro.
3030         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3031         Document.
3032         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3033         Document macro.
3034         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
3035         (exp10f): Likewise.
3036         (exp10l): Likewise.
3037         * math/bits/mathcalls.h (exp10): Declare if
3038         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
3040         * manual/arith.texi (nextup): Fix typo in last change.
3042 2016-08-03  Zack Weinberg  <zackw@panix.com>
3044         [BZ #19239]
3045         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
3046         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
3047         define major, minor, and makedev to issue deprecation warnings on use.
3048         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
3049         previously-activated deprecation warnings for these macros and prevent
3050         subsequent inclusions of this header from having any effect.
3051         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
3052         including <sys/sysmacros.h>, and undefine it again afterward.
3054 2016-08-03  Zack Weinberg  <zackw@panix.com>
3056         * sysdeps/generic/sys/sysmacros.h: Delete file.
3057         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
3058         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
3059         * bits/sysmacros.h: ... here; this encoding is now the generic
3060         encoding.  Now defines only the following macros:
3061         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
3062         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
3063         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
3065         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
3066         bits/sysmacros.h and the above new macros to generate the
3067         public implementations of major, minor, and makedev.
3068         * misc/tst-makedev.c: New test.
3069         * include/sys/sysmacros.h: New wrapper.
3071         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
3072         (routines): Add makedev.
3073         (tests): Add tst-makedev.
3074         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
3075         gnu_dev_makedev.
3076         * posix/Makefile (headers): Remove sys/sysmacros.h.
3077         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
3079         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
3080         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
3081         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
3082         * sysdeps/unix/sysv/linux/alpha/libc.abilist
3083         * sysdeps/unix/sysv/linux/arm/libc.abilist
3084         * sysdeps/unix/sysv/linux/hppa/libc.abilist
3085         * sysdeps/unix/sysv/linux/i386/libc.abilist
3086         * sysdeps/unix/sysv/linux/ia64/libc.abilist
3087         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3088         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
3089         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
3090         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3091         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3092         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3093         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3094         * sysdeps/unix/sysv/linux/nios2/libc.abilist
3095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3099         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
3100         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
3101         * sysdeps/unix/sysv/linux/sh/libc.abilist
3102         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3103         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3106         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
3107         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
3108         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
3109         Add GLIBC_2.25.
3111         * include/features.h (__glibc_clang_prereq): New macro.
3112         * misc/sys/cdefs.h (__glibc_clang_has_extension)
3113         (__attribute_deprecated_msg__): New macros.
3115 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3117         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
3118         macro.
3119         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
3120         * manual/arith.texi (issignaling): Document as ISO from TS
3121         18661-1:2014.
3122         (nextup): Likewise.
3123         (nextupf): Likewise.
3124         (nextupl): Likewise.
3125         (nextdown): Likewise.
3126         (nextdownf): Likewise.
3127         (nextdownl): Likewise.
3128         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
3129         macro.
3130         * math/math.h: Define
3131         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3132         <bits/libc-header-start.h> instead of including <features.h>.
3133         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
3134         [__USE_GNU].
3135         * math/bits/mathcalls.h (nextdown): Declare if
3136         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
3137         (nextup): Likewise.
3138         (__issignaling): Likewise.
3140 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3142         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
3143         check, and remove __glibc_likely hint
3144         from FP_INFINITE check.
3145         * s_csinhf.c (__csinhf): Likewise.
3147         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
3148         hint from FP_INFINITE check.
3149         * s_csinhl.c (__csinhl): Likewise.
3151 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3153         * math/Makefile (libm-calls): Insert F placeholder into
3154         object names.  Move w_lgamma_compat* routines into
3155         (libm-compat-calls): New variable.
3156         (libm-compat-calls-ldouble-yes): New variable.
3157         (calls): Insert F placeholder.
3158         (generated): Redefine using new type-foreach macro call.
3159         (routines): Likewise.
3161         (types): New variable to hold a list of symbolic names
3162         for each type supported by the target machine.
3163         (libm-routines): Redefine using new types variable.
3164         (type-foreach): macro to replace fooF with the
3165         appropriately suffixed foo for each types.
3167         (type-ldouble-suffix): New variable.
3168         (type-ldouble-routines): Likewise.
3169         (type-ldouble-yes): Likewise.
3170         (type-double-suffix): Likewise.
3171         (type-double-routines): Likewise.
3172         (type-float-suffix): Likewise.
3173         (type-float-routines): Likewise.
3175         (dbl-only-routines): Remove.
3176         (long-c-yes): Likewise.
3177         (long-m-routines): Likewise.
3178         (long-m-support): Likewise.
3179         (long-m-yes): Likewise.
3180         (test-longdouble-yes): Likewise.
3182         (test-float.o): Simplify by increasing the scope of the
3183         recipe which adds libm-test.stmp to the vector types.
3184         (test-ifloat.o): Likewise.
3185         (test-float-finite.o): Likewise.
3186         (test-double.o): Likewise
3187         (test-idouble.o): Likewise.
3188         (test-double-finite.o): Likewise.
3189         (test-ldouble.o): Likewise
3190         (test-ildoubl.o): Likewise.
3191         (test-ldouble-finite.o): Likewise.
3193         (libm-tests): Redefine type tests using foreach and the
3194         list of types in types.
3196         (CPPFLAGS-test-ildoubl.c): Rename to
3197         (CPPFLAGS-test-ildouble.c): New variable
3199         * math/test-ildoubl.c: Rename to
3200         * math/test-ildouble.c: New file.
3202 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3204         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
3205         Use fabsl instead of fabs.
3206         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
3207         Likewise.
3208         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
3209         Add long double suffix to constant to ensure proper
3210         promotion to long double.
3212 2016-08-03  Tom Tromey  <tom@tromey.com>
3214         [BZ #20311]
3215         * nptl_db/Makefile (headers): Add proc_service.h.
3216         * nptl_db/proc_service.h: Add include guard.  Use
3217         __BEGIN/__END_DECLS.
3218         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
3219         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
3220         arguments.
3223 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3225         [BZ #17730]
3226         Avoid using memalign for TCB allocations.
3227         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
3228         (_dl_allocate_tls_storage): Use malloc and manual alignment.
3229         Avoid alignment gap in the TLS_DTV_AT_TP case.
3230         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
3231         determine the pointer to free.
3232         * nptl/tst-tls3-malloc.c: New test.
3233         * nptl/Makefile (tests): Add it.
3234         (tst-tls3-malloc): Link with libdl, libpthread.
3235         (LDFLAGS-tst-tls3-malloc): Set.
3236         (tst-tls3-malloc.out): Depend on DSO used in test.
3238 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3240         [BZ #17730]
3241         Avoid using memalign for TLS allocations.
3242         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
3243         is_static member with to_free member.
3244         (union dtv): Use struct dtv_pointer.
3245         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
3246         dtv_pointer instead of is_static.
3247         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
3248         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
3249         instead of val.
3250         (allocate_dtv_entry): New function.
3251         (allocate_and_init): Return struct dtv_pointer.  Call
3252         allocate_dtv_entry instead of __libc_memalign.
3253         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
3254         instead of val.
3255         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
3256         instead of is_static.  Adjust call to allocate_and_init.
3257         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
3258         struct dtv_pointer instead of val.
3260 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3262         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
3263         (MALLOC_ALIGN_MASK): Move ...
3264         * malloc/malloc-internal.h: ... to here.
3265         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
3267 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3269         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
3270         (UDP_ENCAP_GTP1U): Likewise.
3272         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
3273         (PF_MAX): Update value.
3274         (AF_QIPCRTR): New macro.
3276 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3278         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
3279         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3280         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3281         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3282         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3283         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3284         s_truncf-vis3, s_trunc-vis3.
3285         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3286         (CFLAGS-s_ceil-vis3.c): Likewise.
3287         (CFLAGS-s_floorf-vis3.c): Likewise.
3288         (CFLAGS-s_floor-vis3.c): Likewise.
3289         (CFLAGS-s_truncf-vis3.c): Likewise.
3290         (CFLAGS-s_trunc-vis3.c): Likewise.
3291         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
3292         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
3293         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
3294         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
3295         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
3296         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
3297         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
3298         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
3299         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
3300         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
3301         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
3302         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
3304 2016-08-02  David S. Miller  <davem@davemloft.net>
3306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3307         (__nearbyint_vis3): Don't check for sNaN before float register is
3308         loaded with the incoming argument.
3309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3310         (__nearbyintf_vis3): Likewise.
3311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
3312         Likewise.
3313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
3314         Likewise.
3316         * string/test-strncmp.c (do_test_limit): Make sure the test data
3317         stream is aligned as required for the type "CHAR".
3318         (do_test): Likewise.
3320 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3322         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
3323         by beq instructions jumping to the end of the function.
3324         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
3325         clobber list. Use "i" constraint instead of "X".
3326         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
3327         of "X".
3329 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
3331         * bits/libc-header-start.h: New file.
3332         * Makefile (headers): Add bits/libc-header-start.h.
3333         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
3334         (__GLIBC_USE): New macro.
3335         * libio/stdio.h: Define
3336         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3337         <bits/libc-header-start.h> instead of including <features.h>.
3338         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
3339         (open_memstream): Likewise.
3340         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
3341         (__asprintf): Likewise.
3342         (asprintf): Likewise.
3343         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
3344         (getdelim): Likewise.
3345         (getline): Likewise.
3346         * string/string.h: Define
3347         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3348         <bits/libc-header-start.h> instead of including <features.h>.
3349         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
3350         (strndup): Likewise.
3351         * wcsmbs/wchar.h: Define
3352         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3353         <bits/libc-header-start.h> instead of including <features.h>.
3354         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
3355         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
3357 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3359         Support linking against compatibility symbols, for use in tests.
3360         * include/libc-symbols.h (symbol_version_reference): New macro.
3361         (symbol_version): Use it.
3362         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
3363         (compat_symbol): Use compat_symbol_reference.
3364         (compat_symbol_1, compat_symbol_2): Remove.
3365         (compat_symbol_reference, compat_symbol_reference_1)
3366         (compat_symbol_reference_2): New macro.  Use
3367         symbol_version_reference.
3369 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3371         [BZ #19469]
3372         * malloc/Makefile (CPPFLAGS): Compile tests with
3373         -DTEST_NO_MALLOPT.
3374         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
3376 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
3378         [BZ #20033]
3379         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
3380         finite version.
3381         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
3382         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
3383         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
3384         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
3385         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
3386         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
3387         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
3388         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
3389         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
3390         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
3391         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
3392         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
3393         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
3394         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
3395         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
3396         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
3397         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
3398         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
3399         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
3400         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
3401         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
3402         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
3403         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
3404         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
3405         in zero power.
3407 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3409         [BZ #20370]
3410         * malloc/arena.c (get_free_list): Update comment.  Assert that
3411         arenas on the free list have no attached threads.
3412         (remove_from_free_list): New function.
3413         (reused_arena): Call it.
3415 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
3417         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
3418         when it is a NaN.
3419         [_IEEE_FP_INEXACT] Remove.
3420         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
3421         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
3422         when it is a NaN.
3423         [_IEEE_FP_INEXACT] Remove.
3424         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
3425         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
3426         when it is a NaN.
3427         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
3428         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
3429         when its absolute value is greater than 0x1.0p52.
3430         [_IEEE_FP_INEXACT] Remove.
3431         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
3432         when its absolute value is greater than 0x1.0p23.
3433         [_IEEE_FP_INEXACT] Remove.
3435 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
3437         * version.h (RELEASE): Set to "development"
3438         (VERSION): Set to 2.24.90.
3439         * NEWS: Add 2.25 section.
3441         * version.h (RELEASE): Set to "stable"
3442         (VERSION): Set to 2.24.
3443         * include/features.h (__GLIBC_MINOR__): Set to 24.
3445         * NEWS: Add 2.24 fixed bugs.
3446         * po/libc.pot: Regenerate.
3448 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
3450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3451         [$(subdir) = math] (libm-sysdep_routines): Remove.
3452         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3453         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3454         s_truncf-vis3, s_trunc-vis3.
3455         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
3457         file.
3458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
3459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
3460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
3464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
3465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
3467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
3468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
3469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
3470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
3471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
3472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
3473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
3477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
3478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
3479         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
3480         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3481         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3482         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3483         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3484         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3485         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
3486         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3487         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3488         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
3489         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3490         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3491         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
3492         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
3493         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
3494         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
3495         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3496         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3497         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
3498         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
3499         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
3500         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
3502 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3504         [BZ #20384]
3505         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
3506         test-double-libmvec-sincos-avx-main.o,
3507         test-double-libmvec-sincos-avx2-main.o,
3508         test-double-libmvec-sincos-main.o,
3509         test-float-libmvec-sincosf-avx-main.o,
3510         test-float-libmvec-sincosf-avx2-main.o and
3511         test-float-libmvec-sincosf-main.o.
3512         test-float-libmvec-sincosf-avx512-main.o.
3513         ($(objpfx)test-double-libmvec-sincos): Also link with
3514         $(objpfx)test-double-libmvec-sincos-main.o.
3515         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
3516         $(objpfx)test-double-libmvec-sincos-avx-main.o.
3517         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
3518         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
3519         ($(objpfx)test-float-libmvec-sincosf): Also link with
3520         $(objpfx)test-float-libmvec-sincosf-main.o.
3521         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
3522         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
3523         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
3524         test-double-libmvec-sincos-avx512-main.o and
3525         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
3526         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
3527         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
3528         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
3529         (CFLAGS-test-double-libmvec-sincos.c): Removed.
3530         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
3531         (CFLAGS-test-double-libmvec-sincos-main.c): New.
3532         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
3533         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
3534         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
3535         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
3536         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
3537         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
3538         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
3539         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
3540         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
3541         -DREQUIRE_AVX2.
3542         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
3543         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
3544         -DREQUIRE_AVX512F.
3545         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
3546         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
3547         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3548         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
3549         file.
3550         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
3551         Likewise.
3552         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
3553         Likewise.
3554         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
3555         Likewise.
3556         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
3557         Likewise.
3558         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
3559         Likewise.
3560         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
3561         Likewise.
3562         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
3563         Likewise.
3565 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
3567         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
3569 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
3571         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
3572         and typo in a comment about AT_HWCAP entry.
3574 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3576         * sysdeps/aarch64/libm-test-ulps: Updated.
3578 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3580         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
3581         of r13 as it is not restored in mvcle case.
3583 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
3585         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
3586         Rename "ret" to "__ret".
3587         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
3588         inline_syscall5, inline_syscall6): Likewise.
3590 2016-07-19   Will Newton  <will.newton@gmail.com>
3592         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
3593         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
3594         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
3595         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
3596         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
3598 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
3600         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
3601         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
3602         -mfpmath=387 with $(rtld-CFLAGS).
3603         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
3604         $(rtld-CFLAGS).
3606 2016-07-18   Ross Burton  <ross.burton@intel.com>
3607              Khem Raj  <raj.khem@gmail.com>
3609         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
3610         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
3611         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
3612         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
3613         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
3614         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
3615         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
3616         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
3617         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
3618         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
3619         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
3620         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
3621         R_METAG_TLS_DTPOFF): New.
3623 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3624             Matt Clay  <mclay@lycos.com>
3626         [BZ #20357]
3627         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
3628         to call __mpsin/__mpcos and to negate values.
3629         * math/auto-libm-test-in: Add test.
3630         * math/auto-libm-test-out: Regenerate.
3632 2016-07-18  Zack Weinberg  <zackw@panix.com>
3634         * grp/Makefile: Don't install the internal header grp-merge.h.
3636 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3638         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3640 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3642         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
3644 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3646         [BZ #15368]
3647         * sysdeps/unix/sysv/linux/nptl-signals.h
3648         (__nptl_clear_internal_signals): New function.
3649         (__libc_signal_block_all): Likewise.
3650         (__libc_signal_block_app): Likewise.
3651         (__libc_signal_restore_set): Likewise.
3652         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
3653         implementation.
3654         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
3655         the cached pid/tid value in pthread structure.
3657 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
3659         [BZ #20347]
3660         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3662 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3664         [BZ #20348]
3665         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
3666         preadv64, pwrite64 and pwritev64.
3668 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3670         [BZ #20350]
3671         * posix/tst-preadwrite.c: Renamed to ...
3672         * posix/tst-preadwrite-common.c: This.
3673         (PREAD): Removed.
3674         (PWRITE): Likewise.
3675         (STRINGIFY): Likewise.
3676         (STRINGIFY2): Likewise.
3677         (do_prepare): Make it static and remove function arguments.
3678         (do_test): Likewise.
3679         (PREPARE): Updated.
3680         (TEST_FUNCTION): New.
3681         (name): Make it static.
3682         (fd): Likewise.
3683         (do_prepare): Use create_temp_file.
3684         (do_test): Renamed to ...
3685         (do_test_with_offset): This.  Make it static and accept offset.
3686         Properly check return value of PWRITE and PREAD.  Return bytes
3687         read.  Don't close fd nor unlink name.
3688         * posix/tst-preadwrite.c: Rewrite.
3689         * posix/tst-preadwrite64.c: Likewise.
3691 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3693         [BZ #20309]
3694         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
3695         -mtls-dialect=gnu2 works.
3696         * configure: Regenerated.
3697         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
3698         (tests): Add tst-gnu2-tls1.
3699         (modules-names): Add tst-gnu2-tls1mod.
3700         ($(objpfx)tst-gnu2-tls1): New.
3701         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
3702         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
3703         * elf/tst-gnu2-tls1.c: New file.
3704         * elf/tst-gnu2-tls1mod.c: Likewise.
3705         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
3706         bytes for push in the PLT entry to align the stack.
3708 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
3710         [BZ #20349]
3711         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
3713 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3715         [BZ #18707]
3716         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
3717         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
3719 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3721         * sysdeps/unix/sysv/linux/sysdep.h
3722         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
3723         guards.
3724         * misc/tst-preadvwritev-common.c: New file.
3725         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
3726         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
3727         a check for files larger than 2GB.
3729         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3730         (__ASSUME_OFF_DIFF_OFF64): Remove define.
3731         * sysdeps/unix/sysv/linux/pread.c
3732         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
3733         __OFF_T_MATCHES_OFF64_T.
3734         * sysdeps/unix/sysv/linux/pread64.c
3735         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
3736         * sysdeps/unix/sysv/linux/preadv.c
3737         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
3738         * sysdeps/unix/sysv/linux/preadv64.c
3739         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
3740         * sysdeps/unix/sysv/linux/pwrite.c
3741         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
3742         * sysdeps/unix/sysv/linux/pwrite64.c
3743         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
3744         * sysdeps/unix/sysv/linux/pwritev.c
3745         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
3746         * sysdeps/unix/sysv/linux/pwritev64.c
3747         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
3749 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
3751         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3752         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
3754 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3756         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
3758 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3760         [BZ #20240]
3761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3762         (CFLAGS-s_modf-ppc32.c): New variable.
3763         (CFLAGS-s_modff-ppc32.c): Likewise.
3764         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3765         (CFLAGS-s_modf-ppc64.c): Likewise.
3766         (CFLAGS-s_modff-ppc64.c): Likewise.
3768 2016-07-07  Andreas Schwab  <schwab@suse.de>
3770         [BZ #20263]
3771         * nptl/tst-robust10.c: New test.
3772         * nptl/Makefile (tests): Add tst-robust10.
3774 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
3776         [BZ #20263]
3777         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
3779 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3781         * sysdeps/s390/linkmap.h (struct link_map_machine):
3782         Remove member gotplt and add member jmprel.
3783         * sysdeps/s390/s390-32/dl-machine.h
3784         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
3785         instead of gotplt with &got[3].
3786         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
3787         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3789 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
3791         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
3793 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3795         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
3796         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
3797         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3798         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
3799         * libio/vtables.c (_IO_vtable_check)
3800         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3801         * libio/libioP.h (IO_set_accept_foreign_vtables)
3802         [!PTR_MANGLE]: Do not call PTR_MANGLE.
3804 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
3806         [BZ #20314]
3807         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
3808         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
3809         $(common-objpfx)cmath.
3810         ($(common-objpfx)cstdlib): New target.
3811         ($(common-objpfx)cmath): Likewise.
3813 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
3815         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
3817 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3819         [BZ #20327]
3820         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
3821         are not part of the string.
3823 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3825         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
3826         * nptl/tst-cancel4-common.h (fifoname): New variable.
3827         (fifofd): Likewise.
3828         (cl_fifo): New function.
3829         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
3830         SIGINT.
3831         (tf_open): Add early cancel test.
3833 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
3835         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
3837 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
3839         * sysdeps/generic/ldsodefs.h
3840         (dl_symbol_visibility_binds_local_p): New inline function.
3841         * elf/dl-addr.c (determine_info): Treat hidden and internal
3842         symbols as local.
3843         * elf/dl-lookup.c (do_lookup_x): Likewise.
3844         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
3846 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
3848         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
3849         invalid exception for a sNaN input.
3850         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3851         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3852         (__nearbyint_vis3): Likewise
3853         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3854         (__nearbyintf_vis3): Likewise
3855         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
3856         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3857         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
3858         Likewise.
3859         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
3860         Likewise.
3862 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
3864         [BZ #20139]
3865         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
3866         (HAVE_AVX512DQ_ASM_SUPPORT): This.
3867         * sysdeps/x86_64/configure.ac: Require assembler from binutils
3868         2.24 or above.
3869         (HAVE_AVX512_ASM_SUPPORT): Removed.
3870         (HAVE_AVX512DQ_ASM_SUPPORT): New.
3871         * sysdeps/x86_64/configure: Regenerated.
3872         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
3873         check unconditional.
3874         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3875         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3876         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3877         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3878         Likewise.
3879         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3880         Likewise.
3881         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3882         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3883         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3884         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3885         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3886         Likewise.
3887         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3888         Likewise.
3889         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3890         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3891         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
3892         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
3893         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
3894         Likewise.
3895         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
3896         Likewise.
3897         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
3898         Likewise.
3899         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
3900         Likewise.
3901         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
3902         Likewise.
3903         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
3904         Likewise.
3905         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
3906         Likewise.
3907         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
3908         Likewise.
3909         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
3910         Likewise.
3911         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
3912         Likewise.
3913         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
3914         Likewise.
3916 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
3918         [BZ #20024]
3919         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
3920         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
3921         of this implementation of vector function.
3922         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3923         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3924         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
3925         Likewise.
3926         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3927         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3928         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
3929         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
3930         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
3931         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
3932         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3933         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
3934         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
3935         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
3936         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
3937         for testing vector sincos with fixed ABI.
3938         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3939         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3940         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3941         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3942         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3943         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3944         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3945         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
3946         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
3947         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
3948         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
3949         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
3950         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
3951         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
3952         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3953         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3955 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3957         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
3959 2016-06-30  Anton Blanchard  <anton@samba.org>
3961         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3962         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
3963         s_sinf-ppc64.
3964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
3965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
3967         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
3969 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3972         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3973         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
3974         e_expf-ppc64.
3975         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
3976         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3977         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3978         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3980 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
3982         [BZ #20277]
3983         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
3984         when SHARED is defined.
3986 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3988         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
3989         (index_arch_Prefer_ERMS): Likewise.
3990         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
3991         __memcpy_erms for Prefer_ERMS.
3992         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3993         (__memmove_erms): Enabled for libc.a.
3994         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
3995         __memmove_erms or Prefer_ERMS.
3996         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
3997         __mempcpy_erms for Prefer_ERMS.
3998         * sysdeps/x86_64/multiarch/memset.S (memset): Return
3999         __memset_erms for Prefer_ERMS.
4001 2016-06-30  Andreas Schwab  <schwab@suse.de>
4003         [BZ #20262]
4004         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
4005         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
4006         of memory.
4008 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
4010         [BZ #18645]
4011         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
4012         (test-extras): Add tst-cleanupx4aux.
4013         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
4014         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
4015         tst-cleanupx4aux.o.
4016         * nptl/tst-cleanupx4aux.c: New file.
4018 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4020         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4022 2016-06-29  Andreas Schwab  <schwab@suse.de>
4024         [BZ #20260]
4025         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
4026         address before the beginning of the string as an integer to avoid
4027         array-bounds warning.
4029 2016-06-28  Richard Henderson  <rth@redhat.com>
4031         * elf/elf.h (EM_BPF): New.
4032         (EM_NUM): Update.
4033         (R_BPF_NONE, R_BPF_MAP_FD): New.
4035         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
4036         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
4037         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
4038         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
4039         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
4040         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
4041         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
4042         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
4043         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
4044         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
4045         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
4046         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
4047         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
4048         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
4049         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
4050         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
4051         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
4052         (EM_NUM): Update.
4054 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
4056         [BZ #18960]
4057         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
4058         Set _nl_current_LC_CATEGORY_used to two instead of one.
4060 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
4062         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
4063         (do_test): ... this.
4064         (TEST_FUNCTION): New macro.
4065          Include test-skeleton.c.
4066         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
4067         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
4069 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
4071         [BZ #15479]
4072         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
4073         floating-point environment rather than just control word.
4074         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4075         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
4076         floating-point environment, with "invalid" exceptions merged in,
4077         rather than just control word.
4078         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
4079         * math/libm-test.inc (trunc_test_data): Do not allow spurious
4080         "inexact" exceptions.
4082         [BZ #15479]
4083         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
4084         floating-point environment rather than just control word.
4085         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4086         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
4087         floating-point environment, with "invalid" exceptions merged in,
4088         rather than just control word.
4089         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
4090         * math/libm-test.inc (floor_test_data): Do not allow spurious
4091         "inexact" exceptions.
4093         [BZ #15479]
4094         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
4095         floating-point environment rather than just control word.
4096         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4097         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
4098         floating-point environment, with "invalid" exceptions merged in,
4099         rather than just control word.
4100         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
4101         * math/libm-test.inc (ceil_test_data): Do not allow spurious
4102         "inexact" exceptions.
4104 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
4106         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
4107         __libc_vfork.
4108         (__vfork) [IS_IN (libc)]: Remove alias.
4109         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
4110         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4111         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4113 2016-06-24  Torvald Riegel  <triegel@redhat.com>
4115         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
4116         of atomic_compare_and_exchange_bool_rel.
4117         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4118         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
4119         catomic_compare_and_exchange_bool_rel): Remove.
4120         * sysdeps/aarch64/atomic-machine.h
4121         (atomic_compare_and_exchange_bool_rel): Likewise.
4122         * sysdeps/alpha/atomic-machine.h
4123         (atomic_compare_and_exchange_bool_rel): Likewise.
4124         * sysdeps/arm/atomic-machine.h
4125         (atomic_compare_and_exchange_bool_rel): Likewise.
4126         * sysdeps/mips/atomic-machine.h
4127         (atomic_compare_and_exchange_bool_rel): Likewise.
4128         * sysdeps/microblaze/atomic-machine.h
4129         ( __arch_compare_and_exchange_bool_8_rel,
4130         __arch_compare_and_exchange_bool_16_rel): Likewise.
4131         * sysdeps/powerpc/atomic-machine.h
4132         ( __arch_compare_and_exchange_bool_8_rel,
4133         __arch_compare_and_exchange_bool_16_rel): Likewise.
4134         * sysdeps/powerpc/powerpc32/atomic-machine.h
4135         ( __arch_compare_and_exchange_bool_32_rel,
4136         __arch_compare_and_exchange_bool_64_rel): Likewise.
4137         * sysdeps/powerpc/powerpc64/atomic-machine.h
4138         ( __arch_compare_and_exchange_bool_32_rel,
4139         __arch_compare_and_exchange_bool_64_rel): Likewise.
4140         * sysdeps/tile/atomic-machine.h
4141         (atomic_compare_and_exchange_bool_rel): Likewise.
4143 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
4145         [BZ #20296]
4146         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
4147         when either argument is a NaN.
4148         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4149         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
4151         * math/libm-test.inc (snan_value_ld): New macro.
4152         (isgreater_test_data): Add sNaN tests.
4153         (isgreaterequal_test_data): Likewise.
4154         (isless_test_data): Likewise.
4155         (islessequal_test_data): Likewise.
4156         (islessgreater_test_data): Likewise.
4157         (isunordered_test_data): Likewise.
4158         (nextafter_test_data): Likewise.
4159         (nexttoward_test_data): Likewise.
4160         (remainder_test_data): Likewise.
4161         (remquo_test_data): Likewise.
4162         (significand_test_data): Likewise.
4163         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
4165 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4167         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
4168         environment macros are defined.
4169         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
4171 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4173         [BZ #20191]
4174         Implement vtable verification in libio.
4175         * Makerules (shlib.lds): Place __libc_IO_vtables section.
4176         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
4177         * debug/vdprintf_chk.c (__vdprintf_chk): Call
4178         _IO_new_file_init_internal instead of _IO_file_init.
4179         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
4180         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
4181         * libio/Makefile (routines): Add vtables.
4182         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
4183         (_IO_init): Remove, not for internal use.
4184         (_IO_init_internal): Declare, internal replacement for _IO_init.
4185         (_IO_file_init): Remove, not for internal use.
4186         (_IO_new_file_init): Remove, not for internal use.
4187         (_IO_new_file_init_internal): Declare, internal replacement for
4188         _IO_new_file_init.
4189         (_IO_old_file_init): Remove, not for internal use.
4190         (_IO_old_file_init_internal): Declare, internal replacement for
4191         _IO_old_file_init.
4192         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
4193         internal use.
4194         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
4195         Declare.
4196         (libio_vtable): New macro.
4197         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
4198         functions.
4199         * libio/fileops.c (_IO_new_file_init_internal): Rename from
4200         _IO_new_file_init.
4201         (_IO_new_file_init): New externally visible wrapper which disables
4202         vtable verification.
4203         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
4204         Define as vtables.
4205         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
4206         (_IO_init): New externally visible wrapper which disables
4207         vtable verification.
4208         * libio/iofdopen.c (_IO_new_fdopen): Call
4209         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
4210         comment.
4211         * libio/iofopen.c (__fopen_internal): Call
4212         _IO_new_file_init_internal instead of _IO_file_init.
4213         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
4214         Define as vtables.
4215         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
4216         _IO_new_file_init_internal instead of _IO_file_init.
4217         * libio/iopopen.c (_IO_new_popen): Likewise.
4218         (_IO_proc_jumps): Define as vtable.
4219         * libio/iovdprintf.c (_IO_vdprintf): Call
4220         _IO_new_file_init_internal instead of _IO_file_init.
4221         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
4222         (__open_memstream): Call _IO_init_internal instead of _IO_init.
4223         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
4224         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
4225         _IO_old_file_init.
4226         (_IO_old_file_init): New externally visible wrapper which disables
4227         vtable verification.
4228         (_IO_old_file_jumps): Define as vtable.
4229         * libio/oldiofdopen.c (_IO_old_fdopen): Call
4230         _IO_old_file_init_internal instead of _IO_old_file_init.
4231         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4232         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4233         (_IO_old_proc_jumps): Define as vtable.
4234         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
4235         Define as vtables.
4236         * libio/vtables.c: New file.
4237         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
4238         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
4239         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
4240         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
4241         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
4242         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
4243         instead of _IO_init.
4245 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4247         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
4249 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4251         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
4252         potentially unused.
4254 2016-06-22  Florian Weimer  <fweimer@redhat.com>
4256         * test-skeleton.c (write_message): New function.
4257         * malloc/tst-mallocfork2.c (write_message): Remove.
4258         * debug/tst-longjmp_chk2.c (write_indented): New function.
4259         (write_message): Remove.
4260         (stackoverflow_handler): Call write_indented.
4262 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
4264         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
4265         "inexact" exceptions after fnstenv.
4266         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4267         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4268         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4270 2015-06-22  Zack Weinberg  <zackw@panix.com>
4272         * sysdeps/generic/bits/hwcap.h: Moved to ...
4273         * bits/hwcap.h: Here.
4275 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
4277         * sysdeps/aarch64/memcpy.S (memcpy):
4278         Further tuning for performance.
4280 2016-06-21  Florian Weimer  <fweimer@redhat.com>
4282         [BZ #20284]
4283         * malloc/arena.c (reused_arena): Do not return NULL if we start
4284         out with a non-corrupted arena.
4286 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4288         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
4289         * misc/tst-preadvwritev.c: New file.
4290         * misc/tst-preadvwritev64.c: Likewise.
4291         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
4292         usage.
4293         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4294         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4295         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4296         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
4298 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
4300         [BZ #19654]
4301         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4302         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
4303         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
4304         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
4305         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
4306         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
4307         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
4308         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
4309         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
4310         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
4311         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
4312         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
4313         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
4314         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
4315         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
4316         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
4317         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
4318         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
4319         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
4320         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
4321         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
4322         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
4323         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
4324         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
4325         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
4326         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
4328 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4330         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
4331         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
4333 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4335         * sysdeps/aarch64/memcpy.S (memcpy):
4336         Rewrite of optimized memcpy and memmove.
4337         * sysdeps/aarch64/memmove.S (memmove): Remove
4338         memmove code (merged into memcpy.S).
4340 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4342         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
4343         * sysdeps/generic/dl-dtv.h: New file.
4344         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4345         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
4346         (dtv_t): Remove.
4347         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4348         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
4349         (dtv_t): Remove.
4350         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4351         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
4352         (dtv_t): Remove.
4353         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4354         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
4355         (dtv_t): Remove.
4356         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4357         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
4358         (dtv_t): Remove.
4359         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4360         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
4361         (dtv_t): Remove.
4362         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4363         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
4364         (dtv_t): Remove.
4365         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
4366         (dtv_t): Remove.
4367         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4368         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
4369         (dtv_t): Remove.
4370         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4371         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
4372         (dtv_t): Remove.
4373         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4374         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
4375         (dtv_t): Remove.
4376         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4377         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
4378         (dtv_t): Remove.
4379         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4380         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
4381         (dtv_t): Remove.
4382         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4383         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
4384         (dtv_t): Remove.
4385         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4386         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
4387         (dtv_t): Remove.
4388         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4389         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
4390         (dtv_t): Remove.
4392 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4394         Revert symbol poisoning of  __malloc_initialize_hook.
4395         * include/stdc-predef.h (__malloc_initialize_hook): Remove
4396         poisoning.
4397         * malloc/Makefile: Remove un-poisoning.
4398         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
4399         instead of old__malloc_initialize_hook.
4400         * malloc/malloc-hooks.h: Likewise.
4401         * malloc/malloc.c: Likewise.
4402         * malloc/mcheck-init.c: Likewise.
4404 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
4406         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
4408 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
4410         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
4411         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
4412         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4413         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4415 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4417         * NEWS: Mention addition of nextup and nextdown.
4418         * manual/arith.texi: Document nextup and nextdown.
4419         * manual/libm-err-tab.pl: Add nextup and nextdown.
4420         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
4421         * math/Versions (libm): Add GLIBC_2.24.
4422         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
4423         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4424         Add new test.
4425         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
4426         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
4427         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
4428         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
4429         (nextup_test_data): Likewise.
4430         (nextdown_test_data): Likewise.
4431         * math/s_nextdown.c: New file.
4432         * math/s_nextdownf.c: Likewise.
4433         * math/s_nextdownl.c: Likewise.
4434         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
4435         F(nextup): New function.
4436         F(nextdown): Likewise.
4437         * math/tgmath.h: Add nextup and nextdown.
4438         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
4439         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
4440         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4441         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
4442         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
4443         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
4444         Add nextup and nextdown.
4445         (CFLAGS-nldbl-nextup.c): New variable.
4446         (CFLAGS-nldbl-nextdown.c): Likewise.
4447         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
4448         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
4449         * sysdeps/nacl/libm.abilist: Update.
4450         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4451         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4452         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4453         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4454         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4455         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4456         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4457         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4458         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4459         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4460         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4461         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
4463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4464         Likewise.
4465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
4466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
4467         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4468         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4469         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4470         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4471         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
4473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
4474         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4475         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4476         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
4477         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4479 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4481         * manual/pattern.texi: Fix typos & grammar errors.
4483 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4485         * manual/search.texi: Fix typos & grammar errors.
4487 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4489         * manual/message.texi: Fix typos & grammar errors.
4491 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
4493         * manual/contrib.texi: Fix spelling typos.
4494         * manual/crypt.texi: Likewise.
4495         * manual/filesys.texi: Likewise.
4496         * manual/locale.texi: Likewise.
4497         * manual/message.texi: Likewise.
4498         * manual/nss.texi: Likewise.
4499         * manual/string.texi: Likewise.
4501 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4503         * manual/locale.texi: Fix typos & grammar errors.
4505 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4507         * manual/charset.texi: Fix typos & grammar errors.
4509 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4511         * manual/string.texi: Fix typos.
4513 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4515         * manual/ctype.texi: Fix typos.
4517 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4519         * manual/memory.texi: Fix various typos & grammar errors.
4521 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
4523         [BZ #20255]
4524         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
4525         * math/libm-test.inc (fdim_test_data): Add another test.
4527         [BZ #6796]
4528         [BZ #20255]
4529         [BZ #20256]
4530         * math/s_fdim.c: Include <math_private.h>.
4531         (__fdim): Use math_narrow_eval on result.
4532         * math/s_fdimf.c: Include <math_private.h>.
4533         (__fdimf): Use math_narrow_eval on result.
4534         * sysdeps/i386/fpu/s_fdim.S: Remove file.
4535         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
4536         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
4537         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
4538         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
4539         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
4540         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
4541         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
4542         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
4543         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
4544         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
4545         * math/libm-test.inc (fdim_test_data): Expect errno setting on
4546         overflow.  Add sNaN tests.
4548         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
4549         fpclassify.
4550         * math/s_fdimf.c (__fdimf): Likewise.
4551         * math/s_fdiml.c (__fdiml): Likewise.
4553 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4555         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4556         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
4557         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4558         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4559         ifunc'ed strcasecmp/strncasecmp.
4560         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
4561         [EALIGN]: Removed.
4562         [END]: Likewise.
4563         [__strcasecmp]: Define instead of the above to control symbol name.
4564         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
4565         for __strcasecmp_power8.
4566         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
4567         for __strncasecmp_power8.
4568         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
4569         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
4570         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
4571         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
4572         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
4573         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
4575 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
4577         [BZ #20252]
4578         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
4579         arguments when second argument is a NaN.
4580         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
4581         qNaN tests.
4583         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
4584         (conj_test_data): Likewise.
4585         (copysign_test_data): Likewise.
4586         (creal_test_data): Likewise.
4587         (fma_test_data): Likewise.
4588         (fmod_test_data): Likewise.
4590         [BZ #20250]
4591         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
4592         itself.
4593         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
4594         zero input to itself.
4595         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
4596         Likewise.
4597         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
4598         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4599         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4600         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4601         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
4603 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4605         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
4606         * nptl/tst-cancel4-common.c: New file.
4607         * nptl/tst-cancel4-common.h: Likewise.
4608         * nptl/tst-cancel4.c: Move common definitions to
4609         tst-cancel4-common.{c,h} file.
4610         * nptl/tst-cancel4_1.c: New test.
4611         * nptl/tst-cancel4_2.c: New test.
4613 2016-06-13  Florian Weimer  <fweimer@redhat.com>
4615         [BZ #20248]
4616         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
4617         (write_message): New function.
4618         (stackoverflow_handler): Call it instead of printf, to avoid
4619         excessive stack usage by printf.
4620         (do_test): Restore SIGSEGV, SIGBUS default handlers.
4622 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4624         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
4625         (prio_inherit_missing): Remove define.
4626         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4627         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4628         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
4629         Likewise.
4630         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4631         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4632         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4633         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4634         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4635         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4637 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4639         [BZ #19670]
4640         [BZ #19672]
4642         * io/test-lfs.c (do_prepare): Use xmalloc.
4643         * io/tst-fcntl.c (do_prepare): Likewise.
4644         * libio/tst-fopenloc.c (do_bz17916): Likewise.
4645         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
4646         * login/tst-utmp.c (do_prepare): Likewise.
4647         * posix/tst-exec.c (do_prepare): Likewise.
4648         * posix/tst-pathconf.c (prepare): Likewise.
4649         * posix/tst-spawn.c (do_prepare): Likewise.
4650         * posix/tst-truncate.c (do_prepare): Likewise.
4651         * rt/tst-aio.c (do_prepare): Likewise.
4652         * rt/tst-aio64.c (do_prepare): Likewise.
4654 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4656         [BZ #20237]
4657         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
4658         (get*ent): Set entidx to NULL during initialization.  If entidx is
4659         NULL, start iteration from the beginning.
4661 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4663         * malloc/malloc.c (musable): Return correct size for dumped fake
4664         mmapped chunk.
4666 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4668         [BZ #20222]
4669         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
4670         (_IO_cookie_write): Likewise.
4671         (_IO_cookie_seek): Likewise.
4672         (_IO_cookie_close): Likewise.
4673         (_IO_old_cookie_seek): Likewise.
4674         (set_callbacks): New function.
4675         (_IO_cookie_init): Call set_callbacks to copy callbacks.
4677 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
4679         * locale/programs/localedef.c (oldstyle_tables): Remove.
4680         * locale/programs/localedef.h (oldstyle_tables): Likewise.
4682 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
4684         [BZ #20240]
4685         * math/Makefile (CFLAGS-s_modf.c): New variable.
4686         (CFLAGS-s_modff.c): Likewise.
4687         (CFLAGS-s_modfl.c): Likewise.
4688         * math/libm-test.inc (modf_test_data): Add sNaN tests.
4690 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
4692         [BZ #20215]
4693         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
4694         [!__GNUC_PREREQ (3,2)]: Likewise.
4696 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
4698         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
4699         (msghdr.msg_controllen): Likewise.
4700         (cmsghdr.cmsg_len): Likewise.
4701         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
4702         ptw-oldsendmsg.
4703         (CFLAGS-oldrecvmsg.c): Remove rule.
4704         (CFLAGS-oldsendmsg.c): Likewise.
4705         (CFLAGS-recvmsg.c): Add rule.
4706         (CFLAGS-sendmsg.c): Likewise.
4707         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4708         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
4709         (CFLAGS-recvmsg.c): Remove rule.
4710         (CFLAGS-sendmsg.c): Likewise.
4711         (CFLAGS-oldrecvmsg.c): Likewise.
4712         (CFLAGS-oldsendmsg.c): Likewise.
4713         (CFLAGS-recvmmsg.c): Likewise.
4714         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
4715         to kernel defined interfaces.
4716         (msghdr.msg_controllen): Likewise.
4717         (cmsghdr.cmsg_len): Likewise.
4718         (msghdr.__glibc_reserved1): Remove member.
4719         (msghdr.__glibc_reserved2): Likewise.
4720         (cmsghdr.__glibc_reserved1): Likewise.
4721         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
4722         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
4723         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4724         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4725         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
4726         version.
4727         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4728         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
4729         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4730         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
4731         Remove recvmsg and sendmsg.
4732         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
4733         Likewise.
4734         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4735         Likewise.
4736         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4737         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4738         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4739         Likewise.
4740         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4741         Likewise.
4742         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
4743         [libc] (GLIBC_2.24): Likewise.
4744         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4745         Likewise.
4746         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4747         Likewise.
4748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4749         [libc] (GLIBC_2.24): Likewise.
4750         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4751         Likewise.
4752         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4753         Likewise.
4754         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4755         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4756         Likewise.
4757         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4758         Likewise.
4759         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4760         Likewise.
4761         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
4762         Likewise.
4763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
4764         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
4765         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
4766         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
4767         version for {recv,send,recm,sendm}msg.
4768         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4769         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4770         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4771         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4772         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4773         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4774         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4775         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4776         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4777         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4778         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4779         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4781         Likewise.
4782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4783         Likewise.
4784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4786         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4787         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4788         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4789         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4790         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4791         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4794         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4795         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4796         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4798 2016-06-10  Florian Weimer  <fweimer@redhat.com>
4800         [BZ #19564]
4801         Remove __malloc_initialize_hook from the API.
4802         * malloc/malloc.h (__malloc_initialize_hook): Remove.
4803         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
4804         #pragma GCC poison.
4805         * malloc/malloc-hooks.h: New file.
4806         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
4807         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
4808         (old__malloc_initialize_hook): Rename from
4809         __malloc_initialize_hook to evade poisoning.  Turn into compat
4810         symbol.
4811         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
4812         __malloc_initialize_hook.
4813         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
4814         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
4815         * manual/memory.texi (Hooks for Malloc): Remove
4816         __malloc_initialize_hook.  Adjust hook example.
4818 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
4820         [BZ #20235]
4821         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
4822         itself.
4823         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4824         * math/libm-test.inc (log2_test_data): Add sNaN tests.
4826         [BZ #20234]
4827         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
4828         infinity or NaN input to itself.
4830         [BZ #20233]
4831         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
4832         to itself.
4834         [BZ #20232]
4835         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
4836         itself.
4838 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4840         * sysdeps/x86_64/start.S (_start): Always indirect branch to
4841         __libc_start_main via GOT.
4843 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4845         * sysdeps/x86_64/memcopy.h: New file.
4846         * sysdeps/x86_64/wordcopy.c: Likewise.
4848 2016-06-09  Florian Weimer  <fweimer@redhat.com>
4850         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
4851         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
4852         <cstdlib>.
4853         (optimization_barrier): New.
4854         (do_test): Use it.  Call quick_exit in the global namespace.
4855         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
4856         instead of <cstdlib>, <thread>.
4857         (optimization_barrier): New.
4858         (non_main_thread): Adjust declaration.  Call optimization_barrier.
4859         Call quick_exit in the global namespace.
4860         (do_test): Call optimization_barrier.  Use pthread_create,
4861         pthread_join instead of std::thread.
4863 2016-06-09  Andreas Schwab  <schwab@suse.de>
4865         [BZ #19755]
4866         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
4867         new entries in auto-propagate mode.
4868         * nscd/grpcache.c (cache_addgr): Likewise.
4870 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4872         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
4873         New functions.
4874         (add_temp_file): Use them.
4876 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
4878         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
4880 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
4882         [BZ #20229]
4883         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
4884         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
4885         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
4887         [BZ #20228]
4888         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
4889         itself.
4890         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4891         * math/libm-test.inc (log10_test_data): Add sNaN tests.
4893         [BZ #20227]
4894         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
4895         itself.
4896         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4897         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4898         * math/libm-test.inc (log_test_data): Add sNaN tests.
4900         [BZ #20226]
4901         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
4902         itself.
4903         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4904         * math/libm-test.inc (exp_test_data): Add sNaN tests.
4905         (exp10_test_data): Likewise.
4906         (expm1_test_data): Likewise.
4908         [BZ #20225]
4909         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
4910         itself.
4911         * math/s_ldexpf.c (__ldexpf): Likewise.
4912         * math/s_ldexpl.c (__ldexpl): Likewise.
4913         * math/w_scalbln.c (__w_scalbln): Likewise.
4914         * math/w_scalblnf.c (__w_scalblnf): Likewise.
4915         * math/w_scalblnl.c (__w_scalblnl): Likewise.
4916         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
4917         (scalbln_test_data): Likewise.
4919         [BZ #20224]
4920         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
4921         argument to itself.
4922         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
4924 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4926         [BZ #19776]
4927         * sysdeps/x86_64/memcpy.S: Make it dummy.
4928         * sysdeps/x86_64/mempcpy.S: Likewise.
4929         * sysdeps/x86_64/memmove.S: New file.
4930         * sysdeps/x86_64/memmove_chk.S: Likewise.
4931         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4932         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4933         * sysdeps/x86_64/memmove.c: Removed.
4934         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4935         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4936         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
4937         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4938         Likewise.
4939         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4940         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4941         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4942         memcpy-sse2-unaligned, memmove-avx-unaligned,
4943         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
4944         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4945         (__libc_ifunc_impl_list): Replace
4946         __memmove_chk_avx512_unaligned_2 with
4947         __memmove_chk_avx512_unaligned.  Remove
4948         __memmove_chk_avx_unaligned_2.  Replace
4949         __memmove_chk_sse2_unaligned_2 with
4950         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
4951         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
4952         with __memmove_avx512_unaligned.  Replace
4953         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
4954         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
4955         with __memcpy_chk_avx512_unaligned.  Remove
4956         __memcpy_chk_avx_unaligned_2.  Replace
4957         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
4958         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
4959         Replace __memcpy_avx512_unaligned_2 with
4960         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
4961         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
4962         with __mempcpy_chk_avx512_unaligned.  Remove
4963         __mempcpy_chk_avx_unaligned_2.  Replace
4964         __mempcpy_chk_sse2_unaligned_2 with
4965         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
4966         Replace __mempcpy_avx512_unaligned_2 with
4967         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
4968         Replace __mempcpy_sse2_unaligned_2 with
4969         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
4970         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
4971         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
4972         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
4973         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
4974         (ENTRY): Removed.
4975         (END): Likewise.
4976         (ENTRY_CHK): Likewise.
4977         (libc_hidden_builtin_def): Likewise.
4978         Don't include ../memcpy.S.
4979         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
4980         __memcpy_chk_avx512_unaligned_erms and
4981         __memcpy_chk_avx512_unaligned.  Use
4982         __memcpy_chk_avx_unaligned_erms and
4983         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4984         Default to __memcpy_chk_sse2_unaligned.
4985         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4986         Change function suffix from unaligned_2 to unaligned.
4987         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
4988         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
4989         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
4990         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
4991         (ENTRY): Removed.
4992         (END): Likewise.
4993         (ENTRY_CHK): Likewise.
4994         (libc_hidden_builtin_def): Likewise.
4995         Don't include ../mempcpy.S.
4996         (mempcpy): New.  Add a weak alias.
4997         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
4998         __mempcpy_chk_avx512_unaligned_erms and
4999         __mempcpy_chk_avx512_unaligned.  Use
5000         __mempcpy_chk_avx_unaligned_erms and
5001         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5002         Default to __mempcpy_chk_sse2_unaligned.
5004 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
5006         [BZ #19881]
5007         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
5008         into ...
5009         * sysdeps/x86_64/memset.S: This.
5010         (__bzero): Removed.
5011         (__memset_tail): Likewise.
5012         (__memset_chk): Likewise.
5013         (memset): Likewise.
5014         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
5015         defined.
5016         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
5017         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
5018         (__memset_zero_constant_len_parameter): Check SHARED instead of
5019         PIC.
5020         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5021         memset-avx2 and memset-sse2-unaligned-erms.
5022         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5023         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
5024         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
5025         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5026         (__bzero): Enabled.
5027         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
5028         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
5029         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
5030         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
5031         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
5032         (memset): Removed.
5033         (__memset_chk): Likewise.
5034         (MEMSET_SYMBOL): New.
5035         (libc_hidden_builtin_def): Replace __memset_sse2 with
5036         __memset_sse2_unaligned.
5037         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
5038         __memset_chk_sse2 and __memset_chk_avx2 with
5039         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
5040         Use __memset_chk_sse2_unaligned_erms or
5041         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
5042         __memset_chk_avx512_unaligned_erms and
5043         __memset_chk_avx512_unaligned.
5045 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5047         * math/gen-auto-libm-test.c (fp_format_desc): remove
5048         suffix member.
5049         (output_generic_value): Remove usage of suffix member,
5050         and the resulting unuse of the fp_format argument.
5051         (output_for_one_input_case): Remove unused fp_format
5052         parameter.
5054         * math/auto-libm-test-out: Regenerate.
5056         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
5057         usage with TEST_COND_ibm128.
5058         (TEST_COND_flt_32): Remove.
5059         (TEST_COND_dbl_64): Remove.
5060         (TEST_COND_ldbl_96_intel): Remove.
5061         (TEST_COND_ldbl_96_m68k): Remove.
5062         (TEST_COND_ldbl_128): Remove.
5064 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5066         * auto-libm-test-in:
5067         Replace flt-32 usage with binary32.
5068         Replace dbl-64 usage with binary64.
5069         Replace ldbl-intel-96 usage with intel96.
5070         Replace ldbl-m68k-96 usage with m68k96.
5071         Replace ldbl-128ibm usage with ibm128.
5072         Replace ldbl-128 usage with binary128.
5074         * auto-libm-test-out: Regenerate.
5076 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5078         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
5079         (parse_ulps): Dynamically generate type name matching
5080         string from all_floats.
5081         (get_ulps): Generate the ulps as an array instead.
5082         (output_ulps): Dynamically compose the type based
5083         on the number of supported formats, and print
5084         the indices as type specific helper macros.
5086         * math/libm-test.inc: Remove comment about CHOOSE.
5087         (ulp_data): Generate the type in libm-test-ulps.h.
5088         (ULP_IDX): New macro.
5089         (find_ulps): Update usage of max_ulp.
5091         * math/test-double-vlen2.h (CHOOSE): Remove.
5092         * math/test-double-vlen4.h (CHOOSE): Likewise.
5093         * math/test-double-vlen8.h (CHOOSE): Likewise.
5094         * math/test-float.c (CHOOSE): Likewise.
5095         * math/test-float-finite.c (CHOOSE): Likewise.
5096         * math/test-double.c (CHOOSE): Likewise.
5097         * math/test-double-finite.c (CHOOSE): Likewise.
5098         * math/test-idouble.c (CHOOSE): Likewise.
5099         * math/test-ifloat.c (CHOOSE): Likewise.
5100         * math/test-ildoubl.c (CHOOSE): Likewise.
5101         * math/test-ldouble-finite.c (CHOOSE): Likewise.
5102         * math/test-ldouble.c (CHOOSE): Likewise.
5104         * math/test-float.h (TEST_FLOAT): Remove.
5105         * math/test-double.h (TEST_DOUBLE): Likewise.
5106         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
5108 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5110         * math/gen-libm-test.pl: (apply_lit): New subroutine.
5111         (parse_args): Strip C suffix from floating point literals
5112         typed with 'f' and wrap them with LIT().
5114         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
5115         (test_ff_f_data_nexttoward): Rename to
5116         (test_fj_f_data): New struct.
5117         (nexttoward_test_data): Relabel tests as
5118         TEST_fj_f instead of TEST_ff_f.
5120 2016-06-08  Florian Weimer  <fweimer@redhat.com>
5122         Emacs bug 23726.
5123         * malloc/malloc.c (dumped_main_arena_start): Update comment.
5124         (__libc_realloc): Correct size computation for dumped fake mmapped
5125         chunks.
5127 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
5129         [BZ #20219]
5130         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
5131         to itself.
5132         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
5134         [BZ #20218]
5135         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
5136         to itself.
5137         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
5139 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
5141         [BZ #20195]
5142         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
5143         check to ...
5144         (init_cpu_features): Here.
5146 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
5148         [BZ #20214]
5149         * sysdeps/unix/sysv/linux/bits/in.h
5150         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5151          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
5152         Define to 1.
5153         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5154          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
5155         Define to 0.
5156         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
5157         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
5159 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
5161         [BZ #20198]
5162         * stdlib/Makefile (tests): Add tst-quick_exit, and
5163         tst-thread-quick_exit.
5164         [ifeq ($(have-cxx-thread_local),yes)]
5165         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
5166         (CFLAGS-tst-thread-quick_exit.o): Likewise.
5167         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
5168         (LDLIBS-tst-thread-quick_exit): Likewise.
5169         [ifneq ($(have-cxx-thread_local),yes)]
5170         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
5171         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
5172         If run_dtors is true call __call_tls_dtors.
5173         (exit): Call __run_exit_handlers with run_dtors set to true.
5174         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
5175         definition.
5176         * stdlib/quick_exit.c (quick_exit): Remove function.
5177         (__new_quick_exit): New function.
5178         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
5179         function.
5180         * stdlib/tst-quick_exit.cc: New file.
5181         * stdlib/tst-thread-quick_exit.cc: New file.
5182         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
5183         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
5184         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
5185         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
5186         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
5187         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
5188         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
5189         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
5190         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
5191         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
5192         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
5193         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
5194         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
5195         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
5196         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
5197         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
5199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
5200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
5201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
5202         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
5203         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
5204         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
5205         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
5206         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
5207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
5208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
5209         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
5210         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
5211         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
5213 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
5215         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
5216         a typo in comments.
5218 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5220         [BZ #20213]
5221         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
5222         argument to itself.
5223         * math/libm-test.inc (asin_test_data): Add sNaN tests.
5225 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5227         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
5228         required flags.
5229         (CFLAGS-pwritev64.c): Likewise.
5230         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
5231         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5232         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
5233         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5234         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
5235         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
5236         syscall from auto-generation.
5237         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
5238         [WORDSIZE == 64] (pwritev64): Remove macro.
5239         [!PWRITEV] (PWRITEV): Likewise.
5240         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5241         [!PWRITEV] (PWRITE): Likewise.
5242         [!PWRITEV] (OFF_T): Likewise.
5243         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5244         (LO_HI_LONG): Remove macro.
5245         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
5246         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
5247         (PWRITEV): Remove macro.
5248         (PWRITEV_REPLACEMENTE): Likewise.
5249         (PWRITE): Likewise.
5250         (OFF_T): Likewise.
5251         (pwritev64): New function.
5252         * nptl/tst-cancel4.c (tf_writev): Add test.
5254         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
5255         required flags.
5256         (CFLAGS-preadv64.c): Likewise.
5257         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
5258         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5259         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
5260         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
5261         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
5262         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
5263         syscall from auto-generation.
5264         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
5265         [WORDSIZE == 64] (preadv64): Remove macro.
5266         [!PREADV] (PREADV): Likewise.
5267         [!PREADV] (PREADV_REPLACEMENT): Likewise.
5268         [!PREADV] (PREAD): Likewise.
5269         [!PREADV] (OFF_T): Likewise.
5270         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
5271         (LO_HI_LONG): Remove macro.
5272         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
5273         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
5274         (PREADV): Remove macro.
5275         (PREADV_REPLACEMENTE): Likewise.
5276         (PREAD): Likewise.
5277         (OFF_T): Likewise.
5278         (preadv64): New function.
5279         * nptl/tst-cancel4.c (tf_preadv): Add test.
5281 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5283         [BZ #20212]
5284         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
5285         argument to itself.
5286         * math/libm-test.inc (acos_test_data): Add sNaN tests.
5288 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5290         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
5291         New symbol defined as libc_hidden_def.
5292         (strcasestr): Became a weak alias to __strcasestr.
5293         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
5294         according to multi-arch support.  Move __stpncpy hidden
5295         definition from here to...
5296         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
5297         symbol stpncpy.
5298         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
5299         libc_hidden_builtin_def.
5300         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
5301         memset symbol to use when multi-arch support is available.
5303 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5305         * dlfcn/tst-rec-dlopen.c: Include string.h.
5307 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5309         * manual/install.texi: Remove mention of --without-tls
5310         * INSTALL: Regenerate.
5312 2016-06-05  Florian Weimer  <fweimer@redhat.com>
5314         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
5315         Remove.
5316         (call_function, interposed_malloc_called): New variables.
5317         (malloc): New function.
5318         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
5319         and clear call_function as needed.
5321 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
5323         * include/wchar.h (__wmemset): Use __typeof.
5325 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
5327         * include/wchar.h (__wmemset): Declare function without typeof.
5329 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
5331         [BZ #20205]
5332         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
5333         exponent when incrementing negative subnormal with low mantissa
5334         word zero.
5335         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5336         Add another test.
5338 2016-06-03  Florian Weimer  <fweimer@redhat.com>
5340         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
5341         __wmemset instead of wmemset.
5343 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
5345         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
5346         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
5347         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
5348         __USE_KERNEL_IPV6_DEFS to 0.
5349         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
5350         Update comment.
5352 2016-06-01  Florian Weimer  <fweimer@redhat.com>
5354         [BZ #19861]
5355         Do not use IFUNC resolver with potentially unrelocated symbol.
5356         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
5357         (DEFINE_FORK): Remove macro and inline definition.
5358         (fork_alias): Renamed from fork_ifunc.
5359         (__fork_alias): Renamed from __fork_ifunc.
5361 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
5363         [BZ 19653]
5364         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
5365         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
5367 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5369         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
5370         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
5371         i386-linux-gnu).
5372         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
5373         Set to no.
5374         * sysdeps/mach/hurd/configure: Refresh.
5376 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5378         [BZ #20178]
5379         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
5380         on failure instead of exit.
5382 2016-05-30  Roland McGrath  <roland@hack.frob.com>
5384         [BZ #3629]
5385         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
5386         of POSIX.1-2008.
5388 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5390         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
5391           Use PLT entry for calling _hurd_self_sigstate.
5393 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
5395         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
5396         available logical processors with SMT level type sharing L2
5397         cache for Intel processors.
5399 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5401         [BZ #20160]
5402         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
5403         argument to itself before returning the result.
5404         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5405         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5406         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5407         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5408         Likewise.
5409         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5410         Likewise.
5411         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
5412         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
5413         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5414         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5415         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5416         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5418         [BZ #20160]
5419         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
5420         argument to itself before returning the result.
5421         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5422         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5423         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5424         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
5425         Likewise.
5426         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5427         Likewise.
5428         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
5429         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
5430         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
5431         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5432         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5433         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5435 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5437         * libm-test.inc: Replace usage of M_El with
5438         (lit_e): New macro.
5440 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5442         * libm-test.inc: Replace usage of M_PI_4l with
5443         (lit_pi_4_d): New macro.
5445 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5447         * libm-test.inc: Replace usage of M_PIl with
5448         (lit_pi): New macro.
5450 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5452         * libm-test.inc: Replace usage of M_PI2l with
5453         (lit_pi_2_d): New macro.
5455         * math/test-double.h (LITM): New macro.
5456         * math/test-float.h (LITM): Likewise.
5457         * math/test-ldouble.h (LITM): Likewise.
5459 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5461         * libm-test.inc (M_PI_34l): Rename to
5462         (lit_pi_3_m_4_d): New Macro.
5463         (M_PI_34_LOG10El): Rename to
5464         (lit_pi_3_m_4_ln10_m_d): New Macro.
5465         (M_PI2_LOG10El): Rename to
5466         (lit_pi_2_ln10_m_d):  New Macro.
5467         (M_PI4_LOG10El): Rename to
5468         (lit_pi_4_ln10_m_d):  New Macro.
5469         (M_PI_LOG10El): Rename to
5470         (lit_pi_ln10_d):  New Macro.
5472 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5474         [BZ #20157]
5475         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
5476         determine whether to negate low half if [_ARCH_PPCGR], and integer
5477         comparison otherwise.
5478         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
5479         determine whether to negate low half.
5481         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
5482         (NO_TEST_INLINE_DOUBLE): Likewise.
5483         (TEST_COND_x86_64): Likewise.
5484         (TEST_COND_x86): Likewise.
5485         (M_PI_6l): Likewise.
5487 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5489         * math/libm-test.inc:
5490         (TEST_FLOAT): Change usage to TEST_COND_binary32.
5491         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
5492         (TEST_LDOUBLE): Update usage to evaluate as true if
5493         the guarded tests match the property being tested.
5494         (LDBL_MAX_EXP): Change to MAX_EXP.
5495         (LDBL_MIN_EXP): Change to MIN_EXP.
5496         (LDBL_MANT_DIG): Change to MANT_DIG, except for
5497         nexttoward tests.
5499 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5501         * math/libm-test.inc:
5502         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
5503         (TYPE_MIN): Likewise.
5504         (TYPE_TRUE_MIN): Likewise.
5505         (TYPE_MAX): Likewise.
5506         (MIN_EXP): Likewise.
5507         (MAX_EXP): Likewise.
5508         (MANT_DIG): Likewise.
5510         (FSTR_MAX): New macro.
5511         (__CONCATX): Likewise.
5512         (QTYPE_STR): Likewise.
5513         (TEST_COND_binary32): Likewise.
5514         (TEST_COND_binary64): Likewise.
5515         (TEST_COND_binary128): Likewise.
5516         (TEST_COND_ibm128): Likewise.
5517         (TEST_COND_intel96): Likewise.
5518         (TEST_COND_m68k96): Likewise.
5520         (TEST_COND_flt_32): Redefine as equivalent format test macro.
5521         (TEST_COND_dbl_64): Likewise.
5522         (TEST_COND_ldbl_96_intel): Likewise.
5523         (TEST_COND_ldbl_96_m68k): Likewise.
5524         (TEST_COND_ldbl_128): Likewise.
5525         (TEST_COND_ldbl_128ibm): Likewise.
5527         (plus_zero): Redefine using LIT macro.
5528         (minus_zero): Likewise.
5529         (plus_infty): Redefine as (INF).
5530         (minux_infty): Redefine as (-INF).
5531         (max_value): Redefine as TYPE_MAX.
5532         (min_value): Redefine as TYPE_MIN.
5533         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
5535         (print_float): Refactor to use snprintf to convert FLOAT values
5536         to string. This brings it closer to dropin replacement of strtof
5537         for the TS 18661 defined types.
5538         (update_stats): Likewise.
5539         (print_complex_function_ulps): Likewise.
5540         (print_max_error): Likewise.
5541         (print_complex_max_error): Likewise.
5542         (check_float_internal): Likewise.
5544         * math/test-float.h (PREFIX): New macro.
5545         (LIT): Likewise.
5546         (TYPE_STR): Likewise.
5547         (FTOSTR): Likewise.
5549         * math/test-double.h (PREFIX): New macro.
5550         (LIT): Likewise.
5551         (TYPE_STR): Likewise.
5552         (FTOSTR): Likewise.
5554         * math/test-ldouble.h (PREFIX): New macro.
5555         (LIT): Likewise.
5556         (TYPE_STR): Likewise.
5557         (FTOSTR): Likewise.
5559 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5561         [BZ #20156]
5562         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
5563         to itself when zero or not finite.
5564         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
5565         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5566         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
5567         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5569 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
5571         [BZ #20153]
5572         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
5573         x * x + x for infinities and NaNs.
5575         [BZ #20151]
5576         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
5577         argument to itself before returning result.
5578         (__ieee754_y0l): Likewise.
5579         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5580         (__ieee754_y1l).
5582         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
5583         (atan_test_data): Likewise.
5584         (ceil_test_data): Likewise.
5585         (cos_test_data): Likewise.
5586         (cosh_test_data): Likewise.
5587         (erf_test_data): Likewise.
5588         (exp2_test_data): Likewise.
5589         (fabs_test_data): Likewise.
5590         (floor_test_data): Likewise.
5591         (ilogb_test_data): Likewise.
5592         (j0_test_data): Likewise.
5593         (j1_test_data): Likewise.
5594         (jn_test_data): Likewise.
5595         (lgamma_test_data): Likewise.
5596         (lrint_test_data): Likewise.
5597         (llrint_test_data): Likewise.
5598         (logb_test_data): Likewise.
5599         (lround_test_data): Likewise.
5600         (llround_test_data): Likewise.
5601         (nearbyint_test_data): Likewise.
5602         (rint_test_data): Likewise.
5603         (round_test_data): Likewise.
5604         (sin_test_data): Likewise.
5605         (sincos_test_data): Likewise.
5606         (sinh_test_data): Likewise.
5607         (sqrt_test_data): Likewise.
5608         (tan_test_data): Likewise.
5609         (tanh_test_data): Likewise.
5610         (tgamma_test_data): Likewise.
5611         (trunc_test_data): Likewise.
5612         (y0_test_data): Likewise.
5613         (y1_test_data): Likewise.
5614         (yn_test_data): Likewise.
5616         * math/libm-test.inc: Update comment about NaN testing.
5617         (TEST_SNAN): New macro.
5618         (snan_value): Likewise.
5619         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
5620         (fpclassify_test_data): Add sNaN tests.
5621         (isfinite_test_data): Likewise.
5622         (isinf_test_data): Likewise.
5623         (isnan_test_data): Likewise.
5624         (isnormal_test_data): Likewise.
5625         (issignaling_test_data): Likewise.
5626         (signbit_test_data): Likewise.
5627         * math/gen-libm-test.pl (%beautify): Add snan_value.
5628         (show_exceptions): Add argument $test_snan.
5629         (parse_args): Handle snan_value as non-finite.  Update call to
5630         show_exceptions.
5631         * math/Makefile (libm-test-no-inline-cflags): Add
5632         -fsignaling-nans.
5634 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5636         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
5637         (CFLAGS-oldsendmsg.c): Add rule.
5638         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5639         Correct recvmsg symbol name.
5640         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
5641         Likewise.
5643 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5645         * sysdeps/unix/sysv/linux/Makefile
5646         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
5647         oldsendmmsg.
5648         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
5649         sendmmsg.
5650         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5651         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5652         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5653         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5655         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5656         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5658         Likewise.
5659         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5660         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
5661         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5662         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
5663         iovlen and controllen fields to adjust to POSIX specification.
5664         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5666         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
5667         and change to correct expected type.
5668         (msghdr.msg_controllen): Likewise.
5669         (cmsghdr.cmsg_len): Likewise.
5670         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
5671         expected POSIX assumption about the size.
5672         (msghdr.msg_controllen): Likewise.
5673         (msghdr.__glibc_reserved1): Likewise.
5674         (msghdr.__glibc_reserved2): Likewise.
5675         (cmsghdr.cmsg_len): Likewise.
5676         (cmsghdr.__glibc_reserved1): Likewise.
5677         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
5678         Add ptw-oldrecvmsg and ptw-oldsendmsg.
5679         (CFLAGS-sendmsg.c): Remove rule.
5680         (CFLAGS-recvmsg.c): Likewise.
5681         (CFLAGS-oldsendmsg.c): Add rule.
5682         (CFLAGS-oldrecvmsg.c): Likewise.
5683         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
5684         recvmsg and sendmsg.
5685         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
5686         Likewise.
5687         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
5688         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
5689         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5690         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
5691         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5692         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5693         Likewise.
5694         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5695         Likewise.
5696         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
5697         Likewise.
5698         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
5699         Likewise.
5700         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5701         Likewise.
5702         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5703         Likewise.
5704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
5705         (GLIBC_2.24): Likewise.
5706         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5707         Likewise.
5708         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5709         Likewise.
5710         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5711         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5712         Likewise.
5713         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5714         Likewise.
5715         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5716         Likewise.
5717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
5718         (GLIBC_2.24): Likewise.
5719         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
5720         Likewise.
5721         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
5722         Likewise.
5723         * sysdeps/unix/sysv/linux/Makefile
5724         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
5725         (CFLAGS-sendmsg.c): Add rule.
5726         (CFLAGS-recvmsg.c): Likewise.
5727         (CFLAGS-oldsendmsg.c): Likewise.
5728         (CFLAGS-oldrecvmsg.c): Likewise.
5729         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
5730         initialization.
5731         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5732         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5733         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
5734         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5735         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
5736         iovlen and controllen fields to adjust to POSIX specification.
5737         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
5738         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
5739         added recvmsg and sendmsg.
5740         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5741         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5742         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5743         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5744         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5745         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5746         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5747         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5748         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5749         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5750         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5751         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5753         Likewise.
5754         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5756         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5757         Likewise.
5758         Likewise.
5759         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5760         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5761         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5762         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5763         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5764         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5766         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5768         Likewise.
5769         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5770         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5772         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
5773         from auto-generation.
5774         (sendmsg): Likewise.
5775         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
5776         (sendmsg): Likewise.
5777         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
5778         (sendmsg): Likewise.
5779         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
5780         (sendmsg): Likewise.
5781         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
5782         (sendmsg): Likewise.
5783         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
5784         (sendmsg): Likewise.
5785         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
5786         Likewise.
5787         (sendmsg): Likewise.
5788         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
5789         (sendmsg): Likewise.
5790         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5791         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5792         Remove.
5793         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5794         Likewise.
5795         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5796         Undefine.
5797         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5798         Likewise.
5799         * sysdeps/unix/sysv/linux/kernel-features.h
5800         (__ASSUME_SENDMSG_SYSCALL): Define.
5801         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5802         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5803         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5804         Remove.
5805         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5806         Likewise.
5807         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5808         Undefine.
5809         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5810         Likewise.
5811         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5812         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5813         Remove.
5814         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5815         Likewise.
5816         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5817         Undefine.
5818         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5819         Likewise.
5820         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5821         (__ASSUME_SENDMSG_SYSCALL): Undefine.
5822         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5823         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5824         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5825         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5826         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5827         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5828         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5830 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5832         * stdlib/gen-tst-strtod-round.c: Add backslash to
5833         compile command in comment.
5834         (printfp): Remove the literal suffix, and define an infinite
5835         value as INF to avoid expansion clash with INFINITY.
5836         (round_str): Remove the literal suffix.
5837         (round_for_all): Likewise, remove the now duplicate ldbl-64
5838         entry, and remove some magic constants.
5840         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
5841         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
5842         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
5843         (_CONCAT): New macro.
5844         (CONCAT): Likewise.
5845         (CHOOSE_ld): Likewise.
5846         (CHOOSE_f): Likewise.
5847         (CHOOSE_d): Likewise.
5848         (FTYPE_MEMBER): Likewise.
5849         (BOOL_MEMBER): Likewise.
5850         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
5851         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
5852         (_XNTRY): Likewise.
5853         (XNTRY): Likewise.
5854         (_ENTRY): Likewise.
5855         (ENTRY): Likewise.
5856         (test_exactness): Generate members via macro.
5857         (test_results): Likewise.
5858         (test): Update members.
5859         (TEST): Redefine using new macros.
5860         (INF): New macro.
5861         (fetestmodes): New structure.
5862         (do_test): Refactor to be type generic.
5863         (test_in_one_mode): Refactor duplicate code into
5864         (GEN_ONE_TEST): New macro.
5866         * stdlib/tst-strtod-round-data.h: Regenerate.
5868         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
5869         Extend to pass additional arbitrary parameters to
5870         generators.
5872 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
5874         [BZ #15479]
5875         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
5876         floating-point state after first floating-point operation on
5877         input.  Restore full floating-point state instead of just rounding
5878         mode.
5879         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5880         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5881         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5882         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5883         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5885         [BZ #15479]
5886         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
5887         floating-point state after first floating-point operation on
5888         input.  Restore full floating-point state instead of just rounding
5889         mode.
5890         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5891         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5892         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5893         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5894         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5896 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5898         [BZ #19727]
5899         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
5900         valid high surrogate.
5901         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
5902         of an utf16 surrogate.
5903         * iconv/gconv_simple.c (BODY): Likewise.
5904         * iconvdata/bug-iconv12.c: New file.
5905         * iconvdata/Makefile (tests): Add bug-iconv12.
5907 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5909         [BZ #19726]
5910         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
5911         outptrp in case of an illegal input.
5912         * iconv/tst-iconv6.c: New file.
5913         * iconv/Makefile (tests): Add tst-iconv6.
5915 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5917         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
5918         an error in case of a value in range of an utf16 low surrogate.
5920 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5922         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
5923         an error in case of a value in range of an utf16 low surrogate.
5925 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5927         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
5928         Move to ...
5929         * sysdeps/s390/Makefile: ... here.
5930         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
5931         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
5932         (BRANCH_ON_COUNT): New define.
5933         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
5934         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
5935         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
5936         run on s390-32, too.
5937         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
5938         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
5939         run on s390-32, too.
5940         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
5941         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
5942         run on s390-32, too.
5944 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5946         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
5947         etf3eh or new vector loop-variant.
5949 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5951         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
5952         etf3eh or new vector loop-variant.
5954 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5956         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
5957         or new vector loop-variant.
5959 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5961         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
5962         Rename to TR_LOOP and usage of tr instead of troo instruction.
5964 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5966         * sysdeps/s390/multiarch/gconv_simple.c: New File.
5967         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
5969 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5971         * sysdeps/s390/multiarch/8bit-generic.c: New File.
5972         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
5973         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
5974         New override define.
5975         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
5977 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5979         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
5980         * sysdeps/s390/configure.ac: Add test for S390 vector register
5981         support in gcc.
5982         * sysdeps/s390/configure: Regenerated.
5984 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5986         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
5987         Install file from $(objpfx)gconv-modules.
5988         ($(objpfx)gconv-modules): Concatenate architecture specific file
5989         in variable sysdeps-gconv-modules and gconv-modules in src dir.
5990         * sysdeps/s390/gconv-modules: New file.
5991         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
5992         Deleted.
5993         ($(objpfx)gconv-modules-s390): Deleted.
5994         (sysdeps-gconv-modules): New variable.
5996 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5998         [BZ #15479]
5999         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
6000         of immediate operand to rounding instruction.
6001         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
6002         Likewise.
6003         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
6004         Likewise.
6005         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
6006         Likewise.
6008 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6010         * math/libm-test.inc (MIN_EXP): Directly define as
6011         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
6013 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6015         * math/libm-test.inc (MANT_DIG): Directly define as
6016         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
6018 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6020         * stdlib/gen-tst-strtod-round.c (main):
6021           Change usage to more closely match the generated
6022           output.  Add usage and compilation instructions.
6023           (string_to_fp): Add and use FILE* parameter as
6024           output target.
6025           (print_fp): Likewise.
6026           (round_str): Likewise.
6027           (round_for_all): Likewise.
6028         * stdlib/tst-strtod-round.c (tests): Move into
6029         * stdlib/tst-strtod-round-data.h: New file.
6031 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
6033         [BZ #15479]
6034         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
6035         (__round): Do not force "inexact" exception.
6036         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
6037         variable.
6038         (__round): Do not force "inexact" exception.
6039         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
6040         (__roundf): Do not force "inexact" exception.
6041         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
6042         (__roundl): Do not force "inexact" exception.
6043         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
6044         (__roundl): Do not force "inexact" exception.
6045         * math/libm-test.inc (round_test_data): Do not allow spurious
6046         "inexact" exceptions.
6048         [BZ #15479]
6049         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
6050         exception in comment.
6051         (huge): Remove variable.
6052         (__floor): Do not force "inexact" exception.
6053         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
6054         "inexact" exception in comment.
6055         (huge): Remove variable.
6056         (__floor): Do not force "inexact" exception.
6057         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
6058         exception in comment.
6059         (huge): Remove variable.
6060         (__floorf): Do not force "inexact" exception.
6061         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
6062         exception in comment.
6063         (huge): Remove variable.
6064         (__floorl): Do not force "inexact" exception.
6066         [BZ #15479]
6067         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
6068         exception in comment.
6069         (huge): Remove variable.
6070         (__ceil): Do not force "inexact" exception.
6071         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
6072         "inexact" exception in comment.
6073         (huge): Remove variable.
6074         (__ceil): Do not force "inexact" exception.
6075         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
6076         (__ceilf): Do not force "inexact" exception.
6077         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
6078         exception in comment.
6079         (huge): Remove variable.
6080         (__ceill): Do not force "inexact" exception.
6082 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
6084         * config.h.in (BIND_NOW): New.
6085         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
6086         * configure: Regenerated.
6087         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
6088         indirect branch via the GOT slot.
6090 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6092         [BZ #19765]
6093         * sysdeps/s390/mempcpy.S: New File.
6094         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
6095         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
6096         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6097         Add mempcpy variants.
6098         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
6099         (memcpy): Adjust to be usable from mempcpy entry point.
6100         (__memcpy_mvcle): Likewise.
6101         * sysdeps/s390/s390-64/memcpy.S: Likewise.
6102         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
6103         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
6104         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
6105         (__memcpy_z10): Likewise.
6106         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6108 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6110         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
6111         Remove __GI_ symbol.
6112         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
6113         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
6114         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
6115         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6116         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
6117         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
6119 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6121         * sysdeps/s390/s390-64/memcpy.S (memcpy):
6122         Use cghi instead of chi to compare 64bit value.
6124 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6126         * sysdeps/s390/s390-32/memcpy.S (memcpy):
6127         Jump to 1MB check before executing mvc-loop.
6129 2016-05-24  Florian Weimer  <fweimer@redhat.com>
6131         [BZ #6527]
6132         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
6133         unconditionally.
6134         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
6136 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6138         * stdlib/tst-strtod6.c (do_test): Use new type generic
6139         invocation of the test function.
6140         (test): Refactor into ...
6141         (TEST_STRTOD): New macro base function.
6143 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6145         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
6146         (TEST_STRTOD): New macro.
6147         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
6149 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6151         * stdlib/tst-strtod6.c (do_test): Use new type generic
6152         invocation of the test function.
6153         (test): Refactor into ...
6154         (TEST_STRTOD): New macro base function.
6156 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6158         CVE-2016-4429
6159         [BZ #20112]
6160         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
6161         payload.
6163 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6165         [BZ #20111]
6166         * bits/sockaddr.h (_SS_SIZE): Define.
6167         * bits/socket.h (_SS_SIZE): Remove.
6168         (_SS_PADSIZE): Adjust to account for all padding.
6169         (struct sockaddr_storage): Update comment.  Avoid implicit
6170         padding.
6171         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
6172         (_SS_PADSIZE): Adjust to account for all padding.
6173         (struct sockaddr_storage): Update comment.  Avoid implicit
6174         padding.
6175         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
6176         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
6177         (_SS_PADSIZE): Adjust to account for all padding.
6178         (struct sockaddr_storage): Update comment.  Avoid implicit
6179         padding.
6180         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
6181         __SS_SIZE is 126 in this version.
6182         * inet/tst-sockaddr.c: New file.
6183         * inet/Makefile (tests): Add tst-sockaddr.c
6184         (tst-sockaddr.c): Compile with non-strict aliasing.
6186 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
6188         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
6189         [XPG3 || XPG4].
6190         (NL_ARGMAX): Also expect for [XPG3].
6191         (NL_LANGMAX): Likewise.
6192         (NL_MSGMAX): Likewise.
6193         (NL_NMAX): Likewise.
6194         (NL_SETMAX): Likewise.
6195         (NL_TEXTMAX): Likewise.
6196         (NZERO): Likewise.
6197         (TMP_MAX): Likewise.
6198         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
6199         variable.
6201         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
6202         (PF_MAX): Update value.
6203         (AF_KCM): New macro.
6204         (SOL_NETBEUI): Likewise.
6205         (SOL_LLC): Likewise.
6206         (SOL_DCCP): Likewise.
6207         (SOL_NETLINK): Likewise.
6208         (SOL_TIPC): Likewise.
6209         (SOL_RXRPC): Likewise.
6210         (SOL_PPPOL2TP): Likewise.
6211         (SOL_BLUETOOTH): Likewise.
6212         (SOL_PNPIPE): Likewise.
6213         (SOL_RDS): Likewise.
6214         (SOL_IUCV): Likewise.
6215         (SOL_CAIF): Likewise.
6216         (SOL_ALG): Likewise.
6217         (SOL_NFC): Likewise.
6218         (SOL_KCM): Likewise.
6219         (MSG_BATCH): New enum value and macro.
6221 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
6223         [BZ #18185]
6224         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
6225         sharing L2 cache to 2 for Knights Landing.
6227 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
6229         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
6230         (FTW_DP): Do not expect for [XPG3 || XPG4].
6231         (FTW_SL): Do not expect for [XPG3].
6232         (FTW_SLN): Likewise.
6233         (FTW_PHYS): Likewise.
6234         (FTW_MOUNT): Likewise.
6235         (FTW_DEPTH): Likewise.
6236         (FTW_CHDIR): Likewise.
6237         (nftw): Likewise.
6238         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
6239         variable.
6241 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6243         * manual/errno.texi: Fix various typos & grammar errors.
6245 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6247         * manual/intro.texi: Fix duplicated typo.
6249 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6251         [BZ #13304]
6252         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
6253         <float.h>, <math_private.h> and <stdlib.h>.
6254         (add_split): New function.
6255         (mul_split): Likewise.
6256         (ext_val): New typedef.
6257         (store_ext_val): New function.
6258         (mul_ext_val): New function.
6259         (compare): New function.
6260         (add_split_ext): New function.
6261         (__fmal): After checking for Inf, NaN and zero, compute result as
6262         an exact sum of scaled double values in round-to-nearest before
6263         adding those up and adjusting for other rounding modes.
6264         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
6265         tests of fma.
6266         * math/auto-libm-test-out: Regenerated.
6268 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6270         [BZ #20119]
6271         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
6272         processor level type mask for CPUID with EAX == 11.
6274 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6276         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
6277         logical threads if the HTT bit is 0.
6278         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
6279         (index_cpu_HTT): Likewise.
6280         (reg_HTT): Likewise.
6282 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6284         [BZ #20115]
6285         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
6286         Remove alignments on jump targets.
6288 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6290         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
6291         (getpwent): Likewise.
6292         (setpwent): Likewise.
6293         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
6294         variable.
6296         * conform/data/search.h-data (insque): Do not expect for [XPG3].
6297         (remque): Likewise.
6298         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
6299         variable.
6301 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6303         * math/libm-test.inc: Update comment not to refer to signs of NaNs
6304         not being tested.
6306 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6308         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6309         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
6310         call.
6311         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6312         (__condvar_cleanup1): Likewise.
6314 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6316         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
6317         New
6318         (__pthread_unwind): Renamed to ...
6319         (PTHREAD_UNWIND): This.
6320         (__pthread_enable_asynccancel): Replace
6321         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
6323 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6325         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
6326         (CLONE_NEWCGROUP): New macro.
6328         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
6329         (Q_GETNEXTQUOTA): New macro.
6331 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6333         [BZ #19907]
6334         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
6335         buffer updated by the previous run.
6336         * string/test-memcpy.c (do_one_test): Likewise.
6337         * benchtests/bench-memmove.c (do_one_test): Add a comment.
6338         * string/test-memmove.c (do_one_test): Likewise.
6340 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
6342         [BZ #20094]
6343         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
6344         not [__USE_XOPEN].
6345         (unlockpt): Likewise.
6346         (ptsname): Likewise.
6347         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
6348         variable.
6350         [BZ #20076]
6351         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
6352         instead of [__USE_UNIX98].
6353         (S_ISSOCK): Likewise.
6354         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
6355         variable.
6357         [BZ #20074]
6358         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
6359         [__USE_POSIX].
6360         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
6361         variable.
6363         [BZ #20051]
6364         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
6365         (ttyslot): Do not declare.
6366         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
6367         (ttyslot): New prototype.
6368         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
6369         variable.
6370         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6372 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6374         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
6376 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6378         Fix race condition in tst-mallocfork2, use fewer resources.
6379         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
6380         to current process group.
6381         (signal_sender): Yield in the non-sleeping case.
6383 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
6385         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
6386         (ecvt): Likewise.
6387         (fcvt): Likewise.
6388         (gcvt): Likewise.
6389         (getsubopt): Likewise.
6390         (grantpt): Likewise.
6391         (initstate): Likewise.
6392         (l64a): Likewise.
6393         (mktemp): Likewise.
6394         (mkstemp): Likewise.
6395         (ptsname): Likewise.
6396         (random): Likewise.
6397         (realpath): Likewise.
6398         (setstate): Likewise.
6399         (srandom): Likewise.
6400         (ttyslot): Likewise.
6401         (unlockpt): Likewise.
6402         (valloc): Likewise.
6404         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
6405         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
6406         variable.
6408 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6410         [BZ #20072]
6411         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
6412         init_cpu_features only if SHARED is defined.
6413         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
6415 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6417         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
6418         non-inclusive caches on Intel processors.
6420 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6422         * malloc/malloc.c (dumped_main_arena_start)
6423         (dumped_main_arena_end): New variables.
6424         (DUMPED_MAIN_ARENA_CHUNK): New macro.
6425         (do_check_chunk): Skip dumped fake mmapped chunks.
6426         (munmap_chunk): Likewise.
6427         (__libc_free): Do not adjust statistics for fake mmapped chunks.
6428         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
6429         mmapped chunks.
6430         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
6431         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
6432         and dumped_main_arena_end to cover the dumped heap.
6434 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
6436         * conform/data/time.h-data (getdate_err): Do not expect for
6437         [XPG3].
6438         (getdate): Likewise.
6439         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
6440         variable.
6442         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
6443         (F_ULOCK): Likewise.
6444         (F_TEST): Likewise.
6445         (F_TLOCK): Likewise.
6446         (useconds_t): Likewise.
6447         (intptr_t): Do not expect for [XPG3] or [XPG4].
6448         (brk): Do not expect for [XPG3]
6449         (fchown): Likewise.
6450         (fchdir): Likewise.
6451         (ftruncate): Likewise.
6452         (getdtablesize): Likewise.
6453         (gethostid): Likewise.
6454         (getpagesize): Likewise.
6455         (getpgid): Likewise.
6456         (getsid): Likewise.
6457         (getwd): Likewise.
6458         (lchown): Likewise.
6459         (lockf): Likewise.
6460         (readlink): Likewise.
6461         (sbrk): Likewise.
6462         (setpgrp): Likewise.
6463         (setregid): Likewise.
6464         (setreuid): Likewise.
6465         (symlink): Likewise.
6466         (sync): Likewise.
6467         (truncate): Likewise.
6468         (ualarm): Likewise.
6469         (usleep): Likewise.
6470         (vfork): Likewise.
6471         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
6472         variable.
6474         [BZ #20054]
6475         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
6476         not [__USE_UNIX98].
6477         * conform/data/unistd.h-data (gethostname): Do not expect for
6478         [XPG3].
6480         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
6481         [!POSIX] (S_IFBLK): Likewise.
6482         [!POSIX] (S_IFCHR): Likewise.
6483         [!POSIX] (S_IFIFO): Likewise.
6484         [!POSIX] (S_IFREG): Likewise.
6485         [!POSIX] (S_IFDIR): Likewise.
6486         [!POSIX] (S_IFLNK): Likewise.
6487         [!POSIX] (S_IFSOCK): Likewise.
6488         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
6489         variable.
6490         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6492 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
6494         * sysdeps/aarch64/memset.S (__memset):
6495         Rewrite of optimized memset.
6497 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6499         [BZ #19703]
6500         Partially async-signal-safe fork for single-threaded processes.
6501         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
6502         variable.  Do not acquire and reset/release malloc and libio locks
6503         in single-threaded processes.
6504         * malloc/tst-mallocfork2.c: New file.
6505         * malloc/Makefile (tests): Add it.
6507 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6509         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
6510         argument.  Use scratch buffer instead of extend_alloca.
6511         (gethosts): Use scratch buffer instead of extend_alloca.
6512         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
6513         extend_alloca.
6514         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
6516 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
6518         [BZ #20055]
6519         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
6520         instead of [__USE_UNIX98].
6521         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
6522         [__USE_UNIX98].
6523         * conform/data/termios.h-data (tcgetsid): Do not expect for
6524         [XPG3].
6525         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
6526         variable.
6527         (test-xfail-XPG4/termios.h/conform): Likewise.
6529 2016-05-11  Florian Weimer  <fweimer@redhat.com>
6531         Do not use mcheck in localedef.
6532         * locale/programs/localedef.c (turn_on_mcheck)
6533         (__malloc_initialize_hook): Remove.
6535 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6537         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
6538         * sysdeps/s390/s390-64/Makefile: Likewise.
6540 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
6542         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
6543         Remove ifunc-defines.sym.
6544         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
6545         Likewise.
6546         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
6547         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
6548         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
6549         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
6550         rtld-global-offsets.sym.
6551         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
6552         * sysdeps/x86/cpu-features-offsets.sym: This.
6553         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
6554         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
6556 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
6558         [BZ #20073]
6559         * io/sys/stat.h (fchmod): Declare for
6560         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
6561         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
6562         variable.
6564         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
6565         [XPG3] (S_IFSOCK): Likewise.
6566         [XPG3] (S_ISVTX): Likewise.
6567         [XPG3] (S_ISLNK): Likewise.
6568         [XPG3] (S_ISSOCK): Likewise.
6569         [XPG3] (fchmod): Likewise.
6570         [XPG3] (lstat): Likewise.
6571         [XPG3] (mknod): Likewise.
6573         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
6574         [XPG3].  Expect type long and XFAIL for [XPG4].
6575         (st_blocks): Likewise.
6577         [BZ #20044]
6578         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
6579         (pthread_atfork): New prototype.
6580         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
6581         variable.
6583         [BZ #20043]
6584         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
6585         prototype.
6587 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6589         [BZ #20017]
6590         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
6591         gmtime.
6593 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6595         [BZ #19994]
6596         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
6597         flag in _res.options.
6599 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
6601         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
6602         [XPG3 || XPG4].
6603         (blksize_t): Likewise.
6604         (clockid_t): Likewise.
6605         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
6606         variable.
6607         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6609 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6611         * sysdeps/unix/sysv/linux/s390/init-first.c:
6612         Add VDSO_SYMBOL(getcpu).
6613         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
6614         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
6615         Add VDSO_SYMBOL(getcpu).
6616         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
6617         New define HAVE_GETCPU_VSYSCALL.
6618         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6620 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
6622         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
6623         instead of <sysdeps/x86_64/cacheinfo.c>.
6624         * sysdeps/x86_64/cacheinfo.c: Moved to ...
6625         * sysdeps/x86/cacheinfo.c: Here.
6627 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6629         * malloc/malloc-internal.h: Adjust header file guard.
6631 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6633         [BZ #19787]
6634         * inet/getnameinfo.c (check_sprintf_result): New function.
6635         (CHECKED_SNPRINTF): New macro.
6636         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
6637         to the host buffer.
6638         (gni_host_local): Use checked_copy to copy the host name.
6639         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
6640         (gni_serv_local): Use checked_copy to copy the service name.
6641         (getnameinfo): Remove unnecessary truncation of result buffers.
6643 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6645         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
6646         in case of inet_ntop failure.
6648 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6650         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
6651         avoid long lines.
6652         (gni_host_inet_numeric): Likewise.  Reduce scope of local
6653         variables.
6654         (gni_host_inet, gni_host_local): Add comment.
6655         (gni_host): Add comment.  Use temporary to avoid long lines.
6657 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6659         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
6660         registers specifiers where general purpose registers specifiers should
6661         have been used.
6663 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6665         [BZ #19779]
6666         CVE-2016-1234
6667         Avoid copying names of directory entries.
6668         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
6669         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
6670         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
6671         (struct readdir_result): New type.
6672         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
6673         (GL_READDIR): New macros.
6674         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
6675         (convert_dirent, convert_dirent64): New functions.
6676         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
6677         convert_dirent64.  Adjust references to the readdir result.
6678         * sysdeps/unix/sysv/linux/i386/glob64.c:
6679         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
6680         * posix/bug-glob2.c (LONG_NAME): Define.
6681         (filesystem): Add LONG_NAME.
6682         (my_DIR): Increase the size of room_for_dirent.
6684 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
6686         [BZ #20041]
6687         * misc/sys/select.h (__need_timespec): Only define if
6688         [__USE_XOPEN2K].
6689         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
6690         variable.
6691         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6692         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6693         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6695 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6696             Segher Boessenkool  <segher@gcc.gnu.org>
6698         [BZ #20004]
6699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
6700         (__novec_swapcontext): Add missing load.
6702 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
6704         [BZ #20023]
6705         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
6706         <time.h>.
6707         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
6708         variable.
6709         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6711 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
6714         flags CLONE_VM compare.
6716 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6718         [BZ #20031]
6719         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
6720         completely empty.
6722 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6724         [BZ #19573]
6725         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
6726         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
6727         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
6728         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
6729         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
6730         (hesiod_free_list): Mark as hidden.
6731         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
6732         res_set, res_get.
6733         * hesiod/hesiod.c: Remove unnecessary forward declarations.
6734         (init, __hesiod_res_get, __hesiod_res_set): Remove.
6735         (hesiod_init): Remove obsolete res_ninit call.
6736         (hesiod_end): Do not free resolver state.  Do not invoke callback.
6737         (hesiod_bind): Do not call init.
6738         (get_txt_records): Use res_mkquery, res_send instead of
6739         res_nmkquery, res_nsend.
6740         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
6741         instead of _nss_hesiod_init.
6742         (_nss_hesiod_initgroups_dyn): Likewise.
6743         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
6744         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
6745         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
6747 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6749         * hesiod/hesiod_p.h (DEF_RHS): Remove.
6750         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
6752 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6754         * hesiod/hesiod.h: Remove RCS keyword.
6755         * hesiod/hesiod_p.h: Likewise.
6757         * hesiod/hesiod.c: Likewise.
6759 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
6761         [BZ #12450]
6762         * locale/iso-639.def: Add Samogitian/sgs.
6764 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
6766         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
6768         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
6770 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
6771             Carlos O'Donell  <carlos@redhat.com>
6773         [BZ #19072]
6774         * grp/Makefile (headers): Add grp-merge.h
6775         (routines): Add grp-merge.
6776         * grp/getgrgid_r.c: Include grp-merge.h.
6777         (DEEPCOPY_FN): Define.
6778         (MERGE_FN): Define.
6779         * grp/getgrname_r.c: Include grp-merge.h.
6780         (DEEPCOPY_FN): Define.
6781         (MERGE_FN): Define.
6782         * grp/grp-merge.c: New file.
6783         * grp/grp-merge.h: New file.
6784         * include/grp-merge.h: New file.
6785         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
6786         __copy_grp@GLIBC_PRIVATE.
6787         * manual/nss.texi (Actions in the NSS configuration): Describe
6788         return, continue, and merge.
6789         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
6790         (DEEPCOPY_FN): Define.
6791         (MERGE_FN): Define.
6792         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
6793         (DEEPCOPY_FN): Define.
6794         (MERGE_FN): Define.
6795         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
6796         [!MERGE_FN]: Define __merge_einval.
6797         (CHECK_MERGE): Define.
6798         (REENTRANT_NAME): Process merge if do_merge is true.
6799         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
6800         (__nss_getent_r): Likewise.
6801         * nss/nsswitch.c (nss_parse_service_list): Likewise.
6802         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
6804 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6806         [BZ #20012]
6807         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
6808         length to calculate the buffer to read.
6809         (fmemopen_write): Set the buffer position based on bytes written.
6810         (fmemopen_seek): Return EINVAL for invalid whence modes.
6812         [BZ #19957]
6813         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
6814         tst-getpid2.
6815         (test): Add tst-clone2.
6816         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
6817         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
6818         pid/tid fields for CLONE_VM.
6819         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6820         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6821         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6822         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
6823         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6824         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6825         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6826         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6828         Likewise.
6829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6830         Likewise.
6831         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6832         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6833         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6834         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6835         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6836         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6837         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6838         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
6840 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6842         [BZ #19642]
6843         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
6844         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
6845         (gni_serv_local, gni_serv): New functions extracted from
6846         getnameinfo.
6847         (getnameinfo): Call gni_host and gni_serv to perform the
6848         processing.  Always free scratch buffer.
6850 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6852         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
6853         remaining bytes in the dest string, with zeros.
6855 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6857         [BZ #20010]
6858         CVE-2016-3706
6859         * sysdeps/posix/getaddrinfo.c
6860         (convert_hostent_to_gaih_addrtuple): New function.
6861         (gethosts): Call convert_hostent_to_gaih_addrtuple.
6862         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
6863         AF_INET data.
6865 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6867         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
6868         callback function gl_readdir.
6869         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
6870         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
6871         (glob_in_dir): Remove len.  Use strdup instead of malloc and
6872         memcpy to copy the name.
6873         * manual/pattern.texi (Calling Glob): Document requirements for
6874         implementations of the gl_readdir callback function.
6875         * manual/examples/mkdirent.c: New example.
6876         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
6877         per the manual guidance.
6878         * posix/tst-gnuglob.c (my_readdir): Likewise.
6880 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
6882         [BZ #20014]
6883         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
6884         not [__USE_POSIX].
6885         (getchar_unlocked): Likewise.
6886         (putc_unlocked): Likewise.
6887         (putchar_unlocked): Likewise.
6888         (flockfile): Likewise.
6889         (ftrylockfile): Likewise.
6890         (funlockfile): Likewise.
6891         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
6892         variable.
6893         (test-xfail-XPG4/stdio.h/conform): Likewise.
6895         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
6896         Expect constant.
6897         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
6898         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
6899         variable.
6900         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6901         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6903         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
6904         [__USE_LARGEFILE64] (off64_t): Likewise.
6905         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
6906         variable.
6908 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6910         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
6912 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6914         * resolv/inet_addr.c: Reindent preprocessor conditionals.
6915         * resolv/res_init.c: Likewise.
6916         * resolv/res_mkquery.c: Likewise.
6918 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6920         * resolv/res_init.c (isascii): Do not define.  Use definition in
6921         <ctype.h>.
6922         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
6923         (LOG_AUTH): Remove.
6924         (SPRINTF): Remove, adjust caller.
6925         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
6927 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6929         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
6930         SUNSECURITY conditional.
6931         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6933 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6935         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
6936         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
6937         Remove BSD-related preprocessor conditionals.
6938         * conf/portability.h: Remove.
6940 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6942         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
6943         * resolv/res_data.c: Likewise.
6945 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6947         * resolv/res_comp.c: Remove code conditional on __ultrix__.
6948         * resolv/res_data.c: Remove code conditional on ultrix.
6950 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6952         * resolv/res_init.c (RFC1535): Do not define.  Remove
6953         RFC1535 preprocessor conditionals.
6954         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
6955         because there configuration options which make the resolver
6956         behavior different.
6958 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6960         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
6961         RESOLVSORT preprocessor conditionals.
6962         * resolv/nss_dns/dns-host.c: Likewise.
6963         * resolv/res_init.c: Likewise.
6965 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6967         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
6968         is never defined.
6970 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6972         * inet/inet_lnaof.c: Remove SCSS keyword.
6973         * inet/inet_mkadr.c: Likewise.
6974         * inet/inet_net.c: Likewise.
6975         * inet/inet_netof.c: Likewise.
6976         * inet/rcmd.c: Likewise.
6977         * inet/rexec.c: Likewise.
6978         * inet/ruserpass.c: Likewise.
6980 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6982         * resolv/inet_addr.c: Remove _LIBC conditionals.
6983         * resolv/res_data.c: Likewise.
6984         * resolv/res_init.c: Likewise.
6985         * resolv/res_mkquery.c: Likewise.
6986         * resolv/res_libc.c: Update comment.
6987         * resolv/README: Update.
6989 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6991         * resolv/gethnamaddr.c: Remove SCSS keyword.
6992         * resolv/herror.c: Likewise.
6993         * resolv/inet_addr.c: Likewise.
6994         * resolv/inet_net_ntop.c: Likewise.
6995         * resolv/inet_net_pton.c: Likewise.
6996         * resolv/inet_neta.c: Likewise.
6997         * resolv/inet_ntop.c: Likewise.
6998         * resolv/inet_pton.c: Likewise.
6999         * resolv/ns_date.c: Remove RCS keyword.
7000         * resolv/ns_name.c: Likewise.
7001         * resolv/ns_netint.c: Likewise.
7002         * resolv/ns_parse.c: Likewise.
7003         * resolv/ns_print.c: Likewise.
7004         * resolv/ns_samedomain.c: Likewise.
7005         * resolv/ns_ttl.c: Likewise.
7006         * resolv/nsap_addr.c: Likewise.
7007         * resolv/res_comp.c: Remove SCSS and RCS keyword.
7008         * resolv/res_data.c: Remove RCS keyword.
7009         * resolv/res_debug.c: Remove SCSS and RCS keyword.
7010         * resolv/res_init.c: Likewise.
7011         * resolv/res_mkquery.c: Likewise.
7012         * resolv/res_query.c: Likewise.
7013         * resolv/res_send.c: Likewise.
7015 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7017         * conform/data/stdio.h-data (fdopen): Expect also for
7018         [XPG3 || XPG4].
7020         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
7021         (fseeko): Likewise.
7022         (ftello): Likewise.
7023         (ftrylockfile): Likewise.
7024         (funlockfile): Likewise.
7025         (getc_unlocked): Likewise.
7026         (getchar_unlocked): Likewise.
7027         (putc_unlocked): Likewise.
7028         (putchar_unlocked): Likewise.
7030 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7032         [BZ #19868]
7033         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
7034         DNS packet syntax checks (which were not needed before).  Skip
7035         over non-PTR records.
7037 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7039         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
7040         definition.  Include <stddef.h> instead.
7042 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7044         [BZ #19831]
7045         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
7046         function.
7047         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
7048         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
7050 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7052         [BZ #19862]
7053         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
7054         (getanswer_r): Do not call syslog.
7055         (gaih_getanswer_slice): Likewise.
7056         * resolv/gethnamaddr.c (AskedForGot): Remove.
7057         (getanswer): Do not call syslog.
7058         (gethostbyaddr): Likewise.
7060 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7062         * conform/data/signal.h-data (union sigval): Expect also if
7063         [XOPEN2K].
7064         (struct sigevent): Likewise.
7065         (SIGEV_NONE): Likewise.
7066         (SIGEV_SIGNAL): Likewise.
7067         (SIGEV_THREAD): Likewise.
7068         (SIGRTMIN): Likewise.
7069         (SIGRTMAX): Likewise.
7070         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
7071         variable.
7072         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7074 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7076         [BZ #19830]
7077         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
7078         (gaih_getanswer_slice): Likewise.
7079         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
7080         Also check for availability of RR metadata.
7082 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7084         [BZ #19825]
7085         * resolv/res_send.c (send_vc): Remove early *resplen2
7086         initialization.  Set *resplen2 on socket error.  Call
7087         close_and_return_error for other errors.
7089 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
7091         * sysdeps/unix/sysv/linux/netiucv/iucv.h
7092         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
7093         (SCM_IUCV_TRGCLS): New define.
7095 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7097         [BZ #20005]
7098         * libio/fmemopen.c (fmemopen_write): Update internal position after
7099         write.
7100         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
7101         * stdio-common/tst-fmemopen4.c: New file..
7103 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
7105         [BZ #19996]
7106         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
7107         not [__USE_XOPEN2K].
7108         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
7109         variable.
7111         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
7112         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
7113         variable.
7115         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
7116         [__USE_XOPEN2K8].
7117         [__USE_LARGEFILE64] (off64_t): Likewise.
7118         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
7119         variable.
7121 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
7123         [BZ #19989]
7124         * libio/stdio.h (cuserid): Do not declare if
7125         [__USE_XOPEN2K && !__USE_GNU].
7126         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
7127         variable.
7129 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7131         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7132         (sysdep_routines): Add P8 and PPC64 strcspn targets.
7133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7134         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
7135         ifunc'ed strcspn.
7136         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7137         [EALIGN]: Removed.
7138         [END]: Likewise
7139         [STRSPN]: Define instead of the above to control symbol name.
7140         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
7141         New file.
7142         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
7143         Likewise.
7144         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
7145         Likewise.
7146         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
7147         Likewise.
7148         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7149         [INITIAL_MASK]: New macro.
7150         [STRCSPN]: Likewise.
7151         [UPDATE_MASK]: Likewise.
7152         [USE_AS_STRCSPN]: Lisewise.
7154 2016-04-25  Florian Weimer  <fweimer@redhat.com>
7156         [BZ #19931]
7157         * stdio-common/tst-vfprintf-width-prec.c: New file.
7158         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
7159         (tests-special): Add tst-vfprintf-width-prec-mem.out.
7160         (generated): Add mtrace-related files.
7161         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
7162         (tst-%-mem.out): New pattern rule, replaces
7163         tst-printf-bz18872-mem.out.
7164         * stdio-common/vfprintf.c (vfprintf): When handling a precision
7165         specifier, deallocate any previously allocated work buffer.
7167 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
7169         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
7170         Add nop before __startcontext, add explaining comments.
7172 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
7174         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
7175         any more. Notably since IPV6_PKTINFO has been reintroduced with a
7176         completely different API.
7178         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
7179         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
7180         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
7181         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
7182         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
7183         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
7184         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
7185         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
7186         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
7187         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
7189 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
7191         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
7193 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
7195         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
7196         when it is the default of 0.
7198 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7200         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
7201         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7202         (sysdep_routines): Add new strcasestr targets.
7203         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7204         (__libc_ifunc_impl_list): Likewise.
7205         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
7206         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
7207         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
7208         * sysdeps/powerpc/powerpc64/power8/Makefile:
7209         New file to add strcasestr-ppc64 to sysdep_routines.
7210         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
7211         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
7213 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
7215         * benchtests/Makefile (wcsmbs-benchset): Include only for
7216         native builds and runs.
7217         (LOCALES): Likewise.
7218         (bench-build): Build timing-type here instead of the bench
7219         target.  Generate locale only for native builds.
7220         * benchtests/README: Add note for cross-building.
7222         * benchtests/Makefile (bench-clean): Clean up extra-objs.
7224         * benchtests/README: Update README to include instructions on
7225         using bench-build.
7227         * Makefile.in (bench-build): New target.
7228         * Rules (PHONY): Add bench-build target.
7229         * benchtests/Makefile (bench): Depend on bench-build.
7230         (bench-build): New target.
7232 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7234         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
7235         profil_reply_port.
7236         (profile_waiter): Do not initialize profil_reply_port.
7237         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
7238         frequency instead of tick length in us.
7240 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
7242         [BZ #18712]
7243         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
7244         (__old_mempcpy_small): Likewise.
7245         (__old_strcpy_small): Likewise.
7246         (__old_stpcpy_small): Likewise.
7247         (__old_strpbrk_c2): Fix compat symbol name.
7248         (__old_strpbrk_c3): Likewise.
7249         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
7250         (__mempcpy_small): Remove.
7251         (__strcpy_small): Remove.
7252         (__stpcpy_small): Remove.
7254 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
7256         [BZ #19400]
7257         * locale/iso-639.def: Add the Talossan/tzl language.
7259 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7261         [BZ #16983]
7262         * locale/programs/ld-address.c (address_finish): Update postal_fmt
7263         comment.  Add "ln" to strchr check on postal_fmt.
7265 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7267         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
7268         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
7269         tel_dom_fmt.
7271 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7273         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7274         (sysdep_routines): Added __strlen_power8.
7275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
7276         __strlen_power8 entry.
7277         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
7278         Implementation for POWER8.
7279         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
7280         for __strlen_power8.
7281         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
7282         Implementation for POWER8.
7284 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
7286         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
7288 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
7290         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
7291         Goldmont and Airmont processors.
7293 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
7295         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
7296         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
7297         (__STRING2_SMALL_GET32): Remove.
7298         (memset): Remove.
7299         (__memset_1): Remove.
7300         (__memset_gc): Remove.
7301         (__mempcpy): Remove.
7302         (mempcpy): Remove.
7303         (__mempcpy_args): Remove.
7304         (strchr): Remove.
7305         (strcpy): Remove.
7306         (strcpy_args): Remove.
7307         (__stpcpy_args): Remove.
7308         (__strcmp_cc): Remove.
7309         (__strcmp_gc): Remove.
7310         (strstr): Remove.
7312 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
7314         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
7315         * nis/nis_call.c (nis_server_cache_add): Likewise.
7317 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7319         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
7321 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7323         * malloc/arena.c (__malloc_fork_lock_parent)
7324         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
7325         internal_function attribute.
7327 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
7329         * stdio-common/printf_fp.c (__printf_fp_l):
7330         Rename ___printf_fp_l to __printf_fp_l and
7331         remove strong alias. Use libc_hidden_def instead
7332         of ldbl_hidden_def macro.
7334 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7336         Remove malloc hooks from fork handler.  They are no longer needed
7337         because malloc runs right before fork, and no malloc calls from
7338         other fork handlers are not possible anymore.
7339         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
7340         declarations.
7341         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
7342         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
7343         (atfork_recursive_cntr): Remove.
7344         (__malloc_fork_lock_parent): Do not override malloc hooks and
7345         thread_arena.
7346         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
7347         thread_arena.
7348         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
7349         thread_arena instead of save_arena.
7351 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7353         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
7354         (thread_atfork, thread_atfork_static): Remove.
7355         * sysdeps/mach/hurd/malloc-machine.h:
7356         (thread_atfork, thread_atfork_static): Remove.
7358 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7360         [BZ #19431]
7361         Run the malloc fork handler as late as possible to avoid deadlocks.
7362         * malloc/malloc-internal.h: New file.
7363         * malloc/malloc.c: Include it.
7364         * malloc/arena.c (ATFORK_MEM): Remove.
7365         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
7366         Update comment.
7367         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
7368         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
7369         Remove outdated comment.
7370         (ptmalloc_init): Do not call thread_atfork.  Remove
7371         thread_atfork_static.
7372         * malloc/tst-malloc-fork-deadlock.c: New file.
7373         * Makefile (tests): Add tst-malloc-fork-deadlock.
7374         (tst-malloc-fork-deadlock): Link against libpthread.
7375         * manual/memory.texi (Aligned Memory Blocks): Update safety
7376         annotation comments.
7377         * sysdeps/nptl/fork.c (__libc_fork): Call
7378         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7379         __malloc_fork_unlock_child.
7380         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
7382 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7384         [BZ #19613]
7385         Remove union wait.
7386         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
7387         (w_stopsig, w_stopval): Remove.
7388         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
7389         stat_loc argument.
7390         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
7391         (__WAIT_STATUS_DEFN): Remove.
7392         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7393         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
7394         (wait, wait3, wait4): Use int * for the stat_loc argument.
7395         * posix/wait.c (__wait): Likewise.
7396         * posix/wait3.c (__wait3): Likewise.
7397         * posix/wait4.c (__wait4): Likewise.
7398         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
7399         (__WAIT_STATUS_DEFN): Remove.
7400         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7401         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
7402         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
7403         argument.
7404         * sysdeps/posix/wait.c (__libc_wait): Likewise.
7405         * sysdeps/posix/wait3.c (__wait3): Likewise.
7406         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
7407         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7408         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
7409         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
7410         stat_loc argument.
7411         * manual/process.texi (BSD Wait Functions): Remove union wait.
7413 2016-04-13  Andreas Schwab  <schwab@suse.de>
7415         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
7416         (test-extras): Add tst-tlsalign-vars.
7417         * math/Makefile: Wrap long lines.
7418         (libm-vec-test-wrappers): Define.
7419         (test-extras): Add $(libm-vec-test-wrappers).
7420         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
7421         * nss/Makefile (extra-test-objs): Add nss_test1.os.
7422         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
7423         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
7424         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
7425         (extra-test-objs): Add corresponding objects.
7427 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
7429         [BZ #19928]
7430         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
7431         New.
7432         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
7433         times of shared cache size.
7434         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
7435         (VMOVNT): New.
7436         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
7437         (VMOVNT): Likewise.
7438         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
7439         (VMOVNT): Likewise.
7440         (VMOVU): Changed to movups for smaller code sizes.
7441         (VMOVA): Changed to movaps for smaller code sizes.
7442         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
7443         comments.
7444         (PREFETCH): New.
7445         (PREFETCH_SIZE): Likewise.
7446         (PREFETCHED_LOAD_SIZE): Likewise.
7447         (PREFETCH_ONE_SET): Likewise.
7448         Rewrite to use forward and backward loops, which move 4 vector
7449         registers at a time, to support overlapping addresses and use
7450         non temporal store if size is above the threshold and there is
7451         no overlap between destination and source.
7453 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
7455         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
7456         Include dl-vdso.
7457         * sysdeps/unix/sysv/linux/mips/Versions: Add
7458         __vdso_clock_gettime.
7459         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
7460         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
7461         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
7462         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
7463         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
7464         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7465         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7466         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
7467         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
7469 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7471         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
7472         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7473         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7474         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7475         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7476         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7479         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
7480         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
7481         syscalls generation.
7482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7483         [__NR_pwrite64] (__NR_write): Remove define.
7484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7485         [__NR_pwrite64] (__NR_write): Remove define.
7486         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
7487         Remove define.
7488         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
7489         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
7490         Remove define.
7491         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
7492         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
7493         Linux implementation as base.
7494         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7496         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
7497         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7498         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7499         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
7501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7502         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
7503         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
7504         syscall generation.
7505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7506         [__NR_pread64] (__NR_pread): Remove define.
7507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7508         [__NR_pread64] (__NR_pread): Likewise.
7509         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
7510         define.
7511         (__libc_pread): Use SYSCALL_LL macro on offset argument.
7512         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
7513         Remove define.
7514         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
7515         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
7516         Linux implementation as base.
7517         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7518         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7519         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7521         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
7522         definition.
7523         (__ALIGNMENT_COUNT): Likewise.
7524         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
7525         (__ALIGNMENT_COUNT): Likewise.
7526         (SYSCALL_LL): New define.
7527         (SYSCALL_LL64): Likewise.
7528         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
7529         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
7530         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
7531         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
7533         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7534         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
7535         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7536         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7537         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7538         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7540 2016-04-11  Florian Weimer  <fweimer@redhat.com>
7542         [BZ #19865]
7543         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
7544         original buffer before retry.
7546 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7548         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
7549         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
7550         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
7551         GLRO(dl_auxv) list.
7552         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
7553         including <ldsodefs.h>.
7554         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
7556 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
7558         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
7559         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
7560         $(CPPFLAGS).
7562 2016-04-09  Khem Raj  <raj.khem@gmail.com>
7564         [BZ #17950]
7565         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
7566         Add -mfpmath=387.
7568 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
7570         * sysdeps/i386/configure.ac: Change == to = when calling test.
7571         * sysdeps/x86_64/configure.ac: Likewise.
7572         * sysdeps/i386/configure: Regenerated.
7573         * sysdeps/x86_64/configure: Likewise.
7575 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
7577         [BZ #16137]
7578         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
7579         * benchtests/bench-strcoll.c (input_files): Likewise.
7580         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7581         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
7582         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
7584 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
7586         [BZ #19929]
7587         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
7588         [__USE_XOPEN2K8 && !__USE_GNU].
7589         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
7590         variable.
7592         [BZ #19925]
7593         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
7594         define if [!__USE_MISC && __USE_XOPEN2K].
7595         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
7596         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
7597         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
7598         Likewise.
7599         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
7600         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
7601         variable.
7602         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7604 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7606         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7607         (sysdep_routines): Add new strspn targets.
7608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7609         (__libc_ifunc_impl_list): Add strspn.
7610         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7611         New file.
7612         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
7613         Likewise.
7614         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
7615         Likewise.
7616         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7617         Likewise.
7619 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7621         * misc/hsearch_r.c: Include <limits.h>.
7623 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7625         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
7627 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7629         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7630         (MEMCPY_SYMBOL): New.
7631         (MEMPCPY_SYMBOL): Likewise.
7632         (MEMMOVE_CHK_SYMBOL): Likewise.
7633         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
7634         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
7635         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
7636         Provide alias for memcpy in libc.a and ld.so.
7638 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7640         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7641         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
7642         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
7643         Disabled fro now.
7644         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
7645         symbols.  Properly check USE_MULTIARCH on __memset symbols.
7647 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7649         * benchtests/Makefile (string-benchset): Add memcpy-large,
7650         memmove-large and memset-large.
7651         * benchtests/bench-memcpy-large.c: New file.
7652         * benchtests/bench-memmove-large.c: Likewise.
7653         * benchtests/bench-memmove-large.c: Likewise.
7654         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
7656 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7658         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
7659         32-bit displacement to avoid long nop between instructions.
7661 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7663         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
7664         a comment on VMOVU and VMOVA.
7666 2016-04-04  Florian Weimer  <fweimer@redhat.com>
7668         [BZ #19633]
7669         Use specified locale for number formatting in strfmon_l.
7670         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
7671         (__nl_lookup_word): New inline functions.
7672         * include/printf.h (__print_fp_l): Declare.
7673         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
7674         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
7675         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
7676         (___printf_fp): New function.
7677         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
7678         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
7679         * stdlib/tst-strfmon_l.c (do_test): New test.
7680         * stdlib/Makefile (tests): Add kt.
7681         (LOCALES): Build additional locales.
7682         (tst-strfmon_l.out): Require locales.
7684 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7686         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
7687         if not in libc.
7688         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7689         Likewise.
7690         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
7691         Likewise.
7692         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7693         Likewise.
7695 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7697         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7698         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
7699         with unaligned_erms.
7700         (__memmove_erms): Skip if source == destination.
7701         (__memmove_unaligned_erms): Don't check source == destination
7702         first.
7704 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7706         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
7707         bit_arch_Fast_Copy_Backward for Intel Core proessors.
7709 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7711         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
7712         * string/strspn.c (strspn): Likewise.
7714 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7716         * benchtests/bench-memset.c (do_test): Support 64-byte
7717         alignment.
7718         (test_main): Test 64-byte alignment.
7720 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7722         * benchtests/bench-memmove.c (test_main): Test 64-byte
7723         alignment.
7725 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7727         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
7729 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7731         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
7732         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
7733         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
7735         * string/strpbrk.c (strpbrk): Rewrite function.
7736         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
7737         (__strpbrk_c2): Likewise.
7738         (__strpbrk_c3): Likewise.
7739         * string/string-inlines.c
7740         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
7741         Likewise.
7742         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
7743         Likewise.
7745         * string/strspn.c (strcspn): Rewrite function.
7746         * string/bits/string2.h (strspn): Use __builtin_strcspn.
7747         (__strspn_c1): Remove inline function.
7748         (__strspn_c2): Likewise.
7749         (__strspn_c3): Likewise.
7750         * string/string-inlines.c
7751         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
7752         compatibility symbol.
7753         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
7754         Likewise.
7755         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
7756         Likewise.
7757         * string/string-inlines.c: Include generic version.
7759 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
7760             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7762         * string/Version (libc): Add GLIBC_2.24.
7763         * string/strcspn.c (strcspn): Rewrite function.
7764         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
7765         (__strcspn_c1): Remove inline function.
7766         (__strcspn_c2): Likewise.
7767         (__strcspn_c3): Likewise.
7768         * string/string-inline.c
7769         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
7770         compatibility symbol.
7771         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
7772         Likewise.
7773         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
7774         Likewise.
7775         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
7777 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7779         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7780         Use ahi instead of aghi to adjust stack pointer.
7782 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7784         [BZ #19853]
7785         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
7786         TEST to take significant digits as second parameter.
7787         [TEST]: Redefine in terms of TEST_N taking 30
7788         significant digits.
7789         (do_test): Add test case to demonstrate precision
7790         failure in the ldbl-128ibm printf.
7791         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
7792         (__mpn_extract_long_double): Carry 7 extra intermediate
7793         bits of precision to aide computing difference when
7794         signs differ.
7796 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7798         [BZ #19881]
7799         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7800         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
7801         memset-avx512-unaligned-erms.
7802         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7803         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
7804         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
7805         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
7806         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
7807         __memset_sse2_unaligned_erms, __memset_erms,
7808         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
7809         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7810         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
7811         file.
7812         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7813         Likewise.
7814         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
7815         Likewise.
7816         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
7817         Likewise.
7819 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7821         [BZ #19776]
7822         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7823         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
7824         memmove-avx512-unaligned-erms.
7825         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7826         (__libc_ifunc_impl_list): Test
7827         __memmove_chk_avx512_unaligned_2,
7828         __memmove_chk_avx512_unaligned_erms,
7829         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
7830         __memmove_chk_sse2_unaligned_2,
7831         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
7832         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
7833         __memmove_avx512_unaligned_erms, __memmove_erms,
7834         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
7835         __memcpy_chk_avx512_unaligned_2,
7836         __memcpy_chk_avx512_unaligned_erms,
7837         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
7838         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
7839         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
7840         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
7841         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
7842         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
7843         __mempcpy_chk_avx512_unaligned_erms,
7844         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
7845         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
7846         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
7847         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
7848         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
7849         __mempcpy_erms.
7850         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
7851         file.
7852         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7853         Likwise.
7854         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7855         Likwise.
7856         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7857         Likwise.
7859 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7861         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
7862         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
7863         (La_s390_64_regs): Likewise.
7864         (La_s390_32_retval): Append vector register lrv_v24.
7865         (La_s390_64_retval): Likeweise.
7866         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7867         Handle extended structs La_s390_32_regs and La_s390_32_retval.
7868         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7869         Handle extended structs La_s390_64_regs and La_s390_64_retval.
7871 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7873         [BZ #19916]
7874         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
7875         to create a non-vector/vector version for _dl_runtime_resolve and
7876         _dl_runtime_profile. Move implementation to ...
7877         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
7878         (_dl_runtime_resolve) Save and restore fpr/vrs.
7879         (_dl_runtime_profile) Save and restore vrs and fix some issues
7880         if _dl_call_pltexit is called.
7881         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
7882         Choose the correct resolver function if running on a machine with vx.
7883         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
7884         to create a non-vector/vector version for _dl_runtime_resolve and
7885         _dl_runtime_profile. Move implementation to ...
7886         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
7887         (_dl_runtime_resolve) Save and restore fpr/vrs.
7888         (_dl_runtime_profile) Save and restore vrs and fix some issues
7889         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
7890         Choose the correct resolver function if running on a machine with vx.
7892 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7894         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
7896 2016-03-31  Florian Weimer  <fweimer@redhat.com>
7898         [BZ #19509]
7899         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
7900         skip_map != NULL.
7901         * elf/tst-dlsym-error.c: New file.
7902         * elf/Makefile (tests): Add tst-dlsym-error.
7903         (tst-dlsym-error): Link against libdl.
7905 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
7907         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7908         (__ASSUME_FUTIMESAT): Remove macro.
7909         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
7911 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7913         [BZ #19879]
7914         CVE-2016-3075
7915         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
7916         copy name.
7918 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7920         [BZ #19837]
7921         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
7922         error if parse_line fails.
7924 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7926         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
7927         (index_cpu_ERMS): Likewise.
7928         (reg_ERMS): Likewise.
7930 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
7932         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
7933         PER_LINUX_FDPIC): Add.
7935 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7937         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7938         memcpy-avx512-no-vzeroupper.
7939         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
7940         to ...
7941         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
7942         (MEMCPY): Don't define.
7943         (MEMCPY_CHK): Likewise.
7944         (MEMPCPY): Likewise.
7945         (MEMPCPY_CHK): Likewise.
7946         (MEMPCPY_CHK): Renamed to ...
7947         (__mempcpy_chk_avx512_no_vzeroupper): This.
7948         (MEMPCPY_CHK): Renamed to ...
7949         (__mempcpy_chk_avx512_no_vzeroupper): This.
7950         (MEMCPY_CHK): Renamed to ...
7951         (__memmove_chk_avx512_no_vzeroupper): This.
7952         (MEMCPY): Renamed to ...
7953         (__memmove_avx512_no_vzeroupper): This.
7954         (__memcpy_avx512_no_vzeroupper): New alias.
7955         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
7957 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7959         [BZ #18858]
7960         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7961         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
7962         and mempcpy-avx512-no-vzeroupper.
7963         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
7964         New.
7965         (MEMPCPY): Likewise.
7966         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
7967         (MEMPCPY_CHK): New.
7968         (MEMPCPY): Likewise.
7969         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
7970         (MEMPCPY): Likewise.
7971         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
7972         (MEMPCPY): Likewise.
7973         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
7974         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
7975         Likewise.
7976         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
7977         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
7979 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7980              Amit Pawar  <Amit.Pawar@amd.com>
7982         [BZ #19583]
7983         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7984         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
7985         processors.  Set Fast_Copy_Backward for AMD Excavator
7986         processors.
7987         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
7988         New.
7989         (index_arch_Fast_Unaligned_Copy): Likewise.
7990         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
7991         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
7993 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7995         [BZ #19791]
7996         * resolv/res_send.c (close_and_return_error): New function.
7997         (send_dg): Initialize *resplen2 after reopen failure.  Call
7998         close_and_return_error for error returns.  On error paths without
7999         __res_iclose, initialze *resplen2 explicitly.  Update comment for
8000         successful return.
8002 2016-03-25  Florian Weimer  <fweimer@redhat.com>
8004         [BZ# 19860]
8005         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
8006         zero if the compiler does not provide the AVX512F bit.
8008 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
8010         [BZ #19848]
8011         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
8012         from 8 to 4.
8013         (__ieee754_powl): Compare integer exponent against 4 not 8.
8014         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
8015         from 8 to 4.
8016         (__ieee754_powl): Compare integer exponent against 4 not 8.
8017         * math/auto-libm-test-in: Add more tests of pow.
8018         * math/auto-libm-test-out: Regenerated.
8019         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
8020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8022 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8024         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
8025         Make code unconditional.
8026         [!__NR_utimensat]: Remove conditional code.
8027         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
8028         Make code unconditional.
8029         [!__NR_utimensat]: Remove conditional code.
8030         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
8031         Make code unconditional.
8032         [!__NR_utimensat]: Remove conditional code.
8034 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8036         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
8037         Make code unconditional.
8039 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
8041         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
8042         call-clobbered %eax on retry path.
8043         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8045 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8047         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
8048         Don't set %rcx twice before "rep movsb".
8050 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8052         [BZ #19583]
8053         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
8054         inline.  Check family before setting family, model and
8055         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
8056         bits here.
8057         (init_cpu_features): Replace HAS_CPU_FEATURE and
8058         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
8059         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
8060         for Intel processors with usable AVX2.  Call get_common_indeces
8061         for other processors with family == NULL.
8062         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
8063         (CPU_FEATURES_ARCH_P): Likewise.
8064         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
8065         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
8067 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8069         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
8070         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
8071         $(shared-thread-library) instead of hardcoding the path to libpthread.
8073 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
8075         * sysdeps/unix/sysv/linux/kernel-features.h
8076         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
8077         * sysdeps/unix/sysv/linux/getdents.c
8078         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
8079         [!have_no_getdents64_defined]: Likewise.
8080         (__GETDENTS): Remove __have_no_getdents64 conditional.
8082 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
8084         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
8085         Remove macro.
8086         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
8087         <kernel-features.h>.
8088         (signalfd) [__NR_signalfd4]: Make code unconditional.
8089         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
8091 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8093         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
8094         style.
8096 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8098         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
8099         (__pthread_enable_asynccancel): Use JUMPTARGET to call
8100         __pthread_unwind.
8101         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8102         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
8103         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8104         (__condvar_cleanup1): Likewise.
8106 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
8108         [BZ #19822]
8109         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
8110         move it to the final $@ location.
8112 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8114         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
8115         access where posix_spawn success and pid argument is null.
8116         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
8117         success case.
8119 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
8121         * sysdeps/mach/hurd/i386/c++-types.data: New file.
8123         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
8125         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
8126         and __fcntl.
8127         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
8128         __fcntl only.
8129         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
8130         adding attribute_hidden to __open and __fcntl.
8132         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
8133         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
8134         depend on libc-modules.h,
8135         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
8137 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
8139         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
8140         Remove macro.
8141         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
8142         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
8143         entry.
8145         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
8146         Remove macro.
8147         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
8148         include <kernel-features.h>.
8149         [!__ASSUME_FALLOCATE]: Remove conditional code.
8150         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
8152 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8154         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
8155         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
8156         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
8157         (_ZGVdN4v_cos_avx2): Likewise.
8158         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
8159         (_ZGVdN4v_cos): Likewise.
8160         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
8161         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
8162         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
8163         (_ZGVdN4v_exp_avx2): Likewise.
8164         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
8165         (_ZGVdN4v_exp): Likewise.
8166         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
8167         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
8168         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
8169         (_ZGVdN4v_log_avx2): Likewise.
8170         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
8171         (_ZGVdN4v_log): Likewise.
8172         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
8173         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
8174         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
8175         (_ZGVdN4vv_pow_avx2): Likewise.
8176         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
8177         (_ZGVdN4vv_pow): Likewise.
8178         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
8179         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
8180         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
8181         (_ZGVdN4v_sin_avx2): Likewise.
8182         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
8183         (_ZGVdN4v_sin): Likewise.
8184         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
8185         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
8186         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
8187         (_ZGVdN4vvv_sincos_avx2): Likewise.
8188         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
8189         (_ZGVdN4vvv_sincos): Likewise.
8190         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
8191         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
8192         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
8193         (_ZGVbN4v_cosf_sse4): Likewise.
8194         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
8195         (_ZGVdN8v_cosf_avx2): Likewise.
8196         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
8197         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
8198         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
8199         (_ZGVbN4v_expf_sse4): Likewise.
8200         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
8201         (_ZGVdN8v_expf_avx2): Likewise.
8202         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
8203         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
8204         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
8205         (_ZGVbN4v_logf_sse4): Likewise.
8206         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
8207         (_ZGVdN8v_logf_avx2): Likewise.
8208         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
8209         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
8210         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
8211         (_ZGVbN4vv_powf_sse4): Likewise.
8212         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
8213         (_ZGVdN8vv_powf_avx2): Likewise.
8214         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
8215         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
8216         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
8217         (_ZGVbN4vvv_sincosf_sse4): Likewise.
8218         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
8219         (_ZGVdN8vvv_sincosf_avx2): Likewise.
8220         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
8221         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
8222         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
8223         (_ZGVbN4v_sinf_sse4): Likewise.
8224         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
8225         (_ZGVdN8v_sinf_avx2): Likewise.
8226         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8227         Use JUMPTARGET to call callee.
8228         (WRAPPER_IMPL_SSE2_ff): Likewise.
8229         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8230         (WRAPPER_IMPL_AVX): Likewise.
8231         (WRAPPER_IMPL_AVX_ff): Likewise.
8232         (WRAPPER_IMPL_AVX_fFF): Likewise.
8233         (WRAPPER_IMPL_AVX512): Likewise.
8234         (WRAPPER_IMPL_AVX512_ff): Likewise.
8235         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8236         Likewise.
8237         (WRAPPER_IMPL_SSE2_ff): Likewise.
8238         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8239         (WRAPPER_IMPL_AVX): Likewise.
8240         (WRAPPER_IMPL_AVX_ff): Likewise.
8241         (WRAPPER_IMPL_AVX_fFF): Likewise.
8242         (WRAPPER_IMPL_AVX512): Likewise.
8243         (WRAPPER_IMPL_AVX512_ff): Likewise.
8244         (WRAPPER_IMPL_AVX512_fFF): Likewise.
8246 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8248         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
8249         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
8250         qualifier.
8251         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
8252         internal_function qualifiers.
8254 2016-03-15  Carlos O'Donell <carlos@redhat.com>
8256         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
8257         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
8258         * math/atest-exp.c (exp_mpn): Mark chk unused.
8259         * math/atest-exp2.c (exp_mpn): Likwise.
8260         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
8261         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
8263 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
8265         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
8266         Remove macro.
8267         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
8268         <kernel-features.h>.
8269         [__NR_ppoll]: Make code unconditional.
8270         [!__ASSUME_PPOLL]: Remove conditional code.
8272         * sysdeps/unix/sysv/linux/kernel-features.h
8273         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
8274         (__ASSUME_ACCEPT4): Likewise.
8275         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8276         Define.
8277         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
8278         Likewise.
8279         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8280         Likewise.
8281         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
8282         Likewise.
8283         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
8284         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
8285         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8286         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8287         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8288         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8289         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8290         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8291         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8292         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8293         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8294         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8295         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8296         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8297         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8298         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8299         Likewise.
8300         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8301         Likewise.
8302         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8303         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8304         0x040300].
8305         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8306         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8307         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8308         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8309         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8310         0x030300].
8311         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
8312         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8313         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8314         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8315         0x040300].
8316         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8317         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8318         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8319         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8320         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8321         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8322         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8323         0x030300].
8324         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8325         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8326         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8327         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8328         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8329         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8330         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8331         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8332         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8333         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8334         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8335         0x040300].
8336         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8337         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8338         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8339         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8340         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8341         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8342         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8343         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8344         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8345         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8346         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8347         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8348         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8349         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8350         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
8351         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8352         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8353         Likewise.
8354         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8355         Likewise.
8357 2016-03-15  Andreas Schwab  <schwab@suse.de>
8359         [BZ #19257]
8360         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
8361         statp->_u._ext.nscount as loop count.
8363 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
8365         * math/test-signgam-finite-c99.c: Also #undef
8366         __LIBC_INTERNAL_MATH_INLINES.
8367         * math/test-signgam-main.c: Likewise.
8369 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
8371         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
8372         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8373         (MADV_FREE): Likewise.
8374         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
8375         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
8376         EPOLLEXCLUSIVE.
8378 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
8380         * timezone/README: Remove mention of checktab.awk. Mention wiki
8381         SharedSourceFiles.
8383 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
8385         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
8386         WUNTRACED.
8388 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8390         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
8391         order to match the type of p when calling atomic_exchange_acq().
8393 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8395         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
8396         cfi_offset calls.
8397         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
8398         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
8399         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
8400         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
8401         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
8403 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
8405         * timezone/checktab.awk: Removed.
8407 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
8409         * manual/math.texi (Errors in Math Functions): Document relaxed
8410         accuracy goals for IBM long double.
8411         * math/libm-test.inc (test_exceptions): Always allow spurious
8412         "underflow" and "inexact" exceptions for IBM long double.
8414 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
8416         [BZ #19762]
8417         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8418         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
8419         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
8420         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
8421         (bit_arch_*): This for feature array.
8422         (bit_*): Renamed to ...
8423         (bit_cpu_*): This for cpu array.
8424         (index_*): Renamed to ...
8425         (index_arch_*): This for feature array.
8426         (index_*): Renamed to ...
8427         (index_cpu_*): This for cpu array.
8428         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
8429         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
8430         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
8431         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
8432         bit_##name with index_cpu_##name and bit_cpu_##name.
8433         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
8434         bit_##name with index_arch_##name and bit_arch_##name.
8436 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
8438         [BZ #19792]
8439         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
8440         Terminate FDE before return label.
8442 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
8444         [BZ #19790]
8445         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
8446         (rintl): Define as macro.
8447         [USE_AS_NEARBYINTL] (__rintl): Likewise.
8448         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
8449         of fesetround.  Ensure results are evaluated before end of scope.
8450         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
8451         USE_AS_NEARBYINTL and include s_rintl.c.
8452         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
8453         Disable exception traps in new environment.
8454         (libc_feholdsetround_ppc_ctx): Likewise.
8456 2016-03-08  Roland McGrath  <roland@hack.frob.com>
8458         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
8459         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
8460         (tst_audit10_aux) [__AVX512F__]: ... here.
8462 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
8464         * include/sys/auxv.h: New file.
8466 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8468         [BZ #19759]
8469         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
8471 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8473         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
8474         operand modifier.
8475         (feclearexcept): Likewise.
8477 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8479         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
8480         to reflect the entire 32-bit HWCAP.
8481         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
8482         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
8484 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8486         [BZ #19783]
8487         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
8488         $(test-via-rtld-prefix).
8489         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
8491 2016-03-08  Florian Weimer  <fweimer@redhat.com>
8493         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
8494         union wait.  Report any non-zero exit status as error.
8496 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8498         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
8499         configured with --enable-hardcoded-path-in-tests.
8501 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
8503         [BZ #19677]
8504         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8505         (__ieee754_remainderl): Put zero low parts in canonical form.
8506         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
8507         file.  Based on
8508         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
8509         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
8510         with wrapper round test-fmodrem-ldbl-128ibm.c.
8511         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
8512         file.
8513         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
8514         Likewise.
8515         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8516         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
8518 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8520         [BZ #19610]
8521         * elf/ldconfig.c (opt_link): Update comment.
8522         (options): Update help string for option -X.
8523         (search_dir): Unlink stale symbolic link only if updating symbolic
8524         links.
8525         * elf/tst-ldconfig-X.sh: New file.
8526         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
8527         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
8529 2016-03-07  Andreas Schwab  <schwab@suse.de>
8531         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
8532         needed arguments.
8534 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
8536         [BZ #15333]
8537         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
8538         to lstat64.
8540 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8542         * libio/filedoalloc.c (isatty): Remove.
8543         (local_isatty): Add comment.  Call __isatty directly.
8544         (_IO_file_doallocate): Update comment.  Assume _LIBC.
8545         * libio/wfiledoalloc.c (isatty): Remove.
8546         (_IO_wfile_doallocate): Update comment.
8548 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8550         [BZ #19269]
8551         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
8552         tst-audit4-aux.o.
8553         (tst-audit10): Depend on tst-audit10-aux.o.
8554         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
8555         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
8556         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
8557         instead of inline AVX code.
8558         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
8559         instead of inline AVX512 code.
8560         * sysdeps/x86_64/tst-audit4-aux.c: New file
8561         * sysdeps/x86_64/tst-audit10-aux.c: New file
8563         [BZ #19648]
8564         * test-skeleton.c (main): Do not set RLIMIT_DATA.
8566 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8568         [BZ #14750]
8569         [BZ #10354]
8570         [BZ #18433]
8571         * include/sched.h (__clone): Add hidden prototype.
8572         (__clone2): Likewise.
8573         * include/unistd.h (__dup): Likewise.
8574         * posix/Makefile (tests): Add tst-spawn2.
8575         * posix/tst-spawn2.c: New file.
8576         * sysdeps/posix/dup.c (__dup): Add hidden definition.
8577         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
8578         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8579         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8580         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8581         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8582         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
8583         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8584         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
8585         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8586         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8588         Likewise.
8589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8590         Likewise.
8591         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8592         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8593         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8594         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8595         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8596         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8597         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8598         * sysdeps/unix/sysv/linux/nptl-signals.h
8599         (____nptl_is_internal_signal): New function.
8600         * sysdeps/unix/sysv/linux/spawni.c: New file.
8602         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
8603         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
8604         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
8605         * posix/tst-execvp2.c (do_test): Likewise.
8606         * posix/tst-execvp3.c (do_test): Likewise.
8607         * posix/tst-execvp4.c (do_test): Likewise.
8608         * posix/tst-execvpe1.c: New file.
8609         * posix/tst-execvpe2.c: Likewise.
8610         * posix/tst-execvpe3.c: Likewise.
8611         * posix/tst-execvpe4.c: Likewise.
8612         * posix/tst-execvpe5.c: Likewise.
8613         * posix/tst-execvpe6.c: Likewise.
8615         [BZ #19534]
8616         * posix/execl.c (execl): Remove dynamic memory allocation.
8617         * posix/execle.c (execle): Likewise.
8618         * posix/execlp.c (execlp): Likewise.
8620 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8622         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
8623         Replace .text with .text.avx512.
8624         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8625         Likewise.
8627 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
8629         * sysdeps/generic/libnsl.abilist: New file.
8630         * sysdeps/generic/libutil.abilist: New file.
8632 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8634         [BZ #19762]
8635         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
8636         HAS_ARCH_FEATURE with Fast_Rep_String.
8637         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
8638         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
8639         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
8640         Likewise.
8641         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
8642         Likewise.
8643         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
8644         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
8645         Likewise.
8646         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
8647         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
8648         Likewise.
8650 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8652         [BZ #19745]
8653         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
8654         with *%rax in call.
8656 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8658         [BZ #19745]
8659         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
8660         with *__libc_start_main@GOTPCREL(%rip) in call.
8662 2016-03-04  Roland McGrath  <roland@hack.frob.com>
8664         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
8665         inside conditional for nonempty $(CXX).
8667         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
8668         nonempty.
8670         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
8671         to test for empty $(CXX) rather than $(CXX) of "no".
8673 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8675         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
8677 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
8678             H.J. Lu  <hongjiu.lu@intel.com>
8680         [BZ #18880]
8681         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
8682         instead of Slow_BSF, and also check for Fast_Copy_Backward to
8683         enable __memcpy_ssse3_back.
8685 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8687         [BZ #19758]
8688         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8689         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
8691 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8693         [BZ #19490]
8694         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
8695         (__fentry__): Likewise.
8697 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8699         * gmon/Makefile (noprof): Add $(sysdep_noprof).
8700         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
8702 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8704         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
8705         __mcount_internal directly.
8706         (C_LABEL(__fentry__)): Likewise.
8707         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
8708         directly.
8710 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8712         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8713         (__start_context): Call __setcontext directly.
8715 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
8717         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8718         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8719         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
8720         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8721         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8722         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8723         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
8724         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8725         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8726         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
8727         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8728         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8729         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8730         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8731         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8732         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8733         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
8734         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8735         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8736         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8737         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
8738         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8739         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8740         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8741         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
8742         Remove conditional code.
8743         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8744         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
8745         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8746         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8747         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
8748         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8749         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8750         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8751         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8752         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8753         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8754         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8756 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
8758         * NEWS (2.23): Fix typo in bug 19048 text.
8760 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
8762         [BZ #14259]
8763         * Makeconfig: Rename msgcatdir to localedir.
8764         Rename inst_msgcatdir to inst_localedir.
8765         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
8766         * config.make.in: Add localedir.
8767         * elf/Makefile ($(objpfx)sotruss): Use localedir.
8768         (ldd-rewrite): Likewise.
8769         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
8770         (install-others): Use inst_localedir.
8771         (CPPFLAGS): Use localedir.
8772         * locale/Makefile (locale-CPPFLAGS): Likewise.
8773         * po/Makefile (mo-installed): Use inst_localedir.
8775         [BZ #19575]
8776         * localedata/charmaps/GB18030: Update comments regarding PAU to
8777         non-PUA mappings.
8779 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
8781         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
8782         test for header.
8783         * sysdeps/unix/sysv/linux/configure: Regenerated.
8784         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
8785         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
8786         Remove conditional code.
8787         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
8789         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8790         Define to 3.2.0.
8791         (arch_minimum_kernel): Likewise.
8792         * sysdeps/unix/sysv/linux/configure: Regenerated.
8793         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
8794         Define to 2.6.32.
8795         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
8796         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
8797         (arch_minimum_kernel): Define to 2.6.32.
8798         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
8799         * README: Document Linux 3.2 requirement.
8800         * manual/install.texi (Linux): Document Linux 3.2 headers
8801         requirement.
8802         * INSTALL: Regenerated.
8804 2016-02-24  Andreas Schwab  <schwab@suse.de>
8806         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
8807         if !NO_LONG_DOUBLE.
8809 2016-02-22  Roland McGrath  <roland@hack.frob.com>
8811         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
8812         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
8814 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
8816         [BZ #19512]
8817         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
8819 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8821         * posix/tst-dir.c: Include libc-internal.h.
8823 2016-02-20  Florian Weimer  <fweimer@redhat.com>
8825         [BZ #19056]
8826         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
8827         * manual/filesys.texi (Reading/Closing Directory): Mention
8828         deprecaion.
8829         * posix/tst-dir.c (main): Disable deprecation warning in test.
8831 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
8833         [BZ #19679]
8834         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
8835         Renamed to ...
8836         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
8837         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8838         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
8839         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8840         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8841         * sysdeps/x86_64/dl-trampoline.h
8842         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8843         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8845 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8847         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
8849 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8851         * elf/elf.h (R_386_GOT32X): New.
8852         (R_386_NUM): Update.
8853         (R_X86_64_GOTPCRELX: New.
8854         (R_X86_64_REX_GOTPCRELX): New.
8855         (R_X86_64_NUM): Update.
8857 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
8859         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
8861 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
8863         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
8864         assign attr->stackaddr to it, and adjust it down when
8865         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
8866         [_STACK_GROWS_UP]: Delete assert.
8867         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
8868         Implement stack grows up logic.
8869         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
8870         stack grows up logic.
8872 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8874         * NEWS: Update with 2.24 template.
8876 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8878         [BZ #19678]
8879         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8880         Ensure +0.0 is returned when taking the next value below the least
8881         positive value.
8883 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8885         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
8886         available.  Do not define NO_THREADS.
8887         * malloc/malloc.c: Do not check NO_THREADS.
8888         * malloc/arena.c: Likewise.
8890 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8892         * malloc/malloc.c (__libc_mallinfo): Update comment.
8893         (struct malloc_par): Remove max_total_mem member, it was always 0.
8894         (int_mallinfo): Store 0 into usmblks (no functional change).
8895         * malloc/hooks.c (struct malloc_state): Document that
8896         max_total_mem is always 0.
8897         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
8898         always 0.
8899         * manual/memory.texi (Statistics of Malloc): Likewise.
8901 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8903         * malloc/malloc.c (sysmalloc): Do not update arena_max.
8904         * malloc/arena.c (arena_max): Remove.
8905         (heap_trim, _int_new_arena): Do not update arena_max.
8907 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8909         * resolv/res_init.c (res_ninit): Update comment.
8911 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8913         [BZ #19505]
8914         * posix/spawn_int.h: Add headers and include guard.
8915         (__spawn_valid_fd): New function.
8916         * posix/spawn_faction_addopen.c
8917         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
8918         * posix/spawn_faction_addclose.c
8919         (posix_spawn_file_actions_addclose): Likewise.
8920         * posix/spawn_faction_adddup2.c
8921         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
8922         second file descriptor.
8923         * posix/spawn_valid_fd.c: New file.
8924         * posix/tst-posix_spawn-fd.c: New file.
8925         * posix/Makefile (routines): Add spawn_valid_fd.
8926         (tests): Add tst-posix_spawn-fd.
8928 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8930         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
8931         (do_test): Limit the number of arenas, so that we can use fewer
8932         outer threads.  Limit timeout to 3 seconds, in preparation for a
8933         larger TIMEOUT value.
8935 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8937         [BZ #19674]
8938         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
8939         sign in overflowing and underflowing results when overflow or
8940         underflow is detected early.  Include sign in result before rather
8941         than after scaling.
8943         [BZ #19603]
8944         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8945         (__ieee754_remainderl): Adjust sign of integer version of low part
8946         when taking absolute value of high part.
8947         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8948         * math/libm-test.inc (remainder_test_data): Add another test.
8949         (remquo_test_data): Likewise.
8951 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
8953         [BZ #19602]
8954         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
8955         equal high parts and both low parts zero specially.
8956         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
8957         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8958         Add test-fmodl-ldbl-128ibm.
8960         [BZ #19595]
8961         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
8962         common logic for all cases of shifting subnormal results.  Do not
8963         insert sign bit in shifted mantissa.  Always pass -1023 as biased
8964         exponent to ldbl_insert_mantissa in subnormal case.
8966         [BZ #19594]
8967         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
8968         on high and low parts then adjust result and use
8969         ldbl_canonicalize_int if needed.
8971         [BZ #19593]
8972         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
8973         on high part and __floor or __ceil on low part then use
8974         ldbl_canonicalize_int if needed.
8976         [BZ #19592]
8977         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
8978         high and low parts then use ldbl_canonicalize_int if needed.
8980         [BZ #17899]
8981         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8982         New function.
8983         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
8984         on high and low parts then use ldbl_canonicalize_int if needed.
8986 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8988         * configure: Regenerated.
8990         * po/libc.pot: Regenerated.
8992         * po/be.po: Updated translation.
8993         * po/bg.po: Likewise.
8994         * po/ca.po: Likewise.
8995         * po/cs.po: Likewise.
8996         * po/da.po: Likewise.
8997         * po/el.po: Likewise.
8998         * po/eo.po: Likewise.
8999         * po/es.po: Likewise.
9000         * po/fi.po: Likewise.
9001         * po/fr.po: Likewise.
9002         * po/gl.po: Likewise.
9003         * po/hr.po: Likewise.
9004         * po/hu.po: Likewise.
9005         * po/ia.po: Likewise.
9006         * po/id.po: Likewise.
9007         * po/it.po: Likewise.
9008         * po/ja.po: Likewise.
9009         * po/lt.po: Likewise.
9010         * po/nb.po: Likewise.
9011         * po/nl.po: Likewise.
9012         * po/pt_BR.po: Likewise.
9013         * po/rw.po: Likewise.
9014         * po/sk.po: Likewise.
9015         * po/sl.po: Likewise.
9016         * po/sv.po: Likewise.
9017         * po/tr.po: Likewise.
9018         * po/zh_CN.po: Likewise.
9019         * po/zh_TW.po: Likewise.
9021         * version.h (RELEAES): Set to "development".
9022         (VERSION): Set to 2.23.90.
9024         * version.h (RELEASE): Set to "stable".
9025         (VERSION): Set to 2.23.
9026         * include/feature.h (__GLIBC_MINOR__): Set to 23.
9028         * NEWS: Updated fixed bugs.
9030 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
9031             Wilco Dijkstra  <wdijkstr@arm.com>
9033         [BZ #19462]
9034         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
9035         (_STRING_INLINE_unaligned): This.
9036         * include/string.h: Include <string_private.h>.
9037         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
9038         _STRING_INLINE_unaligned.
9039         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
9040         (_STRING_INLINE_unaligned): New.
9041         * sysdeps/aarch64/string_private.h: New file.
9042         * sysdeps/generic/string_private.h: Likewise.
9043         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
9044         * sysdeps/s390/string_private.h: Likewise.
9045         * sysdeps/x86/string_private.h: Likewise.
9046         * sysdeps/m68k/m680x0/m68020/bits/string.h
9047         (_STRING_ARCH_unaligned): Renamed to ...
9048         (_STRING_INLINE_unaligned): This.
9049         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
9050         to ...
9051         (_STRING_INLINE_unaligned): This.
9052         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
9053         to ...
9054         (_STRING_INLINE_unaligned): This.
9055         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
9056         to ...
9057         (_STRING_INLINE_unaligned): This.
9059 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
9060             H.J. Lu  <hongjiu.lu@intel.com>
9062         [BZ #19590]
9063         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
9064         relocation.
9066 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
9068         [BZ #18665]
9069         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
9070         *herrno_p.
9071         (gaih_getanswer): Document functional behviour. Return tryagain
9072         if any result is tryagain.
9073         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
9074         when freed.
9075         * resolv/res_send.c: Add copyright text.
9076         (__libc_res_nsend): Document that MAXPACKET is expected.
9077         (send_vc): Document. Remove buffer reuse.
9078         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
9079         size of the buffer. Add Dprint for truncated UDP buffer.
9081 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
9083         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
9084         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
9085         * INSTALL: Regenerate.
9087 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
9088             Jonathan Wakely  <jwakely@redhat.com>
9089             Carlos O'Donell  <carlos@redhat.com>
9091         [BZ 19439]
9092         * math/Makefile (tests): Add test-math-isinff.
9093         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
9094         * math/bits/mathcalls.h [__USE_MISC]: Use
9095         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
9096         functions not in C++11 and which don't conflict e.g. isinff,
9097         isinfl etc.
9098         * math/test-math-isinff.cc: New file.
9100 2016-02-12  Florian Weimer  <fweimer@redhat.com>
9102         * misc/bug18240.c (do_test): Set RLIMIT_AS.
9104 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9106         [BZ #19529]
9107         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
9109 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9111         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9113 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
9115         [BZ #19550]
9116         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
9117         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
9118         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
9119         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
9120         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
9121         New syscall entry.
9122         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
9123         New syscall entry.
9124         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
9125         syscall entry.
9127 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
9129         [BZ #18240]
9130         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
9131         unsigned int wraparound.
9133 2016-01-27  Florian Weimer  <fweimer@redhat.com>
9135         [BZ #18240]
9136         * misc/bug18240.c: New test.
9137         * misc/Makefile (tests): Add it.
9139 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
9140             Joseph Myers  <joseph@codesourcery.com>
9142         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
9143         load in branch delay slot when less than a word of input left.
9145 2016-01-27  Andreas Schwab  <schwab@suse.de>
9147         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
9148         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
9149         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
9150         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
9152 2016-01-26  David S. Miller  <davem@davemloft.net>
9154         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
9156 2016-01-25  David S. Miller  <davem@davemloft.net>
9158         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
9159         __sqrtl_finite.
9160         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
9161         instead using versioned_symbol.
9162         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
9163         of entries.
9165         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
9166         __sqrtl_finite to GLIBC_2.23
9168 2016-01-25  Ricchard Henderson  <rth@redhat.com>
9170         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9172 2016-01-25  Andreas Schwab  <schwab@suse.de>
9174         [BZ #17514]
9175         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
9176         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
9177         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
9178         * nptl/tst-mutex-errorcheck.c: New file.
9180 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9182         [BZ #18560]
9183         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
9184         (IPCOP_semop): Likewise.
9185         (IPCOP_semget): Likewise.
9186         (IPCOP_semctl): Likewise.
9187         (IPCOP_msgsnd): Likewise.
9188         (IPCOP_msgrcv): Likewise.
9189         (IPCOP_msgget): Likewise.
9190         (IPCOP_msgctl): Likewise.
9191         (IPCOP_shmat): Likewise.
9192         (IPCOP_shmdt): Likewise.
9193         (IPCOP_shmget): Likewise.
9194         (IPCOP_shmctl): Likewise.
9196 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
9198         * string/tst-endian.c: Include <libc-internal.h>.
9199         (do_test): Ignore tautological-compare warnings around
9200         "htobeXX (beXXtoh (i)) != i" and
9201         "htoleXX (leXXtoh (i)) != i" if-statements.
9203 2016-01-24  David S. Miller  <davem@davemloft.net>
9205         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
9206         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
9207         alias.
9208         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
9209         __sqrtl_finite.
9211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9213 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
9215         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
9216         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
9217         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9219 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9221         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
9222         (thread_func): Use new function to simplify barrier check.
9223         (do_test): Use new function to simplify checking barrier exit
9224         code, and actually join the child thread.
9226 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9228         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
9229         semicolon.
9230         (__libc_tend): Likewise.
9231         (__libc_tabort): Likewise.
9233 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
9235         * sysdeps/nios2/libm-test-ulps: Update.
9236         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
9237         (__gtsf2): Likewise.
9238         (__unorddf2): Likewise.
9239         (__unordsf2): Likewise.
9240         (__ledf2): Likewise.
9242 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
9244         * nis/nis_table.c (__follow_path): Disable diagnostic for
9245         uninitialized variable that is a false positive for gcc 4.7.
9246         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
9248 2016-01-20  Roland McGrath  <roland@hack.frob.com>
9250         * sysdeps/nacl/lowlevellock-futex.h
9251         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
9252         Always evaluate PRIVATE argument.
9254 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
9256         [BZ #19490]
9257         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
9258         (pthread_cond_broadcast): Use ENTRY/END
9259         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
9260         (pthread_cond_signal): Likewise.
9261         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
9262         Likewise.
9263         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
9264         Likewise.
9265         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
9266         Likewise.
9268 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
9270         * sysdeps/ieee754/dbl-64/s_finite.c
9271         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
9272         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
9273         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
9274         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
9275         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
9277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9278         (__gtsf2): Add as optional for libc.so.
9279         (__unordsf2): Likewise.
9280         (__signbit): Remove for libc.so.
9281         (__signbitl): Likewise.
9283 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9285         * iconvdata/bug-iconv11.c (test_ibm93x):
9286         Use %zu printf format specifier for size_t argument.
9288 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
9290         * math/gen-libm-test.pl (parse_ulps): Do not reduce
9291         already-recorded ulps.
9292         * sysdeps/arm/libm-test-ulps: Regenerated.
9293         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9294         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9295         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9297 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9298             Paul Pluzhnikov  <ppluzhnikov@google.com>
9300         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
9301         assembler not supporting AVX-512.
9303 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
9305         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9307 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
9309         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9310         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9312         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9314         * sysdeps/arm/libm-test-ulps: Regenerated.
9316 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9318         [BZ #19451]
9319         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
9321 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9323         [BZ #19486]
9324         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
9325         * sysdeps/generic/fix-fp-int-convert-overflow.h
9326         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
9327         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
9328         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
9329         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
9330         Likewise.
9331         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
9332         Avoid conversions to long int where inexact exceptions
9333         could be raised.
9334         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
9335         Likewise.
9336         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
9337         Avoid conversions to long long int where inexact exceptions
9338         could be raised.
9339         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
9340         Likewise.
9342 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
9344         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
9345         * configure: Regenerated.
9347 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9349         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
9351 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
9353         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
9354         outside of comment.
9356 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9358         * nptl/tst-barrier1.c: Add description on first line.
9359         * nptl/tst-barrier2.c: Likewise.
9360         * nptl/tst-barrier3.c: Likewise.
9361         * nptl/tst-barrier4.c: Likewise.
9362         * nptl/tst-barrier5.c: Likewise.
9364 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9366         [BZ #18868]
9367         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
9369 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9371         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
9372         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9373         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
9374         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
9375         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
9376         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
9377         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9378         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9379         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9380         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9381         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9383 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9385         [BZ #13065]
9386         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
9387         new implementation.
9388         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
9389         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
9390         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
9391         (BARRIER_IN_THRESHOLD): New macro.
9392         * nptl/pthread_barrierattr_setpshared.c
9393         (pthread_barrierattr_setpshared): Clean up.
9394         * nptl/tst-barrier4.c: Correct comment.
9395         * nptl/tst-barrier5.c: New file.
9396         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
9397         (gen-as-const-headers): Remove lowlevelbarrier.sym.
9398         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
9399         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
9400         * nptl/lowlevelbarrier.sym: Remove.
9401         * nptl/DESIGN-barrier.txt: Remove.
9402         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
9403         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
9404         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
9405         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
9406         error.
9407         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
9408         implementation.
9410 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9412         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
9413         (do_child): Mask SIGRTMIN while thr is running.
9415 2016-01-15  Martin Sebor  <msebor@redhat.com>
9417         [BZ #19432]
9418         * iconvdata/Makefile: Add bug-iconv11.
9419         * iconvdata/bug-iconv11.c: New test.
9420         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
9421         * iconvdata/ibm933.c: Same.
9422         * iconvdata/ibm935.c: Same.
9423         * iconvdata/ibm937.c: Same.
9424         * iconvdata/ibm939.c: Same.
9426 2016-01-15  Martin Sebor  <msebor@redhat.com>
9428         [BZ #19443]
9429         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
9430         [DEBUG] (_ufc_set_bits): Declare used.
9431         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
9432         [DEBUG] (print_all): Declare used.
9433         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
9434         operands of the ternary ?: expression to target type.
9435         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
9436         calling the undeclared abort.
9437         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
9439 2016-01-15  Martin Sebor  <msebor@redhat.com>
9441         [BZ #18755]
9442         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
9443         warnings.
9444         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
9445         (__gai_create_helper_thread): Same.
9446         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
9447         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
9448         to suppress -Wmaybe-uninitialized warnings.
9450 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
9452         [BZ #19465]
9453         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
9454         inside if.
9455         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9456         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9457         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9459 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
9461         [BZ #19466]
9462         * time/tst-mktime2.c (time_t_max): Removed.
9463         (time_t_min): Likewise.
9464         (TYPE_SIGNED): New.
9465         (TYPE_MINIMUM): Likewise.
9466         (TYPE_MAXIMUM): Likewise.
9467         (TIME_T_MIN): Likewise.
9468         (TIME_T_MAX): Likewise.
9469         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
9470         and TIME_T_MIN.
9471         (do_test): Likewise.
9473 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
9475         [BZ #19467]
9476         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9477         index_Fast_Unaligned_Load flag for Excavator family CPUs.
9479 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
9481         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
9483 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
9485         * benchtests/Makefile (PYTHON): Define.
9486         (bench-func): Use $(PYTHON) to run python scripts.
9487         ($(objpfx)bench-%.c): Likewise.
9489 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
9491         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
9492         leading slash when `file_name' is "/".
9494 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
9496         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
9497         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
9498         Likewise.
9499         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
9500         Likewise.
9501         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
9502         Likewise.
9503         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
9504         enum constant and macro.
9505         (PTRACE_SETSIGMASK): Likewise.
9506         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9507         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9508         (PTRACE_GETSIGMASK): Likewise.
9509         (PTRACE_SETSIGMASK): Likewise.
9510         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9511         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
9512         Likewise.
9513         (PTRACE_SETSIGMASK): Likewise.
9514         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9515         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9516         (PTRACE_GETSIGMASK): Likewise.
9517         (PTRACE_SETSIGMASK): Likewise.
9518         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9519         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
9520         Likewise.
9521         (PTRACE_SETSIGMASK): Likewise.
9522         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9523         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
9524         Likewise.
9525         (PTRACE_SETSIGMASK): Likewise.
9526         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9527         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
9528         Likewise.
9529         (PTRACE_SETSIGMASK): Likewise.
9530         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9532 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
9533             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9535         [BZ #19439]
9536         * math/bits/mathcalls.h
9537         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
9538         prototype.
9539         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
9541 2016-01-11  Andreas Schwab  <schwab@suse.de>
9543         [BZ #19253]
9544         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
9545         cache when TZDEFRULES was used.
9546         * time/tst-tzname.c: New file.
9547         * time/Makefile (test): Add tst-tzname.
9548         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
9549         * timezone/Makefile (test-zones): Add $(posixrules-file).
9550         ($(testdata)/$(posixrules-file)): New rule.
9552 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
9554         Fix doc quoting problems with Texinfo 5
9555         Without this change, in the info file output, Texinfo 5 quotes code
9556         in text with undirected single quotes 'like this' and generates
9557         code examples that with many PDF readers cannot be cut out of PDFs
9558         and pasted into code.
9559         * manual/libc.texinfo: Configure the libc manual like the GNU
9560         Emacs manual, by using @documentencoding and setting
9561         txicodequoteundirected and txicodequotebacktick.  This way,
9562         Texinfo 5 quotes code in text with directed single quotes ‘like
9563         this’ and produces examples that can be cut out of PDFs.  This
9564         change causes Texinfo 5 to generate info files that contain UTF-8
9565         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
9566         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
9568 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9570         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
9571         __libc_tabort, __libc_tend): New wrappers that enforce compiler
9572         barriers to their respective compiler built-ins.
9573         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
9574         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
9575         * sysdeps/powerpc/sysdep.h: Likewise.
9576         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
9577         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
9578         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
9580 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
9582         * scripts/config.guess: Revert previous shebang change.
9583         * scripts/config.sub: Likewise.
9584         * scripts/mkinstalldirs: Likewise.
9586 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9588         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
9589         PPC_FEATURE2_HAS_IEEE128.
9590         * sysdeps/powerpc/dl-procinfo.c:
9591         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
9593 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
9595         [BZ #19415]
9596         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
9597         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
9598         (_dl_lookup_address): Rewrite using function resolver trampoline.
9599         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
9600         two bits in address.
9602 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9604         * longlong.h: Change !__SHMEDIA__ to
9605         (!defined (__SHMEDIA__) || !__SHMEDIA__).
9606         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
9608 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
9609             Joseph Myers  <joseph@codesourcery.com>
9610             Mark Shinwell  <shinwell@codesourcery.com>
9611             Andrew Stubbs  <ams@codesourcery.com>
9612             Rich Felker <dalias@libc.org>
9614         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
9616 2016-01-07  Richard Henderson  <rth@redhat.com>
9618         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
9620 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9622         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
9623         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
9624         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9625         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9626         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
9628 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
9629             Joseph Myers  <joseph@codesourcery.com>
9631         * timezone/private.h: Update from tzcode 2015g.
9632         * timezone/tzfile.h: Likewise.
9633         * timezone/tzselect.ksh: Likewise.
9634         * timezone/zdump.c: Likewise.
9635         * timezone/zic.c: Likewise.
9636         * timezone/ialloc.c: Remove file.
9637         * timezone/scheck.c: Likewise.
9638         * timezone/Makefile (extra-objs): Remove variable.
9639         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
9640         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
9641         -Wno-maybe-uninitialized.
9642         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
9643         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
9644         (CFLAGS-ialloc.c): Remove variable.
9645         (CFLAGS-scheck.c): Likewise.
9646         * timezone/README: Update list of files from tzcode.
9648 2016-01-07  Khem Raj  <raj.khem@gmail.com>
9650         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
9651         instead of __fxprintf when _LIBC is undefined.
9653 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
9655         * catgets/test-gencat.sh: Remove space after shebang.
9656         * conform/GlibcConform.pm: Likewise.
9657         * conform/check-header-lists.sh: Likewise.
9658         * conform/conformtest.pl: Likewise.
9659         * conform/linknamespace.pl: Likewise.
9660         * conform/list-header-symbols.pl: Likewise.
9661         * debug/catchsegv.sh: Likewise.
9662         * elf/genrtldtbl.awk: Likewise.
9663         * elf/tst-pathopt.sh: Likewise.
9664         * elf/tst-rtld-load-self.sh: Likewise.
9665         * grp/tst_fgetgrent.sh: Likewise.
9666         * iconvdata/gen-8bit-gap-1.sh: Likewise.
9667         * iconvdata/gen-8bit-gap.sh: Likewise.
9668         * iconvdata/gen-8bit.sh: Likewise.
9669         * iconvdata/run-iconv-test.sh: Likewise.
9670         * intl/tst-gettext.sh: Likewise.
9671         * intl/tst-gettext2.sh: Likewise.
9672         * intl/tst-gettext4.sh: Likewise.
9673         * intl/tst-gettext6.sh: Likewise.
9674         * intl/tst-translit.sh: Likewise.
9675         * io/ftwtest-sh: Likewise.
9676         * libio/test-freopen.sh: Likewise.
9677         * locale/gen-translit.pl: Likewise.
9678         * malloc/tst-mtrace.sh: Likewise.
9679         * manual/check-safety.sh: Likewise.
9680         * manual/libc-texinfo.sh: Likewise.
9681         * manual/tsort.awk: Likewise.
9682         * manual/xtract-typefun.awk: Likewise.
9683         * nptl/tst-cancel-wrappers.sh: Likewise.
9684         * nptl/tst-tls6.sh: Likewise.
9685         * posix/globtest.sh: Likewise.
9686         * posix/tst-getconf.sh: Likewise.
9687         * posix/wordexp-tst.sh: Likewise.
9688         * scripts/check-c++-types.sh: Likewise.
9689         * scripts/check-local-headers.sh: Likewise.
9690         * scripts/config.guess: Likewise.
9691         * scripts/config.sub: Likewise.
9692         * scripts/cpp: Likewise.
9693         * scripts/cross-test-ssh.sh: Likewise.
9694         * scripts/documented.sh: Likewise.
9695         * scripts/evaluate-test.sh: Likewise.
9696         * scripts/gen-libc-abis: Likewise.
9697         * scripts/gen-sorted.awk: Likewise.
9698         * scripts/list-fixed-bugs.py: Likewise.
9699         * scripts/merge-test-results.sh: Likewise.
9700         * scripts/mkinstalldirs: Likewise.
9701         * scripts/rellns-sh: Likewise.
9702         * scripts/test-installation.pl: Likewise.
9703         * scripts/update-copyrights: Likewise.
9704         * stdio-common/tst-printf.sh: Likewise.
9705         * stdio-common/tst-unbputc.sh: Likewise.
9706         * stdlib/tst-fmtmsg.sh: Likewise.
9707         * stdlib/tst-setcontext3.sh: Likewise.
9708         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
9709         * sysdeps/unix/make-syscalls.sh: Likewise.
9711 2016-01-06  John David Anglin  <dave.anglin@bell.net>
9713         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
9714         asm stw with atomic_exchange_rel.  Add explanatory comment.
9715         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
9716         Likewise.
9718 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9720         [BZ #19122]
9721         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
9722         * sysdeps/generic/dl-unistd.h: New file.
9723         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
9725 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9727          [BZ #19122]
9728          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
9729          * sysdeps/generic/dl-mman.h: New file.
9730          * sysdeps/mach/hurd/dl-mman.h: Likewise.
9732 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
9734         * manual/texinfo.tex: Update to version 2016-01-04.21 with
9735         trailing whitespace removed.
9736         * scripts/config.guess: Update to version 2016-01-01.
9737         * scripts/config.sub: Update to version 2016-01-01.
9738         * scripts/move-if-change: Update from gnulib.
9740 2016-01-04  Anton Blanchard  <anton@samba.org>
9742         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
9743         for array indices.
9744         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
9746 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
9748         * NEWS: Update copyright dates.
9749         * catgets/gencat.c (print_version): Likewise.
9750         * csu/version.c (banner): Likewise.
9751         * debug/catchsegv.sh: Likewise.
9752         * debug/pcprofiledump.c (print_version): Likewise.
9753         * debug/xtrace.sh (do_version): Likewise.
9754         * elf/ldconfig.c (print_version): Likewise.
9755         * elf/ldd.bash.in: Likewise.
9756         * elf/pldd.c (print_version): Likewise.
9757         * elf/sotruss.sh: Likewise.
9758         * elf/sprof.c (print_version): Likewise.
9759         * iconv/iconv_prog.c (print_version): Likewise.
9760         * iconv/iconvconfig.c (print_version): Likewise.
9761         * locale/programs/locale.c (print_version): Likewise.
9762         * locale/programs/localedef.c (print_version): Likewise.
9763         * login/programs/pt_chown.c (print_version): Likewise.
9764         * malloc/memusage.sh (do_version): Likewise.
9765         * malloc/memusagestat.c (print_version): Likewise.
9766         * malloc/mtrace.pl: Likewise.
9767         * manual/libc.texinfo: Likewise.
9768         * nptl/version.c (banner): Likewise.
9769         * nscd/nscd.c (print_version): Likewise.
9770         * nss/getent.c (print_version): Likewise.
9771         * nss/makedb.c (print_version): Likewise.
9772         * posix/getconf.c (main): Likewise.
9773         * scripts/test-installation.pl: Likewise.
9774         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9776         * All files with FSF copyright notices: Update copyright dates
9777         using scripts/update-copyrights.
9778         * intl/plural.c: Regenerated.
9779         * locale/programs/charmap-kw.h: Likewise.
9780         * locale/programs/locfile-kw.h: Likewise.
9782 2016-01-02  Helge Deller  <deller@gmx.de>
9784         [BZ #19285]
9785         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
9786         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
9787         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
9788         (MADV_xxK_PAGES): Remove.
9790 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
9792         [BZ #15421]
9793         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
9794         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
9795         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
9796         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
9798 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
9800         [BZ #19408]
9801         * sysdeps/unix/sysv/linux/personality.c: New file.
9802         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
9803         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
9804         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
9805         (sysdep_routines): Add personality.
9806         (tests): Add tst-personality.
9807         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
9808         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
9809         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
9810         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
9811         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
9812         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
9813         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
9814         Likewise.
9815         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
9816         Likewise.
9817         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
9818         Likewise.
9819         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
9820         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
9821         Likewise.
9823 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
9825         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
9826         (PATH_ARM_SYSTYPE): Remove.
9827         (PATH_CPUINFO): Likewise.
9828         (IO_BASE_FOOTBRIDGE): Likewise.
9829         (IO_SHIFT_FOOTBRIDGE): Likewise.
9830         (struct platform): Likewise.
9831         (init_iosys): Remove compatibility code for 2.4 kernels.
9832         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
9834 2015-12-29  Florian Weimer  <fweimer@redhat.com>
9836         * malloc/tst-malloc-thread-fail.c: New file.
9837         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
9838         (tst-malloc-thread-fail): Link against libpthread.
9840 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
9842         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
9843         (get_parser): New function.
9844         (main): New function.
9846 2015-12-29  Rob Wu  <rob@robwu.nl>
9848         [BZ #19369]
9849         * resolv/res_init.c (__res_vinit): Reset defdname before use.
9851 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
9853         [BZ #19270]
9854         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9856 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
9858         [BZ #15421]
9859         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
9861 2015-12-23  Torvald Riegel  <triegel@redhat.com>
9863         [BZ #13690]
9864         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
9865         after releasing it.
9866         (__lll_robust_unlock): Likewise.
9867         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9868         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
9869         (lll_robust_unlock): Likewise.
9870         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
9871         Prevent warnings in callers.
9873 2015-12-23  Florian Weimer  <fweimer@redhat.com>
9875         * malloc/arena.c (list_lock): Update comment.
9877 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9879         * sysdeps/powerpc/hwcapinfo.c: Export symbol
9880         __parse_hwcap_and_convert_at_platform to libc.a.
9882 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9884         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
9885         platform and feature support for POWER9.
9886         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9887         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
9888         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
9889         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
9890         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
9891         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
9892         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
9893         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
9895 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9897         Harmonize generic stdio-lock support with nptl
9899         This fixes build when _IO_funlockfile is a macro, fixes build where
9900         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
9901         stack unwind.
9903         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
9904         _IO_release_lock ): Use cleanup attribute on new
9905         _IO_acquire_lock_file variable instead of assuming that
9906         _IO_release_lock will be called.
9907         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
9908         _IO_acquire_lock_needs_exceptions_enabled.
9909         (_IO_acquire_lock_clear_flags2): New macro.
9911 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9913         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9915 2015-12-21  Florian Weimer  <fweimer@redhat.com>
9917         [BZ #19182]
9918         * malloc/arena.c (list_lock): Document lock ordering requirements.
9919         (free_list_lock): New lock.
9920         (ptmalloc_lock_all): Comment on free_list_lock.
9921         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
9922         (detach_arena): Update comment.  free_list_lock is now needed.
9923         (_int_new_arena): Use free_list_lock around detach_arena call.
9924         Acquire arena lock after list_lock.  Add comment, including FIXME
9925         about incorrect synchronization.
9926         (get_free_list): Switch to free_list_lock.
9927         (reused_arena): Acquire free_list_lock around detach_arena call
9928         and attached threads counter update.  Add two FIXMEs about
9929         incorrect synchronization.
9930         (arena_thread_freeres): Switch to free_list_lock.
9931         * malloc/malloc.c (struct malloc_state): Update comments to
9932         mention free_list_lock.
9934 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9936         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
9937         Remove functions.
9938         (sloww, sloww1): Accept argument to offset quadrant.
9939         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
9940         quadrant.
9941         (__sin, __cos): Consolidate common code into new functions.
9942         (reduce_sincos_1, do_sincos_1): New functions.
9943         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9945         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
9946         code to new functions.
9947         (reduce_sincos_2, do_sincos_2): New functions.
9948         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9950         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
9951         common code for sincos.
9952         (__cos) [!IN_SINCOS]: Likewise.
9953         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
9954         New function.
9955         (__sincos): Use it.
9957 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
9959         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
9960         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
9961         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9963 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9965         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
9966         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
9967         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9968         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
9969         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9970         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
9971         index_Prefer_No_VZEROUPPER): New feature.
9972         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
9973         Prefer_No_VZEROUPPER for Knights Landing.
9975 015-12-18  Torvald Riegel  <triegel@redhat.com>
9977         * math/atest-exp2.c (mp_exp_m1): Remove.
9979 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9981         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
9982         syscalls.
9983         (__SYSCALL0): New macro.
9984         (__SYSCALL1): Likewise.
9985         (__SYSCALL2): Likewise.
9986         (__SYSCALL3): Likewise.
9987         (__SYSCALL4): Likewise.
9988         (__SYSCALL5): Likewise.
9989         (__SYSCALL6): Likewise.
9990         (__SYSCALL_CONCAT_X): Likewise.
9991         (__SYSCALL_CONCAT): Likewise.
9992         (__SYSCALL_DIST): Likewise.
9993         (__SYSCALL_CALL): Likewise.
9995 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
9997         [BZ #19363]
9998         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
10000 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10002         [BZ #19375]
10003         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
10004         negative subnormals.
10006 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
10008         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10009         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
10010         (INTERNAL_SYSCALL_NCS): Use it.
10011         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10013 2015-12-16  Florian Weimer  <fweimer@redhat.com>
10015         [BZ #19243]
10016         * malloc/arena.c (get_free_list): Remove assert and adjust
10017         reference count handling.  Add comment about reused_arena
10018         interaction.
10019         (reused_arena): Add comments abount get_free_list interaction.
10020         * malloc/tst-malloc-thread-exit.c: New file.
10021         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
10022         (tst-malloc-thread-exit): Link against libpthread.
10024 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10026         [BZ #19367]
10027         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
10028         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
10029         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
10030         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
10031         (index_Prefer_MAP_32BIT_EXEC): Likewise.
10033 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10035         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
10036         Silvermont optimizations for Knights Landing.
10038 2015-12-15  Andreas Schwab  <schwab@suse.de>
10040         [BZ #17197]
10041         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
10042         immediately after emitting SI.
10043         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
10044         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
10045         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
10046         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
10047         * iconvdata/bug-iconv10.c: New file.
10048         * iconvdata/Makefile (tests): Add bug-iconv10.
10049         ($(objpfx)bug-iconv10.out): New rule.
10051 2015-12-15  Florian Weimer  <fweimer@redhat.com>
10053         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
10054         aliasing violation.
10056 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
10058         [BZ #18472]
10059         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
10060         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
10061         conditionals for them.
10062         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
10063         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
10064         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
10065         sys/kdaemon.h.
10066         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
10067         compat-only syscall, obsoleted in glibc 2.23.
10068         (create_module): Likewise.
10069         (get_kernel_syms): Likewise.
10070         (query_module): Likewise.
10071         (uselib): Likewise.
10072         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
10074 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
10076         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
10077         <linux/version.h>.
10078         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
10079         conditional code.
10080         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
10081         and ioshift_name initialization.
10083 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10085         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10086         Fix indentation.
10088 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10090         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
10092 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10094         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
10096 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
10097             Jakub Wilk  <jwilk@debian.org>
10099         [BZ #19347]
10100         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
10101         to change the group of the device to the tty group.
10103 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
10105         Split large string section; add truncation advice
10106         * manual/examples/strncat.c: Remove.
10107         This example was misleading, as the code would have undefined
10108         behavior if "hello" was longer than SIZE.  Anyway, the manual
10109         shouldn't encourage strncpy+strncat for this sort of thing.
10110         * manual/string.texi (Copying Strings and Arrays): Split into
10111         three sections Copying Strings and Arrays, Concatenating Strings,
10112         and Truncating Strings, as this section was way too long.  All
10113         cross-referenced changed.  Add advice about string-truncation
10114         functions.  Remove misleading strncat example.
10116 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
10118         * manual/nss.texi (NSS Modules Interface): Document
10119         NSS_STATUS_NOTFOUND and SUCCESS.
10121 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10123         [BZ 18568]
10124         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
10125         201505L, for Unicode 8.
10127 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
10129         * locale/C-translit.h: Regenerate.
10131 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10133         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
10134         and U+0153.
10136 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
10138         [BZ #19351]
10139         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
10140         expanding log(1+z), compare z rather than its square with epsilon
10141         to determine when to avoid evaluating the expansion.
10143         [BZ #19350]
10144         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10145         Increase overflow threshold.
10147         [BZ #19349]
10148         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
10149         when small.
10151         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10152         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10153         New macro.
10154         [__LINUX_KERNEL_VERSION >= 0x040300]
10155         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10156         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10157         Likewise.
10158         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10159         Likewise.
10160         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10161         Likewise.
10162         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10163         Likewise.
10164         [__LINUX_KERNEL_VERSION >= 0x040300]
10165         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10166         [__LINUX_KERNEL_VERSION >= 0x040300]
10167         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10168         [__LINUX_KERNEL_VERSION >= 0x040300]
10169         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10170         [__LINUX_KERNEL_VERSION >= 0x040300]
10171         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10172         [__LINUX_KERNEL_VERSION >= 0x040300]
10173         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10174         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10175         Likewise.
10176         [__LINUX_KERNEL_VERSION >= 0x040300]
10177         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10178         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10179         Likewise.
10180         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10181         Likewise.
10182         [__LINUX_KERNEL_VERSION >= 0x040300]
10183         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10184         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10185         Likewise.
10186         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10187         Likewise.
10188         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10189         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
10190         Likewise.
10191         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
10192         Likewise.
10193         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10194         Likewise.
10195         [__LINUX_KERNEL_VERSION >= 0x040300]
10196         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10197         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10198         Likewise.
10199         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10200         Likewise.
10201         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10202         Likewise.
10203         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10204         Likewise.
10205         [__LINUX_KERNEL_VERSION >= 0x040300]
10206         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10207         [__LINUX_KERNEL_VERSION >= 0x040300]
10208         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10209         [__LINUX_KERNEL_VERSION >= 0x040300]
10210         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10211         [__LINUX_KERNEL_VERSION >= 0x040300]
10212         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10213         [__LINUX_KERNEL_VERSION >= 0x040300]
10214         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10215         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10216         Likewise.
10217         [__LINUX_KERNEL_VERSION >= 0x040300]
10218         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10219         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10220         Likewise.
10221         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10222         Likewise.
10223         [__LINUX_KERNEL_VERSION >= 0x040300]
10224         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10225         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10226         Likewise.
10227         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10228         Likewise.
10229         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10230         (__ASSUME_SOCKET_SYSCALL): Likewise.
10231         (__ASSUME_BIND_SYSCALL): Likewise.
10232         (__ASSUME_CONNECT_SYSCALL): Likewise.
10233         (__ASSUME_LISTEN_SYSCALL): Likewise.
10234         (__ASSUME_ACCEPT_SYSCALL): Likewise.
10235         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10236         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10237         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10238         (__ASSUME_SEND_SYSCALL): Likewise.
10239         (__ASSUME_SENDTO_SYSCALL): Likewise.
10240         (__ASSUME_RECV_SYSCALL): Likewise.
10241         (__ASSUME_RECVFROM_SYSCALL): Likewise.
10242         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
10243         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10244         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10245         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10246         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10247         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10248         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
10249         Likewise.
10250         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
10251         Likewise.
10252         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
10253         Likewise.
10254         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
10255         Likewise.
10256         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
10257         Likewise.
10258         [__LINUX_KERNEL_VERSION >= 0x020625]
10259         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10260         [__LINUX_KERNEL_VERSION >= 0x020625]
10261         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10262         [__LINUX_KERNEL_VERSION >= 0x020625]
10263         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10264         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
10265         Likewise.
10266         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
10267         Likewise.
10268         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
10269         Likewise.
10270         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
10271         Likewise.
10272         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
10273         Likewise.
10274         [__LINUX_KERNEL_VERSION >= 0x020625]
10275         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10276         [__LINUX_KERNEL_VERSION >= 0x020625]
10277         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10278         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
10279         Likewise.
10280         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
10281         Likewise.
10283 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10285         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
10286         record the current if the current ABI and CPU support the FP64
10287         extension.
10288         (has-modd-spreg): Define to record the current if the current ABI and
10289         CPU support 32-bit floating point values in odd FPU registers.
10290         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10291         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
10292         $(has-modd-spreg) equals yes.
10293         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
10294         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
10295         $(has-modd-spreg) equal yes.
10297 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10299         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
10300         basename.
10302 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
10304         * benchtests/Makefile (bench-math): Move ffs and ffsll...
10305         (bench-string): ... here.
10306         (bench): Add bench-string.
10307         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
10308         to *-benchset to reflect what they are.
10309         (benchset): Adjust.
10311         * benchtests/sincos-inputs: Add inputs from sin-inputs and
10312         cos-inputs.
10314 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
10316         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
10317         __attribute__ ((__simd__)) for vector math function declarations.
10319 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10321         Fix typo in strncat, wcsncat manual entries
10322         * manual/string.texi (Copying and Concatenation): Fix typos in
10323         sample implementations of strncat and wcsncat, by having them use
10324         the old value of the destination length, not the new one.
10326 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
10328         [BZ #16961]
10329         [BZ #16962]
10330         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
10331         string on the stack for strtod.
10332         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
10333         a string on the stack for strtof.
10334         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
10335         constructing a string on the stack for strtold.
10336         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
10337         __strtold_nan to GLIBC_PRIVATE.
10338         * math/test-nan-overflow.c: New file.
10339         * math/test-nan-payload.c: Likewise.
10340         * math/Makefile (tests): Add test-nan-overflow and
10341         test-nan-payload.
10343 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10345         Consistency about byte vs character in string.texi
10346         * manual/string.texi (String and Array Utilities):
10347         Distinguish more carefully among bytes, multibyte characters,
10348         and wide characters.  Use "byte" when talking about C 'char',
10349         to distinguish it more clearly from multibyte characters.
10350         Say "wide character" or "multibyte character" instead of
10351         "character", when a wide or multibyte character is intended.
10352         Similarly for "multibyte string" versus "string".
10353         Define these terms more carefully.
10355 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
10357         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
10358         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
10359         Likewise.
10360         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10361         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10362         * sysdeps/sh/math_private.h: New file.
10363         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
10364         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
10365         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
10366         long double function name.
10367         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10368         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10369         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10370         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10371         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
10373         Remove __finitel, __isinfl, and __isnanl.
10374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10375         Likewise.
10376         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10378         Remove __finitel.
10379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10380         Likewise.
10381         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10383 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
10385         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
10386         installed libmvec_nonshared.a.
10388 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10390         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
10391         (sysdep_routines): Likewise.
10392         (sysdep-rtld-routines): Likewise.
10393         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
10394         [$(subdir) = nptl](tests-static): test-get_hwcap-static
10395         * sysdeps/powerpc/Versions: Added new
10396         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
10397         * sysdeps/powerpc/hwcapinfo.c: New file.
10398         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
10399         and parse hwcap, hwcap2 and platform number information.
10400         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
10401         to store HWCAP+HWCAP2 and platform number.
10402         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
10403         for HWCAP+HWCAP2 and platform number in the TCB.
10404         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
10405         the HWCAP, HWCAP2 and platform number in the TCB.
10406         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
10407         (TLS_INIT_TP): Included calls to add the hwcap and
10408         at_platform values in the TCB in TP initialization.
10409         (TLS_DEFINE_INIT_TP): Likewise.
10410         (THREAD_GET_HWCAP): New macro.
10411         (THREAD_SET_HWCAP): Likewise.
10412         (THREAD_GET_AT_PLATFORM): Likewise.
10413         (THREAD_SET_AT_PLATFORM): Likewise.
10414         * sysdeps/powerpc/powerpc32/dl-machine.h:
10415         (dl_platform_init): New function that calls
10416         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
10417         powerpc32.
10418         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
10419         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
10420         this functionality, static linking case.
10421         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
10422         linking case.
10423         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
10424         __parse_hwcap_and_convert_at_platform for the static linking case.
10425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
10426         Included the new __parse_hwcap_and_convert_at_platform symbol in the
10427         ABI list for GLIBC 2.23.
10428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
10429         Likewise.
10430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
10431         Likewise.
10433 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
10435         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
10436         * configure: Regenerate.
10437         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
10438         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
10440 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
10442         * iconvdata/ibm930.c: Add comment explaining encoding uses.
10443         * iconvdata/ibm933.c: Likewise.
10444         * iconvdata/ibm935.c: Likewise.
10445         * iconvdata/ibm937.c: Likewise.
10446         * iconvdata/ibm939.c: Likewise.
10448 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10450         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
10451         pthread_join.
10452         * nptl/tst-cancel21.c (tf): Likewise.
10454 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10456         [BZ #19313]
10457         * bits/typesizes.h (__CPU_MASK_TYPE): New.
10458         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10459         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10460         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
10461         Likewise.
10462         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
10463         Likewise.
10464         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
10465         Likewise.
10466         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
10467         Likewise.
10468         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
10469         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
10470         unsigned long int with __CPU_MASK_TYPE.
10472 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10474         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10476 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
10478         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
10479         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
10480         t512.x.
10481         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
10483 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
10485         [BZ #19214]
10486         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
10487         argument to return extended model.  Update family and model
10488         with extended family and model when family == 0x0f.
10489         (init_cpu_features): Updated.
10491 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10493         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
10494         signed off_t, so 32bit bigger than 2GiB values are fine actually.
10496         * sysdeps/mach/hurd/mmap64.c: New file.
10498 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
10500         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
10501         rights for its main user thread in NEWTASK.
10503 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
10505         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
10506         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
10508 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
10510         [BZ #14259]
10511         * Makeconfig: Rename localedir to complocaledir.
10512         Rename inst_localedir to inst_complocaledir.
10513         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
10514         * config.make.in: Use complocaledir and libc_cv_complocaledir.
10515         * configure.ac: Use libc_cv_complocaledir.
10516         * configure: Regenerate.
10517         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
10518         -DCOMPLOCALEDIR.
10519         * locale/findlocale.c: Use COMPLOCALEDIR.
10520         * locale/loadarchive.c: Likewise.
10521         * locale/programs/locale.c: Likewise.
10522         * locale/programs/localedef.c: Likewise.
10523         * locale/programs/locarchive.c: Likewise.
10524         * localedata/Makefile: Use inst_complocaledir.
10525         * sysdeps/gnu/configure: Regenerate.
10526         * sysdeps/hppa/configure: Regenerate.
10527         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
10528         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10530         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
10531         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
10532         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
10533         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
10535 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
10537         [BZ #19058]
10538         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
10539         AS_NEEDED.
10540         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
10541         workaround.
10542         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
10543         libmvec-static-only-routines): Added new file.
10544         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
10546 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10548         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
10549         of interrupted RPC instead of restoring it.
10551         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
10552         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
10553         libc_hidden_def.
10554         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
10555         into initialized data instead of common. Define rtld_hidden_data_def.
10556         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
10557         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
10558         libc_hidden_def.
10559         (if_freenameindex): Add libc_hidden_weak.
10560         (if_nameindex): Add libc_hidden_weak.
10561         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
10562         __open64.
10563         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
10564         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
10565         * sysdeps/mach/nanosleep.c: Include <time.h>
10566         (__nanosleep): Rename to __libc_nanosleep.
10567         (__nanosleep): Add weak_alias.
10568         (nanosleep): Update alias.
10570 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
10572         * stdlib/strtod_nan.c: New file.
10573         * stdlib/strtod_nan_double.h: Likewise.
10574         * stdlib/strtod_nan_float.h: Likewise.
10575         * stdlib/strtod_nan_main.c: Likewise.
10576         * stdlib/strtod_nan_narrow.h: Likewise.
10577         * stdlib/strtod_nan_wide.h: Likewise.
10578         * stdlib/strtof_nan.c: Likewise.
10579         * stdlib/strtold_nan.c: Likewise.
10580         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
10581         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
10582         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
10583         * wcsmbs/wcstod_nan.c: Likewise.
10584         * wcsmbs/wcstof_nan.c: Likewise.
10585         * wcsmbs/wcstold_nan.c: Likewise.
10586         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
10587         strtold_nan.
10588         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
10589         wcstof_nan.
10590         * include/stdlib.h (__strtof_nan): Declare and use
10591         libc_hidden_proto.
10592         (__strtod_nan): Likewise.
10593         (__strtold_nan): Likewise.
10594         (__wcstof_nan): Likewise.
10595         (__wcstod_nan): Likewise.
10596         (__wcstold_nan): Likewise.
10597         * include/wchar.h (____wcstoull_l_internal): Declare.
10598         * stdlib/strtod_l.c: Do not include <ieee754.h>.
10599         (____strtoull_l_internal): Remove declaration.
10600         (STRTOF_NAN): Define macro.
10601         (SET_MANTISSA): Remove macro.
10602         (STRTOULL): Likewise.
10603         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
10604         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
10605         (STRTOF_NAN): Define macro.
10606         (SET_MANTISSA): Remove macro.
10607         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
10608         (SET_MANTISSA): Remove macro.
10609         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
10610         macro.
10611         (SET_MANTISSA): Remove macro.
10612         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
10613         macro.
10614         (SET_MANTISSA): Remove macro.
10615         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
10616         (SET_MANTISSA): Remove macro.
10617         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
10618         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
10619         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
10621         [BZ #19266]
10622         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
10623         upper case and lower case letters inside NAN(), not using TOLOWER.
10624         * stdlib/tst-strtod-nan-locale-main.c: New file.
10625         * stdlib/tst-strtod-nan-locale.c: Likewise.
10626         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
10627         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
10628         Depend on $(gen-locales).
10629         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
10630         * wcsmbs/tst-wcstod-nan-locale.c: New file.
10631         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
10632         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
10633         Depend on $(gen-locales).
10634         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
10636 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
10638         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
10640         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
10642         __finitel, __isinfl, and __isnanl.
10643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10644         Likewise.
10645         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
10647         __finitel.
10648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10649         Likewise.
10650         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10652 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10654         * malloc/memusage.c (me): Remove redundant getenv call.
10656 2015-10-24  Florian Weimer  <fweimer@redhat.com>
10658         [BZ #19143]
10659         [BZ #19164]
10660         * nptl/check-cpuset.h: Remove.
10661         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
10662         Remove CPU set size check.
10663         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
10664         Likewise.
10665         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
10666         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
10667         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
10668         (__pthread_setaffinity_new): Remove CPU set size check.
10669         * sysdeps/unix/sysv/linux/sched_setaffinity.c
10670         (__kernel_cpumask_size): Remove.
10671         (__sched_setaffinity_new): Remove CPU set size check.
10672         * manual/threads.texi (Default Thread Attributes): Remove stale
10673         reference to check_cpuset_attr, determine_cpumask_size in comment.
10674         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
10675         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
10676         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
10677         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
10678         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
10679         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
10680         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
10681         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
10682         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
10683         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
10684         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
10685         skeleton test file.
10686         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
10687         tst-affinity-pid.
10689 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10691         * scripts/update-abilist.sh: New file.
10692         * Makefile (+subdir_targets): Add subdir_update-all-abi.
10693         * Makerules (update-all-abi-%, update-all-abi)
10694         (subdir_update-all-abi): New targets.
10695         * elf/Makefile (update-all-abi): New target.
10697 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10699         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
10700         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
10701         (__libc_lock_define_initialized): Use it.
10702         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
10703         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
10704         * malloc/malloc.c (main_arena): Likewise.
10705         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10706         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10708 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
10710         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10711         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
10712         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10713         (PTRACE_O_MASK): Update value.
10714         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
10715         New value in enum __ptrace_setoptions.
10716         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10717         (PTRACE_O_MASK): Update value.
10718         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10719         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10720         (PTRACE_O_MASK): Update value.
10721         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
10722         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10723         (PTRACE_O_MASK): Update value.
10724         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
10725         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10726         (PTRACE_O_MASK): Update value.
10727         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
10728         New value in enum __ptrace_setoptions.
10729         (PTRACE_O_MASK): Update value.
10730         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
10731         New value in enum __ptrace_setoptions.
10732         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10733         (PTRACE_O_MASK): Update value.
10735         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
10736         New macro.
10737         (PACKET_AUXDATA): Likewise.
10738         (PACKET_ORIGDEV): Likewise.
10739         (PACKET_VERSION): Likewise.
10740         (PACKET_HDRLEN): Likewise.
10741         (PACKET_RESERVE): Likewise.
10742         (PACKET_TX_RING): Likewise.
10743         (PACKET_LOSS): Likewise.
10744         (PACKET_VNET_HDR): Likewise.
10745         (PACKET_TX_TIMESTAMP): Likewise.
10746         (PACKET_TIMESTAMP): Likewise.
10747         (PACKET_FANOUT): Likewise.
10748         (PACKET_TX_HAS_OFF): Likewise.
10749         (PACKET_QDISC_BYPASS): Likewise.
10750         (PACKET_ROLLOVER_STATS): Likewise.
10751         (PACKET_FANOUT_DATA): Likewise.
10752         (PACKET_MR_UNICAST): Likewise.
10754         [BZ #19242]
10755         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
10756         (TOUPPER): Likewise.
10757         * stdlib/tst-strtol-locale-main.c: New file.
10758         * stdlib/tst-strtol-locale.c: Likewise.
10759         * stdlib/Makefile (tests): Add tst-strtol-locale.
10760         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
10761         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
10762         Depend on $(gen-locales).
10763         * wcsmbs/tst-wcstol-locale.c: New file.
10764         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
10765         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
10766         tr_TR.ISO-8859-9.
10767         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
10768         Depend on $(gen-locales).
10770 2015-11-20  Roland McGrath  <roland@hack.frob.com>
10772         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
10773         __glibc_likely instead of __builtin_expect.  After falling back to
10774         dyncode_create in a non-ET_DYN case, use the allocate_code_data
10775         system interface to register the code pages as occupied.
10777 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
10779         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10780         [!ARM_MATH_PRIVATE_H].
10781         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
10782         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10783         [!HPPA_MATH_PRIVATE_H].
10784         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
10785         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
10786         to [!I386_MATH_PRIVATE_H].
10787         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
10788         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
10789         Change guard to [!M68K_MATH_PRIVATE_H].
10790         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
10791         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
10792         guard to [!MICROBLAZE_MATH_PRIVATE_H].
10793         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
10794         macro.
10795         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10796         [!MIPS_MATH_PRIVATE_H].
10797         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
10798         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10799         [!NIO2_MATH_PRIVATE_H].
10800         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
10801         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10802         [!TILE_MATH_PRIVATE_H].
10803         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
10805         [BZ #15421]
10806         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
10807         initialize with 0 and define as weak alias of __signgam.
10808         * include/math.h [!_ISOMAC] (__signgam): Declare.
10809         * math/Makefile (libm-calls): Add w_lgamma_compat.
10810         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
10811         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
10812         test-signgam-ullong-init.
10813         (tests-static): Add test-signgam-uchar-static,
10814         test-signgam-uchar-init-static, test-signgam-uint-static,
10815         test-signgam-uint-init-static, test-signgam-ullong-static and
10816         test-signgam-ullong-init-static.
10817         (CFLAGS-test-signgam-uchar.c): New variable.
10818         (CFLAGS-test-signgam-uchar-init.c): Likewise.
10819         (CFLAGS-test-signgam-uchar-static.c): Likewise.
10820         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
10821         (CFLAGS-test-signgam-uint.c): Likewise.
10822         (CFLAGS-test-signgam-uint-init.c): Likewise.
10823         (CFLAGS-test-signgam-uint-static.c): Likewise.
10824         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
10825         (CFLAGS-test-signgam-ullong.c): Likewise.
10826         (CFLAGS-test-signgam-ullong-init.c): Likewise.
10827         (CFLAGS-test-signgam-ullong-static.c): Likewise.
10828         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
10829         * math/Versions (libm): Add GLIBC_2.23.
10830         * math/lgamma-compat.h: New file.
10831         * math/test-signgam-main.c: Likewise.
10832         * math/test-signgam-uchar-init-static.c: Likewise.
10833         * math/test-signgam-uchar-init.c: Likewise.
10834         * math/test-signgam-uchar-static.c: Likewise.
10835         * math/test-signgam-uchar.c: Likewise.
10836         * math/test-signgam-uint-init-static.c: Likewise.
10837         * math/test-signgam-uint-init.c: Likewise.
10838         * math/test-signgam-uint-static.c: Likewise.
10839         * math/test-signgam-uint.c: Likewise.
10840         * math/test-signgam-ullong-init-static.c: Likewise.
10841         * math/test-signgam-ullong-init.c: Likewise.
10842         * math/test-signgam-ullong-static.c: Likewise.
10843         * math/test-signgam-ullong.c: Likewise.
10844         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
10845         wrapper of w_lgamma_main.c.
10846         * math/w_lgamma_compat.c: New file.
10847         * math/w_lgamma_compatf.c: Likewise.
10848         * math/w_lgamma_compatl.c: Likewise.
10849         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
10850         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10851         defining compatibility symbols.
10852         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
10853         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
10854         wrapper of w_lgammaf_main.c.
10855         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
10856         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10857         defining compatibility symbols.
10858         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
10859         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
10860         wrapper of w_lgammal_main.c.
10861         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
10862         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10863         defining compatibility symbols.
10864         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
10865         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
10866         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
10867         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
10868         <lgamma-compat.h>.
10869         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
10870         (__ieee754_gamma): Define as alias.
10871         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
10872         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
10873         <lgamma-compat.h>.
10874         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
10875         (__ieee754_gammaf): Define as alias.
10876         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
10877         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
10878         <lgamma-compat.h>.
10879         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
10880         (__ieee754_gammal): Define as alias.
10881         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
10882         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
10883         <math/w_lgamma_compat.c>.
10884         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
10885         Define as alias of __lgamma_compat and use in defining lgammal.
10886         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
10887         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
10888         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
10889         (USE_AS_COMPAT): New macro.
10890         (LGAMMA_OLD_VER): Undefine and redefine.
10891         (lgammal): Do not define here.
10892         (gammal): Only define here if [GAMMA_ALIAS].
10893         * conform/linknamespace.pl (@whitelist): Remove signgam.
10894         * sysdeps/nacl/libm.abilist: Update.
10895         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10896         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10897         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10898         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10899         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10900         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10901         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10902         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10903         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10904         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10905         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10906         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10908         Likewise.
10909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10910         Likewise.
10911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10912         Likewise.
10913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10914         Likewise.
10915         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10916         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10917         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10918         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10919         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10921         Likewise.
10922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10923         Likewise.
10924         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10925         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10926         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10928 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10930         [BZ #16364]
10931         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
10932         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
10934 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10936         * sysdeps/s390/fpu/bits/mathinline.h:
10937         Use __asm__ [__volatile__] instead of asm [volatile].
10938         * sysdeps/s390/abort-instr.h: Likewise.
10939         * sysdeps/s390/atomic-machine.h: Likewise.
10940         * sysdeps/s390/bits/string.h: Likewise.
10941         * sysdeps/s390/dl-tls.h: Likewise.
10942         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10943         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10944         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10945         * sysdeps/s390/fpu/fesetround.c: Likewise.
10946         * sysdeps/s390/fpu/fpu_control.h: Likewise.
10947         * sysdeps/s390/fpu/s_fma.c: Likewise.
10948         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
10949         * sysdeps/s390/memusage.h: Likewise.
10950         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
10951         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
10952         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
10953         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
10954         * sysdeps/s390/nptl/tls.h: Likewise.
10955         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
10956         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10957         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10958         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10959         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10960         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10961         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
10962         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10963         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10964         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
10965         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10966         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10967         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10968         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
10969         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10970         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10971         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
10972         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10973         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
10974         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10975         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
10976         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10977         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
10979 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10980             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10982         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10983         Add lwarx hint, and use macro for acquire instruction.
10984         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10985         Likewise.
10986         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
10987         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
10988         update to use new atomic macros.
10990 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10992         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10993         (__lll_trylock_elision): Fix setting of adapt_count.
10994         * sysdeps/unix/sysv/linux/powerpc/htm.h
10995         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
10996         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
10997         (_ABORT_SYSCALL): Renumber, and clarify definition.
10998         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
11000 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11002         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
11003         after system headers to prevent MIN/MAX redefinition.  Define
11004         HAVE_ALLOCA to preserve builtin alloca usage.
11006 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
11008         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
11009         static and don't set or restore rounding.
11010         (__cos)[IN_SINCOS]: Likewise.
11011         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
11012         (__sincos): Set and restore rounding mode.  Remove check for infinite
11013         or NaN input.
11015         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
11017         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
11018         as used.
11020 2015-11-16  Florian Weimer  <fweimer@redhat.com>
11022         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
11024 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
11026         * config.make.in (have-glob-dat-reloc): New.
11027         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
11028         target supports GLOB_DAT relocaton. AC_SUBST.
11029         * configure: Regenerated.
11030         * elf/Makefile (tests): Add tst-prelink.
11031         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11032         (tst-prelink-ENV): New.
11033         ($(objpfx)tst-prelink-conflict.out): Likewise.
11034         ($(objpfx)tst-prelink-cmp.out): Likewise.
11035         * sysdeps/x86/tst-prelink.c: Moved to ...
11036         * elf/tst-prelink.c: Here.
11037         * sysdeps/x86/tst-prelink.exp: Moved to ...
11038         * elf/tst-prelink.exp: Here.
11039         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
11040         (tst-prelink-ENV): Removed.
11041         ($(objpfx)tst-prelink-conflict.out): Likewise.
11042         ($(objpfx)tst-prelink-cmp.out): Likewise.
11043         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
11045 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
11047         [BZ #14551]
11048         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
11049         (__mpn_construct_long_double): If high part overflows to infinity,
11050         set errno and recompute overflowed result of the correct sign.
11051         * sysdeps/ieee754/ldbl-128ibm/Makefile
11052         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
11053         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
11054         $(libm).
11055         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
11057 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
11059         [BZ #15479]
11060         [BZ #19238]
11061         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
11062         floating-point state after first operation on input.  Restore full
11063         state rather than just rounding mode.
11064         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
11065         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
11066         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
11068         [BZ #19235]
11069         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
11070         add 0.5 to integer arguments.
11071         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
11072         Likewise.
11073         (.LC2): New object.
11075 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
11077         * scripts/pylintrc (reports): Set to no.
11079 2015-11-10  Roland McGrath  <roland@hack.frob.com>
11081         * elf/dl-load.c (open_verify): Take new argument FD.
11082         Skip __open call if passed FD is not -1.
11083         (_dl_map_object, open_path): Update callers.
11084         * elf/dl-sysdep-open.h: New file.
11085         * elf/dl-load.c: Include it.
11086         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
11087         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
11088         * sysdeps/nacl/dl-sysdep-open.h: New file.
11089         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
11090         from libc to rtld.
11092 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11094         [BZ #19228]
11095         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
11096         and restore full floating-point state.
11097         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11098         Likewise.
11099         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
11100         Likewise.
11101         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
11102         Likewise.
11103         * math/test-nearbyint-except-2.c: New file.
11104         * math/Makefile (tests): Add test-nearbyint-except-2.
11106 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
11108         [BZ #19178]
11109         * sysdeps/x86/Makefile (tests): Add tst-prelink.
11110         (tst-prelink-ENV): New.
11111         ($(objpfx)tst-prelink-conflict.out): Likewise.
11112         ($(objpfx)tst-prelink-cmp.out): Likewise.
11113         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11114         * sysdeps/x86/tst-prelink.c: New file.
11115         * sysdeps/x86/tst-prelink.exp: Likewise.
11117 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11119         * math/auto-libm-test-in: Add another test of pow.
11120         * math/auto-libm-test-out: Regenerated.
11121         * math/libm-test.inc (pow_test_data): Add another test.
11123 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11125         [BZ #19219]
11126         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
11127         weak_alias to nearbyintl.
11129 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11131         * sysdeps/aarch64/bits/string.h: New file.
11132         (_STRING_ARCH_unaligned): Define.
11134 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11136         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
11137         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11138         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11139         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
11140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
11142 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
11144         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
11145         for original name of the DSO.  Add it to the name list of the DSO
11146         if it is actually given.
11147         (_dl_map_object): Keep track of whether an audit module rewrote
11148         the file name.  If yes, pass the original name to
11149         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
11150         debugging is enabled, log the change of the file name.
11151         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
11152         _dl_map_object_from_fd.
11153         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
11154         * elf/tst-audit11.c: New file
11155         * elf/tst-auditmod11.c: New file.
11156         * elf/tst-audit11mod1.c: New file.
11157         * elf/tst-audit11mod2.c: New file.
11158         * elf/tst-audit11mod2.map: New file.
11159         * elf/tst-audit12.c: New file
11160         * elf/tst-auditmod12.c: New file.
11161         * elf/tst-audit12mod1.c: New file.
11162         * elf/tst-audit12mod2.c: New file.
11163         * elf/tst-audit12mod2.map: New file.
11164         * elf/tst-audit12mod3.c: New file.
11166 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11168         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
11169         Don't create weak aliases,
11170         because versioned symbols are created later.
11171         * sysdeps/s390/s390-32/setjmp.S
11172         (setjmp, _setjmp): Remove weak and rename to an unique name
11173         in SHARED case due to existing versioned symbols.
11174         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11175         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
11176         (getcontext): Create weak alias only in non SHARED case.
11177         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11179 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11181         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
11182         (__ASSUME_*_SYSCALL) Define new macros.
11183         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
11184         Remove socketcall syscalls.
11185         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
11186         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
11187         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
11188         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
11189         * sysdeps/unix/sysv/linux/send.c (__libc_send):
11190         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
11192 2015-11-09  Florian Weimer  <fweimer@redhat.com>
11194         [BZ #12926]
11195         Terminate process on invalid netlink response.
11196         * sysdeps/unix/sysv/linux/netlinkaccess.h
11197         (__netlink_assert_response): Declare.
11198         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
11199         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
11200         (sysdep_routines): Add netlink_assert_response.
11201         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
11202         __netlink_assert_response.
11203         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
11204         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
11205         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
11206         __netlink_assert_response.
11208 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11210         [BZ #19178]
11211         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
11212         (RTYPE_CLASS_PLT): Likewise.
11213         (RTYPE_CLASS_COPY): Likewise.
11214         (RTYPE_CLASS_TLS): Likewise.
11215         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
11216         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
11217         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
11218         DL_DEBUG_PRELINK.
11220 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
11222         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
11223         calls with argument -0.5.
11224         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
11226         * configure.ac (libc_cv_z_nodelete): Remove configure test.
11227         (libc_cv_z_nodlopen): Likewise.
11228         (libc_cv_z_initfirst): Likewise.
11229         * configure: Regenerated.
11231 2015-11-06  Florian Weimer  <fweimer@redhat.com>
11233         Simplify abilist format to be line-based.
11234         * scripts/abilist.awk: Collect descriptors in the descs variable.
11235         (emit): Write descs variable and sort it
11236         externally, with sort.
11237         * sysdeps/**/*.abilist: Convert to new format.
11239 2015-11-06  Mark Wielaard  <mjw@redhat.com>
11241         [BZ #11460]
11242         * io/Makefile (routines): Add fts64.
11243         (tests): Add tst-fts and tst-fts-lfs.
11244         (CFLAGS-fts64.c): New.
11245         * io/Versions (GLIBC_2.23): New.
11246         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
11247         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
11248         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
11249         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
11250         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
11251         (FTSENT64): Likewise.
11252         (fts64_children): Likewise.
11253         (fts64_close): Likewise.
11254         (fts64_open): Likewise.
11255         (fts64_read): Likewise.
11256         (fts64_set): Likewise.
11257         * io/fts64.c: New file.
11258         * io/tst-fts.c: New test.
11259         * io/tst-fts-lfs.c: Likewise.
11260         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
11261         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
11262         fts64_set.
11263         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11264         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11265         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11266         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11267         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11268         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11269         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11270         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11271         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11272         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11273         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11274         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11275         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11277         Likewise.
11278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11279         Likewise.
11280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11282         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11283         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11284         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11285         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11286         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11289         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11290         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11291         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11292         * sysdeps/wordsize-64/fts.c: New file.
11293         * sysdeps/wordsize-64/fts64.c: Likewise.
11294         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
11295         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
11296         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
11297         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
11299 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11301         * math/libm-test.inc (NON_FINITE): New macro.
11302         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
11303         * math/gen-libm-test.pl (show_exceptions): Add argument
11304         $non_finite.
11305         (parse_args): Update call to show_exceptions.
11306         * math/test-math-finite.h: New file.
11307         * math/test-math-no-finite.h: Likewise.
11308         * math/test-double-finite.c: Likewise.
11309         * math/test-float-finite.c: Likewise.
11310         * math/test-ldouble-finite.c: Likewise.
11311         * math/test-double.c: Include "test-math-no-finite.h".
11312         * math/test-float.c: Include "test-math-no-finite.h".
11313         * math/test-ldouble.c: Include "test-math-no-finite.h".
11314         * math/test-math-inline.h (TEST_FINITE): New macro.
11315         * math/test-math-vector.h (TEST_FINITE): Likewise.
11316         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
11317         (libm-tests): Add test-float-finite and test-double-finite.
11318         ($(objpfx)test-float-finite.o): New dependency on
11319         $(objpfx)libm-test.stmp.
11320         ($(objpfx)test-double-finite.o): Likewise.
11321         ($(objpfx)test-ldouble-finite.o): Likewise.
11322         (libm-test-no-inline-cflags): New variable.
11323         (libm-test-finite-cflags): Likewise.
11324         (CFLAGS-test-float-finite.c): Likewise.
11325         (CFLAGS-test-double-finite.c): Likewise.
11326         (CFLAGS-test-ldouble-finite.c): Likewise.
11327         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
11328         (CFLAGS-test-double.c): Likewise.
11329         (CFLAGS-test-ldouble.c): Likewise.
11331 2015-11-05  Roland McGrath  <roland@hack.frob.com>
11333         * io/fcntl.c (__fcntl): Add ... to prototype.
11334         * misc/ioctl.c (__ioctl): Likewise.
11335         * misc/syscall.c (syscall): Likewise.
11337 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11339         * scripts/list-fixed-bugs.py: New file.
11341         [BZ #19213]
11342         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
11343         returned for argument 1.
11344         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
11345         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
11346         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
11347         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
11348         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
11349         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
11351         [BZ #19211]
11352         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
11353         __USE_XOPEN], not if [!__USE_ISOC99].
11354         (lgammaf): Likewise.
11355         (lgammal): Likewise.
11356         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
11357         (gammaf): Likewise.
11358         (gammal): Likewise.
11359         * math/test-signgam-finite-c11.c: New file.
11360         * math/test-signgam-finite-c99.c: Likewise.
11361         * math/test-signgam-finite.c: Likewise.
11362         * math/Makefile (tests): Add test-signgam-finite,
11363         test-signgam-finite-c99 and test-signgam-finite-c11.
11364         (CFLAGS-test-signgam-finite.c): New variable.
11365         (CFLAGS-test-signgam-finite-c99.c): Likewise.
11366         (CFLAGS-test-signgam-finite-c11.c): Likewise.
11368         [BZ #19212]
11369         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
11370         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
11371         500].
11372         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
11373         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
11374         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
11375         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
11376         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
11377         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
11378         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
11379         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
11380         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
11381         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
11383         [BZ #19209]
11384         * math/bits/math-finite.h (ldexp): Remove declaration.
11385         (ldexpf): Likewise.
11386         (ldexpl): Likewise.
11388         [BZ #19205]
11389         * math/bits/math-finite.h (acosf): Condition declaration on
11390         [__USE_ISOC99].
11391         (acosl): Likewise.
11392         (acoshf): Likewise.
11393         (acoshl): Likewise.
11394         (asinf): Likewise.
11395         (asinl): Likewise.
11396         (atan2f): Likewise.
11397         (atan2l): Likewise.
11398         (atanhf): Likewise.
11399         (atanhl): Likewise.
11400         (coshf): Likewise.
11401         (coshl): Likewise.
11402         (expf): Likewise.
11403         (expl): Likewise.
11404         (fmodf): Likewise.
11405         (fmodl): Likewise.
11406         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
11407         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
11408         (j0l): Likewise.
11409         (y0f): Likewise.
11410         (y0l): Likewise.
11411         (j1f): Likewise.
11412         (j1l): Likewise.
11413         (y1f): Likewise.
11414         (y1l): Likewise.
11415         (jnf): Likewise.
11416         (jnl): Likewise.
11417         (ynf): Likewise.
11418         (ynl): Likewise.
11419         (lgammaf_r): Condition declaration on [__USE_ISOC99].
11420         (lgammal_r): Likewise.
11421         (__lgamma_r_finite): New declaration.
11422         (__lgammaf_r_finite): Likewise.
11423         (__lgammal_r_finite): Likewise.
11424         (lgamma): Use __lgamma_r_finite.
11425         (lgammaf): Condition definition on [__USE_ISOC99].  Use
11426         __lgammaf_r_finite.
11427         (lgammal): Condition definition on [__USE_ISOC99].  Use
11428         __lgammal_r_finite.
11429         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
11430         __lgamma_r_finite.
11431         (gammaf): Condition definition on [__USE_ISOC99].  Use
11432         __lgammaf_r_finite.
11433         (gammal): Condition definition on [__USE_ISOC99].  Use
11434         __lgammal_r_finite.
11435         (logf): Condition declaration on [__USE_ISOC99].
11436         (logl): Likewise.
11437         (log10f): Likewise.
11438         (log10l): Likewise.
11439         (ldexpf): Likewise.
11440         (ldexpl): Likewise.
11441         (powf): Likewise.
11442         (powl): Likewise.
11443         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
11444         __USE_ISOC99].
11445         (remainderf): Condition declaration on [__USE_ISOC99].
11446         (remainderl): Likewise.
11447         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
11448         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
11449         (scalbl): Likewise.
11450         (sinhf): Condition declaration on [__USE_ISOC99].
11451         (sinhl): Likewise.
11452         (sqrtf): Likewise.
11453         (sqrtl): Likewise.
11455 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11457         * sysdeps/arm/atomic-machine.h
11458         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11459         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11460         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
11461         Remove conditional code.
11462         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11463         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11464         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
11465         Change conditional to [__ASSEMBLER__].
11466         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11467         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
11468         [!__ASSEMBLER__].
11469         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
11470         code.
11471         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
11472         conditional macro definitions.
11473         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
11474         (__arch_compare_and_exchange_val_16_acq): Likewise.
11475         (__arch_compare_and_exchange_val_32_acq): Likewise.
11476         (atomic_exchange_and_add): Likewise.
11477         (atomic_add): Likewise.
11478         (atomic_add_negative): Likewise.
11479         (atomic_add_zero): Likewise.
11480         (atomic_bit_set): Likewise.
11481         (atomic_bit_test_set): Likewise.
11482         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
11483         code unconditional.
11484         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11486         * math/test-math-errno.h: New file.
11487         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
11488         empty.
11489         (TEST_ERRNO): New macro.
11490         (TEST_EXCEPTIONS): Likewise.
11491         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
11492         (TEST_EXCEPTIONS): Likewise.
11493         * math/test-math-vector.h (TEST_ERRNO): Likewise.
11494         * math/test-double.c: Include "test-math-errno.h".
11495         * math/test-float.c: Likewise.
11496         * math/test-ldouble.c: Likewise.
11497         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
11498         code unconditional.
11499         (test_exceptions): Only run code if TEST_EXCEPTIONS.
11500         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
11501         unconditional.
11502         (test_errno): Only run code if TEST_ERRNO.
11503         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
11505 2015-11-04  Florian Weimer  <fweimer@redhat.com>
11507         * nptl/tst-once5.cc: Remove attribution.
11509 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11511         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
11512         sqrt, tan, tanh, y0, y1 and yn.
11513         * math/auto-libm-test-out: Regenerated.
11514         * math/libm-test.inc (scalb_test_data): Add more tests.
11515         (scalbn_test_data): Likewise.
11516         (scalbln_test_data): Likewise.
11517         (signbit_test_data): Likewise.
11518         (sin_test_data): Likewise.
11519         (sincos_test_data): Likewise.
11520         (sinh_test_data): Likewise.
11521         (sqrt_test_data): Likewise.
11522         (tan_test_data): Likewise.
11523         (tanh_test_data): Likewise.
11524         (tgamma_test_data): Likewise.
11525         (y0_test_data): Likewise.
11526         (y1_test_data): Likewise.
11527         (yn_test_data): Likewise.
11528         (significand_test_data): Likewise.
11529         * sysdeps/i386/fpu/libm-test-ulps: Update.
11531 2015-11-03  David Kastrup  <dak@gnu.org>
11533         [BZ #18604]
11534         * assert/assert.h (assert): Don't macro-expand failed assertion
11535         expression in error message.
11536         * malloc/malloc.c (assert): Likewise.
11538 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
11540         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
11541         test.
11542         * configure: Regenerated.
11544 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
11546         * math/libm-test.inc (modf_test_data): Add more tests.
11547         (nearbyint_test_data): Likewise.
11548         (nextafter_test_data): Likewise.
11549         (nexttoward_test_data): Likewise.
11550         (pow_test_data): Likewise.
11551         (remainder_test_data): Likewise.
11552         (remquo_test_data): Likewise.
11553         (rint_test_data): Likewise.
11555         [BZ #19201]
11556         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11557         Check for zero remainder in case of large exponents and ensure
11558         correct sign of result in that case.
11559         * math/libm-test.inc (remainder_test_data): Add more tests.
11561         [BZ #6799]
11562         * math/s_nextafter.c: Include <errno.h>.
11563         (__nextafter): Set errno on overflow and underflow.
11564         * math/s_nexttowardf.c: Include <errno.h>.
11565         (__nexttowardf): Set errno on overflow and underflow.
11566         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
11567         (__nextafterl): Set errno on overflow and underflow.
11568         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
11569         (__nexttoward): Set errno on overflow and underflow.
11570         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
11571         (__nexttowardf): Set errno on overflow and underflow.
11572         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
11573         (__nextafterf): Set errno on overflow and underflow.
11574         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
11575         (__nextafterl): Set errno on overflow and underflow.
11576         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
11577         (__nexttoward): Set errno on overflow and underflow.
11578         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
11579         (__nexttowardf): Set errno on overflow and underflow.
11580         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
11581         (__nextafterl): Set errno on overflow and underflow.
11582         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
11583         (__nexttoward): Set errno on overflow and underflow.
11584         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
11585         (__nexttowardf): Set errno on overflow and underflow.
11586         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
11587         (__nexttoward): Set errno on overflow and underflow.
11588         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
11589         (__nexttowardf): Set errno on overflow and underflow.
11590         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
11591         (__nldbl_nexttowardf): Set errno on overflow and underflow.
11592         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
11593         (__nextafterl): Set errno on overflow and underflow.
11594         * math/libm-test.inc (nextafter_test_data): Do not allow errno
11595         setting to be missing on overflow.  Add more tests.
11596         (nexttoward_test_data): Likewise.
11598         * configure.ac (libc_cv_initfini_array): Remove configure test.
11599         * configure: Regenerated.
11601 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
11603         [BZ #19189]
11604         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
11605         non-finite argument handle arguments with negative sign.
11607         * math/libm-test.inc (j0_test_data): Do not test sign of zero
11608         result from infinite argument.
11609         (j1_test_data): Likewise.
11610         (jn_test_data): Likewise.
11611         (y0_test_data): Likewise.
11612         (y1_test_data): Likewise.
11613         (yn_test_data): Likewise.
11615         [BZ #16171]
11616         * math/w_remainder.c (drem): Define as weak alias of __remainder.
11617         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
11618         * math/w_remainderf.c (dremf): Define as weak alias of
11619         __remainderf.
11620         * math/w_remainderl.c (dreml): Define as weak alias of
11621         __remainderl.
11622         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
11623         __remainder.
11624         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
11625         __remainderf.
11626         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
11627         __remainderl.
11628         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
11629         weak alias of remainderl.
11630         * sysdeps/ieee754/ldbl-opt/w_remainder.c
11631         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
11632         alias of __remainder.
11633         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
11634         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
11635         strong alias of __remainderl.
11636         (dreml): Use long_double_symbol.
11637         * math/Makefile (libm-calls): Remove w_drem.
11638         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
11639         (CFLAGS-nldbl-drem.c): Remove variable.
11640         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
11641         * math/w_drem.c: Remove file.
11642         * math/w_dremf.c: Likewise.
11643         * math/w_dreml.c: Likewise.
11644         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
11645         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
11646         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
11648         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
11649         * sysdeps/i386/configure: Regenerated.
11650         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
11651         * sysdeps/x86_64/configure: Regenerated.
11653         * configure.ac (libc_cv_asm_protected_directive): Remove configure
11654         test.
11655         (libc_cv_visibility_attribute): Likewise.
11656         (libc_cv_protected_data): Test unconditionally.
11657         (libc_cv_broken_visibility_attribute): Remove configure test.
11658         (libc_cv_have_sdata_section): Test unconditionally.
11659         * configure: Regenerated.
11661         * include/libc-internal.h (libc_max_align_t): Remove typedef.
11662         * include/scratch_buffer.h: Include <stddef.h> instead of
11663         <libc-internal.h>.
11664         (struct scratch_buffer): Use max_align_t instead of
11665         libc_max_align_t.
11667 2015-10-29  Florian Weimer  <fweimer@redhat.com>
11669         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
11670         instead of extend_alloca.  Change control flow to avoid a goto.
11671         Remove assert which is trivially always true.
11673 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11675         [BZ #16068]
11676         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
11677         (FE_ALL_EXCEPT_X86): New macro.
11678         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11679         FE_ALL_EXCEPT.  Ensure precision control is included in
11680         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11681         handle "denormal operand exception" and clear FZ and DAZ bits.
11682         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
11683         (FE_ALL_EXCEPT_X86): New macro.
11684         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11685         FE_ALL_EXCEPT.  Ensure precision control is included in
11686         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11687         handle "denormal operand exception" and clear FZ and DAZ bits.
11688         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
11689         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
11690         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11691         test-fenv-x87 and test-fenv-sse-2.
11692         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
11694         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
11695         * math/test-double.h (BUILD_COMPLEX): New macro.
11696         * math/test-float.h (BUILD_COMPLEX): Likewise.
11697         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
11699         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
11700         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
11701         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
11702         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
11703         instead of DBL_DENORM_MIN in comment.
11704         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
11705         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11706         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
11707         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
11708         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
11709         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11711 2015-10-28  Florian Weimer  <fweimer@redhat.com>
11713         [BZ# 19048]
11714         * malloc/malloc.c (struct malloc_state): Update comment.  Add
11715         attached_threads member.
11716         (main_arena): Initialize attached_threads.
11717         * malloc/arena.c (list_lock): Update comment.
11718         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
11719         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
11720         (deattach_arena): New function.
11721         (_int_new_arena): Initialize arena reference count and deattach
11722         replaced arena.
11723         (get_free_list, reused_arena): Update reference count and deattach
11724         replaced arena.
11725         (arena_thread_freeres): Update arena reference count and only put
11726         unreferenced arenas on the free list.
11728 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11730         [BZ #19181]
11731         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
11732         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
11733         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
11734         * math/test-fenv-clear-main.c: New file.
11735         * math/test-fenv-clear.c: Likewise.
11736         * math/Makefile (tests): Add test-fenv-clear.
11737         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
11738         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11739         test-fenv-clear-sse.
11740         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
11742         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
11743         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
11744         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
11746 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11748         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
11749         static libc.
11751 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11753         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
11754         test.
11755         * sysdeps/i386/configure: Regenerated.
11756         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
11757         test.
11758         * sysdeps/x86_64/configure: Regenerated.
11759         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
11760         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11761         memset-avx2 unconditionally instead of conditionally on
11762         [$(config-cflags-avx2) = yes].
11763         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11764         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
11765         unconditional.
11766         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
11767         * sysdeps/x86_64/multiarch/memset_chk.S
11768         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
11769         to [IS_IN (libc) && SHARED].
11771 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11773         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
11774         configure test.
11775         * sysdeps/arm/configure: Regenerated.
11776         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
11777         Define variable if not already defined.
11779         [BZ #17404]
11780         * sysdeps/mips/atomic-machine.h
11781         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
11782         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
11783         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11785         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
11786         unconditional.
11787         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
11788         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11789         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
11790         unconditional.
11791         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11792         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
11793         unconditional.
11794         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11795         * stdlib/setenv.c
11796         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
11797         code unconditional.
11798         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
11799         Remove conditional code.
11800         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
11801         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
11802         unconditional.
11803         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11804         code.
11805         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
11806         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
11807         unconditional.
11808         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11809         code.
11810         * sysdeps/ieee754/ldbl-128/k_tanl.c
11811         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11812         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11813         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
11814         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11815         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11816         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
11817         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
11818         unconditional.
11819         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11820         code.
11821         * sysdeps/ieee754/ldbl-96/k_tanl.c
11822         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11823         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11825         * nptl/tst-initializers1-c11.c: New file.
11826         * nptl/tst-initializers1-gnu11.c: Likewise.
11827         * nptl/Makefile (tests): Add these new tests.
11828         (CFLAGS-tst-initializers1-c11.c): New variable.
11829         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
11831         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
11832         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
11833         instead of -std=gnu99.
11834         * configure.ac (systemtap): Test with -std=gnu11 instead of
11835         -std=gnu99.
11836         * configure: Regenerated.
11837         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
11838         in compilation command in comment.
11840         * sysdeps/nptl/configure.ac: Remove file.
11841         * sysdeps/nptl/configure: Remove generated file.
11842         * configure.ac (libc_cv_forced_unwind): Do not substitute.
11843         * configure: Regenerated.
11844         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
11845         * config.make.in (have-forced-unwind): Remove variable.
11846         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11847         unconditional.
11848         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
11849         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
11850         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
11851         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
11852         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11853         unconditional.
11855 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11857         [BZ #19174]
11858         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
11859         .skip_lock_out_of_tbegin_retries.
11860         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11861         (__lll_lock_elision): Likewise, and respect a value of
11862         try_tbegin <= 0.
11864 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11866         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
11867         statement.
11869 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11871         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
11872         variable.
11873         (test-xfail-ISO11/stdalign.h/conform): Likewise.
11874         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11876         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
11877         of -std=c1x -D_ISOC11_SOURCE.
11879         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
11880         * configure: Regenerated.
11881         * manual/install.texi (Tools for Compilation): Document
11882         requirement for GCC 4.7 or later.
11883         * INSTALL: Regenerated.
11885 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
11887         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
11888         on CNT to a conditional jump to 'puntdata'.
11890 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11892         * configure.ac (libc_cv_gcc___thread): Remove configure test.
11893         (libc_cv_gcc_tls_model_attr): Likewise.
11894         * configure: Regenerated.
11896         * configure.ac (libc_cv_need_minus_P): Remove configure test.
11897         * configure: Regenerated.
11898         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
11900 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
11902         * configure.ac (old_glibc_headers): Remove configure test.
11903         * configure: Regenerated.
11904         * config.make.in (old-glibc-headers): Remove variable.
11905         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
11906         (install): Remove dependency on remove-old-headers.
11907         (headers2_0): Remove variable.
11908         (remove-old-headers): Remove rule.
11910         * configure.ac (libc_cv_dot_text): Remove configure test.
11911         (libc_cv_asm_set_directive): Use .text instead of
11912         ${libc_cv_dot_text} in configure test.
11913         * configure: Regenerated.
11915 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11917         [BZ #19168]
11918         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11920 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11922         * configure.ac (CXX): Clear the variable if the C++ toolchain does
11923         not support static linking.
11924         * configure: Regenerate.
11926 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
11928         * math/libm-test.inc (check_float_internal): Do not special-case
11929         errors up to 0.5 ulp.
11931         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11932         log2.
11933         * math/auto-libm-test-out: Regenerated.
11934         * math/libm-test.inc (MAX_EXP): New macro.
11935         (ilogb_test_data): Add more tests.
11936         (isfinite_test_data): Likewise.
11937         (isgreater_test_data): Likewise.
11938         (isgreaterequal_test_data): Likewise.
11939         (isinf_test_data): Likewise.
11940         (isless_test_data): Likewise.
11941         (islessequal_test_data): Likewise.
11942         (islessgreater_test_data): Likewise.
11943         (isnan_test_data): Likewise.
11944         (isnormal_test_data): Likewise.
11945         (issignaling_test_data): Likewise.
11946         (isunordered_test_data): Likewise.
11947         (j0_test_data): Likewise.
11948         (j1_test_data): Likewise.
11949         (jn_test_data): Likewise.
11950         (lgamma_test_data): Likewise.
11951         (log_test_data): Likewise.
11952         (log10_test_data): Likewise.
11953         (log1p_test_data): Likewise.
11954         (log2_test_data): Likewise.
11955         (logb_test_data): Likewise.
11956         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11958         [BZ #18611]
11959         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
11960         avoid excess range and precision on underflow.
11961         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11962         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11963         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11964         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
11965         underflow.
11966         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11967         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11968         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11969         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11970         * math/auto-libm-test-in: Do not allow missing errno setting for
11971         tests of j1 and jn.
11972         * math/auto-libm-test-out: Regenerated.
11974 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
11976         [BZ #15491]
11977         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
11978         floating-point environment instead of clearing all exceptions.
11979         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11980         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
11981         merging in "invalid" exceptions from frndint.
11982         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11983         * math/test-nearbyint-except.c: New file.
11984         * math/Makefile (tests): Add test-nearbyint-except.
11986 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
11988         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
11990         * sysdeps/tile/libm-test-ulps: Regenerated.
11992 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
11995         (__NR_sync_file_range2): Assume it is always defined.
11996         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11997         (__NR_sync_file_range): Assume it is always defined.
11999 2015-10-22  Andreas Schwab  <schwab@suse.de>
12001         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12002         INTERNAL_SYSCALL_ERRNO.
12003         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12004         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12005         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12006         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12007         Likewise.
12008         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12010 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12012         * io/tst-fcntl.c (fd): New static variable.
12013         (do_prepare): Open temporary file here....
12014         (do_test): ...not here.
12016         * io/ftwtest-sh: Also trap on exit to remove temporary files.
12018 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12020         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
12021         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12022         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12023         Moved before "#ifdef __ASSEMBLER__".
12025 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12027         [BZ #19156]
12028         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
12029         arguments very close to 0.
12031 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
12033         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
12034         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
12036 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12038         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12039         New.  Defined for GCC 5 and above when not compiling for
12040         profiling.
12041         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12043         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12044         Renamed to ...
12045         (CFLAGS-epoll_pwait.o): This.
12046         (CFLAGS-mmap.c): Renamed to ...
12047         (CFLAGS-mmap.o): This.
12048         (CFLAGS-mmap64.c): Renamed to ...
12049         (CFLAGS-mmap64.o): This.
12050         (CFLAGS-epoll_pwait.os): New.
12051         (CFLAGS-mmap.os): Likewise.
12052         (CFLAGS-mmap64.os): Likewise.
12053         (CFLAGS-semtimedop.os): Likewise.
12054         (CFLAGS-semtimedop.c): Renamed to ...
12055         (CFLAGS-semtimedop.o): This.
12057 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12059         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
12060         warning message.
12062 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12064         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
12065         * Makefile ($(objpfx)c++-types-check.out): Filter out
12066         $(+gccwarn-c) instead of -Wstrict-prototypes.
12068         * io/fts.c (fts_open): Convert to prototype-style function
12069         definition.
12070         * malloc/mcheck.c (mcheck): Likewise.
12071         (mcheck_pedantic): Likewise.
12072         * posix/regexec.c (re_search_2_stub): Likewise.  Use
12073         internal_function.
12074         (re_search_internal): Likewise.
12075         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
12076         prototype-style function definition.
12077         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12078         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
12079         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
12080         (xdr_utmpptr): Likewise.
12081         (xdr_utmparr): Likewise.
12082         (xdr_utmpidle): Likewise.
12083         (xdr_utmpidleptr): Likewise.
12084         (xdr_utmpidlearr): Likewise.
12086         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
12087         log, log10 and log2.
12088         * math/auto-libm-test-out: Regenerated.
12089         * math/libm-test.inc (fmod_test_data): Add more tests.
12090         (fpclassify_test_data): Likewise.
12091         (frexp_test_data): Likewise.
12092         (hypot_test_data): Likewise.
12093         (ilogb_test_data): Likewise.
12095 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
12097         * debug/fortify_fail.c (__fortify_fail): Convert to
12098         prototype-style function definition.  Use internal_function.
12099         * libio/genops.c (save_for_backup): Convert to prototype-style
12100         function definition.
12101         * libio/wgenops.c (save_for_wbackup): Likewise.
12102         * login/grantpt.c (grantpt): Likewise.
12103         * login/ptsname.c (ptsname): Likewise.
12104         (__ptsname_r): Likewise.
12105         * login/unlockpt.c (unlockpt): Likewise.
12106         * mach/msgserver.c (__mach_msg_server): Likewise.
12107         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
12108         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
12109         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
12110         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
12111         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
12112         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
12113         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
12114         Likewise.
12115         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
12116         internal_function.
12117         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
12118         prototype-style function definition.
12119         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
12120         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
12121         (__pthread_create_2_0): Likewise.
12122         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
12123         * nptl/register-atfork.c (__register_atfork): Likewise.
12124         * posix/glob.c (glob): Likewise.
12125         * posix/regcomp.c (re_comp): Likewise.
12126         * posix/regexec.c (re_exec): Likewise.
12127         * stdlib/add_n.c [__STDC__]: Make code unconditional.
12128         [!__STDC__]: Remove conditional code.
12129         * stdlib/cmp.c [__STDC__]: Make code unconditional.
12130         [!__STDC__]: Remove conditional code.
12131         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
12132         [!__STDC__]: Remove conditional code.
12133         * stdlib/divrem.c [__STDC__]: Make code unconditional.
12134         [!__STDC__]: Remove conditional code.
12135         * stdlib/lshift.c [__STDC__]: Make code unconditional.
12136         [!__STDC__]: Remove conditional code.
12137         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
12138         [!__STDC__]: Remove conditional code.
12139         * stdlib/mul.c [__STDC__]: Make code unconditional.
12140         [!__STDC__]: Remove conditional code.
12141         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
12142         [!__STDC__]: Remove conditional code.
12143         * stdlib/rshift.c [__STDC__]: Make code unconditional.
12144         [!__STDC__]: Remove conditional code.
12145         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
12146         function definition.
12147         (STRTOF): Likewise.
12148         * stdlib/strtod_l.c (__STRTOF): Likewise.
12149         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
12150         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
12151         (__strtol_l): Likewise.
12152         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
12153         [!__STDC__]: Remove conditional code.
12154         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
12155         definition.
12156         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12157         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12158         type.
12159         (__strcasecmp): Convert to prototype-style function definition.
12160         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
12161         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12162         type.
12163         (__strncasecmp): Convert to prototype-style function definition.
12164         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
12165         * sunrpc/xdr.c (xdr_union): Likewise.
12166         * sunrpc/xdr_array.c (xdr_array): Likewise.
12167         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
12168         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
12169         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
12170         Likewise.
12171         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
12172         Likewise.
12173         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
12174         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12175         Likewise.
12176         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
12177         (LOCALE_PARAM_PROTO): Likewise.
12178         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
12179         argument type.
12180         (ut_argument_spec): Remove macro.
12181         (ut_argument_spec_iso): Rename to ut_argument_spec.
12182         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
12183         prototype-style function definition.
12184         (memcpy_uppcase): Likewise.
12185         (__strftime_internal): Likewise.
12186         (my_strftime): Likewise.
12187         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
12188         (LOCALE_PARAM_DECL): Likewise.
12189         [_LIBC] (LOCALE_PARAM): Include argument type.
12190         (__strptime_internal): Convert to prototype-style function
12191         definition.
12192         (strptime): Likewise.
12193         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12194         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12195         type.
12196         (__wcscasecmp): Convert to prototype-style function definition.
12197         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
12198         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12199         type.
12200         (__wcsncasecmp): Convert to prototype-style function definition.
12202         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
12203         function definition.
12204         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12205         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12206         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
12207         * elf/dl-minimal.c (_itoa): Likewise.
12208         * hurd/hurdmalloc.c (malloc): Likewise.
12209         (free): Likewise.
12210         (realloc): Likewise.
12211         * inet/inet6_option.c (inet6_option_space): Likewise.
12212         (inet6_option_init): Likewise.
12213         (inet6_option_append): Likewise.
12214         (inet6_option_alloc): Likewise.
12215         (inet6_option_next): Likewise.
12216         (inet6_option_find): Likewise.
12217         * io/ftw.c (FTW_NAME): Likewise.
12218         (NFTW_NAME): Likewise.
12219         (NFTW_NEW_NAME): Likewise.
12220         (NFTW_OLD_NAME): Likewise.
12221         * libio/iofwide.c (_IO_fwide): Likewise.
12222         * libio/strops.c (_IO_str_init_static_internal): Likewise.
12223         (_IO_str_init_static): Likewise.
12224         (_IO_str_init_readonly): Likewise.
12225         (_IO_str_overflow): Likewise.
12226         (_IO_str_underflow): Likewise.
12227         (_IO_str_count): Likewise.
12228         (_IO_str_seekoff): Likewise.
12229         (_IO_str_pbackfail): Likewise.
12230         (_IO_str_finish): Likewise.
12231         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
12232         (_IO_wstr_overflow): Likewise.
12233         (_IO_wstr_underflow): Likewise.
12234         (_IO_wstr_count): Likewise.
12235         (_IO_wstr_seekoff): Likewise.
12236         (_IO_wstr_pbackfail): Likewise.
12237         (_IO_wstr_finish): Likewise.
12238         * locale/programs/localedef.c (normalize_codeset): Likewise.
12239         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12240         (add_locales_to_archive): Likewise.
12241         (delete_locales_from_archive): Likewise.
12242         * malloc/malloc.c (__libc_mallinfo): Likewise.
12243         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
12244         * misc/tsearch.c (__tfind): Likewise.
12245         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
12246         * nptl/pthread_attr_getdetachstate.c
12247         (__pthread_attr_getdetachstate): Likewise.
12248         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
12249         Likewise.
12250         * nptl/pthread_attr_getinheritsched.c
12251         (__pthread_attr_getinheritsched): Likewise.
12252         * nptl/pthread_attr_getschedparam.c
12253         (__pthread_attr_getschedparam): Likewise.
12254         * nptl/pthread_attr_getschedpolicy.c
12255         (__pthread_attr_getschedpolicy): Likewise.
12256         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
12257         Likewise.
12258         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
12259         Likewise.
12260         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
12261         Likewise.
12262         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
12263         Likewise.
12264         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
12265         (__pthread_attr_init_2_0): Likewise.
12266         * nptl/pthread_attr_setdetachstate.c
12267         (__pthread_attr_setdetachstate): Likewise.
12268         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
12269         Likewise.
12270         * nptl/pthread_attr_setinheritsched.c
12271         (__pthread_attr_setinheritsched): Likewise.
12272         * nptl/pthread_attr_setschedparam.c
12273         (__pthread_attr_setschedparam): Likewise.
12274         * nptl/pthread_attr_setschedpolicy.c
12275         (__pthread_attr_setschedpolicy): Likewise.
12276         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
12277         Likewise.
12278         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
12279         Likewise.
12280         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
12281         Likewise.
12282         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
12283         Likewise.
12284         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
12285         Likewise.
12286         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
12287         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
12288         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
12289         use internal_function.
12290         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
12291         prototype-style function definition.
12292         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
12293         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
12294         internal_function.
12295         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
12296         Convert to prototype-style function definition.
12297         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12298         Likewise.
12299         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
12300         Likewise.
12301         (__pthread_mutex_unlock): Likewise.
12302         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
12303         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
12304         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
12305         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
12306         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
12307         * nss/makedb.c (process_input): Likewise.
12308         * posix/fnmatch.c (__strchrnul): Likewise.
12309         (__wcschrnul): Likewise.
12310         (fnmatch): Likewise.
12311         * posix/fnmatch_loop.c (FCT): Likewise.
12312         * posix/glob.c (globfree): Likewise.
12313         (__glob_pattern_type): Likewise.
12314         (__glob_pattern_p): Likewise.
12315         * posix/regcomp.c (re_compile_pattern): Likewise.
12316         (re_set_syntax): Likewise.
12317         (re_compile_fastmap): Likewise.
12318         (regcomp): Likewise.
12319         (regerror): Likewise.
12320         (regfree): Likewise.
12321         * posix/regexec.c (regexec): Likewise.
12322         (re_match): Likewise.
12323         (re_search): Likewise.
12324         (re_match_2): Likewise.
12325         (re_search_2): Likewise.
12326         (re_search_stub): Likewise.  Use internal_function
12327         (re_copy_regs): Likewise.
12328         (re_set_registers): Convert to prototype-style function
12329         definition.
12330         (prune_impossible_nodes): Likewise.  Use internal_function.
12331         * resolv/inet_net_pton.c (inet_net_pton): Convert to
12332         prototype-style function definition.
12333         (inet_net_pton_ipv4): Likewise.
12334         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12335         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
12336         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
12337         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
12338         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12339         Make variadic.
12340         * time/strptime_l.c (localtime_r): Convert to prototype-style
12341         function definition.
12342         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12343         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12344         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12345         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12347         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
12348         definition.
12349         (_ufc_doit_r): Likewise.
12350         * crypt/crypt_util.c (_ufc_copymem): Likewise.
12351         (_ufc_output_conversion_r): Likewise.
12352         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
12353         * inet/rcmd.c (rcmd_af): Likewise.
12354         (rcmd): Likewise.
12355         (ruserok_af): Likewise.
12356         (ruserok): Likewise.
12357         (ruserok2_sa): Likewise.
12358         (ruserok_sa): Likewise.
12359         (iruserok_af): Likewise.
12360         (iruserok): Likewise.
12361         (__ivaliduser): Likewise.
12362         (__validuser2_sa): Likewise.
12363         * inet/rexec.c (rexec_af): Likewise.
12364         (rexec): Likewise.
12365         * inet/ruserpass.c (ruserpass): Likewise.
12366         * locale/programs/xmalloc.c (xcalloc): Likewise.
12367         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
12368         * math/w_drem.c (__drem): Likewise.
12369         * math/w_dremf.c (__dremf): Likewise.
12370         * math/w_dreml.c (__dreml): Likewise.
12371         * misc/daemon.c (daemon): Likewise.
12372         * resolv/res_debug.c (p_fqnname): Likewise.
12373         * stdlib/div.c (div): Likewise.
12374         * string/memcmp.c (memcmp_bytes): Likewise.
12375         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
12376         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
12378         * crypt/cert.c (main): Convert to prototype-style function
12379         definition.
12380         * io/pipe.c (__pipe): Likewise.
12381         * io/pipe2.c (__pipe2): Likewise.
12382         * misc/futimesat.c (futimesat): Likewise.
12383         * misc/utimes.c (__utimes): Likewise.
12384         * posix/execve.c (__execve): Likewise.
12385         * posix/execvp.c (execvp): Likewise.
12386         * posix/execvpe.c (__execvpe): Likewise.
12387         * posix/fexecve.c (fexecve): Likewise.
12388         * socket/socketpair.c (socketpair): Likewise.
12389         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12390         * stdlib/erand48.c (erand48): Likewise.
12391         * stdlib/erand48_r.c (__erand48_r): Likewise.
12392         * stdlib/jrand48.c (jrand48): Likewise.
12393         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
12394         * stdlib/lcong48.c (lcong48): Likewise.
12395         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
12396         * stdlib/nrand48.c (nrand48): Likewise.
12397         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
12398         * stdlib/seed48.c (seed48): Likewise.
12399         * stdlib/seed48_r.c (__seed48_r): Likewise.
12400         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
12401         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
12402         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
12404 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12406         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
12407         * configure: Regenerated.
12408         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
12409         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
12410         unconditional.
12411         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12412         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12413         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12414         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
12415         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
12416         unconditional.
12417         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12419         * posix/Makefile (CFLAGS-regex.c): Remove variable.
12420         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
12422         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
12423         function definition.
12424         * crypt/crypt_util.c (__encrypt_r): Likewise.
12425         * libio/genops.c (_IO_no_init): Likewise.
12426         * libio/iofopncook.c (_IO_fopencookie): Likewise.
12427         (_IO_old_fopencookie): Likewise.
12428         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12429         * libio/iogetline.c (_IO_getline): Likewise.
12430         (_IO_getline_info): Likewise.
12431         * libio/iogetwline.c (_IO_getwline): Likewise.
12432         (_IO_getwline_info): Likewise.
12433         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
12434         * libio/vswprintf.c (_IO_vswprintf): Likewise.
12435         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
12436         (find_entry): Likewise.
12437         (iterate_table): Likewise.
12438         (lookup): Likewise.
12439         * login/forkpty.c (forkpty): Likewise.
12440         * misc/hsearch_r.c (__hsearch_r): Likewise.
12441         * misc/select.c (__select): Likewise.
12442         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
12443         Likewise.
12444         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
12445         Likewise.
12446         * nptl/old_pthread_cond_timedwait.c
12447         (__pthread_cond_timedwait_2_0): Likewise.
12448         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
12449         * nptl/pthread_barrierattr_getpshared.c
12450         (pthread_barrierattr_getpshared): Likewise.
12451         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
12452         Likewise.
12453         * nptl/pthread_mutex_setprioceiling.c
12454         (pthread_mutex_setprioceiling): Likewise.
12455         * nptl/pthread_mutexattr_getprioceiling.c
12456         (pthread_mutexattr_getprioceiling): Likewise.
12457         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
12458         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12459         Likewise.
12460         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12461         Likewise.
12462         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
12463         Likewise.
12464         * socket/recvfrom.c (__recvfrom): Likewise.
12465         * socket/sendto.c (__sendto): Likewise.
12466         * socket/setsockopt.c (__setsockopt): Likewise.
12467         * stdio-common/_itoa.c (_itoa): Likewise.
12468         * stdio-common/_itowa.c (_itowa): Likewise.
12469         * stdio-common/reg-printf.c (__register_printf_specifier):
12470         Likewise.
12471         (__register_printf_function): Likewise.
12472         * stdio-common/tempname.c (__path_search): Likewise.
12473         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
12474         * stdlib/mul_1.c (mpn_mul_1): Likewise.
12475         * stdlib/random_r.c (__initstate_r): Likewise.
12476         * stdlib/setenv.c (__add_to_environ): Likewise.
12477         * stdlib/submul_1.c (mpn_submul_1): Likewise.
12478         * streams/getpmsg.c (getpmsg): Likewise.
12479         * streams/putmsg.c (putmsg): Likewise.
12480         * streams/putpmsg.c (putpmsg): Likewise.
12481         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
12482         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12483         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
12484         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
12485         * sunrpc/pm_getport.c (pmap_getport): Likewise.
12486         * sunrpc/svc_udp.c (cache_get): Likewise.
12487         * sunrpc/xdr_array.c (xdr_vector): Likewise.
12488         * sysdeps/mach/hurd/getcwd.c
12489         (__canonicalize_directory_name_internal): Likewise.
12490         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
12491         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
12492         * sysdeps/mach/hurd/select.c (__select): Likewise.
12493         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
12494         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12495         * sysdeps/sparc/nptl/pthread_barrier_init.c
12496         (__pthread_barrier_init): Likewise.
12497         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
12498         (__pthread_cond_timedwait): Likewise.
12499         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
12500         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
12501         Likewise.
12502         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
12503         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
12504         Likewise.
12505         * sysvipc/semtimedop.c (semtimedop): Likewise.
12506         * time/setitimer.c (__setitimer): Likewise.
12507         * time/strftime_l.c (emacs_strftime): Likewise.
12509 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12511         * config.make.in (have-ssp): Delete.
12512         (stack-protector): New variable.
12513         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
12514         cache test for -fstack-protector-strong.  Export stack_protector to
12515         the best ssp flag.
12516         * configure: Regenerated.
12517         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
12518         * nscd/Makefile (CFLAGS-nscd): Likewise.
12519         * resolv/Makefile (CFLAGS-libresolv): Likewise.
12521 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
12523         [BZ #19122]
12524         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
12525         attribute_hidden.
12527 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12529         [BZ #18743]
12530         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
12531         code to...
12532         (ELIDE_LOCK): ...here.
12533         (__get_new_count): New function with part of the code from
12534         __elide_lock that updates the value of adapt_count after a
12535         transaction abort.
12536         (__elided_trylock): Moved this code to...
12537         (ELIDE_TRYLOCK): ...here.
12539 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12541         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
12542         * configure: Regenerate.
12543         * INSTALL: Regenerate.
12544         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
12545         and tweak grammar.
12547 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
12549         * login/programs/pt_chown.c: Include signal.h
12550         (main): Clear any signal mask from the parent process.
12552 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12554         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
12555         * configure: Regenerated.
12556         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
12557         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
12558         $(gnu89-inline-CFLAGS).
12560         * configure.ac (libc_cv_asm_weak_directive): Remove configure
12561         test.
12562         (libc_cv_asm_weakext_directive): Likewise.
12563         * configure: Regenerated.
12564         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
12565         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
12566         * include/libc-symbols.h
12567         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
12568         #error.
12569         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
12570         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
12572         * sysdeps/arm/backtrace.c (__backtrace): Convert to
12573         prototype-style function definition.
12574         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12575         * sysdeps/i386/ffs.c (__ffs): Likewise.
12576         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12577         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
12578         Likewise.
12579         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12580         Likewise.
12581         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
12582         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12583         Likewise.
12584         * sysdeps/m68k/ffs.c (__ffs): Likewise.
12585         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
12586         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
12587         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
12588         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
12589         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
12590         * sysdeps/mach/hurd/access.c (__access): Likewise.
12591         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
12592         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
12593         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
12594         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
12595         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
12596         (cthread_getspecific): Likewise.
12597         (cthread_setspecific): Likewise.
12598         (__libc_getspecific): Likewise.
12599         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
12600         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
12601         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
12602         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
12603         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
12604         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
12605         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
12606         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
12607         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
12608         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
12609         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
12610         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
12611         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
12612         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
12613         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
12614         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
12615         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
12616         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
12617         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
12618         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
12619         * sysdeps/mach/hurd/link.c (__link): Likewise.
12620         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
12621         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
12622         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
12623         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
12624         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12625         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
12626         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
12627         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
12628         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12629         * sysdeps/mach/hurd/rename.c (rename): Likewise.
12630         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
12631         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
12632         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
12633         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
12634         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
12635         * sysdeps/mach/hurd/send.c (__send): Likewise.
12636         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
12637         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
12638         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
12639         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
12640         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
12641         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
12642         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
12643         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
12644         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
12645         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
12646         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
12647         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
12648         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
12649         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
12650         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
12651         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
12652         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
12653         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
12654         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
12655         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12656         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
12657         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
12658         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
12659         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
12660         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
12661         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
12662         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
12663         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
12664         * sysdeps/posix/alarm.c (alarm): Likewise.
12665         * sysdeps/posix/cuserid.c (cuserid): Likewise.
12666         * sysdeps/posix/dirfd.c (dirfd): Likewise.
12667         * sysdeps/posix/dup.c (__dup): Likewise.
12668         * sysdeps/posix/dup2.c (__dup2): Likewise.
12669         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
12670         (main): Likewise.
12671         * sysdeps/posix/flock.c (__flock): Likewise.
12672         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
12673         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12674         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
12675         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
12676         * sysdeps/posix/isatty.c (__isatty): Likewise.
12677         * sysdeps/posix/killpg.c (killpg): Likewise.
12678         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12679         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
12680         * sysdeps/posix/raise.c (raise): Likewise.
12681         * sysdeps/posix/remove.c (remove): Likewise.
12682         * sysdeps/posix/rename.c (rename): Likewise.
12683         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
12684         * sysdeps/posix/seekdir.c (seekdir): Likewise.
12685         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
12686         * sysdeps/posix/sigignore.c (sigignore): Likewise.
12687         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
12688         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12689         * sysdeps/posix/sigset.c (sigset): Likewise.
12690         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
12691         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
12692         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
12693         * sysdeps/posix/time.c (time): Likewise.
12694         * sysdeps/posix/ttyname.c (getttyname): Likewise.
12695         (ttyname): Likewise.
12696         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
12697         * sysdeps/posix/utime.c (utime): Likewise.
12698         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
12699         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12700         Likewise.
12701         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
12702         (pthread_spin_trylock): Likewise.
12703         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
12704         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
12705         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
12706         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
12707         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
12708         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
12709         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
12710         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
12711         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
12712         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
12713         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
12714         * sysdeps/s390/ffs.c (__ffs): Likewise.
12715         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
12716         Likewise.
12717         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12718         Likewise.
12719         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
12720         Likewise.
12721         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
12722         (pthread_barrier_destroy): Likewise.
12723         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12724         (__pthread_barrier_wait): Likewise.
12725         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
12726         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12727         (__pthread_barrier_wait): Likewise.
12728         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
12729         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
12730         (memcmp_not_common_alignment): Likewise.
12731         (MEMCMP): Likewise.
12732         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
12733         (_wordcopy_fwd_dest_aligned): Likewise.
12734         (_wordcopy_bwd_aligned): Likewise.
12735         (_wordcopy_bwd_dest_aligned): Likewise.
12736         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
12737         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
12738         * sysdeps/unix/bsd/stty.c (stty): Likewise.
12739         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
12740         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
12741         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
12742         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
12743         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
12744         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
12745         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
12746         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
12747         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12748         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
12749         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
12750         * sysdeps/unix/stime.c (stime): Likewise.
12751         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
12752         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
12753         Likewise.  Use internal_function.
12754         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
12755         Convert to prototype-style function definition.
12756         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12757         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12758         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
12759         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12760         Likewise.  Use internal_function.
12761         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
12762         prototype-style function definition
12763         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12764         Likewise.
12765         (__getlogin_r): Likewise.
12766         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
12767         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
12768         (__pthread_cond_broadcast): Likewise.
12769         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
12770         (__pthread_cond_destroy): Likewise.
12771         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
12772         (__pthread_cond_init): Likewise.
12773         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
12774         (__pthread_cond_signal): Likewise.
12775         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
12776         (__pthread_cond_wait): Likewise.
12777         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
12778         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12779         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
12780         Likewise.
12781         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
12782         Likewise.
12783         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
12784         Likewise.
12785         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
12786         Likewise.
12787         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
12788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
12789         (__ftruncate64): Likewise.
12790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
12791         (truncate64): Likewise.
12792         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
12793         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
12794         (pthread_getcpuclockid): Likewise.
12795         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12796         Likewise.
12797         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12798         Likewise.
12799         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
12800         Likewise.
12801         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12802         Likewise.
12803         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
12804         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
12805         (__libc_sigaction): Likewise.
12806         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
12807         Likewise.
12808         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
12809         (__sigprocmask): Likewise.
12810         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
12811         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
12812         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
12813         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12814         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12815         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
12816         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12817         Likewise.
12818         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
12819         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
12820         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12821         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
12822         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
12823         Likewise.
12824         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
12825         (__sigprocmask): Likewise.
12826         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
12827         (cfgetispeed): Likewise.
12828         (cfsetospeed): Likewise.
12829         (cfsetispeed): Likewise.
12830         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
12831         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
12832         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12833         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12834         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
12835         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
12836         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
12837         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
12838         Likewise.
12839         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
12840         Likewise.
12841         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
12842         Likewise.
12843         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
12844         Likewise.
12845         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12847 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12849         sunrpc: Rewrite with explicit TLS access using __thread.
12850         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
12851         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
12852         directly.
12853         (__rpc_thread_variables): Access thread_rpc_vars directly.
12854         Eliminate redundant assignment of the tvp variable.
12856 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12858         malloc: Rewrite with explicit TLS access using __thread.
12859         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
12860         (tsd_setspecific, tsd_getspecific): Remove.
12861         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
12862         (tsd_setspecific, tsd_getspecific): Likewise.
12863         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
12864         (tsd_setspecific, tsd_getspecific): Likewise.
12865         * malloc/arena.c (thread_arena): New TLS variable.
12866         (arena_key): Remove variable.
12867         (arena_get): Use thread_arena.
12868         (arena_lookup): Remove macro.
12869         (malloc_atfork, free_atfork, ptmalloc_lock_all)
12870         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
12871         (_int_new_arena, get_free_list, reused_arena)
12872         (arena_thread_freeres): Use thread_arena.
12873         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
12874         tsd_getspecific, tsd_setspecific from safety annotations.
12875         (Allocating Cleared Space): Remove arena_lookup from safety
12876         annotations.
12878 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12880         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
12881         struct scratch_buffer instead of extend_alloca.
12883 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12885         * sysdeps/unix/sysv/linux/kernel-features.h
12886         (__ASSUME_SOCK_CLOEXEC): Remove.
12887         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
12888         (__have_paccept): Remove unused macro.
12889         * include/unistd.h (__have_sock_cloexec): Remove declaration.
12890         * misc/syslog.c (openlog_internal): Remove fallback code for
12891         !__ASSUME_SOCK_CLOEXEC.
12892         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
12893         missing SOCK_CLOEXEC.
12894         * nscd/connections.c (have_sock_cloexec): Remove definition.
12895         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12896         * nscd/nscd_helper.c (open_socket): Remove fallback code for
12897         !__ASSUME_SOCK_CLOEXEC.
12898         * resolv/res_send.c (__have_o_nonblock): Remove definition.
12899         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12900         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
12901         definition.
12902         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
12903         code for !__ASSUME_SOCK_CLOEXEC.
12905 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12907         [BZ #18982]
12908         * manual/stdio.texi (Variable Arguments Output): Add portability
12909         note, explaining that vfprintf clobbers the va_list pointer.
12911 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12913         * math/libm-test.inc (fabs_test_data): Add more tests.
12914         (fdim_test_data): Likewise.
12915         (fma_test_data): Likewise.
12916         (fmax_test_data): Likewise.
12917         (fmin_test_data): Likewise.
12918         (fmod_test_data): Likewise.
12920 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
12922         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
12923         data.
12925 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12927         * math/libm-test.inc (ceil_test_data): Add more tests and more
12928         expectations for "inexact".
12929         (floor_test_data): Add more tests.
12930         (round_test_data): Likewise.
12931         (trunc_test_data): Likewise.
12933         * crypt/cert.c (good_bye): Convert to prototype-style function
12934         definition.
12935         (get8): Likewise.
12936         (put8): Likewise.
12937         * crypt/crypt-entry.c (crypt): Likewise.
12938         (__fcrypt): Likewise.
12939         * crypt/crypt_util.c (_ufc_prbits): Likewise.
12940         (_ufc_set_bits): Likewise.
12941         (_ufc_clearmem): Likewise.
12942         (__init_des_r): Likewise.
12943         (shuffle_sb): Likewise.
12944         (shuffle_sb): Likewise.
12945         (_ufc_setup_salt_r): Likewise.
12946         (_ufc_mk_keytab_r): Likewise.
12947         (_ufc_dofinalperm_r): Likewise.
12948         (encrypt): Likewise.
12949         (__setkey_r): Likewise.
12950         (setkey): Likewise.
12951         * crypt/md5.c (md5_init_ctx): Likewise.
12952         (md5_read_ctx): Likewise.
12953         (md5_finish_ctx): Likewise.
12954         (md5_stream): Likewise.
12955         (md5_buffer): Likewise.
12956         (md5_process_bytes): Likewise.
12957         * crypt/sha256.c (__sha256_init_ctx): Likewise.
12958         (__sha256_finish_ctx): Likewise.
12959         (__sha256_process_bytes): Likewise.
12960         * crypt/sha512.c (__sha512_init_ctx): Likewise.
12961         (__sha512_finish_ctx): Likewise.
12962         (__sha512_process_bytes): Likewise.
12963         * ctype/isctype.c (__isctype): Likewise.
12964         * debug/backtrace.c (__backtrace): Likewise.
12965         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
12966         * debug/fgets_chk.c (__fgets_chk): Likewise.
12967         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
12968         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
12969         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12970         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12971         * debug/memset_chk.c (__memset_chk): Likewise.
12972         * debug/strcat_chk.c (__strcat_chk): Likewise.
12973         * debug/strncat_chk.c (__strncat_chk): Likewise.
12974         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
12975         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
12976         * dirent/dirfd.c (dirfd): Likewise.
12977         * dirent/getdents.c (__getdirentries): Likewise.
12978         * dirent/getdents64.c (getdirentries64): Likewise.
12979         * dirent/rewinddir.c (__rewinddir): Likewise.
12980         * dirent/seekdir.c (seekdir): Likewise.
12981         * dirent/telldir.c (telldir): Likewise.
12982         * elf/sln.c (makesymlinks): Likewise.
12983         (makesymlink): Likewise.
12984         * gmon/gmon.c (__moncontrol): Likewise.
12985         (__monstartup): Likewise.
12986         (write_hist): Likewise.
12987         (write_call_graph): Likewise.
12988         (write_bb_counts): Likewise.
12989         * grp/setgroups.c (setgroups): Likewise.
12990         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12991         * inet/inet_net.c (inet_network): Likewise.
12992         * inet/inet_netof.c (inet_netof): Likewise.
12993         * inet/rcmd.c (rresvport_af): Likewise.
12994         (rresvport): Likewise.
12995         * io/access.c (__access): Likewise.
12996         * io/chdir.c (__chdir): Likewise.
12997         * io/chmod.c (__chmod): Likewise.
12998         * io/chown.c (__chown): Likewise.
12999         * io/close.c (__close): Likewise.
13000         * io/creat.c (creat): Likewise.
13001         * io/creat64.c (creat64): Likewise.
13002         * io/dup.c (__dup): Likewise.
13003         * io/dup2.c (__dup2): Likewise.
13004         * io/dup3.c (__dup3): Likewise.
13005         * io/euidaccess.c (__euidaccess): Likewise.
13006         * io/faccessat.c (faccessat): Likewise.
13007         * io/fchmod.c (__fchmod): Likewise.
13008         * io/fchmodat.c (fchmodat): Likewise.
13009         * io/fchown.c (__fchown): Likewise.
13010         * io/fchownat.c (fchownat): Likewise.
13011         * io/fcntl.c (__fcntl): Likewise.
13012         * io/flock.c (__flock): Likewise.
13013         * io/fts.c (fts_load): Likewise.
13014         (fts_close): Likewise.
13015         (fts_read): Likewise.
13016         (fts_set): Likewise.
13017         (fts_children): Likewise.
13018         (fts_build): Likewise.
13019         (fts_stat): Likewise.
13020         (fts_sort): Likewise.
13021         (fts_alloc): Likewise.
13022         (fts_lfree): Likewise.
13023         (fts_palloc): Likewise.
13024         (fts_padjust): Likewise.
13025         (fts_maxarglen): Likewise.
13026         (fts_safe_changedir): Likewise.
13027         * io/getwd.c (getwd): Likewise.
13028         * io/isatty.c (__isatty): Likewise.
13029         * io/lchown.c (__lchown): Likewise.
13030         * io/link.c (__link): Likewise.
13031         * io/linkat.c (linkat): Likewise.
13032         * io/lseek.c (__libc_lseek): Likewise.
13033         * io/mkdir.c (__mkdir): Likewise.
13034         * io/mkdirat.c (mkdirat): Likewise.
13035         * io/mkfifo.c (mkfifo): Likewise.
13036         * io/mkfifoat.c (mkfifoat): Likewise.
13037         * io/open.c (__libc_open): Likewise.
13038         * io/open64.c (__libc_open64): Likewise.
13039         * io/readlink.c (__readlink): Likewise.
13040         * io/readlinkat.c (readlinkat): Likewise.
13041         * io/rmdir.c (__rmdir): Likewise.
13042         * io/symlink.c (__symlink): Likewise.
13043         * io/symlinkat.c (symlinkat): Likewise.
13044         * io/ttyname.c (ttyname): Likewise.
13045         * io/ttyname_r.c (__ttyname_r): Likewise.
13046         * io/umask.c (__umask): Likewise.
13047         * io/unlink.c (__unlink): Likewise.
13048         * io/unlinkat.c (unlinkat): Likewise.
13049         * io/utime.c (utime): Likewise.
13050         * libio/clearerr.c (clearerr): Likewise.
13051         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
13052         * libio/feof.c (_IO_feof): Likewise.
13053         * libio/feof_u.c (feof_unlocked): Likewise.
13054         * libio/ferror.c (_IO_ferror): Likewise.
13055         * libio/ferror_u.c (ferror_unlocked): Likewise.
13056         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13057         * libio/fileno.c (__fileno): Likewise.
13058         * libio/fputc.c (fputc): Likewise.
13059         * libio/fputc_u.c (fputc_unlocked): Likewise.
13060         * libio/fputwc.c (fputwc): Likewise.
13061         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
13062         * libio/freopen.c (freopen): Likewise.
13063         * libio/freopen64.c (freopen64): Likewise.
13064         * libio/fseek.c (fseek): Likewise.
13065         * libio/fseeko.c (fseeko): Likewise.
13066         * libio/fseeko64.c (fseeko64): Likewise.
13067         * libio/ftello.c (__ftello): Likewise.
13068         * libio/ftello64.c (ftello64): Likewise.
13069         * libio/fwide.c (fwide): Likewise.
13070         * libio/genops.c (_IO_un_link): Likewise.
13071         (_IO_link_in): Likewise.
13072         (_IO_least_marker): Likewise.
13073         (_IO_switch_to_main_get_area): Likewise.
13074         (_IO_switch_to_backup_area): Likewise.
13075         (_IO_switch_to_get_mode): Likewise.
13076         (_IO_free_backup_area): Likewise.
13077         (_IO_switch_to_put_mode): Likewise.
13078         (__overflow): Likewise.
13079         (__underflow): Likewise.
13080         (__uflow): Likewise.
13081         (_IO_setb): Likewise.
13082         (_IO_doallocbuf): Likewise.
13083         (_IO_default_underflow): Likewise.
13084         (_IO_default_uflow): Likewise.
13085         (_IO_default_xsputn): Likewise.
13086         (_IO_sgetn): Likewise.
13087         (_IO_default_xsgetn): Likewise.
13088         (_IO_sync): Likewise.
13089         (_IO_default_setbuf): Likewise.
13090         (_IO_default_seekpos): Likewise.
13091         (_IO_default_doallocate): Likewise.
13092         (_IO_init): Likewise.
13093         (_IO_old_init): Likewise.
13094         (_IO_default_sync): Likewise.
13095         (_IO_default_finish): Likewise.
13096         (_IO_default_seekoff): Likewise.
13097         (_IO_sputbackc): Likewise.
13098         (_IO_sungetc): Likewise.
13099         (_IO_set_column): Likewise.
13100         (_IO_set_column): Likewise.
13101         (_IO_adjust_column): Likewise.
13102         (_IO_get_column): Likewise.
13103         (_IO_init_marker): Likewise.
13104         (_IO_remove_marker): Likewise.
13105         (_IO_marker_difference): Likewise.
13106         (_IO_marker_delta): Likewise.
13107         (_IO_seekmark): Likewise.
13108         (_IO_unsave_markers): Likewise.
13109         (_IO_nobackup_pbackfail): Likewise.
13110         (_IO_default_pbackfail): Likewise.
13111         (_IO_default_seek): Likewise.
13112         (_IO_default_stat): Likewise.
13113         (_IO_default_read): Likewise.
13114         (_IO_default_write): Likewise.
13115         (_IO_default_showmanyc): Likewise.
13116         (_IO_default_imbue): Likewise.
13117         (_IO_iter_next): Likewise.
13118         (_IO_iter_file): Likewise.
13119         * libio/getc.c (_IO_getc): Likewise.
13120         * libio/getwc.c (_IO_getwc): Likewise.
13121         * libio/iofclose.c (_IO_new_fclose): Likewise.
13122         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13123         * libio/iofflush.c (_IO_fflush): Likewise.
13124         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
13125         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
13126         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
13127         * libio/iofgets.c (_IO_fgets): Likewise.
13128         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
13129         * libio/iofgetws.c (fgetws): Likewise.
13130         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13131         * libio/iofopen64.c (_IO_fopen64): Likewise.
13132         * libio/iofopncook.c (_IO_cookie_read): Likewise.
13133         (_IO_cookie_write): Likewise.
13134         (_IO_cookie_seek): Likewise.
13135         (_IO_cookie_close): Likewise.
13136         (_IO_cookie_seekoff): Likewise.
13137         (_IO_old_cookie_seek): Likewise.
13138         * libio/iofputs.c (_IO_fputs): Likewise.
13139         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
13140         * libio/iofputws.c (fputws): Likewise.
13141         * libio/iofputws_u.c (fputws_unlocked): Likewise.
13142         * libio/iofread.c (_IO_fread): Likewise.
13143         * libio/iofread_u.c (__fread_unlocked): Likewise.
13144         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
13145         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
13146         * libio/ioftell.c (_IO_ftell): Likewise.
13147         * libio/iofwrite.c (_IO_fwrite): Likewise.
13148         * libio/iogetdelim.c (_IO_getdelim): Likewise.
13149         * libio/iogets.c (_IO_gets): Likewise.
13150         * libio/iopadn.c (_IO_padn): Likewise.
13151         * libio/iopopen.c (_IO_new_proc_open): Likewise.
13152         (_IO_new_popen): Likewise.
13153         (_IO_new_proc_close): Likewise.
13154         * libio/ioputs.c (_IO_puts): Likewise.
13155         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
13156         (_IO_seekoff): Likewise.
13157         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
13158         (_IO_seekpos): Likewise.
13159         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
13160         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
13161         * libio/ioungetc.c (_IO_ungetc): Likewise.
13162         * libio/ioungetwc.c (ungetwc): Likewise.
13163         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13164         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
13165         * libio/iowpadn.c (_IO_wpadn): Likewise.
13166         * libio/libc_fatal.c (__libc_fatal): Likewise.
13167         * libio/memstream.c (__open_memstream): Likewise.
13168         (_IO_mem_sync): Likewise.
13169         (_IO_mem_finish): Likewise.
13170         * libio/oldfileops.c (_IO_old_file_init): Likewise.
13171         (_IO_old_file_close_it): Likewise.
13172         (_IO_old_file_finish): Likewise.
13173         (_IO_old_file_fopen): Likewise.
13174         (_IO_old_file_attach): Likewise.
13175         (_IO_old_file_setbuf): Likewise.
13176         (_IO_old_do_write): Likewise.
13177         (old_do_write): Likewise.
13178         (_IO_old_file_underflow): Likewise.
13179         (_IO_old_file_overflow): Likewise.
13180         (_IO_old_file_sync): Likewise.
13181         (_IO_old_file_seekoff): Likewise.
13182         (_IO_old_file_write): Likewise.
13183         (_IO_old_file_xsputn): Likewise.
13184         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
13185         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13186         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
13187         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
13188         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13189         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
13190         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
13191         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
13192         (_IO_old_popen): Likewise.
13193         (_IO_old_proc_close): Likewise.
13194         * libio/oldpclose.c (__old_pclose): Likewise.
13195         * libio/pclose.c (__new_pclose): Likewise.
13196         * libio/peekc.c (_IO_peekc_locked): Likewise.
13197         * libio/putc.c (_IO_putc): Likewise.
13198         * libio/putc_u.c (putc_unlocked): Likewise.
13199         * libio/putchar.c (putchar): Likewise.
13200         * libio/putchar_u.c (putchar_unlocked): Likewise.
13201         * libio/putwc.c (putwc): Likewise.
13202         * libio/putwc_u.c (putwc_unlocked): Likewise.
13203         * libio/putwchar.c (putwchar): Likewise.
13204         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
13205         * libio/rewind.c (rewind): Likewise.
13206         * libio/setbuf.c (setbuf): Likewise.
13207         * libio/setlinebuf.c (setlinebuf): Likewise.
13208         * libio/vasprintf.c (_IO_vasprintf): Likewise.
13209         * libio/vscanf.c (_IO_vscanf): Likewise.
13210         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
13211         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
13212         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13213         * libio/wgenops.c (_IO_least_wmarker): Likewise.
13214         (_IO_switch_to_main_wget_area): Likewise.
13215         (_IO_switch_to_wbackup_area): Likewise.
13216         (_IO_wsetb): Likewise.
13217         (_IO_wdefault_pbackfail): Likewise.
13218         (_IO_wdefault_finish): Likewise.
13219         (_IO_wdefault_uflow): Likewise.
13220         (__woverflow): Likewise.
13221         (__wuflow): Likewise.
13222         (__wunderflow): Likewise.
13223         (_IO_wdefault_xsputn): Likewise.
13224         (_IO_wdefault_xsgetn): Likewise.
13225         (_IO_wdoallocbuf): Likewise.
13226         (_IO_wdefault_doallocate): Likewise.
13227         (_IO_switch_to_wget_mode): Likewise.
13228         (_IO_free_wbackup_area): Likewise.
13229         (_IO_switch_to_wput_mode): Likewise.
13230         (_IO_sputbackwc): Likewise.
13231         (_IO_sungetwc): Likewise.
13232         (_IO_adjust_wcolumn): Likewise.
13233         (_IO_init_wmarker): Likewise.
13234         (_IO_wmarker_delta): Likewise.
13235         (_IO_seekwmark): Likewise.
13236         (_IO_unsave_wmarkers): Likewise.
13237         * libio/wmemstream.c (open_wmemstream): Likewise.
13238         (_IO_wmem_sync): Likewise.
13239         (_IO_wmem_finish): Likewise.
13240         * locale/nl_langinfo.c (nl_langinfo): Likewise.
13241         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
13242         * locale/programs/simple-hash.c (init_hash): Likewise.
13243         (delete_hash): Likewise.
13244         (insert_entry): Likewise.
13245         (set_entry): Likewise.
13246         (next_prime): Likewise.
13247         (is_prime): Likewise.
13248         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
13249         (xmalloc): Likewise.
13250         (xrealloc): Likewise.
13251         * locale/programs/xstrdup.c (xstrdup): Likewise.
13252         * localedata/collate-test.c (xstrcoll): Likewise.
13253         * localedata/xfrm-test.c (xstrcmp): Likewise.
13254         * login/getlogin_r.c (__getlogin_r): Likewise.
13255         * login/getpt.c (__posix_openpt): Likewise.
13256         * login/login_tty.c (login_tty): Likewise.
13257         * login/setlogin.c (setlogin): Likewise.
13258         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
13259         (mach_msg_destroy_port): Likewise.
13260         (mach_msg_destroy_memory): Likewise.
13261         * malloc/mcheck.c (flood): Likewise.
13262         * misc/acct.c (acct): Likewise.
13263         * misc/brk.c (__brk): Likewise.
13264         * misc/chflags.c (chflags): Likewise.
13265         * misc/chroot.c (chroot): Likewise.
13266         * misc/fchflags.c (fchflags): Likewise.
13267         * misc/fstab.c (getfsspec): Likewise.
13268         (getfsfile): Likewise.
13269         * misc/fsync.c (fsync): Likewise.
13270         * misc/ftruncate.c (__ftruncate): Likewise.
13271         * misc/ftruncate64.c (__ftruncate64): Likewise.
13272         * misc/getdomain.c (getdomainname): Likewise.
13273         (getdomainname): Likewise.
13274         * misc/gethostname.c (__gethostname): Likewise.
13275         * misc/getpass.c (getpass): Likewise.
13276         * misc/getttyent.c (skip): Likewise.
13277         (value): Likewise.
13278         * misc/gtty.c (gtty): Likewise.
13279         * misc/hsearch.c (hsearch): Likewise.
13280         (hcreate): Likewise.
13281         * misc/hsearch_r.c (__hcreate_r): Likewise.
13282         (__hdestroy_r): Likewise.
13283         * misc/ioctl.c (__ioctl): Likewise.
13284         * misc/mkdtemp.c (mkdtemp): Likewise.
13285         * misc/mkostemp.c (mkostemp): Likewise.
13286         * misc/mkostemp64.c (mkostemp64): Likewise.
13287         * misc/mkostemps.c (mkostemps): Likewise.
13288         * misc/mkostemps64.c (mkostemps64): Likewise.
13289         * misc/mkstemp.c (mkstemp): Likewise.
13290         * misc/mkstemp64.c (mkstemp64): Likewise.
13291         * misc/mkstemps.c (mkstemps): Likewise.
13292         * misc/mkstemps64.c (mkstemps64): Likewise.
13293         * misc/mktemp.c (__mktemp): Likewise.
13294         * misc/preadv.c (preadv): Likewise.
13295         * misc/preadv64.c (preadv64): Likewise.
13296         * misc/pwritev.c (pwritev): Likewise.
13297         * misc/pwritev64.c (pwritev64): Likewise.
13298         * misc/readv.c (__readv): Likewise.
13299         * misc/revoke.c (revoke): Likewise.
13300         * misc/setdomain.c (setdomainname): Likewise.
13301         * misc/setegid.c (setegid): Likewise.
13302         * misc/seteuid.c (seteuid): Likewise.
13303         * misc/sethostid.c (sethostid): Likewise.
13304         * misc/sethostname.c (sethostname): Likewise.
13305         * misc/setregid.c (__setregid): Likewise.
13306         * misc/setreuid.c (__setreuid): Likewise.
13307         * misc/sstk.c (sstk): Likewise.
13308         * misc/stty.c (stty): Likewise.
13309         * misc/syscall.c (syscall): Likewise.
13310         * misc/syslog.c (setlogmask): Likewise.
13311         * misc/truncate.c (__truncate): Likewise.
13312         * misc/truncate64.c (truncate64): Likewise.
13313         * misc/ualarm.c (ualarm): Likewise.
13314         * misc/usleep.c (usleep): Likewise.
13315         * misc/ustat.c (ustat): Likewise.
13316         * misc/writev.c (__writev): Likewise.
13317         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
13318         * nptl/old_pthread_cond_broadcast.c
13319         (__pthread_cond_broadcast_2_0): Likewise.
13320         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
13321         Likewise.
13322         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
13323         Likewise.
13324         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
13325         Likewise.
13326         * nptl/pt-raise.c (raise): Likewise.
13327         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
13328         Likewise.
13329         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
13330         * nptl/pthread_barrierattr_destroy.c
13331         (pthread_barrierattr_destroy): Likewise.
13332         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
13333         Likewise.
13334         * nptl/pthread_barrierattr_setpshared.c
13335         (pthread_barrierattr_setpshared): Likewise.
13336         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13337         Likewise.
13338         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
13339         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
13340         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
13341         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
13342         Likewise.
13343         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
13344         Likewise.
13345         * nptl/pthread_condattr_getpshared.c
13346         (pthread_condattr_getpshared): Likewise.
13347         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
13348         Likewise.
13349         * nptl/pthread_condattr_setpshared.c
13350         (pthread_condattr_setpshared): Likewise.
13351         * nptl/pthread_detach.c (pthread_detach): Likewise.
13352         * nptl/pthread_equal.c (__pthread_equal): Likewise.
13353         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
13354         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
13355         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
13356         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
13357         Likewise.
13358         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
13359         Likewise.
13360         * nptl/pthread_mutex_getprioceiling.c
13361         (pthread_mutex_getprioceiling): Likewise.
13362         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
13363         Likewise.
13364         * nptl/pthread_mutexattr_getprotocol.c
13365         (pthread_mutexattr_getprotocol): Likewise.
13366         * nptl/pthread_mutexattr_getpshared.c
13367         (pthread_mutexattr_getpshared): Likewise.
13368         * nptl/pthread_mutexattr_getrobust.c
13369         (pthread_mutexattr_getrobust): Likewise.
13370         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13371         Likewise.
13372         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
13373         Likewise.
13374         * nptl/pthread_mutexattr_setprioceiling.c
13375         (pthread_mutexattr_setprioceiling): Likewise.
13376         * nptl/pthread_mutexattr_setprotocol.c
13377         (pthread_mutexattr_setprotocol): Likewise.
13378         * nptl/pthread_mutexattr_setpshared.c
13379         (pthread_mutexattr_setpshared): Likewise.
13380         * nptl/pthread_mutexattr_setrobust.c
13381         (pthread_mutexattr_setrobust): Likewise.
13382         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
13383         Likewise.
13384         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
13385         Likewise.
13386         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
13387         Likewise.
13388         * nptl/pthread_rwlockattr_getkind_np.c
13389         (pthread_rwlockattr_getkind_np): Likewise.
13390         * nptl/pthread_rwlockattr_getpshared.c
13391         (pthread_rwlockattr_getpshared): Likewise.
13392         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
13393         Likewise.
13394         * nptl/pthread_rwlockattr_setkind_np.c
13395         (pthread_rwlockattr_setkind_np): Likewise.
13396         * nptl/pthread_rwlockattr_setpshared.c
13397         (pthread_rwlockattr_setpshared): Likewise.
13398         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
13399         Likewise.
13400         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
13401         Likewise.
13402         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
13403         Likewise.
13404         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
13405         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
13406         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
13407         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
13408         * nptl/sem_close.c (sem_close): Likewise.
13409         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
13410         * nptl/sem_init.c (__old_sem_init): Likewise.
13411         * nptl/sigaction.c (__sigaction): Likewise.
13412         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13413         * posix/_exit.c (_exit): Likewise.
13414         * posix/alarm.c (alarm): Likewise.
13415         * posix/confstr.c (confstr): Likewise.
13416         * posix/fpathconf.c (__fpathconf): Likewise.
13417         * posix/getgroups.c (__getgroups): Likewise.
13418         * posix/getpgid.c (__getpgid): Likewise.
13419         * posix/group_member.c (__group_member): Likewise.
13420         * posix/pathconf.c (__pathconf): Likewise.
13421         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
13422         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
13423         * posix/setgid.c (__setgid): Likewise.
13424         * posix/setpgid.c (__setpgid): Likewise.
13425         * posix/setuid.c (__setuid): Likewise.
13426         * posix/sleep.c (__sleep): Likewise.
13427         * posix/sysconf.c (__sysconf): Likewise.
13428         * posix/times.c (__times): Likewise.
13429         * posix/uname.c (__uname): Likewise.
13430         * posix/waitid.c (__waitid): Likewise.
13431         * pwd/getpw.c (__getpw): Likewise.
13432         * resolv/base64.c (b64_pton): Likewise.
13433         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
13434         * resolv/gethnamaddr.c (Dprintf): Likewise.
13435         (gethostbyname): Likewise.
13436         (gethostbyname2): Likewise.
13437         (gethostbyaddr): Likewise.
13438         (_sethtent): Likewise.
13439         (_gethtbyname): Likewise.
13440         (_gethtbyname2): Likewise.
13441         (_gethtbyaddr): Likewise.
13442         (map_v4v6_address): Likewise.
13443         (map_v4v6_hostent): Likewise.
13444         (addrsort): Likewise.
13445         (ht_sethostent): Likewise.
13446         (ht_gethostbyname): Likewise.
13447         (ht_gethostbyaddr): Likewise.
13448         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
13449         (inet_net_ntop_ipv4): Likewise.
13450         * resolv/inet_neta.c (inet_neta): Likewise.
13451         * resolv/inet_ntop.c (inet_ntop): Likewise.
13452         (inet_ntop4): Likewise.
13453         (inet_ntop6): Likewise.
13454         * resolv/inet_pton.c (__inet_pton): Likewise.
13455         (inet_pton4): Likewise.
13456         (inet_pton6): Likewise.
13457         * resolv/res_debug.c (loc_aton): Likewise.
13458         (loc_ntoa): Likewise.
13459         * resource/getpriority.c (__getpriority): Likewise.
13460         * resource/getrusage.c (__getrusage): Likewise.
13461         * resource/nice.c (nice): Likewise.
13462         * resource/setpriority.c (__setpriority): Likewise.
13463         * resource/setrlimit64.c (setrlimit64): Likewise.
13464         * resource/vlimit.c (vlimit): Likewise.
13465         * resource/vtimes.c (vtimes): Likewise.
13466         * rt/aio_error.c (aio_error): Likewise.
13467         * rt/aio_return.c (aio_return): Likewise.
13468         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
13469         * signal/kill.c (__kill): Likewise.
13470         * signal/killpg.c (killpg): Likewise.
13471         * signal/raise.c (raise): Likewise.
13472         * signal/sigaction.c (__sigaction): Likewise.
13473         * signal/sigaddset.c (sigaddset): Likewise.
13474         * signal/sigaltstack.c (sigaltstack): Likewise.
13475         * signal/sigandset.c (sigandset): Likewise.
13476         * signal/sigblock.c (__sigblock): Likewise.
13477         * signal/sigdelset.c (sigdelset): Likewise.
13478         * signal/sigempty.c (sigemptyset): Likewise.
13479         * signal/sigfillset.c (sigfillset): Likewise.
13480         * signal/sighold.c (sighold): Likewise.
13481         * signal/sigignore.c (sigignore): Likewise.
13482         * signal/sigintr.c (siginterrupt): Likewise.
13483         * signal/sigisempty.c (sigisemptyset): Likewise.
13484         * signal/sigismem.c (sigismember): Likewise.
13485         * signal/signal.c (signal): Likewise.
13486         * signal/sigorset.c (sigorset): Likewise.
13487         * signal/sigpause.c (__sigpause): Likewise.
13488         * signal/sigpending.c (sigpending): Likewise.
13489         * signal/sigprocmask.c (__sigprocmask): Likewise.
13490         * signal/sigrelse.c (sigrelse): Likewise.
13491         * signal/sigreturn.c (__sigreturn): Likewise.
13492         * signal/sigset.c (sigset): Likewise.
13493         * signal/sigsetmask.c (__sigsetmask): Likewise.
13494         * signal/sigstack.c (sigstack): Likewise.
13495         * signal/sigsuspend.c (__sigsuspend): Likewise.
13496         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
13497         * signal/sysv_signal.c (__sysv_signal): Likewise.
13498         * socket/accept.c (accept): Likewise.
13499         * socket/accept4.c (__libc_accept4): Likewise.
13500         * socket/bind.c (__bind): Likewise.
13501         * socket/connect.c (__connect): Likewise.
13502         * socket/getpeername.c (getpeername): Likewise.
13503         * socket/getsockname.c (__getsockname): Likewise.
13504         * socket/getsockopt.c (getsockopt): Likewise.
13505         * socket/listen.c (__listen): Likewise.
13506         * socket/recv.c (__recv): Likewise.
13507         * socket/recvmsg.c (__recvmsg): Likewise.
13508         * socket/send.c (__send): Likewise.
13509         * socket/sendmsg.c (__sendmsg): Likewise.
13510         * socket/shutdown.c (shutdown): Likewise.
13511         * socket/sockatmark.c (sockatmark): Likewise.
13512         * socket/socket.c (__socket): Likewise.
13513         * stdio-common/ctermid.c (ctermid): Likewise.
13514         * stdio-common/cuserid.c (cuserid): Likewise.
13515         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
13516         * stdio-common/remove.c (remove): Likewise.
13517         * stdio-common/rename.c (rename): Likewise.
13518         * stdio-common/renameat.c (renameat): Likewise.
13519         * stdio-common/tempname.c (__gen_tempname): Likewise.
13520         * stdio-common/xbug.c (InitBuffer): Likewise.
13521         (AppendToBuffer): Likewise.
13522         (ReadFile): Likewise.
13523         * stdlib/a64l.c (a64l): Likewise.
13524         * stdlib/drand48_r.c (drand48_r): Likewise.
13525         * stdlib/getcontext.c (getcontext): Likewise.
13526         * stdlib/getenv.c (getenv): Likewise.
13527         * stdlib/l64a.c (l64a): Likewise.
13528         * stdlib/llabs.c (llabs): Likewise.
13529         * stdlib/lldiv.c (lldiv): Likewise.
13530         * stdlib/lrand48_r.c (lrand48_r): Likewise.
13531         * stdlib/mrand48_r.c (mrand48_r): Likewise.
13532         * stdlib/putenv.c (putenv): Likewise.
13533         * stdlib/random.c (__srandom): Likewise.
13534         (__initstate): Likewise.
13535         (__setstate): Likewise.
13536         * stdlib/random_r.c (__srandom_r): Likewise.
13537         (__setstate_r): Likewise.
13538         (__random_r): Likewise.
13539         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
13540         * stdlib/setcontext.c (setcontext): Likewise.
13541         * stdlib/setenv.c (setenv): Likewise.
13542         (unsetenv): Likewise.
13543         * stdlib/srand48.c (srand48): Likewise.
13544         * stdlib/srand48_r.c (__srand48_r): Likewise.
13545         * stdlib/swapcontext.c (swapcontext): Likewise.
13546         * stdlib/system.c (__libc_system): Likewise.
13547         * stdlib/tst-strtod.c (expand): Likewise.
13548         * stdlib/tst-strtol.c (expand): Likewise.
13549         * stdlib/tst-strtoll.c (expand): Likewise.
13550         * streams/fattach.c (fattach): Likewise.
13551         * streams/fdetach.c (fdetach): Likewise.
13552         * streams/getmsg.c (getmsg): Likewise.
13553         * streams/isastream.c (isastream): Likewise.
13554         * string/ffs.c (__ffs): Likewise.
13555         * string/ffsll.c (ffsll): Likewise.
13556         * string/memcmp.c (memcmp_common_alignment): Likewise.
13557         (memcmp_not_common_alignment): Likewise.
13558         (MEMCMP): Likewise.
13559         * string/memcpy.c (memcpy): Likewise.
13560         * string/memmove.c (MEMMOVE): Likewise.
13561         * string/memset.c (memset): Likewise.
13562         * string/rawmemchr.c (RAWMEMCHR): Likewise.
13563         * string/strchrnul.c (STRCHRNUL): Likewise.
13564         * string/strerror.c (strerror): Likewise.
13565         * string/strndup.c (__strndup): Likewise.
13566         * string/strverscmp.c (__strverscmp): Likewise.
13567         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
13568         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
13569         (clnttcp_freeres): Likewise.
13570         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
13571         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
13572         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
13573         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
13574         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
13575         (xdr_callhdr): Likewise.
13576         * sunrpc/rpcinfo.c (udpping): Likewise.
13577         (tcpping): Likewise.
13578         (pstatus): Likewise.
13579         (pmapdump): Likewise.
13580         (brdcst): Likewise.
13581         (deletereg): Likewise.
13582         (getprognum): Likewise.
13583         (getvers): Likewise.
13584         (get_inet_address): Likewise.
13585         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
13586         * sunrpc/svc_udp.c (svcudp_create): Likewise.
13587         (svcudp_stat): Likewise.
13588         (svcudp_recv): Likewise.
13589         (svcudp_reply): Likewise.
13590         (svcudp_getargs): Likewise.
13591         (svcudp_freeargs): Likewise.
13592         (svcudp_destroy): Likewise.
13593         * sunrpc/xdr.c (xdr_bytes): Likewise.
13594         (xdr_netobj): Likewise.
13595         (xdr_string): Likewise.
13596         (xdr_wrapstring): Likewise.
13597         * sunrpc/xdr_float.c (xdr_float): Likewise.
13598         (xdr_double): Likewise.
13599         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
13600         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
13601         * sysvipc/ftok.c (ftok): Likewise.
13602         * sysvipc/msgctl.c (msgctl): Likewise.
13603         * sysvipc/msgget.c (msgget): Likewise.
13604         * sysvipc/msgrcv.c (msgrcv): Likewise.
13605         * sysvipc/msgsnd.c (msgsnd): Likewise.
13606         * sysvipc/semget.c (semget): Likewise.
13607         * sysvipc/semop.c (semop): Likewise.
13608         * sysvipc/shmat.c (shmat): Likewise.
13609         * sysvipc/shmctl.c (shmctl): Likewise.
13610         * sysvipc/shmdt.c (shmdt): Likewise.
13611         * sysvipc/shmget.c (shmget): Likewise.
13612         * termios/cfmakeraw.c (cfmakeraw): Likewise.
13613         * termios/speed.c (cfgetospeed): Likewise.
13614         (cfgetispeed): Likewise.
13615         (cfsetospeed): Likewise.
13616         (cfsetispeed): Likewise.
13617         * termios/tcflow.c (tcflow): Likewise.
13618         * termios/tcflush.c (tcflush): Likewise.
13619         * termios/tcgetattr.c (__tcgetattr): Likewise.
13620         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
13621         * termios/tcgetsid.c (tcgetsid): Likewise.
13622         * termios/tcsendbrk.c (tcsendbreak): Likewise.
13623         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
13624         * time/adjtime.c (__adjtime): Likewise.
13625         * time/dysize.c (dysize): Likewise.
13626         * time/ftime.c (ftime): Likewise.
13627         * time/getitimer.c (__getitimer): Likewise.
13628         * time/gettimeofday.c (__gettimeofday): Likewise.
13629         * time/gmtime.c (__gmtime_r): Likewise.
13630         (gmtime): Likewise.
13631         * time/localtime.c (__localtime_r): Likewise.
13632         (localtime): Likewise.
13633         * time/offtime.c (__offtime): Likewise.
13634         * time/settimeofday.c (__settimeofday): Likewise.
13635         * time/stime.c (stime): Likewise.
13636         * time/strftime_l.c (tm_diff): Likewise.
13637         (iso_week_days): Likewise.
13638         * time/strptime.c (strptime): Likewise.
13639         * time/time.c (time): Likewise.
13640         * time/timespec_get.c (timespec_get): Likewise.
13641         * time/tzset.c (tzset_internal): Likewise.
13642         (compute_change): Likewise.
13643         (__tz_compute): Likewise.
13644         * wcsmbs/btowc.c (__btowc): Likewise.
13645         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
13646         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
13647         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
13648         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
13649         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
13650         * wcsmbs/wcscat.c (__wcscat): Likewise.
13651         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13652         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
13653         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
13654         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13655         * wcsmbs/wcsdup.c (wcsdup): Likewise.
13656         * wcsmbs/wcslen.c (__wcslen): Likewise.
13657         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
13658         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
13659         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
13660         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
13661         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13662         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
13663         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13664         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13665         * wcsmbs/wcstok.c (wcstok): Likewise.
13666         * wcsmbs/wctob.c (wctob): Likewise.
13667         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
13668         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13669         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
13670         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
13671         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
13672         * wcsmbs/wmemset.c (__wmemset): Likewise.
13673         * wctype/wcfuncs.c (__towlower): Likewise.
13674         (__towupper): Likewise.
13676         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
13677         (lll_unlock_elision): Add adapt_count parameter.
13679 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13681         * sysdeps/nptl/configure.ac: Do not give errors based on the
13682         results of top-level configure tests.
13683         * sysdeps/nptl/configure: Regenerated.
13685         * configure.ac (libc_cv_Bgroup): Remove configure test.
13686         * configure: Regenerated.
13687         * config.make.in (have-Bgroup): Remove variable.
13689         * configure.ac (sizeof_long_double): Remove configure test.
13690         * configure: Regenerated.
13691         * config.make.in (sizeof-long-double): Remove variable.
13693         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
13694         * configure: Regenerated.
13695         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
13696         variable.
13697         (exceptions): Likewise.
13698         * sysdeps/arm/configure: Regenerated.
13699         * config.make.in (exceptions): Remove variable.
13700         * Makeconfig (uses-callbacks): Use -fexceptions instead of
13701         $(exceptions).
13702         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
13703         (CFLAGS-vdprintf_chk.c): Likewise.
13704         (CFLAGS-printf_chk.c): Likewise.
13705         (CFLAGS-fprintf_chk.c): Likewise.
13706         (CFLAGS-vprintf_chk.c): Likewise.
13707         (CFLAGS-vfprintf_chk.c): Likewise.
13708         (CFLAGS-gets_chk.c): Likewise.
13709         (CFLAGS-fgets_chk.c): Likewise.
13710         (CFLAGS-fgets_u_chk.c): Likewise.
13711         (CFLAGS-fread_chk.c): Likewise.
13712         (CFLAGS-fread_u_chk.c): Likewise.
13713         (CFLAGS-wprintf_chk.c): Likewise.
13714         (CFLAGS-fwprintf_chk.c): Likewise.
13715         (CFLAGS-vwprintf_chk.c): Likewise.
13716         (CFLAGS-vfwprintf_chk.c): Likewise.
13717         (CFLAGS-fgetws_chk.c): Likewise.
13718         (CFLAGS-fgetws_u_chk.c): Likewise.
13719         * libio/Makefile (CFLAGS-fileops.c): Likewise.
13720         (CFLAGS-fputc.c): Likewise.
13721         (CFLAGS-fputwc.c): Likewise.
13722         (CFLAGS-freopen64.c): Likewise.
13723         (CFLAGS-freopen.c): Likewise.
13724         (CFLAGS-fseek.c): Likewise.
13725         (CFLAGS-fseeko64.c): Likewise.
13726         (CFLAGS-fseeko.c): Likewise.
13727         (CFLAGS-ftello64.c): Likewise.
13728         (CFLAGS-ftello.c): Likewise.
13729         (CFLAGS-fwide.c): Likewise.
13730         (CFLAGS-genops.c): Likewise.
13731         (CFLAGS-getc.c): Likewise.
13732         (CFLAGS-getchar.c): Likewise.
13733         (CFLAGS-getwc.c): Likewise.
13734         (CFLAGS-getwchar.c): Likewise.
13735         (CFLAGS-iofclose.c): Likewise.
13736         (CFLAGS-iofflush.c): Likewise.
13737         (CFLAGS-iofgetpos64.c): Likewise.
13738         (CFLAGS-iofgetpos.c): Likewise.
13739         (CFLAGS-iofgets.c): Likewise.
13740         (CFLAGS-iofgetws.c): Likewise.
13741         (CFLAGS-iofputs.c): Likewise.
13742         (CFLAGS-iofputws.c): Likewise.
13743         (CFLAGS-iofread.c): Likewise.
13744         (CFLAGS-iofsetpos64.c): Likewise.
13745         (CFLAGS-iofsetpos.c): Likewise.
13746         (CFLAGS-ioftell.c): Likewise.
13747         (CFLAGS-iofwrite.c): Likewise.
13748         (CFLAGS-iogetdelim.c): Likewise.
13749         (CFLAGS-iogetline.c): Likewise.
13750         (CFLAGS-iogets.c): Likewise.
13751         (CFLAGS-iogetwline.c): Likewise.
13752         (CFLAGS-ioputs.c): Likewise.
13753         (CFLAGS-ioseekoff.c): Likewise.
13754         (CFLAGS-ioseekpos.c): Likewise.
13755         (CFLAGS-iosetbuffer.c): Likewise.
13756         (CFLAGS-iosetvbuf.c): Likewise.
13757         (CFLAGS-ioungetc.c): Likewise.
13758         (CFLAGS-ioungetwc.c): Likewise.
13759         (CFLAGS-oldfileops.c): Likewise.
13760         (CFLAGS-oldiofclose.c): Likewise.
13761         (CFLAGS-oldiofgetpos64.c): Likewise.
13762         (CFLAGS-oldiofgetpos.c): Likewise.
13763         (CFLAGS-oldiofsetpos64.c): Likewise.
13764         (CFLAGS-oldiofsetpos.c): Likewise.
13765         (CFLAGS-peekc.c): Likewise.
13766         (CFLAGS-putc.c): Likewise.
13767         (CFLAGS-putchar.c): Likewise.
13768         (CFLAGS-putwc.c): Likewise.
13769         (CFLAGS-putwchar.c): Likewise.
13770         (CFLAGS-rewind.c): Likewise.
13771         (CFLAGS-wfileops.c): Likewise.
13772         (CFLAGS-wgenops.c): Likewise.
13773         (CFLAGS-oldiofopen.c): Likewise.
13774         (CFLAGS-iofopen.c): Likewise.
13775         (CFLAGS-iofopen64.c): Likewise.
13776         (CFLAGS-oldtmpfile.c): Likewise.
13777         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
13778         (CFLAGS-fprintf.c): Likewise.
13779         (CFLAGS-printf.c): Likewise.
13780         (CFLAGS-vfwprintf.c): Likewise.
13781         (CFLAGS-vfscanf.c): Likewise.
13782         (CFLAGS-vfwscanf.c): Likewise.
13783         (CFLAGS-fscanf.c): Likewise.
13784         (CFLAGS-scanf.c): Likewise.
13785         (CFLAGS-isoc99_vfscanf.c): Likewise.
13786         (CFLAGS-isoc99_vscanf.c): Likewise.
13787         (CFLAGS-isoc99_fscanf.c): Likewise.
13788         (CFLAGS-isoc99_scanf.c): Likewise.
13789         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
13790         (CFLAGS-isoc99_fwscanf.c): Likewise.
13791         (CFLAGS-isoc99_vwscanf.c): Likewise.
13792         (CFLAGS-isoc99_vfwscanf.c): Likewise.
13794         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
13795         after mkstemp64.
13796         * login/tst-utmp.c (do_prepare): Likewise.
13797         * rt/tst-aio.c (do_prepare): Likewise.
13798         * rt/tst-aio64.c (do_prepare): Likewise.
13800 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13802         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13803         (__lll_lock_elision): Remove adapt_count decrement...
13804         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13805         (__lll_trylock_elision): Likewise.
13806         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13807         (__lll_unlock_elision): ... to here. And utilize
13808         new adapt_count parameter.
13809         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13810         (__lll_unlock_elision): Update to include adapt_count
13811         parameter.
13812         (lll_unlock_elision): Pass pointer to adapt_count
13813         variable.
13815 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13817         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
13818         Add elision adapt_count parameter to list of arguments.
13819         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13820         (lll_unlock_elision): Update with new parameter list
13821         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
13822         (lll_unlock_elision): Likewise.
13823         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
13824         (lll_unlock_elision): Likewise.
13826 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13828         [BZ #19122]
13829         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
13830         attribute_hidden.
13832         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
13833         attribute_hidden.
13834         [IS_IN (rtld)] (__strdup): Likewise.
13835         [IS_IN (rtld)] (__strerror_r): Likewise.
13836         [IS_IN (rtld)] (__strsep_g): Likewise.
13837         [IS_IN (rtld)] (memchr): Likewise.
13838         [IS_IN (rtld)] (memcmp): Likewise.
13839         [IS_IN (rtld)] (memcpy): Likewise.
13840         [IS_IN (rtld)] (memmove): Likewise.
13841         [IS_IN (rtld)] (memset): Likewise.
13842         [IS_IN (rtld)] (rawmemchr): Likewise.
13843         [IS_IN (rtld)] (stpcpy): Likewise.
13844         [IS_IN (rtld)] (strchr): Likewise.
13845         [IS_IN (rtld)] (strcmp): Likewise.
13846         [IS_IN (rtld)] (strlen): Likewise.
13847         [IS_IN (rtld)] (strnlen): Likewise.
13848         [IS_IN (rtld)] (strsep): Likewise.
13850         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
13851         attribute_hidden.
13852         [IS_IN (rtld)] (__strtoul_internal): Likewise.
13854         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
13855         attribute_hidden.
13856         [IS_IN (rtld)] (__libc_sigaction): Likewise.
13858         * include/setjmp.h (__longjmp): Add attribute_hidden.
13859         [IS_IN (rtld)] (__sigsetjmp): Likewise.
13861         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
13862         Add attribute_hidden.
13864         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
13865         [IS_IN (rtld)] (__open): Likewise.
13866         [IS_IN (rtld)] (__fcntl): Likewise.
13868         * include/dirent.h (__opendirat): Add attribute_hidden.
13869         (__getdents): Likewise.
13870         (__getdents64): Likewise.
13871         (__alloc_dir): Likewise.
13872         [IS_IN (rtld)] (__closedir): Likewise.
13873         [IS_IN (rtld)] (__fdopendir): Likewise.
13874         [IS_IN (rtld)] (__readdir): Likewise.
13875         [IS_IN (rtld)] (__readdir64): Likewise.
13876         [IS_IN (rtld)] (__rewinddir): Likewise.
13878         * include/dlfcn.h (_dl_catch_error): Moved to ...
13879         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
13880         attribute_hidden.
13882         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
13883         (_itoa_word): Likewise.
13885         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
13886         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
13887         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
13888         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
13889         (_dl_higher_prime_number): Likewise.
13890         (_dl_debug_printf_c): Likewise.
13891         (_dl_signal_cerror): Likewise.
13892         (_dl_receive_error): Likewise.
13893         (_dl_reloc_bad_type): Likewise.
13894         (_dl_resolve_conflicts): Likewise.
13895         (_dl_check_all_versions): Likewise.
13896         (_dl_check_map_versions): Likewise.
13897         (_dl_sort_fini): Likewise.
13898         (_dl_debug_initialize): Likewise.
13899         (_dl_init_paths): Likewise.
13900         (_dl_show_auxv): Likewise.
13901         (_dl_next_ld_env_entry): Likewise.
13902         (_dl_important_hwcaps): Likewise.
13903         (_dl_load_cache_lookup): Likewise.
13904         (_dl_update_slotinfo): Likewise.
13905         (_dl_show_scope): Likewise.
13907         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
13908         attribute_hidden.
13909         (_wordcopy_fwd_dest_aligned): Likewise.
13910         (_wordcopy_bwd_aligned): Likewise.
13911         (_wordcopy_bwd_dest_aligned): Likewise.
13913         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13914         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13915         Likewise.
13916         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13917         Likewise.
13918         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
13920 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13922         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
13923         GCC 5 requirement.
13925 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13927         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
13928         test.
13929         * sysdeps/i386/configure: Regenerated.
13930         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
13931         code unconditional.
13933         * configure.ac (libc_cv_asm_previous_directive): Remove configure
13934         test.
13935         (libc_cv_asm_popsection_directive): Likewise.
13936         * configure: Regenerated.
13937         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
13938         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
13939         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
13940         (__make_section_unallocated): Make definition unconditional.
13941         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
13942         Remove conditional definition.
13943         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
13944         (__make_section_unallocated): Likewise.
13946         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
13947         * configure: Regenerated.
13948         * config.make.in (static-libgcc): Remove variable.
13949         * Makerules (build-shlib-helper): Use -static-libgcc instead of
13950         $(static-libgcc).
13951         (build-module-helper): Likewise.
13953         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
13954         * configure: Regenerated.
13956 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13958         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
13959         (struct char_buffer): New type.
13960         (char_buffer_start, char_buffer_size, char_buffer_error)
13961         (char_buffer_rewind, char_buffer_add): New functions.
13962         (ADDW): Remove macro, replaced by the char_buffer_add function.
13963         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
13964         of extend_alloca.  Make control flow more explicit.
13966 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13968         [BZ #19137]
13969         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13970         Add -fomit-frame-pointer.
13971         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
13973 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13975         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
13976         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
13977         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
13978         only if !__GNUC_PREREQ (5,0).
13979         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
13980         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
13981         (INTERNAL_SYSCALL_NCS): Likewise.
13982         (LOADREGS_0): New macro for GCC 5.
13983         (ASMARGS_0): Likewise.
13984         (LOADREGS_1): Likewise.
13985         (ASMARGS_1): Likewise.
13986         (LOADREGS_2): Likewise.
13987         (ASMARGS_2): Likewise.
13988         (LOADREGS_3): Likewise.
13989         (ASMARGS_3): Likewise.
13990         (LOADREGS_4): Likewise.
13991         (ASMARGS_4): Likewise.
13992         (LOADREGS_5): Likewise.
13993         (ASMARGS_5): Likewise.
13994         (LOADREGS_6): Likewise.
13995         (ASMARGS_6): Likewise.
13997 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13999         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
14000         -fomit-frame-pointer.
14001         (CFLAGS-mmap64.c): Likewise.
14002         (CFLAGS-semtimedop.c): Likewise.
14003         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
14004         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
14005         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14006         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14008 2015-10-15  Florian Weimer  <fweimer@redhat.com>
14010         [BZ #18928]
14011         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
14012         _dl_pointer_guard member.
14013         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
14014         initializer.
14015         (security_init): Always set up pointer guard.
14016         (process_envvars): Do not process LD_POINTER_GUARD.
14018 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
14020         [BZ #19134]
14021         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
14022         (.LC2): Likewise.
14023         (.LC3): Likewise.
14024         (__lround): Do not add 0.5 to integer or out-of-range arguments.
14026 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14028         [BZ #19129]
14029         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
14030         r0 and r1.
14032 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
14034         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
14036 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
14038         * include/stap-probe.h: Fix macro definition formatting.
14040 2015-10-14  Florian Weimer  <fweimer@redhat.com>
14042         [BZ #19074]
14043         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
14044         load and store num_ifs.
14046 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14048         [BZ #18822]
14049         * sysdeps/unix/sysv/linux/sched_getaffinity.c
14050         (__sched_getaffinity_new): Add libc_hidden_proto and
14051         libc_hidden_def.
14053 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14055         [BZ #19007]
14056         * scripts/localplt.awk: Also allow GOT references.
14057         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
14058         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
14059         with "+ REL R_386_GLOB_DAT".
14060         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
14061         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
14063 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14065         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
14066         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14067         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
14068         Likewise.
14069         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
14070         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
14071         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14072         INTERNAL_SYSCALLINTERNAL_SYSCALL and
14073         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14074         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14075         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14076         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14077         Likewise.
14078         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14080 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14082         [BZ #19125]
14083         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
14084         <math_private.h> and <stdint.h>.
14085         (__llround): Avoid conversions to and from long long int, and
14086         subtractions, where those might raise spurious exceptions.
14087         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
14088         <math_private.h> and <stdint.h>.
14089         (__llroundf): Avoid conversions to and from long long int, and
14090         subtractions, where those might raise spurious exceptions.
14092 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14094         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
14095         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14096         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14097         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
14098         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14099         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14100         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
14101         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
14102         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
14103         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14104         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14105         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14106         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
14107         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14108         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14109         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
14110         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
14111         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14112         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
14113         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
14114         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
14115         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
14116         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
14117         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14118         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
14119         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
14120         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
14121         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14122         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14123         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
14124         (__xstat64_conv): Likewise.
14125         (__xstat32_conv): Likewise.
14127 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14129         * sysdeps/unix/sysv/linux/sysdep.h: New file.
14130         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
14131         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
14132         <sysdeps/unix/sysv/linux/sysdep.h>.
14133         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
14134         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
14135         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
14136         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14137         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
14138         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
14139         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
14140         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
14141         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
14142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14144         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14145         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14146         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14147         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14148         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14149         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
14150         (sysdep-dl-routines): Add sysdep.
14151         [$(subdir) == nptl] (libpthread-routines): Likewise.
14152         [$(subdir) == rt] (librt-routines): Likewise.
14153         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
14154         PIC when branching to SYSCALL_ERROR_LABEL.
14155         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
14156         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
14157         <sysdeps/unix/sysv/linux/sysdep.h>.
14158         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
14159         (SYSCALL_ERROR_ERRNO): Removed.
14160         (SYSCALL_ERROR_HANDLER): Changed to empty.
14161         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
14162         (__syscall_error): New prototype.
14163         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
14164         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
14166 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14168         [BZ #19124]
14169         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
14170         (_dl_runtime_resolve_avx512): Make it a hidden alias of
14171         _dl_runtime_resolve_avx.
14172         (_dl_runtime_profile_avx512): Make it a hidden alias of
14173         _dl_runtime_profile_avx.
14175 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14177         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
14178         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
14179         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
14180         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
14182         [BZ #16422]
14183         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
14184         New configure test.
14185         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
14186         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
14187         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
14188         <math_private.h> and <stdint.h>.
14189         (__llrint): Avoid conversions to long long int where those might
14190         raise spurious exceptions.
14191         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
14192         <math_private.h> and <stdint.h>.
14193         (__llrintf): Avoid conversions to long long int where those might
14194         raise spurious exceptions.
14196 2015-10-12  Andreas Schwab  <schwab@suse.de>
14198         [BZ #18969]
14199         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
14200         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
14201         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
14202         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
14203         $(gen-locales).
14204         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
14205         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
14206         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
14207         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
14208         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
14209         $(gen-locales).
14210         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
14211         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
14212         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
14213         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
14214         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
14215         ($(objpfx)tst-ftell-active-handler.out)
14216         ($(objpfx)tst-ftell-append.out)
14217         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
14218         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
14219         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
14220         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
14221         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
14222         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
14223         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
14224         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
14225         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
14226         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
14227         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
14228         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
14229         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
14230         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
14231         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
14232         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
14233         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
14234         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
14235         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
14236         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
14237         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
14238         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
14239         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
14240         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
14241         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
14242         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
14243         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
14244         $(gen-locales).
14245         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
14246         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
14247         $(gen-locales).
14248         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
14249         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
14250         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
14251         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
14252         $(gen-locales).
14253         * libio/tst_wprintf2.c (main): Use explicit locale.
14254         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
14256 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14258         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
14259         __msg_sig_post.
14260         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
14262 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14264         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14265         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14267         * sysdeps/arm/libm-test-ulps: Regenerated.
14269         [BZ #15470]
14270         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
14272         [BZ #16399]
14273         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
14274         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
14275         and <fix-fp-int-convert-overflow.h>.
14276         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14277         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14278         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
14279         and <fix-fp-int-convert-overflow.h>.
14280         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
14281         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14282         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
14283         <fix-fp-int-convert-overflow.h>.
14284         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14285         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14286         * sysdeps/ieee754/dbl-64/s_lround.c: Include
14287         <fix-fp-int-convert-overflow.h>.
14288         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
14289         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14290         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
14291         and <fix-fp-int-convert-overflow.h>.
14292         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14293         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14294         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
14295         <limits.h> and <fix-fp-int-convert-overflow.h>.
14296         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14297         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14298         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
14299         and <fix-fp-int-convert-overflow.h>.
14300         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14301         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14302         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
14303         and <fix-fp-int-convert-overflow.h>.
14304         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14305         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14306         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
14308 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
14310         [BZ #18589]
14311         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
14312         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
14313         $(gen-locales).
14315 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14316             Phil Blundell <pb@pbcl.net>
14318         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
14319         * nptl/tst-cancel26.c: New file.
14320         * nptl/tst-cancel27.c: Likewise.
14322 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
14324         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
14325         __ILP32__ isn't defined.
14326         (lrint): Likewise.
14327         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
14328         (lrintf): Likewise.
14329         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
14330         (lrintl): Likewise.
14331         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
14332         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
14333         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
14335 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14337         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14338         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14340         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
14341         file.
14342         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
14343         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14345 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14347         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
14348         configure test.
14349         * sysdeps/i386/configure: Regenerated.
14350         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
14351         configure test.
14352         * sysdeps/x86_64/configure: Regenerated.
14353         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
14354         Make code unconditional.
14356         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
14357         test.
14358         * sysdeps/i386/configure: Regenerated.
14359         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
14360         test.
14361         * sysdeps/x86_64/configure: Regenerated.
14362         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
14363         Make code unconditional.
14364         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14365         Likewise.
14366         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
14367         Likewise.
14368         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14369         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
14370         code unconditional.
14371         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14372         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
14373         code unconditional.
14374         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14375         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
14376         code unconditional.
14377         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
14378         code unconditional.
14379         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14380         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
14381         code unconditional.
14382         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14383         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
14384         code unconditional.
14385         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14386         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
14387         code unconditional.
14388         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14389         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
14390         code unconditional.
14391         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14392         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
14394         [BZ #19095]
14395         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
14396         mantissa to long int before shifting left.
14398 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14400         [BZ #19094]
14401         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
14402         <limits.h>.
14403         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14404         when result overflows but exception would not result from cast.
14405         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
14406         <limits.h>.
14407         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14408         when result overflows but exception would not result from cast.
14409         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
14410         <limits.h>.
14411         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14412         when result overflows but exception would not result from cast.
14413         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
14414         <limits.h>.
14415         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14416         when result overflows but exception would not result from cast.
14417         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
14418         <limits.h>.
14419         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14420         when result overflows but exception would not result from cast.
14421         * math/libm-test.inc (lrint_test_data): Add more tests.
14422         (llrint_test_data): Likewise.
14424 2015-10-08  Roland McGrath  <roland@hack.frob.com>
14426         [BZ #18872]
14427         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
14428         Move out from under [$(run-built-tests) = yes] conditional.
14429         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
14430         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
14432 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
14434         [BZ #18589]
14435         * string/Makefile (tests): Add bug-strcoll2.
14436         (LOCALES): Add cs_CZ.UTF-8.
14437         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
14439         [BZ #18589]
14440         * string/bug-strcoll2.c: New file.
14441         * locale/categories.def: Revert commit
14442         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
14443         * locale/langinfo.h: Likewise.
14444         * locale/localeinfo.h: Likewise.
14445         * locale/C-collate.c: Likewise.
14446         * locale/programs/ld-collate.c (collate_output): Likewise.
14447         * string/strcoll_l.c (STRDIFF): Likewise.
14448         (STRCOLL): Likewise.
14449         * wcsmbs/wcscoll_l.c: Likewise.
14451 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14453         * math/libm-test.inc (lround_test_data): Do not expect the absence
14454         of "inexact" for some tests with non-integer arguments.
14455         (llround_test_data): Likewise.
14457         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
14458         test.
14459         (libc_cv_cc_sse2avx): Likewise.
14460         * sysdeps/i386/configure: Regenerated.
14461         * sysdeps/i386/i686/multiarch/Makefile
14462         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
14463         [$(subdir) = math].
14464         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
14465         code unconditional.
14466         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14467         Likewise.
14468         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
14469         Likewise.
14470         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14471         Likewise.
14472         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
14473         test.
14474         (libc_cv_cc_sse2avx): Likewise.
14475         * sysdeps/x86_64/configure: Regenerated.
14476         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
14477         unconditional.
14478         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
14479         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
14480         unconditional.
14481         (_dl_runtime_profile)
14482         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
14483         conditional code.
14484         * sysdeps/x86_64/fpu/multiarch/Makefile
14485         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
14486         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14487         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14488         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14489         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14490         * sysdeps/x86_64/fpu/multiarch/e_log.c
14491         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14492         * sysdeps/x86_64/fpu/multiarch/s_atan.c
14493         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14494         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14495         Likewise.
14496         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14497         Likewise.
14498         * sysdeps/x86_64/fpu/multiarch/s_sin.c
14499         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14500         * sysdeps/x86_64/fpu/multiarch/s_tan.c
14501         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14502         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
14503         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
14504         (HAVE_SSE2AVX_SUPPORT): Likewise.
14506 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
14508         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
14509         instead of #pragma optimize.
14511 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14513         [BZ #17195]
14514         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
14515         as is similarly done in systrim and _int_free already.
14517 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14519         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
14521 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14523         [BZ #19088]
14524         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
14525         <limits.h>.
14526         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14527         overflows but exception would not result from cast.
14528         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
14529         and <limits.h>.
14530         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14531         overflows but exception would not result from cast.
14532         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
14533         <limits.h>.
14534         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14535         overflows but exception would not result from cast.
14536         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
14537         <limits.h>.
14538         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14539         overflows but exception would not result from cast.
14540         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
14541         <limits.h>.
14542         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14543         overflows but exception would not result from cast.
14544         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
14545         <limits.h>.
14546         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14547         overflows but exception would not result from cast.
14548         * math/libm-test.inc (lround_test_data): Add more tests.
14549         (llround_test_data): Likewise.
14551 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
14553         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
14554         (CFLAGS-ialloc.c): Ditto.
14555         (CFLAGS-scheck.c): Ditto.
14557 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14559         [BZ #19086]
14560         * manual/filesys.texi (Storage Allocation): Fix argument order for
14561         posix_fallocate64.
14563 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14565         [BZ #19085]
14566         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
14567         exponent below 48 inside case for non-overflowing exponent.
14568         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
14570 2015-10-07  Florian Weimer  <fweimer@redhat.com>
14572         * iconvdata/cp737.h (from_idx): Add const.
14573         * iconvdata/cp775.h (from_idx): Likewise.
14575 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14577         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
14578         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
14579         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
14581         [BZ #19079]
14582         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
14583         file, conditioned on [!_LP64].
14584         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
14585         [!_LP64] (__lround): Do not define as function or alias.
14586         [!_LP64] (lround): Likewise.
14587         [!_LP64] (__lroundl): Likewise.
14588         [!_LP64] (lroundl): Likewise.
14589         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
14590         macro.
14591         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14592         Likewise.
14594 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14596         * math/libm-test.inc (lrint_test_data): Add more tests.
14597         (llrint_test_data): Likewise.
14598         (lround_test_data): Likewise.
14599         (llround_test_data): Likewise.
14601         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
14602         (llrint_test_data): Add tests used for lrint.
14604         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
14605         test.
14606         * sysdeps/i386/configure: Regenerated.
14607         * sysdeps/i386/i686/multiarch/Makefile
14608         [$(config-cflags-sse4) = yes]: Make code unconditional.
14609         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14610         Likewise.
14611         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
14612         Likewise.
14613         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
14614         test.
14615         * sysdeps/x86_64/configure: Regenerated.
14616         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
14617         Make code unconditional.
14618         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14619         Likewise.
14620         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
14621         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
14623         * scripts/rpm2dynsym.sh: Remove file.
14625 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14627         * configure.ac (libc_cv_cxx_thread_local): Define.
14628         * configure: Regenerate.
14629         * config.make.in (have-cxx-thread_local): Define.
14630         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
14631         (LDLIBS-tst-thread_local1): Define.
14632         (tests): Add tst-thread_local1.
14633         [have-cxx-thread_local != yes] (tests-unsupported): Add
14634         tst-thread_local1.
14635         * nptl/tst-thread_local1.cc: New file.
14637 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14639         [BZ #19078]
14640         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
14641         (u_thres): Likewise.
14642         (__expl): Determine whether to call __kernel_standard_l based on
14643         value of result, not argument.
14645         * math/libm-test.inc (scalb_test_data): Add more expectations for
14646         the "inexact" exception.
14648         [BZ #19077]
14649         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
14650         0.0L for argument 1.0L.
14652         [BZ #19076]
14653         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
14654         constant 0.0L when computing infinite result.
14656 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14658         [BZ #10432]
14659         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
14660         malloc_usable_size.
14662 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14664         [BZ #19018]
14665         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14666         Mangle function pointer before storing it.
14667         (__call_tls_dtors): Demangle function pointer before calling it.
14669 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14671         [BZ #19012]
14672         * iconv/gconv_db.c (gen_steps): Check for additional errors.
14673         Clean up on failure.
14675 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
14677         [BZ #19071]
14678         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
14679         long int variable to store possibly incremented high part of
14680         mantissa.
14681         * math/libm-test.inc (lround_test_data): Add tests used for
14682         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
14683         for tests requiring 64-bit long.  Do not condition tests on
14684         [TEST_FLOAT] unnecessarily.
14685         (llround_test_data): Add tests used for lround.  Add another
14686         expectation for the "inexact" exception.  Do not condition tests
14687         on [TEST_FLOAT] unnecessarily.
14689         [BZ #887]
14690         [BZ #19049]
14691         [BZ #19050]
14692         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
14693         * sysdeps/ieee754/dbl-64/e_log10.c: Include
14694         <fix-int-fp-convert-zero.h>.
14695         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14696         * sysdeps/ieee754/dbl-64/e_log2.c: Include
14697         <fix-int-fp-convert-zero.h>.
14698         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14699         * sysdeps/ieee754/dbl-64/s_erf.c: Include
14700         <fix-int-fp-convert-zero.h>.
14701         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14702         * sysdeps/ieee754/dbl-64/s_logb.c: Include
14703         <fix-int-fp-convert-zero.h>.
14704         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14705         * sysdeps/ieee754/flt-32/e_log10f.c: Include
14706         <fix-int-fp-convert-zero.h>.
14707         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14708         * sysdeps/ieee754/flt-32/e_log2f.c: Include
14709         <fix-int-fp-convert-zero.h>.
14710         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14711         * sysdeps/ieee754/flt-32/s_erff.c: Include
14712         <fix-int-fp-convert-zero.h>.
14713         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14714         * sysdeps/ieee754/flt-32/s_logbf.c: Include
14715         <fix-int-fp-convert-zero.h>.
14716         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14717         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
14718         <fix-int-fp-convert-zero.h>.
14719         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14720         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
14721         <fix-int-fp-convert-zero.h>.
14722         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14723         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
14724         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
14725         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
14726         file.
14727         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
14729 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
14731         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14733 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
14735         [BZ #19059]
14736         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
14737         overflowing computation.
14738         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14739         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14740         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14741         Likewise.
14742         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14743         Likewise.
14744         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14745         Likewise.
14746         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14747         Likewise.
14748         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14749         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14750         Likewise.
14751         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14752         Likewise.
14753         * math/libm-test.inc (nexttoward_test_data): Add more tests.
14755         * nss/rewrite_field.c (__nss_rewrite_field): Use
14756         internal_function.
14757         * nss/valid_field.c (__nss_valid_field): Likewise.
14758         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
14760 2015-10-02  Florian Weimer  <fweimer@redhat.com>
14762         [BZ #18724]
14763         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
14764         (__nss_invalid_field_characters, __nss_valid_field)
14765         (__nss_valid_list_field, __nss_rewrite_field): Declare.
14766         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
14767         tst-field.c: New file.
14768         * nss/Makefile (routines): Add valid_field, rewrite_field.
14769         (tests-static): Define unconditionally.
14770         (tests): Include tests-static.
14771         [build-static-nss] (tests-static): Use append.
14772         [build-static-nss] (tests): Remove modification.
14773         * nss/getent.c (print_group): Call putgrent.  Report error.
14774         (print_gshadow): Call putsgent.  Report error.
14775         (print_passwd): Call putpwent.  Report error.
14776         (print_shadow): Call putspent.  Report error.
14777         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
14778         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
14779         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
14780         name, password, directory, shell fields for valid syntax.  Rewrite
14781         GECOS field to match syntax.
14782         * pwd/Makefile (tests): Add tst-putpwent.
14783         * pwd/tst-putpwent.c: New file.
14784         * grp/putgrent.c (putgrent): Convert to ISO function definition.
14785         Check grName, grpasswd, gr_mem fields for valid syntax.
14786         Change loop variable i to size_t.
14787         * grp/Makefile (tests): Add tst-putgrent.
14788         * grp/tst-putgrent.c: New file.
14789         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
14790         valid syntax.
14791         * shadow/Makefile (tests): Add tst-putspent.
14792         * shadow/tst-putspent.c: New file.
14793         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
14794         sg_mem fields for valid syntax.
14795         * gshadow/Makefile (tests): Add tst-putsgent.
14796         * gshadow/tst-putsgent.c: New file.
14798 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14800         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
14801         assembly instructions.
14803 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14805         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
14806         prefix from operands.
14808 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
14810         [BZ #16347]
14811         [BZ #19046]
14812         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
14813         <libc-internal.h>.
14814         (MAXLGM): Do not use diagnostic control macros.
14815         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
14816         threshold for ldbl-128ibm.
14817         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
14818         instead of multiplying by log then subtracting.
14819         * math/auto-libm-test-in: Add more tests of lgamma.
14820         * math/auto-libm-test-out: Regenerated.
14822         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
14823         (TYPE_HEX_DIG): Likewise.
14824         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
14825         precisions when printing floating-point numbers.
14826         (check_float_internal): Likewise.
14828 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14830         [BZ #16620]
14831         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
14832         of log (10) rounded downward to 48 bits.
14833         (log10_low): Use corresponding low part of log (10).
14835         [BZ #19032]
14836         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
14837         compute result as (x - x) / (x - x) not as 0 / 0.
14838         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14839         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
14841         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14842         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
14843         and expm1.
14844         * math/auto-libm-test-out: Regenerated.
14845         * math/libm-test.inc (acos_test_data): Add more tests.
14846         (asin_test_data): Likewise.
14847         (asinh_test_data): Likewise.
14848         (atan_test_data): Likewise.
14849         (atanh_test_data): Likewise.
14850         (atan2_test_data): Likewise.
14851         (cbrt_test_data): Likewise.
14852         (ceil_test_data): Likewise.
14853         (copysign_test_data): Likewise.
14854         (cos_test_data): Likewise.
14855         (cosh_test_data): Likewise.
14856         (erf_test_data): Likewise.
14857         (erfc_test_data): Likewise.
14858         (exp_test_data): Likewise.
14859         (exp10_test_data): Likewise.
14860         (exp2_test_data): Likewise.
14861         (expm1_test_data): Likewise.
14862         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14864 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
14866         [BZ #19006]
14867         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
14868         to ...
14869         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
14870         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
14871         to ...
14872         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
14873         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
14874         to ...
14875         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
14876         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
14877         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
14878         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
14879         to ...
14880         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
14881         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14882         Moved to ...
14883         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
14884         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14885         Moved to ...
14886         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
14887         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
14888         to ...
14889         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
14890         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14891         Moved to ...
14892         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
14893         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
14894         to ...
14895         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
14896         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
14897         Removed.
14898         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
14899         Likewise.
14900         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
14901         Likewise.
14902         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
14903         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
14904         Likewise.
14905         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14906         Likewise.
14907         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14908         Likewise.
14909         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14910         Likewise.
14911         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14912         Likewise.
14913         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
14914         Likewise.
14915         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
14916         Likewise.
14917         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
14918         Likewise.
14919         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
14920         Likewise.
14921         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
14922         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
14923         Likewise.
14924         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14925         Likewise.
14926         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14927         Likewise.
14928         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14929         Likewise.
14930         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
14931         Likewise.
14932         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14933         Replace ../i486/pthread_cond_timedwait.S with
14934         ../pthread_cond_timedwait.S.
14936 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14938         * math/libm-test.inc (acos_test_data): Refine expectations for
14939         errno and "inexact" exceptions.
14940         (acosh_test_data): Likewise.
14941         (asin_test_data): Likewise.
14942         (asinh_test_data): Likewise.
14943         (atan_test_data): Likewise.
14944         (atanh_test_data): Likewise.
14945         (atan2_test_data): Likewise.
14946         (cbrt_test_data): Likewise.
14947         (ceil_test_data): Likewise.
14948         (copysign_test_data): Likewise.
14949         (cosh_test_data): Likewise.
14950         (erf_test_data): Likewise.
14951         (erfc_test_data): Likewise.
14952         (exp_test_data): Likewise.
14953         (exp10_test_data): Likewise.
14954         (exp2_test_data): Likewise.
14955         (expm1_test_data): Likewise.
14956         (fabs_test_data): Likewise.
14957         (floor_test_data): Likewise.
14958         (fma_test_data): Likewise.
14959         (fmax_test_data): Likewise.
14960         (fmin_test_data): Likewise.
14961         (fmod_test_data): Likewise.
14962         (fpclassify_test_data): Likewise.
14963         (frexp_test_data): Likewise.
14964         (hypot_test_data): Likewise.
14965         (ilogb_test_data): Likewise.
14966         (isgreater_test_data): Likewise.
14967         (isgreaterequal_test_data): Likewise.
14968         (isinf_test_data): Likewise.
14969         (isless_test_data): Likewise.
14970         (islessequal_test_data): Likewise.
14971         (islessgreater_test_data): Likewise.
14972         (isnan_test_data): Likewise.
14973         (isnormal_test_data): Likewise.
14974         (issignaling_test_data): Likewise.
14975         (isunordered_test_data): Likewise.
14976         (j0_test_data): Likewise.
14977         (j1_test_data): Likewise.
14978         (jn_test_data): Likewise.
14979         (lgamma_test_data): Likewise.
14980         (lrint_test_data): Likewise.
14981         (llrint_test_data): Likewise.
14982         (log_test_data): Likewise.
14983         (log10_test_data): Likewise.
14984         (log1p_test_data): Likewise.
14985         (log2_test_data): Likewise.
14986         (logb_test_data): Likewise.
14987         (lround_test_data): Likewise.
14988         (llround_test_data): Likewise.
14989         (modf_test_data): Likewise.
14990         (nearbyint_test_data): Likewise.
14991         (nextafter_test_data): Likewise.
14992         (nexttoward_test_data): Likewise.
14993         (pow_test_data): Likewise.
14994         (remainder_test_data): Likewise.
14995         (remquo_test_data): Likewise.
14996         (rint_test_data): Likewise.
14997         (round_test_data): Likewise.
14998         (signbit_test_data): Likewise.
14999         (sinh_test_data): Likewise.
15000         (sqrt_test_data): Likewise.
15001         (tanh_test_data): Likewise.
15002         (tgamma_test_data): Likewise.
15003         (trunc_test_data): Likewise.
15004         (y0_test_data): Likewise.
15005         (y1_test_data): Likewise.
15006         (yn_test_data): Likewise.
15007         (significand_test_data): Likewise.
15009 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
15011         * manual/filesys.texi (Storage Allocation): Document that
15012         posix_fallocate emulation fails when fd is open with O_WRONLY.
15014 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
15016         [BZ #19016]
15017         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
15018         allow more cases with X^2 + Y^2 >= 0.5.
15019         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
15020         normal element in sum instead of special-casing based on values of
15021         arguments.
15022         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
15023         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
15024         -1 as normal element in sum instead of special-casing based on
15025         values of arguments.
15026         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
15027         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
15028         (__x2y2m1): Update comment.
15029         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
15030         as normal element in sum instead of special-casing based on values
15031         of arguments.
15032         * math/s_clog.c (__clog): Handle more cases using log1p without
15033         hypot.
15034         * math/s_clog10.c (__clog10): Likewise.
15035         * math/s_clog10f.c (__clog10f): Likewise.
15036         * math/s_clog10l.c (__clog10l): Likewise.
15037         * math/s_clogf.c (__clogf): Likewise.
15038         * math/s_clogl.c (__clogl): Likewise.
15039         * math/auto-libm-test-in: Add more tests of clog and clog10.
15040         * math/auto-libm-test-out: Regenerated.
15041         * sysdeps/i386/fpu/libm-test-ulps: Update.
15042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15044 2015-09-28  Martin Sebor  <msebor@redhat.com>
15046         [BZ #18969]
15047         * string/Makefile (LOCALES): Define.
15048         (gen-locales.mk): Include.
15049         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
15050         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
15051         * string/tst-strxfrm2.c (do_test): Print the name of the locale
15052         on setlocale failure.
15054 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
15056         [BZ #18985]
15057         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
15058         (__strftime_internal): Likewise.
15059         * time/tst-strftime.c (do_bz18985): New test.
15060         (do_test): Call it.
15062 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
15064         [BZ #18956]
15065         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
15066         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
15067         extracting high part.
15068         * math/auto-libm-test-in: Add another test of pow.
15069         * math/auto-libm-test-out: Regenerated.
15070         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15072 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15074         [BZ #18825]
15075         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
15076         New macro.
15077         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
15078         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15079         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
15080         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
15081         DBL_NARROW_EVAL, reloading the PIC register as needed.
15082         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
15083         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
15084         FLT_NARROW_EVAL.  Use separate return path for case when first
15085         argument is NaN.
15086         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
15087         DEFINE_LDBL_MIN.
15088         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
15089         PIC register.
15090         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
15091         math_check_force_underflow_nonneg.
15092         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
15093         underflow for subnormal result.
15094         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15095         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
15096         math_check_force_underflow_nonneg.
15097         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
15098         math_check_force_underflow.
15099         * sysdeps/x86_64/fpu/x86_64-math-asm.h
15100         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
15101         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
15102         DEFINE_LDBL_MIN.
15103         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
15104         * math/auto-libm-test-in: Add more tests of pow.
15105         * math/auto-libm-test-out: Regenerated.
15107 2015-09-25  Florian Weimer  <fweimer@redhat.com>
15109         * nss/bug17079.c (init_test_items): Add diagnostic for
15110         inconsistent entries.
15111         (test_buffer_size): Skip inconsistent entries.
15113 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15115         [BZ #13304]
15116         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
15117         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
15118         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
15120         [BZ #13304]
15121         * sysdeps/microblaze/s_fma.c: New file.
15122         * sysdeps/microblaze/s_fmaf.c: Likewise.
15123         * sysdeps/microblaze/sfp-machine.h: Likewise.
15125 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
15127         [BZ #17250]
15128         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
15129         member.
15131 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15133         [BZ #18803]
15134         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
15135         (MO): New macro.
15136         (__ieee754_hypot) [PIC]: Load PIC register.
15137         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
15138         DBL_NARROW_EVAL.
15139         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
15140         math_check_force_underflow_nonneg in case where result might be
15141         tiny.
15142         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15143         Likewise.
15144         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15145         Likewise.
15146         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15147         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15148         * math/auto-libm-test-in: Add more tests of hypot.
15149         * math/auto-libm-test-out: Regenerated.
15151 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
15153         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
15155 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15157         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
15158         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
15159         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15160         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15161         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
15162         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15163         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15165         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
15166         LOAD_PIC_REG.
15168         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
15169         (FLT_CHECK_FORCE_UFLOW): Likewise.
15170         (DBL_CHECK_FORCE_UFLOW): Likewise.
15171         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
15172         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
15173         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
15174         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15175         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15176         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15177         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15178         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15179         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
15180         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15181         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
15182         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
15183         (flt_min): Replace with use of DEFINE_FLT_MIN.
15184         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
15185         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
15186         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15187         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
15188         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
15189         (flt_min): Replace with use of DEFINE_FLT_MIN.
15190         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
15191         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
15192         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15193         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
15194         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
15195         (flt_min): Replace with use of DEFINE_FLT_MIN.
15196         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
15197         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
15198         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15199         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15200         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
15201         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15202         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15203         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
15204         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15205         (__atan): Use DBL_CHECK_FORCE_UFLOW.
15206         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
15207         (flt_min): Replace with use of DEFINE_FLT_MIN.
15208         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
15209         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
15210         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15211         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
15212         main computation.
15213         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
15214         (flt_min): Replace with use of DEFINE_FLT_MIN.
15215         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
15216         main computation.
15217         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
15218         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15219         (MO): New macro.
15220         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
15221         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
15222         (flt_min): Replace with use of DEFINE_FLT_MIN.
15223         (MO): New macro.
15224         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
15225         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
15226         (__log1pl): Use MO.
15228         [BZ #19003]
15229         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
15230         $(config-cflags-nofma).
15232 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15234         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15236 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
15238         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
15239         (TWO127): Likewise.
15241         * sysdeps/generic/math_private.h (fabs_tg): New macro.
15242         (min_of_type): Likewise.
15243         (math_check_force_underflow): Likewise.
15244         (math_check_force_underflow_nonneg): Likewise.
15245         (math_check_force_underflow_complex): Likewise.
15246         * math/e_exp2l.c (__ieee754_exp2l): Use
15247         math_check_force_underflow_nonneg.
15248         * math/k_casinh.c (__kernel_casinh): Likewise.
15249         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15250         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15251         * math/s_catan.c (__catan): Use
15252         math_check_force_underflow_complex.
15253         * math/s_catanf.c (__catanf): Likewise.
15254         * math/s_catanh.c (__catanh): Likewise.
15255         * math/s_catanhf.c (__catanhf): Likewise.
15256         * math/s_catanhl.c (__catanhl): Likewise.
15257         * math/s_catanl.c (__catanl): Likewise.
15258         * math/s_ccosh.c (__ccosh): Likewise.
15259         * math/s_ccoshf.c (__ccoshf): Likewise.
15260         * math/s_ccoshl.c (__ccoshl): Likewise.
15261         * math/s_cexp.c (__cexp): Likewise.
15262         * math/s_cexpf.c (__cexpf): Likewise.
15263         * math/s_cexpl.c (__cexpl): Likewise.
15264         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
15265         * math/s_clog10.c (__clog10): Likewise.
15266         * math/s_clog10f.c (__clog10f): Likewise.
15267         * math/s_clog10l.c (__clog10l): Likewise.
15268         * math/s_clogf.c (__clogf): Likewise.
15269         * math/s_clogl.c (__clogl): Likewise.
15270         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
15271         * math/s_csinf.c (__csinf): Likewise.
15272         * math/s_csinh.c (__csinh): Likewise.
15273         * math/s_csinhf.c (__csinhf): Likewise.
15274         * math/s_csinhl.c (__csinhl): Likewise.
15275         * math/s_csinl.c (__csinl): Likewise.
15276         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
15277         * math/s_csqrtf.c (__csqrtf): Likewise.
15278         * math/s_csqrtl.c (__csqrtl): Likewise.
15279         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
15280         * math/s_ctanf.c (__ctanf): Likewise.
15281         * math/s_ctanh.c (__ctanh): Likewise.
15282         * math/s_ctanhf.c (__ctanhf): Likewise.
15283         * math/s_ctanhl.c (__ctanhl): Likewise.
15284         * math/s_ctanl.c (__ctanl): Likewise.
15285         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
15286         instead of volatile.
15287         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
15288         math_check_force_underflow.
15289         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15290         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
15291         volatile when forcing underflow.
15292         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15293         math_check_force_underflow_nonneg.
15294         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
15295         Likewise.
15296         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
15297         math_check_force_underflow.
15298         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15299         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15300         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15301         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
15302         math_check_force_underflow_nonneg.
15303         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
15304         math_check_force_underflow.
15305         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
15306         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
15307         instead of volatile.
15308         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
15309         math_check_force_underflow.
15310         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15311         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15312         math_check_force_underflow_nonneg.
15313         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
15314         math_check_force_underflow.
15315         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15316         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15317         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
15318         math_check_force_underflow_nonneg.
15319         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15320         Likewise.
15321         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
15322         math_check_force_underflow.
15323         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15324         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15325         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
15326         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
15327         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15328         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
15329         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
15330         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
15331         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15332         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
15333         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15334         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
15335         Likewise.
15336         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
15337         math_check_force_underflow_nonneg.
15338         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15339         Likewise.
15340         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
15341         math_check_force_underflow.
15342         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15343         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
15344         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15345         Likewise.
15346         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
15347         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
15348         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
15349         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
15350         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
15351         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
15352         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
15353         instead of volatile.
15354         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
15355         math_check_force_underflow.
15356         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
15357         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
15358         math_check_force_underflow.
15359         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
15360         Likewise.
15361         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15362         Use math_check_force_underflow_nonneg.
15363         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
15364         math_check_force_underflow.
15365         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
15366         Likewise.
15367         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15368         Likewise.
15369         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15370         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15371         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15372         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15373         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
15374         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15375         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15376         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
15377         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
15378         math_check_force_underflow_nonneg.
15379         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
15380         math_check_force_underflow.
15381         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15382         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
15383         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
15384         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
15385         math_check_force_underflow_nonneg.
15386         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
15387         math_check_force_underflow.
15388         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
15389         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
15390         instead of volatile.
15391         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
15392         math_check_force_underflow.
15394         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
15395         * stdlib/strtod_l.c: Include <math_private.h>.
15396         (overflow_value): Use math_narrow_eval.
15397         (underflow_value): Likewise.
15398         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15399         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15400         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15401         (__ieee754_gamma_r): Likewise.
15402         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
15403         Likewise.
15404         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15405         Likewise.
15406         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
15407         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
15408         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
15409         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
15410         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15411         (__ieee754_gammaf_r): Likewise.
15412         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15413         Likewise.
15414         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
15415         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
15416         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
15417         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
15418         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
15419         volatile.
15420         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
15421         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
15422         math_narrow_eval.
15423         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15424         Likewise.
15425         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15426         Likewise.
15427         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
15428         Likewise.
15429         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
15430         volatile.
15431         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
15432         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
15433         math_narrow_eval.
15434         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15435         Likewise.
15436         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15437         Likewise.
15439 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
15441         * nptl/Versions: Remove ignored symbols.
15443 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15445         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
15446         * nss/Makefile (tests): Update.
15448 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15450         * nss/bug18287.c: New file.
15451         * nss/Makefile (tests): Add bug18287.
15453 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15455         * mach/Versions (__mach_host_self_): Add symbol.
15457 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15459         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
15460         vm_page_size.
15462 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15464         Really fix sysdeps/i386/fpu/s_scalbn.S build
15466         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
15467         (libc: GLIBC_2_22): Remove unused version set.
15469 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15471         * config.make.in (enable-timezone-tools): New variable.
15472         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
15473         (enable_timezone_tools): Export to generated files.
15474         * configure: Regenerate.
15475         * INSTALL: Regenerate.
15476         * manual/install.texi (--disable-timezone-tools): Document new flag.
15477         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
15478         ifeq ($(enable-timezone-tools),yes) check.
15480 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15482         * timezone/Makefile: Revert previous change.
15484         [BZ #18980]
15485         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
15486         (DEFINE_DBL_MIN): Likewise.
15487         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15488         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15489         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15490         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15491         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
15492         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15493         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15494         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
15495         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
15496         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15497         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15498         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
15499         (flt_min): Replace with use of DEFINE_FLT_MIN.
15500         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15501         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
15502         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15503         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15504         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
15505         (flt_min): Replace with use of DEFINE_FLT_MIN.
15506         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15507         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
15508         (flt_min): Replace with use of DEFINE_FLT_MIN.
15509         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15510         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
15511         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
15512         (__ieee754_hypot): Use DBL_NARROW_EVAL.
15513         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
15514         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
15515         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
15516         (__ieee754_pow): Use DBL_NARROW_EVAL.
15517         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
15518         (__ieee754_powf): Use FLT_NARROW_EVAL.
15519         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
15520         (__ieee754_expf_sse2): Convert double-precision result to single
15521         precision.
15522         * sysdeps/i386/fpu/libm-test-ulps: Update.
15524 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15526         * timezone/Makefile: Ignore unused variable errors due to private.h
15527         (time_t_min) and (time_t_max).
15528         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
15529         Likewise.
15531 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15533         [BZ #18981]
15534         * sysdeps/i386/fpu/i386-math-asm.h: New file.
15535         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
15536         (__ieee754_scalb): Use DBL_NARROW_EVAL.
15537         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
15538         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
15539         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
15540         (__scalbn): Use DBL_NARROW_EVAL.
15541         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
15542         (__scalbnf): Use FLT_NARROW_EVAL.
15544 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15546         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
15547         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
15548         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
15549         * stdio-common/printf_fp.c (___printf_fp):
15550         Use signbit to get the sign. Use isinf macro to allow inlining.
15551         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
15552         * stdio-common/printf_size.c (__printf_size): Likewise.
15554 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15556         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
15558 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15560         [BZ #18980]
15561         * sysdeps/generic/math_private.h: Include <float.h>.
15562         (math_narrow_eval): New macro.
15563         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15564         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
15565         math_narrow_eval on overflowing return value.
15566         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
15567         Likewise.
15568         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15569         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
15570         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
15571         Likewise.
15572         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15574 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15576         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
15577         * math/Makefile: Remove isinf_ns.c.
15578         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
15579         * math/multc3.c (__multc3): Likewise.
15580         * math/s_casin.c (__casin): Likewise.
15581         * math/s_casinf.c (__casinf): Likewise.
15582         * math/s_casinl.c (__casinl): Likewise.
15583         * math/s_cproj.c (__cproj): Likewise.
15584         * math/s_cprojf.c (__cprojf): Likewise.
15585         * math/s_cprojl.c (__cprofl): Likewise.
15586         * math/s_ctan.c (__ctan): Likewise.
15587         * math/s_ctanf.c (__ctanf): Likewise.
15588         * math/s_ctanh.c (__ctanh): Likewise.
15589         * math/s_ctanhf.c (__ctanhf): Likewise.
15590         * math/s_ctanhl.c (__ctanhl): Likewise.
15591         * math/s_ctanl.c (__ctanl): Likewise.
15592         * math/w_fmod.c (__fmod): Likewise.
15593         * math/w_fmodf.c (__fmodf): Likewise.
15594         * math/w_fmodl.c (_fmodl): Likewise.
15595         * math/w_remainder.c (__remainder): Likewise.
15596         * math/w_remainderf.c (__remainderf): Likewise.
15597         * math/w_remainderl.c (__remainderl): Likewise.
15598         * math/w_scalb.c (__scalb): Likewise.
15599         * math/w_scalbf.c (__scalbf): Likewise.
15600         * math/w_scalbl.c (__scalbl): Likewise.
15601         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
15602         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
15603         with isinf.
15604         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
15605         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
15606         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
15607         __isinf_nsf with isinf.
15608         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
15609         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
15610         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
15611         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
15612         with isinf.
15613         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
15614         __isinf_nsl with isinf.
15615         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
15616         with isinf.
15617         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
15618         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
15619         __isinf_nsl with isinf.
15620         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
15621         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
15622         with isinf.
15624 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15626         * resolv/base64.c (rcsid): Remove unused static.
15627         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
15628         static.  (tqpi1): Likewise.
15629         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
15630         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
15631         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
15632         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
15633         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
15634         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
15635         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
15636         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
15637         Likewise.
15639 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
15641         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
15642         <nptl/pthreadP.h>.
15643         (_longjmp_unwind): Use __libc_ptf_call.
15644         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
15646 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
15648         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
15649         * sysdeps/arm/__longjmp.S: Likewise.
15651 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15653         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
15654         Use __builtin_signbit.
15655         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
15656         Use __builtin_signbitf.
15657         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
15658         Use __builtin_signbitl.
15659         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15660         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
15662 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15664         [BZ #15367]
15665         [BZ #17441]
15667         * math/Makefile: Build test-snan.c with -fsignaling-nans.
15668         * math/math.h (fpclassify): Use __builtin_fpclassify when
15669         available.  (signbit): Use __builtin_signbit(f/l).
15670         (isfinite): Use__builtin_isfinite.  (isnormal): Use
15671         __builtin_isnormal.  (isnan): Use __builtin_isnan.
15672         (isinf): Use __builtin_isinf_sign.
15674 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15676         * benchtests/Makefile: Add bench-math-inlines, link with libm.
15677         * benchtests/bench-math-inlines.c: New benchmark.
15678         * benchtests/bench-util.h: New file.
15679         * benchtests/bench-util.c: New file.
15680         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
15682 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
15684         * elf/tst-dlmopen1.c: Define TEST_SO.
15685         (do_test): Use TEST_SO.
15687         * elf/dl-load.c: Include libc-internal.h.
15688         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
15690 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15692         [BZ #17887]
15693         * time/strptime_l.c (__strptime_internal): Make %z accept
15694         [+-]HH:MM time zones.
15696 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15698         [BZ #17886]
15699         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
15700         valid time zone.
15702 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
15704         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
15705         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
15706         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15707         (__ASSUME_FDATASYNC): Delete.
15709 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15711         * conform/linknamespace.pl: Require weak undefined symbols to be
15712         in the standard namespace.
15713         (%strong_syms): Rename to %seen_syms.
15714         (%strong_seen): Rename to %seen_where.
15716 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
15718         [BZ #18970]
15719         * misc/error.c (error): Replace pthread_setcancelstate with
15720         __pthread_setcancelstate.
15721         (error_at_line): Likewise.
15722         * posix/wordexp.c (parse_comm): Likewise.
15723         * stdlib/fmtmsg.c (fmtmsg): Likewise.
15724         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
15725         (__pthread_setcancelstate): This.
15726         (pthread_setcancelstate): Add an alias.
15727         * nptl/nptl-init.c (pthread_functions): Replace
15728         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
15729         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
15730         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
15731         hidden_proto.
15732         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
15733         it with hidden_def.
15734         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
15735         (pthread_setcancelstate): Renamed to ...
15736         (__pthread_setcancelstate): This.
15737         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
15738         __libc_ptf_call with __pthread_setcancelstate.
15740 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15741             Andreas Schwab  <schwab@suse.de>
15743         [BZ #17118]
15744         * math/s_ctan.c (__ctan): Determine sign of zero real part of
15745         result when imaginary part of argument is infinite using sine and
15746         cosine.
15747         * math/s_ctanf.c (__ctanf): Likewise.
15748         * math/s_ctanl.c (__ctanl): Likewise.
15749         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
15750         of result when real part of argument is infinite using sine and
15751         cosine.
15752         * math/s_ctanhf.c (__ctanhf): Likewise.
15753         * math/s_ctanhl.c (__ctanhl): Likewise.
15754         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
15755         (ctanh_test_data): Add more tests of ctanh.
15757 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15759         [BZ #15384]
15760         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
15761         bit-mask as in subtraction.
15762         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
15763         Likewise.
15764         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
15765         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
15766         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
15768         [BZ #18951]
15769         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
15770         underflow exception for small results.
15771         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15772         Likewise.
15773         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15774         Likewise.
15775         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15776         Likewise.
15777         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15778         Likewise.
15779         * math/auto-libm-test-in: Add more tests of tgamma.
15780         * math/auto-libm-test-out: Regenerated.
15782 2015-09-17  Andreas Schwab  <schwab@suse.de>
15784         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
15786 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15788         [BZ #18977]
15789         * math/bits/mathcalls.h
15790         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
15791         not declare.
15792         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
15793         Likewise.
15794         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
15795         Likewise.
15796         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
15797         Likewise.
15798         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
15799         Likewise.
15800         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
15801         Likewise.
15802         * conform/data/math.h-data
15803         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
15804         function.
15805         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
15806         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
15807         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
15808         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
15809         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
15810         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
15811         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
15812         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
15813         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
15814         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
15815         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
15817         [BZ #6803]
15818         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
15819         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
15820         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
15821         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
15822         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
15823         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
15824         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
15825         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
15826         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15827         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
15828         Likewise.
15829         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15830         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
15831         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
15832         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
15833         long_double_symbol calls.
15834         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
15835         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
15836         strong alias of __ldexpl.
15837         (scalbnl): Define using long_double_symbol.
15838         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
15839         Remove alias.
15840         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
15841         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
15842         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
15843         (scalbln_test_data): Add more errno expectations.
15845 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
15847         Cache the host port like we cache the task port.  This way we do not
15848         need to call the kernel just to get the port.  Furthermore, we no
15849         longer increase the reference count on every invocation of
15850         `mach_host_self'.
15852         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
15853         Protect declarations against the macro expansion.
15854         * mach/mach_init.c (__mach_host_self_): New variable.
15855         (mach_init): Initialize `__mach_host_self_'.
15856         * mach/mach_init.h (__mach_host_self_): New declaration.
15857         (__mach_host_self, mach_host_self): New macros.
15858         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
15859         Release reference.
15861 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15863         [BZ #4404]
15864         * po/de.po: Update from Translation Project.
15866         [BZ #16415]
15867         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
15868         (__expm1l): Remove code to handle positive infinity and overflow.
15869         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
15870         variable.
15871         (__expm1l): Remove code to handle positive infinity and overflow.
15873 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
15874             Paul Pluzhnikov  <ppluzhnikov@google.com>
15876         [BZ #18872]
15877         * stdio-common/Makefile (tst-printf-bz18872): New test.
15878         (tst-printf-bz18872-mem.out): Likewise.
15879         * stdio-common/tst-printf-bz18872.sh: Generate new test.
15880         * stdio-common/vfprintf.c: Fix memory leaks.
15882 2015-09-16  Andreas Schwab  <schwab@suse.de>
15884         [BZ #17244]
15885         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
15886         Remove extra va_start/va_end calls.
15888         [BZ #17243]
15889         * posix/execl.c (execl): Add missing va_end.
15890         * posix/execle.c (execle): Likewise.
15891         * posix/execlp.c (execlp): Likewise.
15893 2015-09-15  Roland McGrath  <roland@hack.frob.com>
15895         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
15896         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
15898 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
15900         [BZ #18967]
15901         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
15902         undefine around includes of <bits/mathcalls.h>.
15903         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
15904         not declare function.
15905         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
15906         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
15907         (scalb): Likewise.
15908         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
15909         not define macro.
15910         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
15911         variable.
15912         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15913         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15914         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15916         [BZ #18857]
15917         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
15918         return non-finite argument without doing ordered comparisons on
15919         it.
15921         [BZ #16296]
15922         * math/fenv.h (fegetround): Use __attribute_pure__.
15923         * include/fenv.h (__fegetround): Likewise.
15925         [BZ #18595]
15926         * math/s_ctan.c (__ctan): Force underflow exception for results
15927         whose real or imaginary part has small absolute value.
15928         * math/s_ctanf.c (__ctanf): Likewise.
15929         * math/s_ctanh.c (__ctanh): Likewise.
15930         * math/s_ctanhf.c (__ctanhf): Likewise.
15931         * math/s_ctanhl.c (__ctanhl): Likewise.
15932         * math/s_ctanl.c (__ctanl): Likewise.
15933         * math/auto-libm-test-in: Do not allow missing underflow for ctan
15934         and ctanh.  Add more tests of ctan and ctanh.
15936         [BZ #15918]
15937         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
15938         handling of cases where one argument is an infinity.
15940         [BZ #18875]
15941         [BZ #18966]
15942         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
15943         (MO): New macro.
15944         (__ieee754_exp10): For small results, force underflow exception
15945         and remove excess range and precision from return value.
15946         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
15947         (MO): New macro.
15948         (__ieee754_exp10f): For small results, force underflow exception
15949         and remove excess range and precision from return value.
15950         * math/auto-libm-test-in: Add more tests of exp10.
15951         * math/auto-libm-test-out: Regenerated.
15953 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
15955         [BZ #18875]
15956         [BZ #18961]
15957         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
15958         (MO): New macro.
15959         (__ieee754_exp): For small results, force underflow exception and
15960         remove excess range and precision from return value.
15961         (__exp_finite): Likewise.
15962         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
15963         (MO): New macro.
15964         (__ieee754_expf): For small results, force underflow exception and
15965         remove excess range and precision from return value.
15966         (__expf_finite): Likewise.
15967         * math/auto-libm-test-in: Add more tests of exp.
15968         * math/auto-libm-test-out: Regenerated.
15970         [BZ #16521]
15971         [BZ #18875]
15972         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
15973         small results.
15974         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
15975         (MO): New macro.
15976         (__ieee754_exp2): For small results, force underflow exception and
15977         remove excess range and precision from return value.
15978         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
15979         (MO): New macro.
15980         (__ieee754_exp2f): For small results, force underflow exception
15981         and remove excess range and precision from return value.
15982         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
15983         (MO): New macro.
15984         (__ieee754_exp2l): Force underflow exception for small results.
15985         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15986         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15987         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
15988         (MO): New macro.
15989         (__ieee754_exp2l): Force underflow exception for small results.
15990         * math/auto-libm-test-in: Add more tests or exp2.
15991         * math/auto-libm-test-out: Regenerated.
15993 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
15995         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
15997         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
15998         /dev/null.
16000 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16002         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16003         io fs process)): Drop spurious backslash.
16005 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16007         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
16008         Use sysinfo system call instead of parsing /proc/meminfo.
16009         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
16010         Likewise.
16012 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
16014         [BZ #16985]
16015         * programs/localedef.c (main): Display argv[remaining] when
16016         output_path is NULL.
16018 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16020         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16021         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
16022         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
16023         tanh.
16024         * math/auto-libm-test-out: Regenerated.
16025         * sysdeps/i386/fpu/libm-test-ulps: Update.
16026         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16027         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16030 2015-09-11  Roland McGrath  <roland@hack.frob.com>
16032         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
16033         Use 'override' keyword to freeze the value here, preventing
16034         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
16036 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16038         [BZ #14912]
16039         * sysdeps/aarch64/bits/atomic.h: Move to ...
16040         * sysdeps/aarch64/atomic-machine.h: ...here.
16041         (_AARCH64_BITS_ATOMIC_H): Rename macro to
16042         _AARCH64_ATOMIC_MACHINE_H.
16043         * sysdeps/alpha/bits/atomic.h: Move to ...
16044         * sysdeps/alpha/atomic-machine.h: ...here.
16045         * sysdeps/arm/bits/atomic.h: Move to ...
16046         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
16047         * bits/atomic.h: Move to ...
16048         * sysdeps/generic/atomic-machine.h: ...here.
16049         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16050         * sysdeps/i386/bits/atomic.h: Move to ...
16051         * sysdeps/i386/atomic-machine.h: ...here.
16052         * sysdeps/ia64/bits/atomic.h: Move to ...
16053         * sysdeps/ia64/atomic-machine.h: ...here.
16054         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
16055         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
16056         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16057         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
16058         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
16059         * sysdeps/microblaze/bits/atomic.h: Move to ...
16060         * sysdeps/microblaze/atomic-machine.h: ...here.
16061         * sysdeps/mips/bits/atomic.h: Move to ...
16062         * sysdeps/mips/atomic-machine.h: ...here.
16063         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
16064         * sysdeps/powerpc/bits/atomic.h: Move to ...
16065         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
16066         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
16067         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
16068         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
16069         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
16070         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
16071         <atomic-machine.h> instead of <bits/atomic.h>.
16072         * sysdeps/s390/bits/atomic.h: Move to ...
16073         * sysdeps/s390/atomic-machine.h: ...here.
16074         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
16075         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
16076         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16077         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
16078         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
16079         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
16080         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
16081         * sysdeps/tile/bits/atomic.h: Move to ...
16082         * sysdeps/tile/atomic-machine.h: ...here.
16083         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
16084         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
16085         <sysdeps/tile/atomic-machine.h> instead of
16086         <sysdeps/tile/bits/atomic.h>.
16087         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16088         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
16089         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
16090         <sysdeps/tile/atomic-machine.h> instead of
16091         <sysdeps/tile/bits/atomic.h>.
16092         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16093         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
16094         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
16095         <sysdeps/arm/atomic-machine.h> instead of
16096         <sysdeps/arm/bits/atomic.h>.
16097         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
16098         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
16099         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16100         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
16101         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
16102         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16103         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
16104         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
16105         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
16106         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
16107         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
16108         * sysdeps/x86_64/bits/atomic.h: Move to ...
16109         * sysdeps/x86_64/atomic-machine.h: ...here.
16110         * include/atomic.h: Include <atomic-machine.h> instead of
16111         <bits/atomic.h>.
16113         * sysdeps/mips/mips32/libm-test-ulps: Update.
16114         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16116         [BZ #18952]
16117         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
16118         not convert non-integer negative arguments to int to determine the
16119         value of signgam.
16120         * math/auto-libm-test-in: Add more tests of lgamma.
16121         * math/auto-libm-test-out: Regenerated.
16123         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
16124         cosh, csqrt, erfc, expm1 and lgamma.
16125         * math/auto-libm-test-out: Regenerated.
16126         * sysdeps/i386/fpu/libm-test-ulps: Update.
16127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16129 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
16131         [BZ #2542]
16132         [BZ #2543]
16133         [BZ #2558]
16134         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
16135         __lgamma_neg for arguments from -28.0 to -2.0.
16136         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
16137         __lgamma_negf for arguments from -15.0 to -2.0.
16138         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16139         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
16140         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
16141         Call __lgamma_negl for arguments from -33.0 to -2.0.
16142         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
16143         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
16144         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
16145         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
16146         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16147         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16148         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
16149         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
16150         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
16151         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
16152         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
16153         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
16154         (__lgamma_neg): Likewise.
16155         (__lgamma_negl): Likewise.
16156         (__lgamma_product): Likewise.
16157         (__lgamma_productl): Likewise.
16158         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
16159         * math/auto-libm-test-in: Add more tests of lgamma.
16160         * math/auto-libm-test-out: Regenerated.
16161         * sysdeps/i386/fpu/libm-test-ulps: Update.
16162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16164 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
16166         [BZ #18675]
16167         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
16169 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
16171         [BZ #14912]
16172         * bits/libc-lock.h: Move to ...
16173         * sysdeps/generic/libc-lock.h: ...here.
16174         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16175         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
16176         * sysdeps/mach/hurd/libc-lock.h: ...here.
16177         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16178         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
16179         * sysdeps/mach/bits/libc-lock.h: Move to ...
16180         * sysdeps/mach/libc-lock.h: ...here.
16181         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16182         * sysdeps/nptl/bits/libc-lock.h: Move to ...
16183         * sysdeps/nptl/libc-lock.h: ...here.
16184         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16185         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
16186         * sysdeps/nptl/libc-lockP.h: ...here.
16187         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
16188         * crypt/crypt_util.c: Include <libc-lock.h> instead of
16189         <bits/libc-lock.h>.
16190         * dirent/scandir-tail.c: Likewise.
16191         * dlfcn/dlerror.c: Likewise.
16192         * elf/dl-close.c: Likewise.
16193         * elf/dl-iteratephdr.c: Likewise.
16194         * elf/dl-lookup.c: Likewise.
16195         * elf/dl-open.c: Likewise.
16196         * elf/dl-support.c: Likewise.
16197         * elf/dl-writev.h: Likewise.
16198         * elf/rtld.c: Likewise.
16199         * grp/fgetgrent.c: Likewise.
16200         * gshadow/fgetsgent.c: Likewise.
16201         * gshadow/sgetsgent.c: Likewise.
16202         * iconv/gconv_conf.c: Likewise.
16203         * iconv/gconv_db.c: Likewise.
16204         * iconv/gconv_dl.c: Likewise.
16205         * iconv/gconv_int.h: Likewise.
16206         * iconv/gconv_trans.c: Likewise.
16207         * include/link.h: Likewise.
16208         * inet/getnameinfo.c: Likewise.
16209         * inet/getnetgrent.c: Likewise.
16210         * inet/getnetgrent_r.c: Likewise.
16211         * intl/bindtextdom.c: Likewise.
16212         * intl/dcigettext.c: Likewise.
16213         * intl/finddomain.c: Likewise.
16214         * intl/gettextP.h: Likewise.
16215         * intl/loadmsgcat.c: Likewise.
16216         * intl/localealias.c: Likewise.
16217         * intl/textdomain.c: Likewise.
16218         * libidn/idn-stub.c: Likewise.
16219         * libio/libioP.h: Likewise.
16220         * locale/duplocale.c: Likewise.
16221         * locale/freelocale.c: Likewise.
16222         * locale/newlocale.c: Likewise.
16223         * locale/setlocale.c: Likewise.
16224         * login/getutent_r.c: Likewise.
16225         * login/getutid_r.c: Likewise.
16226         * login/getutline_r.c: Likewise.
16227         * login/utmp-private.h: Likewise.
16228         * login/utmpname.c: Likewise.
16229         * malloc/mtrace.c: Likewise.
16230         * misc/efgcvt.c: Likewise.
16231         * misc/error.c: Likewise.
16232         * misc/fstab.c: Likewise.
16233         * misc/getpass.c: Likewise.
16234         * misc/mntent.c: Likewise.
16235         * misc/syslog.c: Likewise.
16236         * nis/nis_call.c: Likewise.
16237         * nis/nis_callback.c: Likewise.
16238         * nis/nss-default.c: Likewise.
16239         * nis/nss_compat/compat-grp.c: Likewise.
16240         * nis/nss_compat/compat-initgroups.c: Likewise.
16241         * nis/nss_compat/compat-pwd.c: Likewise.
16242         * nis/nss_compat/compat-spwd.c: Likewise.
16243         * nis/nss_nis/nis-alias.c: Likewise.
16244         * nis/nss_nis/nis-ethers.c: Likewise.
16245         * nis/nss_nis/nis-grp.c: Likewise.
16246         * nis/nss_nis/nis-hosts.c: Likewise.
16247         * nis/nss_nis/nis-network.c: Likewise.
16248         * nis/nss_nis/nis-proto.c: Likewise.
16249         * nis/nss_nis/nis-pwd.c: Likewise.
16250         * nis/nss_nis/nis-rpc.c: Likewise.
16251         * nis/nss_nis/nis-service.c: Likewise.
16252         * nis/nss_nis/nis-spwd.c: Likewise.
16253         * nis/nss_nisplus/nisplus-alias.c: Likewise.
16254         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
16255         * nis/nss_nisplus/nisplus-grp.c: Likewise.
16256         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
16257         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
16258         * nis/nss_nisplus/nisplus-network.c: Likewise.
16259         * nis/nss_nisplus/nisplus-proto.c: Likewise.
16260         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
16261         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
16262         * nis/nss_nisplus/nisplus-service.c: Likewise.
16263         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
16264         * nis/ypclnt.c: Likewise.
16265         * nptl/libc_pthread_init.c: Likewise.
16266         * nss/getXXbyYY.c: Likewise.
16267         * nss/getXXent.c: Likewise.
16268         * nss/getXXent_r.c: Likewise.
16269         * nss/nss_db/db-XXX.c: Likewise.
16270         * nss/nss_db/db-netgrp.c: Likewise.
16271         * nss/nss_db/nss_db.h: Likewise.
16272         * nss/nss_files/files-XXX.c: Likewise.
16273         * nss/nss_files/files-alias.c: Likewise.
16274         * nss/nsswitch.c: Likewise.
16275         * posix/regex_internal.h: Likewise.
16276         * posix/wordexp.c: Likewise.
16277         * pwd/fgetpwent.c: Likewise.
16278         * resolv/res_hconf.c: Likewise.
16279         * resolv/res_libc.c: Likewise.
16280         * shadow/fgetspent.c: Likewise.
16281         * shadow/lckpwdf.c: Likewise.
16282         * shadow/sgetspent.c: Likewise.
16283         * socket/opensock.c: Likewise.
16284         * stdio-common/reg-modifier.c: Likewise.
16285         * stdio-common/reg-printf.c: Likewise.
16286         * stdio-common/reg-type.c: Likewise.
16287         * stdio-common/vfprintf.c: Likewise.
16288         * stdio-common/vfscanf.c: Likewise.
16289         * stdlib/abort.c: Likewise.
16290         * stdlib/cxa_atexit.c: Likewise.
16291         * stdlib/fmtmsg.c: Likewise.
16292         * stdlib/random.c: Likewise.
16293         * stdlib/setenv.c: Likewise.
16294         * string/strsignal.c: Likewise.
16295         * sunrpc/auth_none.c: Likewise.
16296         * sunrpc/bindrsvprt.c: Likewise.
16297         * sunrpc/create_xid.c: Likewise.
16298         * sunrpc/key_call.c: Likewise.
16299         * sunrpc/rpc_thread.c: Likewise.
16300         * sysdeps/arm/backtrace.c: Likewise.
16301         * sysdeps/generic/ldsodefs.h: Likewise.
16302         * sysdeps/generic/stdio-lock.h: Likewise.
16303         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
16304         * sysdeps/i386/backtrace.c: Likewise.
16305         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16306         * sysdeps/m68k/backtrace.c: Likewise.
16307         * sysdeps/mach/hurd/cthreads.c: Likewise.
16308         * sysdeps/mach/hurd/dirstream.h: Likewise.
16309         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16310         * sysdeps/nptl/malloc-machine.h: Likewise.
16311         * sysdeps/nptl/stdio-lock.h: Likewise.
16312         * sysdeps/posix/dirstream.h: Likewise.
16313         * sysdeps/posix/getaddrinfo.c: Likewise.
16314         * sysdeps/posix/system.c: Likewise.
16315         * sysdeps/pthread/aio_suspend.c: Likewise.
16316         * sysdeps/s390/s390-32/backtrace.c: Likewise.
16317         * sysdeps/s390/s390-64/backtrace.c: Likewise.
16318         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16319         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16320         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
16321         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
16322         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
16323         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16324         * sysdeps/unix/sysv/linux/system.c: Likewise.
16325         * sysdeps/x86_64/backtrace.c: Likewise.
16326         * time/alt_digit.c: Likewise.
16327         * time/era.c: Likewise.
16328         * time/tzset.c: Likewise.
16329         * wcsmbs/wcsmbsload.c: Likewise.
16330         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
16331         instead of <bits/libc-lock.h> in comment.
16333 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
16335         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
16336         Only use .set mips2 if the current ISA is below mips2.
16337         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
16338         Likewise.
16339         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
16340         mips32r2 if the current ISA is below mips32r2.
16341         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
16342         (TLS_IE): Updated to use the TLD_RDHWR macro.
16343         (TLS_LE): Likewise.
16344         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
16345         __ASSEMBLER__ condition.
16347 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16349         Fix parallel build of before-compile targets.
16351         * sysdeps/mach/Makefile ($(patsubst
16352         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
16353         mach-before-compile target.
16354         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16355         io fs process)): Move rule to dedicated hurd-before-compile target.
16357 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16359         Fix rules generating headers in hurd/ and mach/ when initial make call
16360         has subdir= explicitly set.
16362         * sysdeps/mach/Makefile ($(patsubst
16363         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
16364         calling $(MAKE).
16365         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16366         io fs process)): Force subdir to hurd when calling $(MAKE).
16367         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
16368         subdir to mach when calling $(MAKE).
16370 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
16372         Check sysheaders when looking for Mach and Hurd headers
16374         * sysdeps/mach/configure.ac: Add sysheaders check.
16375         * sysdeps/mach/configure: Regenerate.
16376         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
16377         * sysdeps/mach/hurd/configure: Regenerate.
16379 2015-09-04  Roland McGrath  <roland@hack.frob.com>
16381         [BZ #18921]
16382         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
16383         Fix inverted sense of test of 'o_directory_works' value.
16384         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
16385         Bernhard Voelker <mail@bernhard-voelker.de>.
16387 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16389         [BZ #14912]
16390         * bits/linkmap.h: Move to ...
16391         * sysdeps/generic/linkmap.h: ...here.
16392         * sysdeps/aarch64/bits/linkmap.h: Move to ...
16393         * sysdeps/aarch64/linkmap.h: ...here.
16394         * sysdeps/arm/bits/linkmap.h: Move to ...
16395         * sysdeps/arm/linkmap.h: ...here.
16396         * sysdeps/hppa/bits/linkmap.h: Move to ...
16397         * sysdeps/hppa/linkmap.h: ...here.
16398         * sysdeps/ia64/bits/linkmap.h: Move to ...
16399         * sysdeps/ia64/linkmap.h: ...here.
16400         * sysdeps/mips/bits/linkmap.h: Move to ...
16401         * sysdeps/mips/linkmap.h: ...here.
16402         * sysdeps/s390/bits/linkmap.h: Move to ...
16403         * sysdeps/s390/linkmap.h: ...here.
16404         * sysdeps/sh/bits/linkmap.h: Move to ...
16405         * sysdeps/sh/linkmap.h: ...here.
16406         * sysdeps/x86/bits/linkmap.h: Move to ...
16407         * sysdeps/x86/linkmap.h: ...here.
16408         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
16410 2015-09-04  Andreas Schwab  <schwab@suse.de>
16412         [BZ #18635]
16413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
16414         (__makecontext): Terminate FDE before return label.
16415         (__novec_makecontext): Likewise.
16417 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16419         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
16420         first member of struct sv in syscall macro.
16422 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16424         [BZ #14912]
16425         * bits/stdio-lock.h: Move to ...
16426         * sysdeps/generic/stdio-lock.h: ...here.
16427         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16428         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
16429         * sysdeps/nptl/stdio-lock.h: ...here.
16430         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16431         * include/libio.h: Include <stdio-lock.h> instead of
16432         <bits/stdio-lock.h>.
16433         * sysdeps/nptl/fork.c: Likewise.
16434         * sysdeps/pthread/flockfile.c: Likewise.
16435         * sysdeps/pthread/ftrylockfile.c: Likewise.
16436         * sysdeps/pthread/funlockfile.c: Likewise.
16438         [BZ #14912]
16439         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
16440         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
16441         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
16442         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
16443         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
16444         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
16445         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
16447 2015-09-03  Roland McGrath  <roland@hack.frob.com>
16449         * elf/Makefile (test-xfail-tst-protected1a): New variable.
16450         (test-xfail-tst-protected1b): New variable.
16452 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
16454         [BZ #14912]
16455         * bits/libc-tsd.h: Move to ...
16456         * sysdeps/generic/libc-tsd.h: ...here.
16457         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
16458         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
16459         * sysdeps/mach/hurd/libc-tsd.h: ...here.
16460         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
16461         * include/ctype.h: Include <libc-tsd.h> instead of
16462         <bits/libc-tsd.h>.
16463         * include/rpc/rpc.h: Likewise.
16464         * locale/localeinfo.h: Likewise.
16465         * sunrpc/rpc_thread.c: Likewise.
16466         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16467         * sysdeps/nptl/malloc-machine.h: Likewise.
16469         * Makefile (headers): Remove bits/libc-lock.h.
16470         * libio/Makefile (headers): Remove bits/stdio-lock.h.
16472         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
16473         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
16474         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
16475         <bits/stdio-lock.h>.
16476         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
16477         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
16479 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16481         [BZ #18757]
16482         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
16483         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
16484         BZ #18757.
16486 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16488         * malloc/mtrace.pl: Filter out NULL entries.
16490 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
16492         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
16493         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
16494         macro.
16496         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
16497         (TCP_CC_INFO): Likewise.
16498         (TCP_SAVE_SYN): Likewise.
16499         (TCP_SAVED_SYN): Likewise.
16501 2015-08-31  Brett Neumeier <brett@neumeier.us>
16503         [BZ #18870]
16504         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
16506 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
16508         [BZ #18873]
16509         Fix broken overflow check in posix_fallocate
16510         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
16511         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16512         Fix parenthesization typo.
16514 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
16516         [BZ #18887]
16517         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
16518         tst-mntent-blank-passno.
16519         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
16520         * misc/tst-mntent-blank-corrupt.c: New test.
16521         * misc/tst-mntent-blank-passno.c: New test ripped from ...
16522         * misc/tst-mntent.c (do_test): ... here.
16524 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
16526         [BZ #4404]
16527         * po/de.po: Fix SIGALRM typo.
16529 2015-08-28  James Perkins  <james@loowit.net>
16531         * time/tst-strptime2.c (tests): Replace short list of test
16532         strings for strptime %z specifier with code which exhaustively
16533         tests every combination of sign and 0 to 5 digits. Tests for
16534         rejection of invalid strings.
16536 2015-08-28  James Perkins  <james@loowit.net>
16538         [BZ #16141]
16539         * time/strptime_l.c (__strptime_internal): Fix %z minutes
16540         calculation, removing incorrect decimal time rounding, so that
16541         all minute values result in a valid seconds value.
16542         * time/strptime_l.c (__strptime_internal): Extend %z time zone
16543         offset range limits to UTC-99:59 through UTC+99:59 to parse
16544         current and historical use cases.
16545         * time/tst-strptime2.c (tests): Modify and add tests for the
16546         strptime %z input field descriptor, specifically conversion of
16547         minutes to seconds and validating an offset range of -9959 to
16548         +9959.
16550 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16551             Dmitry V. Levin  <ldv@altlinux.org>
16553         [BZ #18877]
16554         * posix/Makefile (tests): Add tst-mmap-offset.
16555         * posix/tst-mmap.c: New file.
16556         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
16557         offset calculation for negative values.
16559 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16561         * sysdeps/i386/init-arch.h: New file.
16562         * sysdeps/i386/i586/init-arch.h: Likewise.
16563         * sysdeps/i386/i686/init-arch.h: Likewise.
16564         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
16565         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
16566         * sysdeps/x86/cpu-features.h (bit_I586): New.
16567         (bit_I686): Likewise.
16568         (bit_CX8): Likewise.
16569         (bit_CMOV): Likewise.
16570         (index_CX8): Likewise.
16571         (index_CMOV): Likewise.
16572         (index_I586): Likewise.
16573         (index_I686): Likewise.
16574         (reg_CX8): Likewise.
16575         (reg_CMOV): Likewise.
16576         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
16577         available at compile-time.
16578         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
16579         available at compile-time.
16580         * sysdeps/x86/init-arch.h (USE_I586): New macro.
16581         (USE_I686): Likewise.
16583 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16585         * sysdeps/i386/bcopy.S: New file.
16586         * sysdeps/i386/bzero.S: Likewise.
16587         * sysdeps/i386/memcpy.S: Likewise.
16588         * sysdeps/i386/memmove.S: Likewise.
16589         * sysdeps/i386/mempcpy.S: Likewise.
16590         * sysdeps/i386/memset.S: Likewise.
16591         * sysdeps/i386/bzero.c: Removed.
16592         * sysdeps/i386/memset.c: Likewise.
16593         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
16594         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
16595         * sysdeps/i386/i586/memset_chk.S: Likewise.
16596         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
16597         * sysdeps/i386/memcpy_chk.S: Here.
16598         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
16599         * sysdeps/i386/memmove_chk.S: Here.
16600         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
16601         * sysdeps/i386/mempcpy_chk.S: Likewise.
16602         * sysdeps/i386/i686/memset_chk.S: Moved to ...
16603         * sysdeps/i386/memset_chk.S: Likewise.
16605 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
16607         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
16608         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
16609         file, move DIAG_POP_NEEDS_COMMENT to end of file.
16610         * soft-fp/fmadf4.c: Ditto.
16611         * soft-fp/fmatf4.c: Ditto.
16613 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16615         * sysdeps/i386/i586/Implies: Removed.
16616         * sysdeps/i386/i686/Implies: Likewise.
16618 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16620         * sysdeps/i386/i486/strlen.S: Moved to ...
16621         * sysdeps/i386/strlen.S: Here.
16623 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16625         * sysdeps/i386/i486/strcat.S: Moved to ...
16626         * sysdeps/i386/strcat.S: Here.
16628 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16630         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
16631         * sysdeps/i386/pthread_spin_trylock.S: Here.
16632         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
16633         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
16635 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16637         * sysdeps/i386/i486/string-inlines.c: Moved to ...
16638         * sysdeps/i386/string-inlines.c: Here.
16640 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16642         * sysdeps/i386/i486/htonl.S: Moved ...
16643         * sysdeps/i386/htonl.S: here.
16645 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16647         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
16648         * sysdeps/i386/bits/atomic.h: Here.
16650 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16652         * sysdeps/i386/i486/Versions: Removed.
16654 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16656         [BZ #2898]
16657         * misc/mktemp.c: Add mkdtemp to the link_warning message.
16658         Based on patch by Aurelien Jarno.
16660 2015-08-26  Stan Shebs  <stanshebs@google.com>
16662         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
16663         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16665 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16667         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
16668         * sysdeps/powerpc/dl-procinfo.c:
16669         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
16670         feature so it shows when LD_SHOW_AUXV=1.
16672 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16674         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16675         (__arch_compare_and_exchange_val_32_acq): Remove and use common
16676         definition.  ISA 2.07B no longer requires full sync.
16678 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
16680         [BZ #18863]
16681         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
16682         (si_call_addr): Define.
16683         (si_syscall): Define.
16684         (si_arch): Define.
16686 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16688         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
16689         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
16690         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
16691         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16692         (__memset_zero_constant_len_parameter): New.
16693         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
16694         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16695         (__memset_zero_constant_len_parameter): Don't define if
16696         __memset_chk or USE_AS_BZERO are defined.
16698         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
16699         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
16700         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
16702         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
16703         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
16704         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
16705         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
16706         comments.
16707         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
16708         -mno-mmx for $(all-rtld-routines).
16709         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
16710         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
16711         i386.
16713 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16715         * sysdeps/generic/unwind.h
16716         (_Unwind_Word): Use __mode__(__unwind_word__)
16717         instead of __mode__(__word__).
16718         (_Unwind_Sword): Likewise.
16720         * sysdeps/s390/s390-64/utf8-utf16-z9.c
16721         (MAX_NEEDED_INPUT): New define.
16722         (MAX_NEEDED_OUTPUT): New define.
16724         * NEWS: New item for IBM z13 string optimizations.
16726         * sysdeps/s390/multiarch/memrchr-c.c: New File.
16727         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
16728         * sysdeps/s390/multiarch/memrchr.c: Likewise.
16729         * sysdeps/s390/multiarch/Makefile
16730         (sysdep_routines): Add memrchr functions.
16731         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16732         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
16734         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
16735         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
16736         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
16737         * sysdeps/s390/multiarch/Makefile
16738         (sysdep_routines): Add wmemcmp functions.
16739         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16740         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
16741         * benchtests/bench-wmemcmp.c: New File.
16742         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
16744         * sysdeps/s390/multiarch/wmemset-c.c: New File.
16745         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
16746         * sysdeps/s390/multiarch/wmemset.c: Likewise.
16747         * sysdeps/s390/multiarch/Makefile
16748         (sysdep_routines): Add wmemset functions.
16749         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16750         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
16751         * wcsmbs/wmemset.c: Use WMEMSET if defined.
16752         * string/test-memset.c: Add wmemset support.
16753         * wcsmbs/test-wmemset.c: New File.
16754         * wcsmbs/Makefile (strop-tests): Add wmemset.
16755         * benchtests/bench-memset.c: Add wmemset support.
16756         * benchtests/bench-wmemset.c: New File.
16757         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
16759         * sysdeps/s390/multiarch/memccpy-c.c: New File.
16760         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
16761         * sysdeps/s390/multiarch/memccpy.c: Likewise.
16762         * sysdeps/s390/multiarch/Makefile
16763         (sysdep_routines): Add memccpy functions.
16764         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16765         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
16766         * string/memccpy.c: Use MEMCCPY if defined.
16768         * sysdeps/s390/multiarch/memchr-vx.S: New File.
16769         * sysdeps/s390/multiarch/memchr.c: Likewise.
16770         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
16771         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
16772         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16773         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
16774         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
16775         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16776         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
16777         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
16778         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
16779         and rawmemchr functions.
16780         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16781         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
16782         and wmemchr.
16783         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
16784         * string/test-memchr.c: Add wmemchr support.
16785         * wcsmbs/test-wmemchr.c: New File.
16786         * wcsmbs/Makefile (strop-tests): Add wmemchr.
16787         * benchtests/bench-memchr.c: Add wmemchr support.
16788         * benchtests/bench-wmemchr.c: New File.
16789         * benchtests/Makefile (wcsmbs-bench): wmemchr.
16791         * sysdeps/s390/multiarch/strcspn-c.c: New File.
16792         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
16793         * sysdeps/s390/multiarch/strcspn.c: Likewise.
16794         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
16795         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
16796         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
16797         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
16798         wcscspn functions.
16799         * sysdeps/s390/multiarch/ifunc-impl-list.c
16800         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
16801         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
16802         * string/test-strcspn.c: Add wcscspn support.
16803         * wcsmbs/test-wcscspn.c: New File.
16804         * wcsmbs/Makefile (strop-tests): Add wcscspn.
16805         * benchtests/bench-strcspn.c: Add wcscspn support.
16806         * benchtests/bench-wcscspn.c: New File.
16807         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
16809         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
16810         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
16811         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16812         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
16813         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
16814         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16815         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
16816         wcspbrk functions.
16817         * sysdeps/s390/multiarch/ifunc-impl-list.c
16818         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
16819         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
16820         * string/test-strpbrk.c: Add wcspbrk support.
16821         * wcsmbs/test-wcspbrk.c: New File.
16822         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
16823         * benchtests/bench-strpbrk.c: Add wcspbrk support.
16824         * benchtests/bench-wcspbrk.c: New File.
16825         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
16827         * sysdeps/s390/multiarch/strspn-c.c: New File.
16828         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
16829         * sysdeps/s390/multiarch/strspn.c: Likewise.
16830         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
16831         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
16832         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16833         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
16834         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
16835         wcsspn functions.
16836         * sysdeps/s390/multiarch/ifunc-impl-list.c
16837         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
16838         * string/test-strspn.c: Add wcsspn support.
16839         * wcsmbs/test-wcsspn.c: New File.
16840         * wcsmbs/Makefile (strop-tests): Add wcsspn.
16841         * benchtests/bench-strspn.c: Add wcsspn support.
16842         * benchtests/bench-wcsspn.c: New File.
16843         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
16845         * sysdeps/s390/multiarch/strrchr-c.c: New File.
16846         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
16847         * sysdeps/s390/multiarch/strrchr.c: Likewise.
16848         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
16849         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
16850         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
16851         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
16852         wcsrchr functions.
16853         * sysdeps/s390/multiarch/ifunc-impl-list.c
16854         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
16855         * benchtests/bench-wcsrchr.c: New File.
16856         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
16858         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
16859         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
16860         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
16861         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
16862         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
16863         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
16864         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
16865         wcschrnul functions.
16866         * sysdeps/s390/multiarch/ifunc-impl-list.c
16867         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
16868         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
16869         * string/test-strchr.c: Add wcschrnul support.
16870         * wcsmbs/test-wcschrnul.c: New File.
16871         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
16872         * benchtests/bench-strchr.c: Add wcschrnul support.
16873         * benchtests/bench-wcschrnul.c: New File.
16874         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
16876         * sysdeps/s390/multiarch/strchr-c.c: New File.
16877         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
16878         * sysdeps/s390/multiarch/strchr.c: Likewise.
16879         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
16880         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
16881         * sysdeps/s390/multiarch/wcschr.c: Likewise.
16882         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
16883         wcschr functions.
16884         * sysdeps/s390/multiarch/ifunc-impl-list.c
16885         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
16886         * string/strchr.c (STRCHR): Define and use macro.
16887         * benchtests/bench-wcschr.c: New File.
16888         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
16890         * sysdeps/s390/multiarch/strncmp-c.c: New File.
16891         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
16892         * sysdeps/s390/multiarch/strncmp.c: Likewise.
16893         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
16894         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
16895         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
16896         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
16897         wcsncmp functions.
16898         * sysdeps/s390/multiarch/ifunc-impl-list.c
16899         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
16900         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
16901         * benchtests/bench-strncmp.c: Add wcsncmp support.
16902         * benchtests/bench-wcsncmp.c: New File.
16903         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
16905         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
16906         * sysdeps/s390/multiarch/strcmp.c: Likewise.
16907         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
16908         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
16909         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16910         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
16911         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
16912         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
16913         wcscmp functions.
16914         * sysdeps/s390/multiarch/ifunc-impl-list.c
16915         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
16916         * string/strcmp.c (STRCMP): Define and use macro.
16917         * benchtests/bench-wcscmp.c: New File.
16918         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
16919         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
16920         instead of _HAVE_STRING_ARCH_memchr.
16922         * sysdeps/s390/multiarch/strncat-c.c: New File.
16923         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
16924         * sysdeps/s390/multiarch/strncat.c: Likewise.
16925         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
16926         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
16927         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
16928         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
16929         wcsncat functions.
16930         * sysdeps/s390/multiarch/ifunc-impl-list.c
16931         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
16932         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
16933         * string/test-strncat.c: Add wcsncat support.
16934         * wcsmbs/test-wcsncat.c: New File.
16935         * wcsmbs/Makefile (strop-tests): Add wcsncat.
16936         * benchtests/bench-strncat.c: Add wcsncat support.
16937         * benchtests/bench-wcsncat.c: New File.
16938         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
16940         * sysdeps/s390/multiarch/strcat-c.c: New File.
16941         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
16942         * sysdeps/s390/multiarch/strcat.c: Likewise.
16943         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
16944         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
16945         * sysdeps/s390/multiarch/wcscat.c: Likewise.
16946         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
16947         wcscat functions.
16948         * sysdeps/s390/multiarch/ifunc-impl-list.c
16949         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
16950         * string/strcat.c (STRCAT): Define and use macro.
16951         * wcsmbs/wcscat.c: Use WCSCAT if defined.
16952         * string/test-strcat.c: Add wcscat support.
16953         * wcsmbs/test-wcscat.c: New File.
16954         * wcsmbs/Makefile (strop-tests): Add wcscat.
16955         * benchtests/bench-strcat.c: Add wcscat support.
16956         * benchtests/bench-wcscat.c: New File.
16957         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
16959         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
16960         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
16961         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16962         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
16963         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
16964         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
16965         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
16966         wcpncpy functions.
16967         * sysdeps/s390/multiarch/ifunc-impl-list.c
16968         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
16969         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
16970         * string/test-stpncpy.c: Add wcpncpy support.
16971         * wcsmbs/test-wcpncpy.c: New File.
16972         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
16973         * benchtests/bench-stpncpy.c: Add wcpncpy support.
16974         * benchtests/bench-wcpncpy.c: New File.
16975         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
16977         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
16978         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16979         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
16980         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
16981         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
16982         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
16983         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
16984         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
16985         wcsncpy functions.
16986         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
16987         * sysdeps/s390/multiarch/ifunc-impl-list.c
16988         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
16989         * string/test-strncpy.c: Add wcsncpy support.
16990         * wcsmbs/test-wcsncpy.c: New File.
16991         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
16992         * benchtests/bench-strncpy.c: Add wcsncpy support.
16993         * benchtests/bench-wcsncpy.c: New File.
16994         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
16996         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
16997         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
16998         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16999         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
17000         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
17001         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
17002         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
17003         wcpcpy functions.
17004         * string/stpcpy.c: Use STPCPY if defined.
17005         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
17006         * sysdeps/s390/multiarch/ifunc-impl-list.c
17007         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
17008         * string/test-stpcpy.c: Add wcpcpy support.
17009         * wcsmbs/test-wcpcpy.c: New File.
17010         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
17011         * benchtests/bench-stpcpy.c: Add wcpcpy support.
17012         * benchtests/bench-wcpcpy.c: New File.
17013         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
17015         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
17016         * sysdeps/s390/multiarch/strcpy.c: Likewise.
17017         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
17018         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
17019         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
17020         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
17021         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
17022         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
17023         wcscpy functions.
17024         * sysdeps/s390/multiarch/ifunc-impl-list.c
17025         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
17026         * benchtests/bench-wcscpy.c: New File.
17027         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
17029         * sysdeps/s390/multiarch/strnlen-c.c: New File.
17030         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
17031         * sysdeps/s390/multiarch/strnlen.c: Likewise.
17032         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
17033         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
17034         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
17035         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
17036         wcsnlen functions.
17037         * sysdeps/s390/multiarch/ifunc-impl-list.c
17038         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
17039         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
17040         * string/test-strnlen.c: Add wcsnlen support.
17041         * wcsmbs/test-wcsnlen.c: New File.
17042         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
17043         * benchtests/bench-strnlen.c: Add wcsnlen support.
17044         * benchtests/bench-wcsnlen.c: New File.
17045         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
17047         * sysdeps/s390/multiarch/Makefile: New File.
17048         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
17049         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
17050         * sysdeps/s390/multiarch/strlen.c: Likewise.
17051         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
17052         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
17053         * sysdeps/s390/multiarch/wcslen.c: Likewise.
17054         * string/strlen.c (STRLEN): Define and use macro.
17055         * sysdeps/s390/multiarch/ifunc-impl-list.c
17056         (IFUNC_VX_IMPL): New macro function.
17057         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
17058         * benchtests/Makefile (wcsmbs-bench): New variable.
17059         (string-bench-all): Added wcsmbs-bench.
17060         * benchtests/bench-wcslen.c: New File.
17062         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
17063         s390_vx_libc_ifunc2): New macro function.
17065         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
17066         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
17067         assembler support.
17068         * sysdeps/s390/configure: Regenerated.
17070         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
17071         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
17073         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
17074         * sysdeps/s390/dl-procinfo.h: Add vector capability.
17075         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
17077         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
17078         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
17079         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
17080         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
17081         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
17082         (memcmp, bcmp): Use __memcmp_default as alias source.
17083         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
17084         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
17085         Rename to __memcmp_default.
17086         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
17087         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
17088         (memcpy): Use __memcpy_default as alias source.
17089         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
17090         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
17091         Rename to __memcpy_default.
17092         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
17093         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
17094         (memset): Use __memset_default as alias source.
17095         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
17096         * sysdeps/s390/s390-32/memset.S (__memset_g5):
17097         Rename to __memset_default.
17098         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
17099         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
17100         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
17101         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
17102         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
17103         (memcmp, bcmp): Use __memcmp_default as alias source.
17104         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
17105         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
17106         Rename to __memcmp_default.
17107         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
17108         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
17109         (memcpy): Use __memcpy_default as alias source.
17110         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
17111         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
17112         Rename to __memcpy_default.
17113         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
17114         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
17115         (memset): Use __memset_default as alias source.
17116         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
17117         * sysdeps/s390/s390-64/memset.S (__memset_z900):
17118         Rename to __memset_default.
17119         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
17120         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
17122         [BZ #18610]
17123         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
17124         __ieee_instruction_pointer to __unused.
17125         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
17126         __ieee_instruction_pointer.
17127         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
17128         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
17129         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17130         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17131         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
17132         Mark dxc-field as reserved.
17134 2015-08-25  Roland McGrath  <roland@hack.frob.com>
17136         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
17137         if the weak reference is not null.
17139 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17141         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
17143         [BZ #11214]
17144         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
17146 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17148         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
17149         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
17150         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
17151         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
17152         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
17153         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
17154         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
17155         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
17156         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
17157         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
17158         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
17159         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
17160         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
17161         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
17162         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
17163         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
17164         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
17165         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
17167 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17169         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
17170         register other than r0 for tabort, it has special meaning.
17171         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
17172         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
17173         transaction before starting syscall.
17175 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17177         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
17179 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17181         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
17183         * sysdeps/x86_64/rtld-memcmp.c: Removed.
17184         * sysdeps/x86_64/rtld-memset.S: Likewise.
17185         * sysdeps/x86_64/rtld-strchr.S: Likewise.
17186         * sysdeps/x86_64/rtld-strlen.S: Likewise.
17187         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
17188         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17190         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
17192 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
17194         * debug/strcpy_chk.c: Improve performance.
17195         * debug/stpcpy_chk.c: Likewise.
17196         * sysdeps/x86_64/strcpy_chk.S: Remove.
17197         * sysdeps/x86_64/stpcpy_chk.S: Remove.
17199         [BZ #18240]
17200         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
17202 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17204         [BZ #15128]
17205         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
17206         ifuncmain8.
17207         (modules-names): Add ifuncmod8.
17208         ($(objpfx)ifuncmain8): New rule.
17209         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
17210         <cpuid.h>.
17211         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
17212         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
17213         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
17214         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
17215         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
17216         * sysdeps/x86_64/dl-trampoline.h: Likewise.
17217         * sysdeps/x86_64/ifuncmain8.c: New file.
17218         * sysdeps/x86_64/ifuncmod8.c: Likewise.
17219         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
17220         Removed.
17221         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
17222         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
17223         Change rtld_savespace_sse to __glibc_unused2.
17224         (RTLD_CHECK_FOREIGN_CALL): Removed.
17225         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
17226         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
17227         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
17229 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17231         * sysdeps/aarch64/bzero.S (__bzero): Remove.
17233 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17235         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
17236         Unconditionally set __fpcr to avoid uninialized warning.
17237         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
17239 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17241         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
17242         is corrupt.
17244         * malloc/arena.c (arena_get2): Drop unused argument.
17245         (arena_lock): Adjust.
17246         (arena_get_retry): Likewise.
17248 2015-08-24  Andreas Schwab  <schwab@suse.de>
17250         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
17251         Don't define.
17252         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17253         (__ASSUME_IPC64): Don't undef.
17254         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
17255         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17256         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17257         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
17258         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
17259         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
17260         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
17261         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
17262         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
17263         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
17264         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
17265         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
17266         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
17267         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
17268         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
17269         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
17270         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
17271         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
17272         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
17273         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
17274         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
17276 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
17278         * manual/Makefile (install): Only build manual when perl is available.
17280 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17282         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
17283         '#undef memcpy' by '#undef memchr'.
17285 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17287         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
17288         memchr not point to the internal __GI_memchr implementation.
17290 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17292         * timezone/Makefile (CFLAGS-zdump.c): Remove
17293         -Wno-strict-prototypes.
17294         (CFLAGS-zic.c): Likewise.
17295         (CFLAGS-ialloc.c): Likewise.
17296         (CFLAGS-scheck.c): Likewise.
17298         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
17299         -Wno-error=undef.
17301 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17303         * i386/i686/multiarch/strcasestr-c.c: Removed.
17304         * x86_64/multiarch/strcasestr.c: Likewise.
17305         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17306         Remove strcasestr.
17308 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17310         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
17312         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
17313         variables for high and low parts before possibly modifying them.
17315 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17317         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
17318         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
17319         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
17320         of "multiarch/init-arch.h".
17321         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
17322         * sysdeps/x86/init-arch.h: This.
17324 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17326         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
17327         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
17329 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
17331         [BZ #17787]
17332         * manual/macros.texi: Add twoexp macro.
17333         * manual/filesys.texi: Fix exponents.
17334         * manual/llio.texi: Likewise.
17335         * manual/stdio.texi: Likewise.
17337 2015-08-20  Florian Weimer  <fweimer@redhat.com>
17339         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
17340         incorrect use.
17342 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17344         [BZ #18370]
17345         * math/s_csqrt.c (__csqrt): Force underflow exception for results
17346         whose real or imaginary part has small absolute value.
17347         * math/s_csqrtf.c (__csqrtf): Likewise.
17348         * math/s_csqrtl.c (__csqrtl): Likewise.
17349         * math/auto-libm-test-in: Add more tests of csqrt.
17350         * math/auto-libm-test-out: Regenerated.
17351         * sysdeps/i386/fpu/libm-test-ulps: Update.
17353 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17355         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
17356         __ppc_set_ppr_very_low): New functions.
17357         * manual/platform.texi: Add documentation about
17358         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
17360 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
17362         * string/stpncpy.c (stpncpy): Improve performance using
17363         __strnlen/memcpy/memset.
17365 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17367         [BZ #18796]
17368         * scripts/test-installation.pl: Don't add -lmvec to build options if
17369         libmvec wasn't built.
17371 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
17373         [BZ #14341]
17374         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
17375         case when there is a gap between DT_REL and DT_JMPREL sections.
17376         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
17377         (LDFLAGS-tst-split-dynreloc): New.
17378         (tst-split-dynreloc-ENV): Likewise.
17379         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
17380         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
17382 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17384         [BZ #18822]
17385         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
17386         attribute_hidden.
17387         (__xstat64_conv): Likewise.
17388         (__xstat32_conv): Likewise.
17390 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17392         [BZ #18822]
17393         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17394         Don't load %ebx when calling __setcontext.  Call __setcontext
17395         with HIDDEN_JUMPTARGET.
17396         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
17397         libc_hidden_def.
17399 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17401         * sysdeps/i386/i686/Makefile
17402         [$(subdir) == string] (sysdep_routines): Moved to ...
17403         * sysdeps/i386/Makefile: Here.
17404         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
17405         * sysdeps/i386/cacheinfo.c: Here.
17406         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
17407         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
17408         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
17409         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
17411 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17413         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
17414         __i586__ is defined.
17415         (HAS_I686): Defined to 1 if __i686__ is defined.
17417 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17419         * elf/Makefile [$(have-z-execstack) = yes]
17420         (CPPFLAGS-tst-execstack.c): New variable.
17422         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
17423         conditional to [defined UTMPX || _HAVE_UT_TYPE].
17424         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
17425         UTMPX || _HAVE_UT_TV].
17426         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
17427         UTMPX || _HAVE_UT_TV - 0].
17429 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
17431         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
17432         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
17433         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
17435 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17437         * sysdeps/powerpc/dl-procinfo.c:
17438         (_dl_powerpc_cap_flags): Added missing strings for some
17439         hwcap features.
17440         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
17442 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
17444         Port the 0x7efe...feff pattern to GCC 6.
17445         See Steve Ellcey's bug report in:
17446         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
17447         * string/memrchr.c (MEMRCHR):
17448         * string/rawmemchr.c (RAWMEMCHR):
17449         * string/strchr.c (strchr):
17450         * string/strchrnul.c (STRCHRNUL):
17451         Rewrite code to avoid issues with signed shift overflow.
17453 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
17455         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
17456         whether cpuid is available only if HAS_CPUID is 0.
17457         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
17458         (HAS_I586): Likewise.
17459         (HAS_I686): Likewise.
17461 2015-08-18  Zack Weinberg  <zackw@panix.com>
17463         * misc/Versions (libc): Add GLIBC_2.23.
17465 2015-08-18  Alan Modra  <amodra@gmail.com>
17467         [BZ #18421]
17468         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
17469         .Lp__global.
17470         (_start): Load %dp via .Lp__global.
17471         [!SHARED]: Use .section .rodata.
17473 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17475         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
17476         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
17478 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17480         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
17481         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
17483 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17485         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
17486         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
17488 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17490         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
17491         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
17493 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17495         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
17496         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
17498 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17500         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
17501         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
17503 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17505         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
17507 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17509         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
17510         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
17511         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17512         (__ASSUME_LWS_CAS): Delete.
17514 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17516         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
17517         * sysdeps/hppa/configure: Regenerated.
17518         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
17519         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
17520         * sysdeps/hppa/nptl/tls.h: Likewise.
17522 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
17524         [BZ #18823]
17525         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
17526         for scaling up small arguments.
17527         * math/s_csqrtf.c (__csqrtf): Likewise.
17528         * math/s_csqrtl.c (__csqrtl): Likewise.
17529         * math/auto-libm-test-in: Add more tests of csqrt.
17530         * math/auto-libm-test-out: Regenerated.
17532 2015-08-17  Andreas Schwab  <schwab@suse.de>
17534         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
17535         version set GLIBC_2.19.
17537 2015-08-16  Zack Weinberg  <zackw@panix.com>
17539         [BZ #18681]
17540         * misc/regexp.h: This interface is no longer supported.
17541         Remove all contents, leaving only an #error directive.
17542         * misc/regexp.c (loc1, loc2, locs, step, advance):
17543         Demote to compatibility symbols.
17545 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
17547         [BZ #18084]
17548         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
17549         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
17550         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17551         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
17552         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
17553         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
17554         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
17555         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
17556         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17558 2015-08-15  Zack Weinberg  <zackw@panix.com>
17560         [BZ #18795]
17561         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
17562         buffer length is known to be too large, not if it's known to be
17563         small enough.
17564         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
17565         overflow at runtime, involving a length parameter, twice: once
17566         with a compile-time constant length parameter, once without.
17568 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
17570         [BZ #18824]
17571         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
17572         scaling x * y up instead of down.
17573         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17574         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17575         * math/auto-libm-test-in: Add more tests of fma.
17576         * math/auto-libm-test-out: Regenerated.
17578 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
17580         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17582 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17584         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
17585         unnecessary movq.
17586         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
17587         Likewise.
17589 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
17591         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17592         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
17593         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
17594         and tgamma.
17595         * math/auto-libm-test-out: Regenerated.
17596         * sysdeps/i386/fpu/libm-test-ulps: Update.
17597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17599         [BZ #16520]
17600         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
17601         (__tanh): Force underflow exception for arguments with small
17602         absolute value.
17603         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
17604         (__tanhf): Force underflow exception for arguments with small
17605         absolute value.
17606         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
17607         (__tanhl): Force underflow exception for arguments with small
17608         absolute value.
17609         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
17610         (__tanhl): Force underflow exception for arguments with small
17611         absolute value.
17612         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
17613         (__tanhl): Force underflow exception for arguments with small
17614         absolute value.
17615         * math/auto-libm-test-in: Add more tests of tanh.
17616         * math/auto-libm-test-out: Regenerated.
17617         * sysdeps/i386/fpu/libm-test-ulps: Update.
17619 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17621         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
17622         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
17624 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17626         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
17627         <cpuid.h>.
17629 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17631         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
17632         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
17634 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17636         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
17637         Remove $(objpfx)init-arch.o.
17638         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
17639         init-arch.
17640         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
17641         (INIT_ARCH_EXT): Defined as empty.
17642         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
17643         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
17644         __init_cpu_features call.  Replace HAS_XXX with
17645         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17646         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
17647         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
17648         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
17649         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
17650         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17651         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
17652         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
17653         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17654         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
17655         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
17656         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17657         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
17658         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
17659         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17660         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
17661         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
17662         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17663         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17664         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
17665         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
17666         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17667         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
17668         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
17669         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17670         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
17671         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
17672         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17673         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
17674         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
17675         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17676         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
17677         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
17678         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17679         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
17680         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
17682 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17684         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
17685         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17686         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17687         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17688         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
17689         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
17690         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
17691         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
17692         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
17693         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
17694         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
17695         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
17696         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17697         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17698         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17699         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17700         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17701         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17702         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17703         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17704         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17705         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17706         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17707         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17708         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17709         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17710         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17711         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17712         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17713         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17714         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17715         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17716         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17717         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17718         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17719         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17720         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17721         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17722         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17723         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17724         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17725         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17726         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17728 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17730         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
17731         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17732         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17733         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17734         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17735         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
17736         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17737         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
17738         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17739         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17740         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17741         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
17742         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
17743         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
17744         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
17745         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
17746         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
17747         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
17748         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
17749         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
17750         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17751         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
17752         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
17753         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17754         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17755         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
17756         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
17757         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
17758         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17759         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17760         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17761         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17762         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17763         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17764         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17765         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17766         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17767         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17768         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17769         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17770         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17771         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17772         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17774 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17776         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
17777         (dl_platform_init): Call init_cpu_features.
17778         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
17779         * sysdeps/i386/i686/cacheinfo.c
17780         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
17781         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
17782         * sysdeps/i386/i686/multiarch/Versions: Removed.
17783         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
17784         Removed.
17785         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
17786         * sysdeps/unix/sysv/linux/x86/Makefile
17787         (libpthread-sysdep_routines): Remove init-arch.
17788         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
17789         <sysdeps/x86_64/dl-procinfo.c> instead of
17790         sysdeps/generic/dl-procinfo.c>.
17791         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
17792         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
17793         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
17794         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
17795         [$(subdir) == elf] (tests-static): Add
17796         tst-get-cpu-features-static.
17797         * sysdeps/x86/Versions: New file.
17798         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
17799         * sysdeps/x86/cpu-features.c: Likewise.
17800         * sysdeps/x86/cpu-features.h: Likewise.
17801         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
17802         * sysdeps/x86/libc-start.c: Likewise.
17803         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17804         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
17805         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
17806         * sysdeps/x86_64/dl-procinfo.c: Likewise.
17807         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
17808         Assume USE_MULTIARCH is defined and don't check it.
17809         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
17810         (is_amd): Likewise.
17811         (max_cpuid): Likewise.
17812         (intel_check_word): Likewise.
17813         (__cache_sysconf): Don't call __init_cpu_features.
17814         (__x86_preferred_memory_instruction): Removed.
17815         (init_cacheinfo): Don't call __init_cpu_features. Replace
17816         __cpu_features with GLRO(dl_x86_cpu_features).
17817         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
17818         (dl_platform_init): Call init_cpu_features.
17819         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
17820         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
17821         * sysdeps/x86_64/multiarch/Versions: Removed.
17822         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
17823         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
17824         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
17825         Removed.
17826         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
17828 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17830         [BZ #18820]
17831         * libio/Makefile (test-fmemopen-mem): New test.
17832         * libio/test-fmemopen.c (do_bz18820): New test.
17833         * libio/fmemopen.c (__fmemopen): Fix memory leak.
17834         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
17836 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17838         [BZ #16734]
17839         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
17840         (FREE_BUF): Delete.
17841         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
17842         * libio/genops.c (_IO_setb): Use malloc and free directly.
17843         (_IO_default_doallocate, _IO_default_finish): Likewise.
17844         ( _IO_unbuffer_all): Likewise.
17845         ( libc_freeres_fn): Likewise.
17846         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17847         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17848         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
17849         (_IO_wdefault_doallocate): Likewise.
17851 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17853         [BZ #18086]
17854         * sysdeps/posix/nice.c (nice): Restore old errno.
17855         * posix/tst-nice.c (do_test): Add test for BZ #18086.
17857 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
17859         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
17861 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17863         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
17864         __bcopy and add a weak_alias to bcopy.
17865         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
17866         for static build.
17868         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
17869         cleanup macro usage.
17870         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
17871         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
17872         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17873         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
17874         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17875         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
17876         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
17877         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17878         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17879         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
17880         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17881         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
17882         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17883         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
17884         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17885         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
17886         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
17887         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
17888         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17890         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
17891         libc_hidden_def.
17892         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
17894         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
17895         (sysdep_routines): Add strstr-ppc64.
17896         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
17898 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
17900         [BZ #18778]
17901         * elf/Makefile (tests): Add Add tst-nodelete2.
17902         (modules-names): Add tst-nodelete2mod.
17903         (tst-nodelete2mod.so-no-z-defs): New.
17904         ($(objpfx)tst-nodelete2): Likewise.
17905         ($(objpfx)tst-nodelete2.out): Likewise.
17906         (LDFLAGS-tst-nodelete2): Likewise.
17907         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
17908         out of loop through all loaded libraries.
17909         * elf/tst-nodelete2.c: New file.
17910         * elf/tst-nodelete2mod.c: Likewise.
17911         * elf/tst-znodelete-zlib.cc: Delete.
17913 2015-08-11  Andreas Schwab  <schwab@suse.de>
17915         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
17916         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
17917         (__openat64_nocancel): Likewise.
17919 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
17921         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
17922         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
17923         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
17924         * math/auto-libm-test-out: Regenerated.
17925         * sysdeps/i386/fpu/libm-test-ulps: Update.
17926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17928 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17930         [BZ #18790]
17931         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
17932         threshold for returning +/- 1.
17933         * math/auto-libm-test-in: Add more tests of tanh.
17934         * math/auto-libm-test-out: Regenerated.
17935         * sysdeps/i386/fpu/libm-test-ulps: Update.
17937 2015-08-10  Andreas Schwab  <schwab@suse.de>
17939         [BZ #18781]
17940         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
17941         MORE_OFLAGS to oflag.
17942         * io/test-lfs.c (do_test): Test openat64.
17944 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17946         [BZ #18789]
17947         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
17948         smaller threshold for returning the argument.
17949         * math/auto-libm-test-in: Add more tests of sinh.
17950         * math/auto-libm-test-out: Regenerated.
17951         * sysdeps/i386/fpu/libm-test-ulps: Update.
17953 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17955         [BZ #18674]
17956         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
17957         break.
17959 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
17961         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
17962         (generated): Don't add $(addprefix z.,$(tzfiles)).
17964 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17966         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
17967         * scripts/sysd-rules.awk: Likewise.
17969 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17971         * iconvdata/tst-tables.sh: Change echo -n to printf.
17972         * nss/db-Makefile: Likewise.
17973         * posix/tst-getconf.sh: Likewise.
17974         * stdio-common/tst-unbputc.sh: Likewise.
17976 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17978         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
17979         MADV_*_PAGES defines behind this feature check.
17981 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
17983         [BZ #18480]
17984         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
17985         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
17986         Define.
17987         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
17988         LOAD_REGS_5, LOAD_REGS_6): Update.
17989         (INTERNAL_SYSCALL): Update using new LOAD defines.
17990         (INTERNAL_SYSCALL_NCS): Likewise.
17991         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
17993 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17995         [BZ #16734]
17996         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
17998 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18000         [BZ #17905]
18001         * catgets/Makefile (tst-catgets-mem): New test.
18002         * catgets/catgets.c (catopen): Don't use unbounded alloca.
18003         * catgets/open_catalog.c (__open_catalog): Likewise.
18004         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
18006 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
18008         [BZ #18787]
18009         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
18010         clobber registers.
18011         (atomic_compare_and_exchange_val_acq): Use register asms to assign
18012         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
18013         Cast return to __typeof (oldval).
18015 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
18017         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
18018         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
18019         and delete sys/syscall.h include.
18021 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
18023         [BZ #16517]
18024         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
18025         (tan): Force underflow exception for arguments with small absolute
18026         value.
18027         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
18028         (__kernel_tanf): Force underflow exception for arguments with
18029         small absolute value.
18030         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
18031         (__kernel_tanl): Force underflow exception for arguments with
18032         small absolute value.
18033         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
18034         (__kernel_tanl): Force underflow exception for arguments with
18035         small absolute value.
18036         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
18037         (__kernel_tanl): Force underflow exception for arguments with
18038         small absolute value.
18039         * math/auto-libm-test-in: Add more tests of tan.
18040         * math/auto-libm-test-out: Regenerated.
18042 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18044         Fix sysdeps/i386/fpu/s_scalbn.S build
18046         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
18048 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
18050         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18052 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18054         Fix gcrt0.o compilation
18056         When static-start-installed-name is different from
18057         start-installed-name, we must not use the shared objects.
18059         * csu/Makefile
18060         (extra-objs): Add gmon-start.o when building shared library and
18061         $(static-start-installed-name) is different from
18062         $(start-installed-name).
18063         $(objpfx)g$(static-start-installed-name): When building shared
18064         library and $(static-start-installed-name) is different from
18065         $(static-start-installed-name), revert to non-shared rule,
18066         i.e. using $(objpfx)% and gmon-start.o.
18068 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
18070         [BZ #16519]
18071         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
18072         (__ieee754_sinh): Force underflow exception for arguments with
18073         small absolute value.
18074         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
18075         (__ieee754_sinhf): Force underflow exception for arguments with
18076         small absolute value.
18077         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
18078         (__ieee754_sinhl): Force underflow exception for arguments with
18079         small absolute value.
18080         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
18081         (__ieee754_sinhl): Force underflow exception for arguments with
18082         small absolute value.
18083         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
18084         (__ieee754_sinhl): Force underflow exception for arguments with
18085         small absolute value.
18086         * math/auto-libm-test-in: Add more tests of sinh.
18087         * math/auto-libm-test-out: Regenerated.
18088         * sysdeps/i386/fpu/libm-test-ulps: Update.
18090 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18092         * libio/oldfileops.c: Include unistd.h.
18094 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
18096         * stdlib/isomac.c: Include ctype.h.
18098 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
18100         * dirent/tst-seekdir.c (main): Converted to ...
18101         (do_test): ... this.
18102         (TEST_FUNCTION): New macro.
18103         Include test-skeleton.c.
18104         * elf/tst-dlmodcount.c (main): Converted to ...
18105         (do_test): ... this.
18106         (TEST_FUNCTION): New macro.
18107         Include test-skeleton.c.
18108         * elf/tst-order-main.c (main): Converted to ...
18109         (do_test): ... this.
18110         (TEST_FUNCTION): New macro.
18111         Include test-skeleton.c.
18112         * elf/tst-pie2.c (main): Converted to ...
18113         (do_test): ... this.
18114         (TEST_FUNCTION): New macro.
18115         Include test-skeleton.c.
18116         * inet/tst-ether_aton.c (main): Converted to ...
18117         (do_test): ... this.
18118         (TEST_FUNCTION): New macro.
18119         Include test-skeleton.c.
18120         * misc/tst-mntent.c (main): Converted to ...
18121         (do_test): ... this.
18122         (TEST_FUNCTION): New macro.
18123         Include test-skeleton.c.
18124         * misc/tst-tsearch.c (main): Converted to ...
18125         (do_test): ... this.
18126         (TEST_FUNCTION): New macro.
18127         Include test-skeleton.c.
18128         * posix/tst-regexloc.c (main): Converted to ...
18129         (do_test): ... this.
18130         (TEST_FUNCTION): New macro.
18131         Include test-skeleton.c.
18132         * resolv/tst-aton.c (main): Converted to ...
18133         (do_test): ... this.
18134         (TEST_FUNCTION): New macro.
18135         Include test-skeleton.c.
18136         * stdio-common/test-fwrite.c (main): Converted to ...
18137         (do_test): ... this.
18138         (TEST_FUNCTION): New macro.
18139         Include test-skeleton.c.
18140         * stdio-common/tst-ferror.c (main): Converted to ...
18141         (do_test): ... this.
18142         (TEST_FUNCTION): New macro.
18143         Include test-skeleton.c.
18144         * stdio-common/tst-printf.c (main): Converted to ...
18145         (do_test): ... this.
18146         (TEST_FUNCTION): New macro.
18147         Include test-skeleton.c.
18148         * stdio-common/tst-printfsz.c (main): Converted to ...
18149         (do_test): ... this.
18150         (TEST_FUNCTION): New macro.
18151         Include test-skeleton.c.
18152         * stdlib/tst-strtod.c (main): Converted to ...
18153         (do_test): ... this.
18154         (TEST_FUNCTION): New macro.
18155         Include test-skeleton.c.
18156         * string/tst-strlen.c (main): Converted to ...
18157         (do_test): ... this.
18158         (TEST_FUNCTION): New macro.
18159         Include test-skeleton.c.
18160         * string/tst-svc.c (main): Converted to ...
18161         (do_test): ... this.
18162         (TEST_FUNCTION): New macro.
18163         Include test-skeleton.c.
18164         * time/tst-strptime.c (main): Converted to ...
18165         (do_test): ... this.
18166         (TEST_FUNCTION): New macro.
18167         Include test-skeleton.c.
18168         * timezone/tst-timezone.c (main): Converted to ...
18169         (do_test): ... this.
18170         (TEST_FUNCTION): New macro.
18171         Include test-skeleton.c.
18173 2015-08-05  Zack Weinberg  <zackw@panix.com>
18175         * misc/regexp.h: Update comments.
18177 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
18179         [BZ #18635]
18180         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
18181         before return label.
18183 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18185         [BZ #18661]
18186         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
18187         when calling __errno_location.
18188         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
18189         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
18191 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18193         [BZ #18661]
18194         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
18195         (__lll_timedwait_tid): Align stack to 16 bytes when calling
18196         __gettimeofday.
18198 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18200         [BZ #18661]
18201         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18202         (__start_context): Don't use pop to restore %rdi so that stack
18203         is aligned to 16 bytes when calling __setcontext.
18205 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18207         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
18208         only for libc.
18209         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18211 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18213         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
18214         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
18215         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
18217 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18219         * string/memccpy.c (memccpy):
18220         Improve performance by using memchr/memcpy/__mempcpy.
18222 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18224         * string/strncpy.c (strncpy):
18225         Improve performance by using __strnlen/memcpy.
18227 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18229         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18230         Optimize to avoid an unnecessary FPCR read.
18232 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18234         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18235         Optimize to reduce FPCR/FPSR accesses.
18237 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18239         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
18240         dead->data[category] != NULL.
18242 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
18244         [BZ #18647]
18245         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
18246         and |x| close to 1, use absolute value of x when computing log.
18247         * math/auto-libm-test-in: Add more tests of pow.
18248         * math/auto-libm-test-out: Regenerated.
18250 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18252         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
18253         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
18254         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
18256 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
18258         [BZ #18525]
18259         * locales/km_KH: Remove timezone definition.
18260         * locales/lo_LA: Likewise.
18261         * locales/my_MM: Likewise.
18262         * locales/nan_TW@latin: Likewise.
18263         * locales/th_TH: Likewise.
18264         * locales/uk_UA: Likewise.
18266 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18268         [BZ #18265]
18269         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
18270         (wcsncat): Likewise.
18271         (wcscmp): Likewise.
18272         (wcsncmp): Likewise.
18274 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18276         * test-skeleton.c (usage): New function.
18277         (main): Call usage when opt is '?'.
18279 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18281         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
18282         before first use.
18284 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18286         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
18287         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
18288         in there too.
18290 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
18292         * version.h (RELEASE): Set to "development".
18293         (VERSION): Set to "2.22.90"
18295         * version.h (RELEASE): Set to "stable".
18296         (VERSION): Set to "2.22"
18297         * include/features.h (__GLIBC_MINOR__): Set to 22.
18299 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
18301         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
18302         Restructure macro to avoid "value computed is not used" warning.
18303         (atomic_compare_and_exchange_val_acq): Likewise.
18305 2015-08-04  Andreas Schwab  <schwab@suse.de>
18307         [BZ #18635]
18308         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
18309         ret.
18310         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
18312 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
18314         * po/pl.po: Updated translation.
18315         * po/uk.po: Likewise.
18316         * po/fi.po: Likewise.
18317         * po/ko.po: Likewise.
18318         * po/ru.po: Likewise.
18319         * po/vi.po: Likewise.
18321 2015-07-31  Zack Weinberg  <zackw@panix.com>
18323         [BZ #18681]
18324         * regexp.h: Add unconditional #warning stating that this header
18325         will be removed soon.  Revise banner comment to match.
18326         (compile): Consistently use ERROR instead of RETURN to report
18327         errors (partial fix for bz#18681).
18328         * regexp.c: Don't include regexp.h. Remove some unnecessary
18329         declarations.
18331 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
18333         * po/libc.pot: Regenerated.
18335 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18337         [BZ #18740]
18338         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
18339         float-vlen4-arch-ext-cflags): Removed.
18340         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
18341         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
18343 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18345         [BZ #14113]
18346         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
18347         aligned to __aligned__.
18348         (pthread_cond_t, pthread_rwlock_t): Likewise.
18350 2015-07-30  Torvald Riegel  <triegel@redhat.com>
18352         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
18354 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18356         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
18357         (struct sigaction): Change sa_flags from a long to an int, and add
18358         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
18360 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18362         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
18363         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
18364         sysdeps/generic/sysdep.h include.
18365         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
18366         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
18367         sysdeps/hppa/sysdep.h.
18368         (ENTRY, PSEUDO): Undefine before defining.
18370 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18372         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
18373         from scratch to use INTERNAL_SYSCALL.
18375 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
18377         [BZ #18078]
18378         * scripts/check-localplt.awk: Support alternate relocations.
18379         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
18380         sections.
18381         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
18382         malloc entries with + REL R_386_GLOB_DAT.
18383         * sysdeps/x86_64/localplt.data: New file.
18385 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
18387         [BZ #18731]
18388         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
18389         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18390         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18392 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18394         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
18396 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18398         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
18399         directly in terms of __sync_fetch_and_add and delete (int) cast.
18401 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18403         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
18404         the -D_ASM_IA64_CURRENT_H flag.
18406 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18408         [BZ #18641]
18409         * pwd/pwd.h (putpwent): Delete __nonnull markings.
18411 2015-07-27  Andreas Schwab  <schwab@suse.de>
18413         * conform/conformtest.pl (checknamespace): Filter out string
18414         literals while tokenizing.
18416 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18418         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18419         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
18420         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18422 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18424         * nptl/tst-join7mod.c: Add #include <string.h>.
18426 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18428         * sysdeps/nios2/libm-test-ulps: Update.
18430 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18432         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
18433         Fix order of arguments to the rt_sigprocmask syscall.
18434         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
18435         Likewise.
18437 2015-07-24  Roland McGrath  <roland@hack.frob.com>
18439         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
18441 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18443         [BZ #18457]
18444         * nptl/Makefile (tests): New test case tst-join7.
18445         (modules-names): New test case module tst-join7mod.
18446         * nptl/tst-join7.c: New file.
18447         * nptl/tst-join7mod.c: New file.
18448         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
18449         all translation units in libc.so, libpthread.so and rtld.
18451 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18455 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18457         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
18458         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
18459         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
18460         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
18461         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
18462         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
18463         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
18464         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18465         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18466         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18467         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18468         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18469         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
18470         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
18471         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
18472         implementation.
18474 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18476         [BZ #17711]
18477         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18478         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
18479         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18480         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18481         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
18482         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18484 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18486         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
18487         instead of just saying load lock in the comments.
18489 2015-07-23  Roland McGrath  <roland@hack.frob.com>
18491         * sysdeps/unix/Subdirs: Moved ...
18492         * sysdeps/posix/Subdirs: ... here.
18493         * login/pty.h (struct termios, struct winsize): Add forward decls.
18494         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
18495         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
18496         * sysdeps/arm/nacl/libc.abilist: Updated.
18497         * sysdeps/nacl/libutil.abilist: New file.
18499         * bits/signum.h: Update comments to mention 1003.1-2013 too.
18500         (SIGWINCH): New macro.
18502         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
18503         * sysdeps/arm/nacl/libc.abilist: Add it.
18505 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18507         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
18509 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18511         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18512         Swap __glibc_reserved0 and sa_flags order.
18514 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18516         [BZ #18657]
18517         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
18518         are pending TLS destructor calls.
18519         * include/link.h (struct link_map): Add concurrency note for
18520         L_TLS_DTOR_COUNT.
18521         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18522         Don't touch the link map flag.  Atomically increment
18523         l_tls_dtor_count.
18524         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
18525         Avoid taking the load lock and don't touch the link map flag.
18526         * stdlib/tst-tls-atexit-nodelete.c: New test case.
18527         * stdlib/Makefile (tests): Use it.
18528         * stdlib/tst-tls-atexit.c (do_test): dlopen
18529         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
18530         to allow tst-tls-atexit-nodelete test case to use it.
18532 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18534         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
18535         to bits/types.h.
18536         (msgqnum_t): New typedef.
18537         (msglen_t): Likewise.
18538         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
18539         and msg_qbytes type to msglen_t.
18541 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18543         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
18544         pad0 to __glibc_reserved0.
18545         (struct stat64): Likewise.
18547 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18549         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18550         Change sa_flags from a long to an int and add __glibc_reserved0 before
18551         it for padding.
18553 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18555         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
18556         anonymous by deleting "siginfo" name.
18558 2015-07-21  Roland McGrath  <roland@hack.frob.com>
18560         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
18561         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
18562         rather than __nacl_irt_filename.
18563         * sysdeps/nacl/xstat.c (__xstat): Likewise.
18565         * NEWS: New item for arm-nacl port.
18566         * sysdeps/arm/nacl/libc.abilist: New file.
18567         * sysdeps/nacl/ld.abilist: New file.
18568         * sysdeps/nacl/libBrokenLocale.abilist: New file.
18569         * sysdeps/nacl/libanl.abilist: New file.
18570         * sysdeps/nacl/libcrypt.abilist: New file.
18571         * sysdeps/nacl/libdl.abilist: New file.
18572         * sysdeps/nacl/libm.abilist: New file.
18573         * sysdeps/nacl/libpthread.abilist: New file.
18574         * sysdeps/nacl/libresolv.abilist: New file.
18575         * sysdeps/nacl/librt.abilist: New file.
18577 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
18579         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
18580         __startcontext to initialize the new context.
18581         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
18582         up CFI directive to forbid further backtracing.
18584 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
18586         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
18587         reference.
18588         * charmaps/ANSI_X3.4-1968: Likewise.
18589         * charmaps/BS_4730: Likewise.
18590         * charmaps/BS_VIEWDATA: Likewise.
18591         * charmaps/CP1250: Likewise.
18592         * charmaps/CP1251: Likewise.
18593         * charmaps/CP1252: Likewise.
18594         * charmaps/CP1253: Likewise.
18595         * charmaps/CP1254: Likewise.
18596         * charmaps/CP1255: Likewise.
18597         * charmaps/CP1256: Likewise.
18598         * charmaps/CSN_369103: Likewise.
18599         * charmaps/EBCDIC-DK-NO: Likewise.
18600         * charmaps/GB_1988-80: Likewise.
18601         * charmaps/GREEK-CCITT: Likewise.
18602         * charmaps/GREEK7: Likewise.
18603         * charmaps/INIS-8: Likewise.
18604         * charmaps/ISIRI-3342: Likewise.
18605         * charmaps/ISO_2033-1983: Likewise.
18606         * charmaps/ISO_5427-EXT: Likewise.
18607         * locales/POSIX: Likewise.
18608         * locales/ar_SA: Likewise.
18609         * locales/be_BY: Likewise.
18610         * locales/be_BY@latin: Likewise.
18611         * locales/ca_ES: Likewise.
18612         * locales/cs_CZ: Likewise.
18613         * locales/da_DK: Likewise.
18614         * locales/de_BE: Likewise.
18615         * locales/de_CH: Likewise.
18616         * locales/de_LU: Likewise.
18617         * locales/en_AU: Likewise.
18618         * locales/en_BW: Likewise.
18619         * locales/en_CA: Likewise.
18620         * locales/en_DK: Likewise.
18621         * locales/en_GB: Likewise.
18622         * locales/en_IE: Likewise.
18623         * locales/en_NZ: Likewise.
18624         * locales/en_ZA: Likewise.
18625         * locales/en_ZW: Likewise.
18626         * locales/es_AR: Likewise.
18627         * locales/es_BO: Likewise.
18628         * locales/es_CL: Likewise.
18629         * locales/es_CO: Likewise.
18630         * locales/es_DO: Likewise.
18631         * locales/es_EC: Likewise.
18632         * locales/es_ES: Likewise.
18633         * locales/es_HN: Likewise.
18634         * locales/es_MX: Likewise.
18635         * locales/es_PA: Likewise.
18636         * locales/es_PE: Likewise.
18637         * locales/es_PY: Likewise.
18638         * locales/es_SV: Likewise.
18639         * locales/es_US: Likewise.
18640         * locales/es_UY: Likewise.
18641         * locales/es_VE: Likewise.
18642         * locales/et_EE: Likewise.
18643         * locales/fa_IR: Likewise.
18644         * locales/fo_FO: Likewise.
18645         * locales/fr_CA: Likewise.
18646         * locales/fr_CH: Likewise.
18647         * locales/gv_GB: Likewise.
18648         * locales/he_IL: Likewise.
18649         * locales/hr_HR: Likewise.
18650         * locales/id_ID: Likewise.
18651         * locales/is_IS: Likewise.
18652         * locales/it_CH: Likewise.
18653         * locales/iw_IL: Likewise.
18654         * locales/kl_GL: Likewise.
18655         * locales/ko_KR: Likewise.
18656         * locales/kw_GB: Likewise.
18657         * locales/lg_UG: Likewise.
18658         * locales/lt_LT: Likewise.
18659         * locales/lv_LV: Likewise.
18660         * locales/mi_NZ: Likewise.
18661         * locales/nhn_MX: Likewise.
18662         * locales/nl_BE: Likewise.
18663         * locales/pl_PL: Likewise.
18664         * locales/sk_SK: Likewise.
18665         * locales/sl_SI: Likewise.
18666         * locales/sv_FI: Likewise.
18667         * locales/tl_PH: Likewise.
18668         * locales/tr_TR: Likewise.
18669         * locales/vi_VN: Likewise.
18671 2015-07-21  Khem Raj  <raj.khem@gmail.com>
18673         [BZ #17475]
18674         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
18675         of tu_IN and bh_IN.
18677 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
18679         [BZ #18694]
18680         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
18681         bits/wordsize.h.
18682         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
18684 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18686         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
18687         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
18688         (spawn_thread): New function.
18689         (load): Rename to reg_dtor_and_close.  Move dlopen to...
18690         (do_test): ... here.  Use IS_LOADED to test for its
18691         availability.
18693 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
18695         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18697 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
18699         [BZ #18696]
18700         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
18701         si_addr_bnd.
18702         (si_lower): New.
18703         (si_upper): Likewise.
18705 2015-07-16  David S. Miller  <davem@davemloft.net>
18707         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
18709 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18711         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
18712         buffer.
18713         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
18714         fail output information.
18716 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18718         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
18719         and strstr-ppc64..
18720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18721         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
18722         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
18723         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
18724         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
18726 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18728         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18729         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18730         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18731         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18733 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18735         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18736         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
18737         rtld_hidden_proto.
18738         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
18740 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18742         * tst-nodelete-opened.c (do_test): Add comment to clarify how
18743         the test can fail.
18745         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
18747         [BZ #18676]
18748         * elf/tst-nodelete-opened.c: New test case.
18749         * elf/tst-nodelete-opened-lib.c: New test case module.
18750         * elf/Makefile (tests, modules-names): Use them.
18751         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
18752         early.
18754 2015-07-15  David S. Miller  <davem@davemloft.net>
18756         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
18757         futex-intenal.h
18758         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
18759         * sysdeps/sparc/sparc64/Makefile: Likewise.
18760         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18761         Remove space from macro define.
18762         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
18764 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
18766         [BZ #17475]
18767         * locale/iso-639.def: Update Bhili and Tulu language codes as
18768         per iso639-3.
18770 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
18772         * elf/tst-leaks1.c (main): Converted to ...
18773         (do_test): ... this.
18774         (TEST_FUNCTION): New macro.
18775         Include test-skeleton.c.
18776         * localedata/tst-langinfo.c (main): Converted to ...
18777         (do_test): ... this.
18778         (TEST_FUNCTION): New macro.
18779         Include test-skeleton.c.
18780         * math/test-fpucw.c (main): Converted to ...
18781         (do_test): ... this.
18782         (TEST_FUNCTION): New macro.
18783         Include test-skeleton.c.
18784         * math/test-tgmath.c (main): Converted to ...
18785         (do_test): ... this.
18786         (TEST_FUNCTION): New macro.
18787         Include test-skeleton.c.
18788         * math/test-tgmath2.c (main): Converted to ...
18789         (do_test): ... this.
18790         (TEST_FUNCTION): New macro.
18791         Include test-skeleton.c.
18792         * setjmp/tst-setjmp.c (main): Converted to ...
18793         (do_test): ... this.
18794         (TEST_FUNCTION): New macro.
18795         Include test-skeleton.c.
18796         * stdio-common/tst-sscanf.c (main): Converted to ...
18797         (do_test): ... this.
18798         (TEST_FUNCTION): New macro.
18799         Include test-skeleton.c.
18800         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
18801         (do_test): ... this.
18802         (TEST_FUNCTION): New macro.
18803         Include test-skeleton.c.
18805         * elf/tst-audit9.c (main): Converted to ...
18806         (do_test): ... this.
18807         (TEST_FUNCTION): New macro.
18808         Include test-skeleton.c.
18810 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
18812         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
18814 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18816         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
18817         New variable.
18819 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18821         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18823 2015-07-14  Roland McGrath  <roland@hack.frob.com>
18825         * sysdeps/generic/dl-fileid.h: New file.
18826         * sysdeps/posix/dl-fileid.h: New file.
18827         * sysdeps/nacl/dl-fileid.h: New file.
18828         * include/link.h: Include <dl-fileid.h>.
18829         (struct link_map): Replace l_dev and l_ino with l_file_id.
18830         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
18831         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
18832         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
18834 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18836         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
18838 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18840         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
18841         Add iff $CXX is set.
18842         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
18843         Likewise.
18844         (tst-nodelete-zmodiff): Likewise.
18845         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
18847 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18849         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
18851 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18853         * sysdeps/aarch64/fpu/math_private.h
18854         (define math_opt_barrier): Add AArch64 version.
18855         (math_force_eval): Likewise.
18857 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18859         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
18861 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
18863         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
18864         %ld with %jd and cast to intmax_t.
18865         (do_test_length_zero): Likewise.
18867 2015-07-10  Roland McGrath  <roland@hack.frob.com>
18869         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
18871 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
18873         * sysdeps/tile/libm-test-ulps: Regenerated.
18875         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
18876         Comment out the whole function, not just its body.
18878 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18880         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
18881         locks.
18883         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
18885 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18887         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
18888         (sem_assume_only_signals_cause_futex_EINTR): Remove.
18890 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18892         * sysdeps/nptl/futex-internal.h: New file.
18893         * sysdeps/nacl/futex-internal.h: New file.
18894         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
18895         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
18896         error checking.
18897         (setxid_unmark_thread): Likewise.
18898         (__nptl_setxid): Likewise.
18899         (__wait_lookup_done): Likewise.
18900         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
18901         * nptl/nptl-init.c (sighandler_setxid): Likewise.
18902         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
18903         * nptl/pthread_once.c (clear_once_control): Likewise.
18904         (__pthread_once_slow): Likewise.
18905         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18906         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
18907         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
18908         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18909         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
18910         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
18911         Likewise.
18912         (__pthread_rwlock_rdlock): Likewise.
18913         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18914         Likewise.
18915         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18916         Likewise.
18917         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18918         Likewise.
18919         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
18920         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
18921         Likewise.
18922         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
18923         __ASSUME_PRIVATE_FUTEX check.
18924         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
18925         Check that shared futexes are supported.
18926         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
18927         wrappers with error checking.
18928         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
18929         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
18930         * nptl/pthread_barrierattr_setpshared.c
18931         (pthread_barrierattr_setpshared): Check that shared futexes are
18932         supported.
18933         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
18934         Likewise.
18935         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
18936         Likewise.
18937         * nptl/sem_init.c (futex_private_if_supported): Remove.
18938         (__new_sem_init): Adapt and check that shared futexes are supported.
18939         * nptl/sem_open.c (sem_open): Likewise.
18940         * nptl/sem_post.c (futex_wake): Remove.
18941         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
18942         (do_futex_wait): Use futex wrappers with error checking.
18943         * nptl/sem_wait.c: Include lowlevellock.h.
18944         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
18945         Use futex_supports_pshared.
18946         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
18947         Use futex wrappers with error checking.
18948         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
18949         Likewise.
18950         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
18951         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
18952         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
18953         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
18954         (futex_wake): Likewise.
18955         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
18956         (do_futex_wait): Use futex wrappers with error checking.
18957         (__new_sem_wait_slow): Update EINTR handling.
18958         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
18960 2015-07-09  Martin Sebor  <msebor@redhat.com>
18962         [BZ #18435]
18963         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18964         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
18965         * nptl/Makefile (test-xfail-tst-once5): Define.
18967 2015-07-09  Roland McGrath  <roland@hack.frob.com>
18969         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
18970         * elf/dl-minimal.c: For readability, reorder some definitions and
18971         introduce more page breaks.  Include <stdio.h>.
18972         (__libc_fatal): New function.
18974         * include/unistd.h: Add rtld_hidden_proto for _exit.
18975         * posix/_exit.c: Add rtld_hidden_def.
18976         * sysdeps/mach/hurd/_exit.c: Likewise.
18977         * sysdeps/nacl/_exit.c: Likewise.
18978         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
18979         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
18981 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
18983         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
18984         bndmov encoding with zero displacement.
18986 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18987             H.J. Lu  <hongjiu.lu@intel.com>
18989         [BZ #18134]
18990         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
18991         * sysdeps/i386/configure: Regenerated.
18992         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18993         (_dl_runtime_profile): Save and restore Intel MPX return bound
18994         registers when calling _dl_call_pltexit.  Add
18995         PRESERVE_BND_REGS_PREFIX before return.
18996         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
18997         (LRV_BND1_OFFSET): Likewise.
18998         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
18999         lrv_bnd1.
19000         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
19001         typo in bndmov encoding.
19002         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
19003         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
19004         branch instructions to preserve bounds.
19006 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
19009         [GLIBC_2.22]: Add fmemopen.
19011 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19013         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
19014         returns an error, also try to use host port from __mach_host_self for
19015         the __vm_wire call.
19016         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
19018 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19020         [BZ #18400]
19021         [BZ #18648]
19022         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
19023         Fix pr_uid and pr_gid members.
19024         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
19025         definition to elf_greg_t.
19027 2015-07-08  Roland McGrath  <roland@hack.frob.com>
19029         [BZ #18383]
19030         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
19031         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
19032         * sysdeps/arm/configure: Regenerated.
19033         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
19034         (test-xfail-tst-tlsalign-static): Variable removed.
19036         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
19037         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
19038         rather than explicit 'ln -s'.
19040         * resolv/rpc/netdb.h: New file.
19041         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
19043 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19045         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
19046         length buffers.
19047         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19048         test-skeleton.c.
19050         [BZ #6544]
19051         [BZ #11216]
19052         [BZ #12836]
19053         [BZ #13151]
19054         [BZ #13152]
19055         [BZ #14292]
19056         * include/stdio.h (fmemopen): Remove hidden prototype.
19057         (__fmemopen): Add new hidden prototype.
19058         * libio/Makefile: Add oldfmemopen object.
19059         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
19060         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
19061         compliance.
19062         * libio/oldfmemopen.c: New file: old fmemopen implementation for
19063         symbol compatibility.
19064         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
19065         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
19066         fmemopen.
19067         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
19068         on append and read mode.
19069         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
19070         fmemopen.
19071         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
19072         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
19073         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
19074         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
19075         Likewise.
19076         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
19077         [GLIBC_2.22]: Likewise.
19078         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
19079         Likewise.
19080         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
19081         Likewise.
19082         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
19083         [GLIBC_2.22]: Likewise.
19084         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
19085         [GLIBC_2.22]: Likewise.
19086         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
19087         [GLIBC_2.22]: Likewise.
19088         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
19089         [GLIBC_2.22]: Likewise.
19090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
19091         [GLIBC_2.22]: Likewise.
19092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
19093         [GLIBC_2.22]: Likewise.
19094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
19095         [GLIBC_2.22]: Likewise.
19096         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
19097         Likewise.
19098         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
19099         Likewise.
19100         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
19101         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
19102         [GLIBC_2.22]: Likewise.
19103         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
19104         [GLIBC_2.22]: Likewise.
19105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
19106         [GLIBC_2.22]: Likewise.
19107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
19108         [GLIBC_2.22]: Likewise.
19109         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
19110         Likewise.
19111         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
19112         Likewise.
19113         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
19114         Likewise.
19115         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
19116         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
19118 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19120         [BZ #18643]
19121         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
19122         IPV6_PATHMTU, and IPV6_DONTFRAG.
19124 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
19126         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
19127         and _IO_UNBUFFERED.
19128         * libio/oldfileops.c: Likewise.
19129         * libio/wfileops.c: Likewise.
19131 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19133         * nscd/selinux.c: Delete selinux/flask.h include.
19135 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19137         [BZ #18641]
19138         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
19139         (putpwent): Likewise.
19140         (getpwnam): Likewise.
19141         (getpwent_r): Likewise.
19142         (getpwuid_r): Likewise.
19143         (getpwnam_r): Likewise.
19144         (fgetpwent_r): Likewise.
19146 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19148         [BZ #18557]
19149         * inet/rcmd.c (__validuser2_sa): Check user first to
19150         short-circuit host check.
19152 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
19153             Mikhail Ilin  <m.ilin@samsung.com>
19155         [BZ #17833]
19156         * elf/Makefile (tests): Add tst-nodelete.
19157         (modules-names): Add tst-nodelete-uniquemod.
19158         (tst-nodelete-uniquemod.so-no-z-defs): New.
19159         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
19160         (tst-nodelete-zmod.so-no-z-defs): Likewise.
19161         ($(objpfx)tst-nodelete): Likewise.
19162         ($(objpfx)tst-nodelete.out): Likewise.
19163         (LDFLAGS-tst-nodelete): Likewise.
19164         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
19165         * elf/dl-close.c (_dl_close_worker): Add a parameter to
19166         implement forced object deletion.
19167         (_dl_close): Pass false to _dl_close_worker.
19168         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
19169         * elf/tst-nodelete.cc: New file.
19170         * elf/tst-nodeletelib.cc: Likewise.
19171         * elf/tst-znodeletelib.cc: Likewise.
19172         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
19174 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19176         [BZ #18508]
19177         * stdlib/Makefile ($(objpfx)tst-makecontext3):
19178         Depend on $(libdl).
19179         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
19180         is not called infinitely times.
19181         (backtrace_helper): New function.
19182         (trace_arg): New struct.
19183         (st1): Enlarge stack size.
19184         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19185         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
19186         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19187         Likewise.
19189 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19191         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19193 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19195         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
19196         Include sys/types.h instead of bits/types.h.
19197         Remove inclusion of bits/wordsize.h.
19199 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19201         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
19202         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
19203         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
19204         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
19205         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
19206         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
19208 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19210         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
19211         link-defines.sym.
19212         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
19213         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
19214         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
19215         and LR_SIZE.
19216         * sysdeps/i386/link-defines.sym: New file.
19218 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19220         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
19221         (modules-names): Add tst-auditmod3a tst-auditmod3b.
19222         ($(objpfx)tst-audit3): New rule.
19223         ($(objpfx)tst-audit3.out): Likewise.
19224         * sysdeps/i386/tst-audit3.c: New file.
19225         * sysdeps/i386/tst-audit3.h: Likewise.
19226         * sysdeps/i386/tst-auditmod3a.c: Likewise.
19227         * sysdeps/i386/tst-auditmod3b.c: Likewise.
19229 2015-07-07  Torvald Riegel  <triegel@redhat.com>
19231         [BZ #18633]
19232         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
19233         pointer in C code.
19234         (__strcat_c): Likewise.
19235         (__strcat_g): Likewise.
19237 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
19239         [BZ #18592]
19240         * misc/sbrk.c: Set errno to ENOMEM on overflow.
19242 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19244         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
19245         New function.  (__ieee754_sqrtf): New function.
19246         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
19247         New function.
19248         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
19249         New function.
19251 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19253         * sysdeps/ieee754/support.c: Remove unused file.
19255 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19257         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
19258         registers instead of d ones so the layout is kernel abi compatible.
19259         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
19260         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
19261         Likewise.
19263 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19265         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19267 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19269         [BZ #18619]
19270         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
19271         and return argument in case of subnormal argument.
19273 2015-07-01  Martin Sebor  <msebor@redhat.com>
19275         [BZ #18435]
19276         * nptl/Makefile: Add tst-once5.cc.
19277         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19278         Remove macro redefinitions.
19279         * nptl/tst-once5.cc: New test.
19281 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19283         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19285         * sysdeps/arm/libm-test-ulps: Regenerated.
19287         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19288         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19290 2015-06-30  Torvald Riegel  <triegel@redhat.com>
19292         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
19293         lll_lock_wait_private and lll_futex_wake probes.
19295         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19296         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
19297         Likewise.
19298         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
19299         atomic_spin_nop.
19300         * sysdeps/x86_64/bits/atomic.h: Likewise.
19301         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
19302         to atomic_spin_nop and move ...
19303         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
19304         ... here and ...
19305         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
19306         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
19307         atomic_spin_nop instead of BUSY_WAIT_NOP.
19308         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
19309         Likewise.
19310         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
19311         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19312         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
19313         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
19314         instead of atomic_delay.
19316 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
19318         [BZ #18613]
19319         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
19320         X_ADJ not X when adjusting exponent.
19321         (__ieee754_gamma_r): Do intermediate computations in
19322         round-to-nearest then adjust overflowing and underflowing results
19323         as needed.
19324         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
19325         of X_ADJ not X when adjusting exponent.
19326         (__ieee754_gammaf_r): Do intermediate computations in
19327         round-to-nearest then adjust overflowing and underflowing results
19328         as needed.
19329         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
19330         log of X_ADJ not X when adjusting exponent.
19331         (__ieee754_gammal_r): Do intermediate computations in
19332         round-to-nearest then adjust overflowing and underflowing results
19333         as needed.  Use 1.0L not 1.0f as numerator of division.
19334         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
19335         log of X_ADJ not X when adjusting exponent.
19336         (__ieee754_gammal_r): Do intermediate computations in
19337         round-to-nearest then adjust overflowing and underflowing results
19338         as needed.  Use 1.0L not 1.0f as numerator of division.
19339         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
19340         of X_ADJ not X when adjusting exponent.
19341         (__ieee754_gammal_r): Do intermediate computations in
19342         round-to-nearest then adjust overflowing and underflowing results
19343         as needed.  Use 1.0L not 1.0f as numerator of division.
19344         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
19345         to auto-libm-test-in.
19346         (tgamma_test): Use ALL_RM_TEST.
19347         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
19348         tests of tgamma with spurious-overflow.
19349         * math/auto-libm-test-out: Regenerated.
19350         * math/gen-libm-have-vector-test.sh: Do not check for START.
19351         * sysdeps/i386/fpu/libm-test-ulps: Update.
19352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19354         [BZ #18612]
19355         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
19356         arguments, just return 0.5 times the argument, with underflow
19357         forced as needed.
19358         * math/auto-libm-test-in: Add more tests of j1.
19359         * math/auto-libm-test-out: Regenerated.
19361         [BZ #16559]
19362         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
19363         (__ieee754_j1): Force underflow exception for small results.
19364         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19365         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
19366         (__ieee754_j1f): Force underflow exception for small results.
19367         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19368         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19369         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19370         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
19371         (__ieee754_j1l): Force underflow exception for small results.
19372         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19373         * math/auto-libm-test-in: Add more tests of j1 and jn.
19374         * math/auto-libm-test-out: Regenerated.
19376         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
19377         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
19378         (PF_MPLS): Likewise.
19379         (AF_IB): Likewise.
19380         (AF_MPLS): Likewise.
19381         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
19382         value and macro.
19383         (MS_RMT_MASK): Include MS_LAZYTIME.
19385 2015-06-26  Mel Gorman  <mgorman@suse.de>
19387         [BZ #18502]
19388         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
19389         already minimal.
19391 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
19393         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
19394         (DT_MIPS_NUM): Update.
19395         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
19396         DT_MIPS_RLD_MAP_REL.
19398 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
19400         [BZ #16559]
19401         [BZ #18602]
19402         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
19403         round-to-nearest internally then recompute results that
19404         underflowed to zero in the original rounding mode.
19405         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19406         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19407         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19408         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19409         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
19410         * sysdeps/i386/fpu/libm-test-ulps: Update.
19411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19413 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19415         * NEWS: Fixed description of link with vector math library.
19417 2015-06-25  Andreas Schwab  <schwab@suse.de>
19419         [BZ #18549]
19420         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
19421         * libio/test-fmemopen.c (do_test): Add test for it.
19423 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
19425         [BZ #17841]
19426         * Makeconfig (no-pie-ldflag): New.
19427         (+link): Set to $(+link-pie) if default to PIE.
19428         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
19429         * config.make.in (build-pie-default): New.
19430         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
19431         is default.  AC_SUBST.
19432         * configure: Regenerated.
19433         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
19435 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19437         * nptl/descr.h (struct pthread): Change type of field setxid_futex
19438         to 'unsigned int'.
19440         * resolv/gai_misc.h (struct waitlist): Change type of field
19441         counterp to 'volatile unsigned int *'.
19442         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
19443         FUTEXADDR and OLDVAL.
19444         * resolv/getaddrinfo_a.c (getaddrinfo_a):
19445         Give local variable TOTAL type 'volatile unsigned int'.
19446         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19447         * resolv/gai_suspend.c (gai_suspend):
19448         Give local variable CNTR type 'unsigned int'.
19450         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
19451         counterp to 'volatile unsigned int *'.
19452         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
19453         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
19454         (aio_suspend): Give local variable CNTR type 'unsigned int'.
19455         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
19456         Give local variable TOTAL type 'volatile unsigned int'.
19457         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19459 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19461         [BZ #18383]
19462         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
19463         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
19464         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
19465         comment for i386/x86-64.
19466         (test-xfail-tst-tlsalign-extern-static): Removed.
19468 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19470         * math/test-double.h: New file.
19471         * math/test-float.h: Likewise.
19472         * math/test-ldouble.h: Likewise.
19473         * math/test-math-inline.h: Likewise.
19474         * math/test-math-no-inline.h: Likewise.
19475         * math/test-math-scalar.h: Likewise.
19476         * math/test-math-vector.h: Likewise.
19477         * math/test-vec-loop.h: Remove file.  Contents moved into
19478         test-math-vector.h.
19479         * math/libm-test.inc (MATHCONST): Do not document macro.
19480         * math/test-double.c: Include test-double.h, test-math-no-inline.h
19481         and test-math-scalar.h.
19482         (FUNC): Remove macro.
19483         (FUNC_TEST): Likewise.
19484         (FLOAT): Likewise.
19485         (MATHCONST): Likewise.
19486         (PRINTF_EXPR): Likewise.
19487         (PRINTF_XEXPR): Likewise.
19488         (PRINTF_NEXPR): Likewise.
19489         (TEST_DOUBLE): Likewise.
19490         (TEST_MATHVEC): Likewise.
19491         (__NO_MATH_INLINES): Likewise.
19492         * math/test-float.c: Include test-float.h, test-math-no-inline.h
19493         and test-math-scalar.h.
19494         (FUNC): Remove macro.
19495         (FUNC_TEST): Likewise.
19496         (FLOAT): Likewise.
19497         (MATHCONST): Likewise.
19498         (PRINTF_EXPR): Likewise.
19499         (PRINTF_XEXPR): Likewise.
19500         (PRINTF_NEXPR): Likewise.
19501         (TEST_FLOAT): Likewise.
19502         (TEST_MATHVEC): Likewise.
19503         (__NO_MATH_INLINES): Likewise.
19504         * math/test-idouble.c: Include test-double.h, test-math-inline.h
19505         and test-math-scalar.h.
19506         (FUNC): Remove macro.
19507         (FUNC_TEST): Likewise.
19508         (FLOAT): Likewise.
19509         (MATHCONST): Likewise.
19510         (PRINTF_EXPR): Likewise.
19511         (PRINTF_XEXPR): Likewise.
19512         (PRINTF_NEXPR): Likewise.
19513         (TEST_DOUBLE): Likewise.
19514         (TEST_MATHVEC): Likewise.
19515         (TEST_INLINE): Likewise.
19516         (__NO_MATH_INLINES): Likewise.
19517         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
19518         test-math-scalar.h.
19519         (FUNC): Remove macro.
19520         (FUNC_TEST): Likewise.
19521         (FLOAT): Likewise.
19522         (MATHCONST): Likewise.
19523         (PRINTF_EXPR): Likewise.
19524         (PRINTF_XEXPR): Likewise.
19525         (PRINTF_NEXPR): Likewise.
19526         (TEST_FLOAT): Likewise.
19527         (TEST_MATHVEC): Likewise.
19528         (TEST_INLINE): Likewise.
19529         (__NO_MATH_INLINES): Likewise.
19530         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
19531         and test-math-scalar.h.
19532         (FUNC): Remove macro.
19533         (FUNC_TEST): Likewise.
19534         (FLOAT): Likewise.
19535         (MATHCONST): Likewise.
19536         (PRINTF_EXPR): Likewise.
19537         (PRINTF_XEXPR): Likewise.
19538         (PRINTF_NEXPR): Likewise.
19539         (TEST_LDOUBLE): Likewise.
19540         (TEST_MATHVEC): Likewise.
19541         (TEST_INLINE): Likewise.
19542         (__NO_MATH_INLINES): Likewise.
19543         * math/test-ldouble.c: Include test-ldouble.h,
19544         test-math-no-inline.h and test-math-scalar.h.
19545         (FUNC): Remove macro.
19546         (FUNC_TEST): Likewise.
19547         (FLOAT): Likewise.
19548         (MATHCONST): Likewise.
19549         (PRINTF_EXPR): Likewise.
19550         (PRINTF_XEXPR): Likewise.
19551         (PRINTF_NEXPR): Likewise.
19552         (TEST_LDOUBLE): Likewise.
19553         (TEST_MATHVEC): Likewise.
19554         (__NO_MATH_INLINES): Likewise.
19555         * math/test-double-vlen2.h: Include test-double.h,
19556         test-math-no-inline.h and test-math-vector.h.
19557         (FLOAT): Remove macro.
19558         (FUNC): Likewise.
19559         (MATHCONST): Likewise.
19560         (PRINTF_EXPR): Likewise.
19561         (PRINTF_XEXPR): Likewise.
19562         (PRINTF_NEXPR): Likewise.
19563         (TEST_DOUBLE): Likewise.
19564         (TEST_MATHVEC): Likewise.
19565         (__NO_MATH_INLINES): Likewise.
19566         (CNCT): Likewise.
19567         (CONCAT): Likewise.
19568         (WRAPPER_NAME): Likewise.
19569         (WRAPPER_DECL): Likewise.
19570         (WRAPPER_DECL_ff): Likewise.
19571         (WRAPPER_DECL_fFF): Likewise.
19572         (VECTOR_WRAPPER): Likewise.
19573         (VECTOR_WRAPPER_ff): Likewise.
19574         (VECTOR_WRAPPER_fFF): Likewise.
19575         (VEC_LEN): New macro.
19576         * math/test-double-vlen4.h: Include test-double.h,
19577         test-math-no-inline.h and test-math-vector.h.
19578         (FLOAT): Remove macro.
19579         (FUNC): Likewise.
19580         (MATHCONST): Likewise.
19581         (PRINTF_EXPR): Likewise.
19582         (PRINTF_XEXPR): Likewise.
19583         (PRINTF_NEXPR): Likewise.
19584         (TEST_DOUBLE): Likewise.
19585         (TEST_MATHVEC): Likewise.
19586         (__NO_MATH_INLINES): Likewise.
19587         (CNCT): Likewise.
19588         (CONCAT): Likewise.
19589         (WRAPPER_NAME): Likewise.
19590         (WRAPPER_DECL): Likewise.
19591         (WRAPPER_DECL_ff): Likewise.
19592         (WRAPPER_DECL_fFF): Likewise.
19593         (VECTOR_WRAPPER): Likewise.
19594         (VECTOR_WRAPPER_ff): Likewise.
19595         (VECTOR_WRAPPER_fFF): Likewise.
19596         (VEC_LEN): New macro.
19597         * math/test-double-vlen8.h: Include test-double.h,
19598         test-math-no-inline.h and test-math-vector.h.
19599         (FLOAT): Remove macro.
19600         (FUNC): Likewise.
19601         (MATHCONST): Likewise.
19602         (PRINTF_EXPR): Likewise.
19603         (PRINTF_XEXPR): Likewise.
19604         (PRINTF_NEXPR): Likewise.
19605         (TEST_DOUBLE): Likewise.
19606         (TEST_MATHVEC): Likewise.
19607         (__NO_MATH_INLINES): Likewise.
19608         (CNCT): Likewise.
19609         (CONCAT): Likewise.
19610         (WRAPPER_NAME): Likewise.
19611         (WRAPPER_DECL): Likewise.
19612         (WRAPPER_DECL_ff): Likewise.
19613         (WRAPPER_DECL_fFF): Likewise.
19614         (VECTOR_WRAPPER): Likewise.
19615         (VECTOR_WRAPPER_ff): Likewise.
19616         (VECTOR_WRAPPER_fFF): Likewise.
19617         (VEC_LEN): New macro.
19618         * math/test-float-vlen4.h: Include test-float.h,
19619         test-math-no-inline.h and test-math-vector.h.
19620         (FLOAT): Remove macro.
19621         (FUNC): Likewise.
19622         (MATHCONST): Likewise.
19623         (PRINTF_EXPR): Likewise.
19624         (PRINTF_XEXPR): Likewise.
19625         (PRINTF_NEXPR): Likewise.
19626         (TEST_FLOAT): Likewise.
19627         (TEST_MATHVEC): Likewise.
19628         (__NO_MATH_INLINES): Likewise.
19629         (CNCT): Likewise.
19630         (CONCAT): Likewise.
19631         (WRAPPER_NAME): Likewise.
19632         (WRAPPER_DECL): Likewise.
19633         (WRAPPER_DECL_ff): Likewise.
19634         (WRAPPER_DECL_fFF): Likewise.
19635         (VECTOR_WRAPPER): Likewise.
19636         (VECTOR_WRAPPER_ff): Likewise.
19637         (VECTOR_WRAPPER_fFF): Likewise.
19638         (VEC_LEN): New macro.
19639         * math/test-float-vlen8.h: Include test-float.h,
19640         test-math-no-inline.h and test-math-vector.h.
19641         (FLOAT): Remove macro.
19642         (FUNC): Likewise.
19643         (MATHCONST): Likewise.
19644         (PRINTF_EXPR): Likewise.
19645         (PRINTF_XEXPR): Likewise.
19646         (PRINTF_NEXPR): Likewise.
19647         (TEST_FLOAT): Likewise.
19648         (TEST_MATHVEC): Likewise.
19649         (__NO_MATH_INLINES): Likewise.
19650         (CNCT): Likewise.
19651         (CONCAT): Likewise.
19652         (WRAPPER_NAME): Likewise.
19653         (WRAPPER_DECL): Likewise.
19654         (WRAPPER_DECL_ff): Likewise.
19655         (WRAPPER_DECL_fFF): Likewise.
19656         (VECTOR_WRAPPER): Likewise.
19657         (VECTOR_WRAPPER_ff): Likewise.
19658         (VECTOR_WRAPPER_fFF): Likewise.
19659         (VEC_LEN): New macro.
19660         * math/test-float-vlen16.h: Include test-float.h,
19661         test-math-no-inline.h and test-math-vector.h.
19662         (FLOAT): Remove macro.
19663         (FUNC): Likewise.
19664         (MATHCONST): Likewise.
19665         (PRINTF_EXPR): Likewise.
19666         (PRINTF_XEXPR): Likewise.
19667         (PRINTF_NEXPR): Likewise.
19668         (TEST_FLOAT): Likewise.
19669         (TEST_MATHVEC): Likewise.
19670         (__NO_MATH_INLINES): Likewise.
19671         (CNCT): Likewise.
19672         (CONCAT): Likewise.
19673         (WRAPPER_NAME): Likewise.
19674         (WRAPPER_DECL): Likewise.
19675         (WRAPPER_DECL_ff): Likewise.
19676         (WRAPPER_DECL_fFF): Likewise.
19677         (VECTOR_WRAPPER): Likewise.
19678         (VECTOR_WRAPPER_ff): Likewise.
19679         (VECTOR_WRAPPER_fFF): Likewise.
19680         (VEC_LEN): New macro.
19681         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
19682         test-vec-loop.h.
19683         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19684         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19685         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19686         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19687         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19688         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19689         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19691 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19693         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
19694         (__getlogin_r): ... this.
19696 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19698         [BZ #18594]
19699         * math/s_ccosh.c (__ccosh): Compare with least normal value
19700         instead of comparing class with FP_SUBNORMAL.
19701         * math/s_ccoshf.c (__ccoshf): Likewise.
19702         * math/s_ccoshl.c (__ccoshl): Likewise.
19703         * math/s_cexp.c (__cexp): Likewise.
19704         * math/s_cexpf.c (__cexpf): Likewise.
19705         * math/s_cexpl.c (__cexpl): Likewise.
19706         * math/s_csin.c (__csin): Likewise.
19707         * math/s_csinf.c (__csinf): Likewise.
19708         * math/s_csinh.c (__csinh): Likewise.
19709         * math/s_csinhf.c (__csinhf): Likewise.
19710         * math/s_csinhl.c (__csinhl): Likewise.
19711         * math/s_csinl.c (__csinl): Likewise.
19712         * math/s_ctan.c (__ctan): Likewise.
19713         * math/s_ctanf.c (__ctanf): Likewise.
19714         * math/s_ctanh.c (__ctanh): Likewise.
19715         * math/s_ctanhf.c (__ctanhf): Likewise.
19716         * math/s_ctanhl.c (__ctanhl): Likewise.
19717         * math/s_ctanl.c (__ctanl): Likewise.
19718         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
19719         csin, csinh, ctan and ctanh.
19720         * math/auto-libm-test-out: Regenerated.
19721         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
19722         * sysdeps/i386/fpu/libm-test-ulps: Update.
19723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19725 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19727         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
19728         return value is wrong, print the expected value too.
19730 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19732         [BZ #18585]
19733         * elf/readlib.c (is_gdb_python_file): New.
19734         (process_file): Don't issue errors on filenames with -gdb.py
19735         suffix.
19737 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19739         * math/auto-libm-test-in: Add more tests of csin and csinh.
19740         * math/auto-libm-test-out: Regenerated.
19741         * math/libm-test.inc (csin_test_data): Remove tests moved to
19742         auto-libm-test-in.
19743         (csinh_test_data): Likewise.
19745         [BZ #18593]
19746         * math/s_csin.c (__csin): Negate before rather than after possibly
19747         overflowing multiplication.
19748         * math/s_csinf.c (__csinf): Likewise.
19749         * math/s_csinh.c (__csinh): Likewise.
19750         * math/s_csinhf.c (__csinhf): Likewise.
19751         * math/s_csinhl.c (__csinhl): Likewise.
19752         * math/s_csinl.c (__csinl): Likewise.
19753         * math/auto-libm-test-in: Add some tests of csin and csinh.
19754         * math/auto-libm-test-out: Regenerated.
19755         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
19756         (csinh_test_data): Likewise.
19757         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19759         [BZ #18586]
19760         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
19761         underflow exception for small results.
19763 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19765         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19766         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
19767         variable and included header.
19768         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
19769         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
19770         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
19771         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
19772         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
19773         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19774         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19775         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
19776         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
19777         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
19778         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
19779         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
19780         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
19781         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
19782         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
19783         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
19785 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19787         [BZ #16526]
19788         [BZ #16538]
19789         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
19790         (__sin): Force underflow exception for arguments with small
19791         absolute value.
19792         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
19793         (__kernel_sinf): Force underflow exception for arguments with
19794         small absolute value.
19795         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
19796         (__kernel_sincosl): Force underflow exception for arguments with
19797         small absolute value.
19798         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
19799         (__kernel_sinl): Force underflow exception for arguments with
19800         small absolute value.
19801         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
19802         (__kernel_sincosl): Force underflow exception for arguments with
19803         small absolute value.
19804         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
19805         (__kernel_sinl): Force underflow exception for arguments with
19806         small absolute value.
19807         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
19808         (__kernel_sinl): Force underflow exception for arguments with
19809         small absolute value.
19810         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
19811         (__kernel_sinf): Force underflow exception for arguments with
19812         small absolute value.
19813         * math/auto-libm-test-in: Add more tests of sin and sincos.
19814         * math/auto-libm-test-out: Regenerated.
19816         [BZ #18245]
19817         [BZ #18583]
19818         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
19819         (__kernel_standard_l): Use feholdexcept and fesetenv around
19820         conversion to double instead of special-casing overflow and
19821         underflow.
19822         * math/libm-test.inc (fmod_test_data): Add more tests.
19823         (remainder_test_data): Likewise.
19824         (sqrt_test_data): Likewise.
19826 2015-06-23  Torvald Riegel  <triegel@redhat.com>
19828         [BZ #17403]
19829         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
19830         atomic_read_barrier, atomic_write_barrier): Define.
19831         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
19832         atomic_read_barrier, atomic_write_barrier): Define.
19834 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19836         * math/Makefile [$(PERL) != no]
19837         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
19838         dependency on libm-test.stmp below the inclusion of Rules.
19840 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
19842         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19843         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
19844         and included header.
19845         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
19846         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
19847         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
19848         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
19849         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
19850         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
19851         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19852         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19853         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
19854         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
19855         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
19856         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
19857         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
19858         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
19859         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
19860         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
19861         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
19862         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
19863         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
19865 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19867         [BZ #18371]
19868         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
19869         intermediate but not final result might underflow.
19870         * math/s_csqrtf.c (__csqrtf): Likewise.
19871         * math/s_csqrtl.c (__csqrtl): Likewise.
19872         * math/auto-libm-test-in: Add more tests of csqrt.
19873         * math/auto-libm-test-out: Regenerated.
19874         * sysdeps/i386/fpu/libm-test-ulps: Update.
19876         [BZ #18219]
19877         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
19878         threshold on absolute value of exponent for which scaling is used.
19879         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19880         * math/auto-libm-test-in: Add more tests of exp2.
19881         * math/auto-libm-test-out: Regenerated.
19883 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
19885         [BZ #17977]
19886         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
19887         when initializing interface list, based on the bug analysis
19888         and the patch proposed by Eric Newton.
19889         * resolv/tst-res_hconf_reorder.c: New test.
19890         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
19891         tst-res_hconf_reorder.
19892         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
19893         and $(shared-thread-library).
19894         (tst-res_hconf_reorder-ENV): New variable.
19896         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
19897         in comment.
19899 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
19901         [BZ #16353]
19902         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
19903         (__expm1): Force underflow exception for arguments with small
19904         absolute value.
19905         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
19906         (__expm1f): Force underflow exception for arguments with small
19907         absolute value.
19908         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
19909         (__expm1): Force underflow exception for arguments with small
19910         absolute value.
19911         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
19912         (__expm1f): Force underflow exception for arguments with small
19913         absolute value.
19914         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19915         Check for small arguments before calling __expm1.
19916         * math/auto-libm-test-in: Do not mark underflow exceptions as
19917         possibly missing for bug 16353.
19918         * math/auto-libm-test-out: Regenerated.
19920 2015-06-22  Andreas Schwab  <schwab@suse.de>
19922         [BZ #18513]
19923         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
19924         PTR queries.
19926 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
19928         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
19930         * string/strcoll_l.c: Remove unused struct element idxnow.
19932 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
19934         [BZ #18569]
19935         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
19936         underflow and return argument in case of subnormal argument.
19937         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19938         Likewise.
19939         * math/auto-libm-test-in: Add more tests of expm1.
19940         * math/auto-libm-test-out: Regenerated.
19942         [BZ #16361]
19943         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19944         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19945         tiny results.
19946         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19947         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19948         tiny results.
19949         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
19950         mark underflow exceptions as possibly missing for bug 16361.
19951         * math/auto-libm-test-out: Regenerated.
19953 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
19955         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
19956         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
19957         Remove variable.
19958         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19959         (test-xfail-XOPEN2K8/utmpx.h/conform).
19961         * conform/conformtest.pl ($xerrors): New variable.
19962         (note_error): New function.
19963         (compiletest): New argument $xfail.  Use not_error.
19964         (runtest): Likewise.
19965         (top level): Handle xfail- lines.  Update calls to compiletest and
19966         runtest.  Handle xfail- and optional- in headers listed with
19967         allow-header.
19968         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
19969         (O_EXEC): Likewise.
19970         (O_SEARCH): Likewise.
19971         * conform/data/stropts.h-data (ioctl): Likewise.
19972         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
19973         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
19974         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
19975         (msghdr.msg_controllen): Likewise.
19976         (cmsghdr.cmsg_len): Likewise.
19977         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
19978         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
19979         variable.
19980         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19981         (test-xfail-XPG4/stropts.h/conform): Likewise.
19982         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19983         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19984         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19985         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19986         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19987         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19988         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19989         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19990         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19991         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19992         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19993         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19994         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19995         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19996         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19997         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19998         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19999         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20000         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20002 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
20004         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
20005         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
20006         definitions for proper unfolding of __MATHDECL_VEC.
20008 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20010         * benchtests/bench-strcoll.c:
20011         Include string.h.
20012         (main): Remove unused variable res.
20014 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20016         * timezone/Makefile (%/UTC %/Universal):
20017         Generate test-result files for UTC and Universal.
20019 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20021         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20023 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
20025         [BZ #16350]
20026         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
20027         for arguments with small absolute value.
20028         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
20029         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
20030         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
20031         (__asinh): Force underflow exception for arguments with small
20032         absolute value.
20033         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
20034         (__asinhf): Force underflow exception for arguments with small
20035         absolute value.
20036         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
20037         (__asinhl): Force underflow exception for arguments with small
20038         absolute value.
20039         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
20040         (__asinhl): Force underflow exception for arguments with small
20041         absolute value.
20042         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
20043         (__asinhl): Force underflow exception for arguments with small
20044         absolute value.
20045         * math/auto-libm-test-in: Do not mark underflow exceptions as
20046         possibly missing for bug 16350.
20047         * math/auto-libm-test-out: Regenerated.
20049         * include/bits/ipc.h: Remove file.
20050         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
20051         variable.
20052         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20053         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20054         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20055         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20056         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20057         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20058         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20059         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20060         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20062         * math/auto-libm-test-in: Remove spurious underflow allowance for
20063         tests of cexp.
20064         * math/auto-libm-test-out: Regenerated.
20066         [BZ #18558]
20067         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
20068         unconditional definition.
20069         (MCAST_BLOCK_SOURCE): Likewise.
20070         (MCAST_UNBLOCK_SOURCE): Likewise.
20071         (MCAST_LEAVE_GROUP): Likewise.
20072         (MCAST_JOIN_SOURCE_GROUP): Likewise.
20073         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20074         (MCAST_MSFILTER): Likewise.
20075         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
20076         Remove variable.
20077         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20078         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20079         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20080         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20081         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20083 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
20085         * NEWS: Mention addition of x86_64 vector sincosf.
20086         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
20087         * math/test-float-vlen4.h: Likewise.
20088         * math/test-float-vlen8.h: Likewise.
20089         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20090         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
20091         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20092         * sysdeps/x86_64/fpu/Versions: New versions added.
20093         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20094         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20095         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20096         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
20097         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
20098         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
20099         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
20100         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
20101         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
20102         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
20103         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
20104         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
20105         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
20106         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
20107         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
20108         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
20109         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
20110         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
20111         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20112         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20113         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20114         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20115         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20116         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20118         * NEWS: Mention addition of x86_64 vector sincos.
20119         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
20120         * math/math.h (__MATHDECL_VEC): New macro.
20121         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
20122         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
20123         declaration under condition.
20124         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
20125         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
20126         TEST_VEC_LOOP change.
20127         * math/test-double-vlen4.h: Likewise.
20128         * math/test-double-vlen8.h: Likewise.
20129         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
20130         * math/test-float-vlen4.h: Likewise.
20131         * math/test-float-vlen8.h: Likewise.
20132         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20133         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
20134         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20135         * sysdeps/x86_64/fpu/Versions: New versions added.
20136         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20137         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20138         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20139         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
20140         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
20141         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
20142         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
20143         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
20144         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
20145         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
20146         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
20147         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
20148         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
20149         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
20150         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
20151         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
20152         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
20153         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20154         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20155         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20156         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20157         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20158         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20159         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20161         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20162         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20163         redirections for powf.
20164         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20165         * sysdeps/x86_64/fpu/Versions: New versions added.
20166         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20167         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20168         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20169         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
20170         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
20171         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
20172         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
20173         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
20174         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
20175         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
20176         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
20177         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
20178         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
20179         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
20180         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
20181         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
20182         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
20183         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20184         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20185         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20186         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20187         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20188         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20189         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20190         * math/test-float-vlen16.h: Fixed 2 argument macro.
20191         * math/test-float-vlen4.h: Likewise.
20192         * math/test-float-vlen8.h: Likewise.
20193         * NEWS: Mention addition of x86_64 vector powf.
20195 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
20197         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20198         and redefine.
20199         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20200         and redefine.
20201         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
20202         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20203         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20205         [BZ #18553]
20206         * resource/getpriority.c (getpriority): Rename to __getpriority
20207         and define as weak alias of __getpriority.
20208         * resource/setpriority.c (setpriority): Rename to __setpriority
20209         and define as weak alias of __setpriority.
20210         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
20211         __getpriority and define as weak alias of __getpriority.
20212         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
20213         __setpriority and define as weak alias of __setpriority.
20214         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
20215         strong name.
20216         (setpriority): Use __setpriority as strong name.
20217         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
20218         __getpriority and define as weak alias of __getpriority.
20219         * include/sys/resource.h (__getpriority): Declare.  Use
20220         libc_hidden_proto.
20221         (__setpriority): Likewise.
20222         (getpriority): Don't use libc_hidden_proto.
20223         (setpriority): Likewise.
20224         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
20225         getpriority.  Call __setpriority instead of setpriority.
20226         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
20227         Remove variable.
20229         [BZ #18547]
20230         * misc/getttyent.c (getttynam): Rename to __getttynam and define
20231         as weak alias of __getttynam.  Use prototype function definition.
20232         Call __setttyent, __getttyent and __endttyent instead of
20233         setttyent, getttyent and endttyent.
20234         (getttyent): Rename to __getttyent and define as weak alias of
20235         __getttyent.  Call __setttyent instead of setttyent.  Call
20236         __fgets_unlocked instead of fgets_unlocked.
20237         (setttyent): Rename to __setttyent and define as weak alias of
20238         __setttyent.
20239         (endttyent): Rename to __endttyent and define as weak alias of
20240         __endttyent.
20241         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
20242         (__setttyent): Likewise.
20243         (__endttyent): Likewise.
20244         (getttyent): Don't use libc_hidden_proto.
20245         (setttyent): Likewise.
20246         (endttyent): Likewise.
20247         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
20248         __endttyent instead of setttyent, getttyent and endttyent.
20249         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
20250         Remove variable.
20252         [BZ #18546]
20253         * socket/recv.c (__recv): Use libc_hidden_def.
20254         * socket/socket.c (__socket): Likewise.
20255         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20256         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20257         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
20258         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
20259         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
20260         libc_hidden_def.
20261         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
20262         libc_hidden_weak.
20263         * include/sys/socket.h (__socket): Do not use attribute_hidden.
20264         Use libc_hidden_proto.
20265         (__recv): Likewise.
20266         * socket/Versions (libc): Export __recv and __socket at version
20267         GLIBC_PRIVATE.
20268         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
20269         instead of recv.
20270         (init_mq_netlink): Call __socket instead of socket.
20271         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
20272         Remove variable.
20274         [BZ #18545]
20275         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
20276         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
20277         hidden_weak.
20278         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
20279         define as alias of __mq_timedsend.  Use hidden_weak.
20280         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
20281         __mq_timedsend as strong name.
20282         (mq_timedreceive): Use __mq_timedreceive as strong name.
20283         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
20284         (__mq_timedreceive): Likewise.
20285         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
20286         __mq_timedreceive instead of mq_timedreceive.
20287         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
20288         instead of mq_timedsend.
20289         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
20290         Remove variable.
20292         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
20293         hidden_def and hidden_weak instead of libc_hidden_def and
20294         libc_hidden_weak.
20295         (top level): Refer to hidden_def in comment.
20296         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
20297         macro.  Use it instead of libc_hidden_def.
20298         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
20299         specify __GI_* name explicitly.
20300         (mq_timedreceive): Likewise.
20301         (mq_setattr): Likewise.
20303         [BZ #18544]
20304         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
20305         __pthread_barrier_init and define as weak alias of
20306         __pthread_barrier_init.
20307         * sysdeps/sparc/nptl/pthread_barrier_init.c
20308         (pthread_barrier_init): Likewise.
20309         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
20310         __pthread_barrier_wait and define as weak alias of
20311         __pthread_barrier_wait.
20312         * sysdeps/sparc/nptl/pthread_barrier_wait.c
20313         (pthread_barrier_wait): Likewise.
20314         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20315         (pthread_barrier_wait): Likewise.
20316         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
20317         (pthread_barrier_wait): Likewise.
20318         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
20319         (pthread_barrier_wait): Likewise.
20320         * nptl/Versions (libpthread): Export __pthread_barrier_init and
20321         __pthread_barrier_wait at version GLIBC_PRIVATE.
20322         * include/pthread.h (__pthread_barrier_init): Declare.
20323         (__pthread_barrier_wait): Likewise.
20324         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
20325         Call __pthread_barrier_wait instead of pthread_barrier_wait.
20326         (helper_thread): Likewise.
20327         (init_mq_netlink): Call __pthread_barrier_init instead of
20328         pthread_barrier_init.
20330         [BZ #18542]
20331         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
20332         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
20333         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
20334         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
20335         vswscanf.
20336         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
20337         Remove variable.
20339         [BZ #18540]
20340         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
20341         strong alias of _IO_fflush.  Use libc_hidden_def.
20342         * libio/iofflush_u.c (fflush_unlocked): Rename to
20343         __fflush_unlocked and define as weak alias of __fflush_unlocked.
20344         Use libc_hidden_weak.
20345         * include/stdio.h (__fflush_unlocked): Declare.  Use
20346         libc_hidden_proto.
20347         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
20348         fflush_unlocked.
20349         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
20350         Remove variable.
20352         [BZ #18539]
20353         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
20354         define as weak alias of __addseverity.
20355         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
20356         Remove variable.
20357         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20358         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20359         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20361         [BZ #18536]
20362         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
20363         (__tfind): Likewise.
20364         (__tdelete): Likewise.
20365         (__twalk): Likewise.
20366         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
20367         __twalk to GLIBC_PRIVATE.
20368         * include/search.h (__tsearch): Use libc_hidden_proto.
20369         (__tfind): Likewise.
20370         (__tdelete): Likewise.
20371         (__twalk): Likewise.
20372         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
20373         Call __tdelete instead of tdelete.
20374         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
20375         tfind.  Call __tsearch instead of tsearch.
20376         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
20377         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
20378         Remove variable.
20379         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20381         [BZ #18534]
20382         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
20383         (dprintf): Define as a weak alias of __dprintf, not a strong
20384         alias.
20385         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
20386         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
20387         dprintf.
20388         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
20389         Remove variable.
20390         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20391         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20393         [BZ #18533]
20394         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
20395         not a strong alias.
20396         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
20397         Remove variable.
20399         [BZ #18532]
20400         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
20401         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
20402         (in6addr_loopback): Rename to __in6addr_loopback and define as
20403         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
20404         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
20405         libc_hidden_proto.
20406         (__in6addr_any): Likewise.
20407         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
20408         in6addr_any.
20409         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
20410         variable.
20411         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20413 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
20415         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
20416         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
20417         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20418         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20419         redirections for pow.
20420         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20421         * sysdeps/x86_64/fpu/Versions: New versions added.
20422         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20423         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20424         build of SSE, AVX2 and AVX512 IFUNC versions.
20425         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
20426         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
20427         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
20428         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
20429         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
20430         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
20431         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
20432         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
20433         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
20434         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
20435         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
20436         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
20437         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
20438         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
20439         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20440         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20441         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20442         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20443         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20444         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20445         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20446         * NEWS: Mention addition of x86_64 vector pow.
20448         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20449         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20450         redirections for expf.
20451         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20452         * sysdeps/x86_64/fpu/Versions: New versions added.
20453         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20454         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20455         build of SSE, AVX2 and AVX512 IFUNC versions.
20456         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
20457         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
20458         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
20459         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
20460         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
20461         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
20462         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
20463         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
20464         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
20465         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
20466         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
20467         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
20468         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
20469         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20470         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20471         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20472         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20473         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20474         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20475         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20476         * NEWS: Mention addition of x86_64 vector expf.
20478         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
20479         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
20480         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20481         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20482         redirections for exp.
20483         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20484         * sysdeps/x86_64/fpu/Versions: New versions added.
20485         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20486         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20487         build of SSE, AVX2 and AVX512 IFUNC versions.
20488         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
20489         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
20490         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
20491         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
20492         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
20493         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
20494         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
20495         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
20496         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
20497         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
20498         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
20499         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
20500         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
20501         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20502         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20503         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20504         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20505         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20506         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20507         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20508         * NEWS: Mention addition of x86_64 vector exp.
20510         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20511         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20512         redirections for logf.
20513         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20514         * sysdeps/x86_64/fpu/Versions: New versions added.
20515         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20516         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20517         build of SSE, AVX2 and AVX512 IFUNC versions.
20518         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
20519         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
20520         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
20521         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
20522         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
20523         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
20524         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
20525         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
20526         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
20527         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
20528         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
20529         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
20530         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
20531         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20532         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20533         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20534         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20535         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20536         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20537         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20538         * NEWS: Mention addition of x86_64 vector logf.
20540         * bits/libm-simd-decl-stubs.h: Added stubs for log.
20541         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
20542         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20543         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20544         redirections for log.
20545         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20546         * sysdeps/x86_64/fpu/Versions: New versions added.
20547         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20548         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20549         build of SSE, AVX2 and AVX512 IFUNC versions.
20550         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
20551         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
20552         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
20553         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
20554         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
20555         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
20556         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
20557         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
20558         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
20559         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
20560         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
20561         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
20562         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
20563         test.
20564         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20565         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20566         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20567         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20568         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20569         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20570         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20571         * NEWS: Mention addition of x86_64 vector log.
20573 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20575         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
20576         cfi_adjust_cfa_offset argument.
20577         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
20578         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
20580         [BZ #18034]
20581         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
20582         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
20583         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
20584         ordering using ldar.
20585         (_dl_tlsdesc_dynamic): Likewise.
20586         (_dl_tlsdesc_return_lazy): Likewise.
20587         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
20588         relaxed atomics instead of volatile and synchronize with release store.
20589         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
20590         volatile.
20591         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20593 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
20595         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20596         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
20597         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20598         * sysdeps/x86_64/fpu/Versions: New versions added.
20599         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20600         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20601         build of SSE, AVX2 and AVX512 IFUNC versions.
20602         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
20603         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
20604         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
20605         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
20606         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
20607         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
20608         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
20609         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
20610         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
20611         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
20612         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
20613         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
20614         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
20615         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20616         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20617         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20618         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20619         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20620         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20621         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20622         * NEWS: Mention addition of x86_64 vector sinf.
20624 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
20626         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
20627         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
20628         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
20629         Remove variable.
20630         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20631         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20633 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20635         [BZ #18530]
20636         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
20637         strong alias of _IO_fputs.  Use libc_hidden_def.
20638         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
20639         and define as weak alias of __fputs_unlocked.  Use
20640         libc_hidden_weak.
20641         * include/stdio.h (__fputs_unlocked): Declare.  Use
20642         libc_hidden_proto.
20643         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
20644         fputs_unlocked.
20646         [BZ #18529]
20647         * resolv/netdb.h [__USE_POSIX]: Change condition to
20648         [__USE_XOPEN2K].
20649         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
20650         not expect.
20651         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
20652         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
20653         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
20654         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
20655         [XPG4 || UNIX98] (AI_ALL): Likewise.
20656         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
20657         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
20658         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
20659         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
20660         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
20661         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
20662         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
20663         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
20664         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
20665         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
20666         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
20667         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
20668         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
20669         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
20670         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
20671         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20672         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20673         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
20674         [XPG4 || UNIX98] (gai_strerror): Likewise.
20675         [XPG4 || UNIX98] (getaddrinfo): Likewise.
20676         [XPG4 || UNIX98] (getnameinfo): Likewise.
20678         [BZ #18528]
20679         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
20680         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
20681         __USE_XOPEN2K8].
20682         (getgrent): Likewise.
20683         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
20684         expect.
20685         [XPG3 || POSIX2008] (endgrent): Likewise.
20686         [XPG3] (setgrent): Likewise.
20687         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
20688         variable.
20689         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20691         [BZ #18527]
20692         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
20693         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
20694         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
20695         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
20696         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
20697         * include/unistd.h (__getlogin_r): Declare.  Use
20698         libc_hidden_proto.
20699         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
20700         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
20701         variable.
20702         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20703         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20704         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20706 2015-06-12  Martin Sebor  <msebor@redhat.com>
20708         [BZ #18512]
20709         * Makerules (check-install-supported): New target.
20710         (install): Add check-install-supported as a dependency.
20711         * manual/install.texi (Installing the C Library): Document
20712         that overriding prefix and exec_prefix is not supported.
20713         Mention DESTDIR.
20714         * INSTALL: Regenerate from the above.
20716 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20718         [BZ #18519]
20719         * posix/Versions (libc): Export __libc_pread at version
20720         GLIBC_PRIVATE.
20721         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
20722         instead of pread.
20723         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
20724         variable.
20726         [BZ #18522]
20727         * misc/efgcvt_r.c
20728         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
20729         (cvt_symbol): Use weak_alias instead of strong_alias.
20730         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
20731         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
20732         Remove variable.
20733         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20734         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20736         [BZ #18520]
20737         * inet/herrno.c (h_errno): Rename to __h_errno.
20738         (__libc_h_errno): Define as alias of __h_errno not h_errno.
20739         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
20740         to __h_errno instead of h_errno.
20741         * nptl/herrno.c (h_errno): Rename to __h_errno.
20742         (__h_errno_location): Refer to __h_errno not h_errno.
20743         * resolv/Versions (h_errno): Rename to __h_errno.
20744         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
20745         Remove variable.
20746         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20748 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
20750         * configure.ac: More strict check for AVX512 assembler support.
20751         * configure: Regenerated.
20753         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
20754         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
20755         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20756         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
20757         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20758         * sysdeps/x86_64/fpu/Versions: New versions added.
20759         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20760         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20761         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20762         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
20763         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
20764         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
20765         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
20766         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
20767         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
20768         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
20769         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
20770         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
20771         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
20772         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
20773         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
20774         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
20775         test.
20776         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20777         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20778         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20779         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20780         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20781         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20782         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20783         * NEWS: Mention addition of x86_64 vector sin.
20785 2015-06-11  Florian Weimer  <fweimer@redhat.com>
20787         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
20788         comment.
20790 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20792         [BZ #18479]
20793         * nptl/pt-interp.c: New file.
20794         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
20795         Add pt-interp.
20796         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
20797         $(common-objpfx)runtime-linker.h.
20799 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
20801         * Makeconfig (+interp): Remove unused variable.
20802         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
20803         only.  Depend on $(common-objpfx)runtime-linker.h instead of
20804         $(elf-objpfx)runtime-linker.h.
20805         ($(elf-objpfx)runtime-linker.h): Rename to
20806         $(common-objpfx)runtime-linker.h and move ...
20807         * Makerules [$(build-shared) = yes]: ... here.
20808         * elf/interp.c: Include <runtime-linker.h> instead of
20809         <elf/runtime-linker.h>.
20811 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20813         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
20814         (__gettimeofday_syscall): Remove vsyscall fallback.
20815         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
20816         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
20817         Add syscall fallback function.
20818         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
20819         if vDSO is not present.
20820         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
20821         fallback function.
20822         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
20823         present.
20824         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
20825         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20827 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
20829         [BZ #18497]
20830         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
20831         of wcscmp.
20832         (wcscmp): Define as weak alias of WCSCMP.
20833         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
20834         wcscoll.
20835         (USE_HIDDEN_DEF): Define.
20836         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
20837         __wcscoll.  Don't use libc_hidden_weak.
20838         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
20839         wcscmp.
20840         * sysdeps/i386/i686/multiarch/wcscmp-c.c
20841         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
20842         __GI_wcscmp.
20843         (weak_alias): Undefine and redefine.
20844         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
20845         __wcscmp and define as weak alias of __wcscmp.
20846         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
20847         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
20848         (__wcscoll): Likewise.
20849         (wcscmp): Don't use libc_hidden_proto.
20850         (wcscoll): Likewise.
20851         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
20852         wcscoll.
20853         * posix/regexec.c (check_node_accept_bytes): Likewise.
20854         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
20855         variable.
20856         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20857         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20859         [BZ #18507]
20860         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
20861         __fstatvfs and define as weak alias of __fstatvfs.  Use
20862         libc_hidden_weak.
20863         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
20864         and define as weak alias of __statvfs.  Use libc_hidden_weak.
20865         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
20866         Define as alias of __fstatvfs, not fstatvfs.
20867         (fstatvfs64): Likewise.
20868         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
20869         Define as alias of __statvfs, not statvfs.
20870         (statvfs64): Likewise.
20871         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
20872         Remove variable.
20874 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20877         (HAVE_GETCPU_VSYSCALL): Define.
20878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20879         (HAVE_GETCPU_VSYSCALL): Likewise.
20880         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
20881         * sysdeps/unix/sysv/linux/sched_getcpu.c
20882         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
20883         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
20884         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
20885         prototype.
20886         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20887         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
20888         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
20889         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
20890         Define.
20891         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
20892         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20893         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
20894         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20896 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
20898         * sysdeps/x86_64/fpu/Makefile: New file.
20899         * sysdeps/x86_64/fpu/Versions: New file.
20900         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
20901         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
20902         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
20903         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
20904         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
20905         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
20906         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
20907         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
20908         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
20909         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
20910         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
20911         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
20912         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
20913         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20914         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20915         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
20916         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
20917         * sysdeps/x86_64/configure.ac: Options for libmvec build.
20918         * sysdeps/x86_64/configure: Regenerated.
20919         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
20920         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
20921         * manual/install.texi (Configuring and compiling): Document
20922         --disable-mathvec.
20923         * INSTALL: Regenerated.
20924         * NEWS: Mention addition of libmvec and x86_64 vector cos.
20926         * math/Makefile: Added rules for vector tests.
20927         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
20928         declaration under condition.
20929         * math/test-double-vlen2.h: New file.
20930         * math/test-double-vlen4.h: New file.
20931         * math/test-double-vlen8.h: New file.
20932         * math/test-vec-loop.h: Added initialization macro.
20933         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
20934         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
20935         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
20936         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
20937         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
20938         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
20939         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
20940         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
20941         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
20942         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
20943         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
20945         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20946         * sysdeps/x86_64/fpu/Versions: New versions added.
20947         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
20948         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
20949         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
20950         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
20951         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
20952         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
20953         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
20954         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
20955         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
20956         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
20957         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
20958         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
20959         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
20960         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20961         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20962         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20963         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
20964         * NEWS: Mention addition of x86_64 vector cosf.
20966         * math/Makefile: Added CFLAGS for new tests.
20967         * math/test-float-vlen16.h: New file.
20968         * math/test-float-vlen4.h: New file.
20969         * math/test-float-vlen8.h: New file.
20970         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
20971         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
20972         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20973         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
20974         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
20975         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
20976         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
20977         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
20978         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
20979         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
20980         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
20982 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
20984         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
20985         * locale/programs/ld-ctype.c: Likewise.
20987 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
20989         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
20990         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
20991         bit_ZMM16_31_state): New macro.
20992         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20993         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
20995 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
20997         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
20999 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
21001         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
21003 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
21005         [BZ #18498]
21006         * libio/memstream.c (open_memstream): Rename to __open_memstream
21007         and define as weak alias of __open_memstream.
21008         * include/stdio.h (__open_memstream): Declare.  Use
21009         libc_hidden_proto.
21010         (open_memstream): Don't use libc_hidden_proto.
21011         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
21012         open_memstream.
21013         * posix/getopt.c (_getopt_internal_r): Likewise.
21014         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
21015         variable.
21016         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21017         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21018         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21020         [BZ #18496]
21021         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
21022         instead of wcrtomb.
21024         [BZ #18483]
21025         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
21026         [__USE_XOPEN2K8].  Remove redundant #endif.
21027         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
21028         Remove redundant #if.
21029         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
21030         Remove variable.
21031         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21032         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21034         [BZ #18495]
21035         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
21036         (__iswlower): Likewise.
21037         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
21038         (__iswlower): Likewise.
21039         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
21040         instead of towlower.
21041         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
21042         instead of iswlower.  Call __towupper instead of towupper.
21043         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
21044         instead of iswalnum.
21046 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21048         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
21049         errors to stderr.
21051 2015-06-05  Florian Weimer  <fweimer@redhat.com>
21053         [BZ #15661]
21054         [BZ #17322]
21055         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21056         Check for overflow properly.  Check for O_APPEND.  Ignore large
21057         file system block sizes.  Add comments about problems.
21058         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
21059         * manual/filesys.texi (Storage Allocation): New node.
21061 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21063         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
21064         cancellable syscalls.
21065         (SYS_ify): Add guard to no redefine it.
21066         (INLINE_SYSCALL): Likewise.
21067         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
21068         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
21069         SYSCALL_CANCEL instead.
21070         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
21071         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21072         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21073         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21074         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21075         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
21076         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
21077         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
21078         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21079         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21080         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
21081         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
21082         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
21083         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
21084         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
21085         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21086         Likewise.
21087         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21088         (__libc_pread64): Likewise.
21089         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
21090         (__libc_preadv): Likewise.
21091         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
21092         (__libc_readv64): Likewise.
21093         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21094         (__libc_pwrite): Likewise.
21095         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21096         (__libc_pwrite64): Likewise.
21097         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
21098         (__libc_pwritev): Likewise.
21099         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
21100         (__libc_pwritev64): Likewise.
21101         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
21102         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21103         (sync_file_range): Likewise.
21104         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
21105         Likewise.
21106         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
21107         Likewise.
21108         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21109         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21110         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21111         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21112         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21113         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21114         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21115         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
21116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21117         Likewise.
21118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21119         (__libc_read64): Likewise.
21120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
21121         Likewise.
21122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
21123         Likewise.
21124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
21125         Likewise.
21126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
21127         Likewise.
21128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21129         (__libc_pread64): Likewise.
21130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
21131         Likewise.
21132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21133         (__libc_pwrite64): Likewise.
21134         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
21135         (sync_file_range): Likewise.
21136         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
21137         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21138         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21139         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
21140         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
21141         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21142         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21143         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
21144         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
21145         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21146         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21147         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21148         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21149         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21150         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
21151         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21152         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21153         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21154         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21155         Likewise.
21156         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
21157         Likewise.
21158         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
21159         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
21160         Likewise.
21161         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
21162         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
21163         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
21164         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
21165         Likewise.
21166         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
21167         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
21168         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
21169         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
21170         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
21172 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
21174         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
21175         Include dl-vdso.
21176         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
21177         Use VDSO routines for gettimeofday, clock_gettime if
21178         available.
21179         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
21180         Declare VDSO symbols.
21181         * sysdeps/unix/sysv/linux/arm/sysdep.h:
21182         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
21183         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21184         * sysdeps/unix/sysv/linux/arm/Versions: Add
21185         __vdso_clock_gettime.
21187 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21189         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
21190         be an inline implementation regardless of library is built within.
21191         (open_not_cancel_2): Likewise.
21192         (__read_nocancel): Likewise.
21193         (__write_nocancel): Likewise.
21194         (openat_not_cancel): Likewise.
21195         (openat_not_cancel_3): Likewise.
21196         (openat64_not_cancel): Likewise.
21197         (openat64_not_cancel_3): Likewise.
21198         (__close_nocancel): Likewise.
21199         (pause_not_cancel): Likewise.
21200         (nanosleep_not_cancel): Likewise.
21201         (sigsuspend_not_cancel): Likewise.
21203 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21205         [BZ #14958]
21206         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
21207         wake-up.
21208         (__pthread_rwlock_rdlock_slow): Likewise.
21209         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21210         Likewise.
21211         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21212         Likewise.
21213         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
21214         * nptl/tst-rwlock16.c: New file.
21215         * nptl/Makefile (tests): Add new test.
21217 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21219         [BZ #18324]
21220         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
21221         missing wake-up of readers.
21222         * nptl/tst-rwlock15.c: New file.
21223         * nptl/Makefile (tests): Add new test.
21225 2015-06-03  Roland McGrath  <roland@hack.frob.com>
21227         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
21228         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
21229         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
21230         and __nacl_supply_interface_rtld.
21231         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
21232         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
21233         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
21234         Add __nacl_supply_interface_rtld.
21235         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
21237 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21239         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
21240         isfinite.
21241         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21242         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
21244 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21246         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
21247         __signbit* with standard C99 macros.
21248         * math/e_exp10l.c: Likewise.
21249         * math/e_exp2l.c: Likewise.
21250         * math/e_scalb.c: Likewise.
21251         * math/e_scalbf.c: Likewise.
21252         * math/e_scalbl.c: Likewise.
21253         * math/s_ldexp.c: Likewise.
21254         * math/s_ldexpf.c: Likewise.
21255         * math/s_ldexpl.c: Likewise.
21256         * math/w_atan2.c: Likewise.
21257         * math/w_atan2f.c: Likewise.
21258         * math/w_atan2l.c: Likewise.
21259         * math/w_cosh.c: Likewise.
21260         * math/w_coshf.c: Likewise.
21261         * math/w_coshl.c: Likewise.
21262         * math/w_exp10.c: Likewise.
21263         * math/w_exp10f.c: Likewise.
21264         * math/w_exp10l.c: Likewise.
21265         * math/w_exp2.c: Likewise.
21266         * math/w_exp2f.c: Likewise.
21267         * math/w_exp2l.c: Likewise.
21268         * math/w_fmod.c: Likewise.
21269         * math/w_fmodf.c: Likewise.
21270         * math/w_fmodl.c: Likewise.
21271         * math/w_hypot.c: Likewise.
21272         * math/w_hypotf.c: Likewise.
21273         * math/w_hypotl.c: Likewise.
21274         * math/w_jnl.c: Likewise.
21275         * math/w_lgamma.c: Likewise.
21276         * math/w_lgamma_r.c: Likewise.
21277         * math/w_lgammaf.c: Likewise.
21278         * math/w_lgammaf_r.c: Likewise.
21279         * math/w_lgammal.c: Likewise.
21280         * math/w_lgammal_r.c: Likewise.
21281         * math/w_pow.c: Likewise.
21282         * math/w_powf.c: Likewise.
21283         * math/w_powl.c: Likewise.
21284         * math/w_remainder.c: Likewise.
21285         * math/w_remainderf.c: Likewise.
21286         * math/w_remainderl.c: Likewise.
21287         * math/w_scalb.c: Likewise.
21288         * math/w_scalbf.c: Likewise.
21289         * math/w_scalbl.c: Likewise.
21290         * math/w_scalbln.c: Likewise.
21291         * math/w_scalblnf.c: Likewise.
21292         * math/w_scalblnl.c: Likewise.
21293         * math/w_sinh.c: Likewise.
21294         * math/w_sinhf.c: Likewise.
21295         * math/w_sinhl.c: Likewise.
21296         * math/w_tgamma.c: Likewise.
21297         * math/w_tgammaf.c: Likewise.
21298         * math/w_tgammal.c: Likewise.
21299         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21300         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
21301         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21302         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21303         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21304         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21305         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21306         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21307         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21308         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21309         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21310         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21311         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21312         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21313         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21314         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21315         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21316         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21317         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21318         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21319         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21320         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21321         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21322         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21323         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21324         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21325         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
21326         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21327         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21328         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21329         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
21330         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
21331         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
21332         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
21333         * stdio-common/printf_fp.c: Likewise.
21334         * stdio-common/printf_fphex.c: Likewise.
21335         * stdio-common/printf_size.c: Likewise.
21337 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
21339         [BZ #18470]
21340         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
21341         strnlen.
21342         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
21343         Remove variable.
21344         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21345         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21346         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21347         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21348         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21349         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21350         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21351         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21352         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21353         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21355         [BZ #18468]
21356         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
21357         weak alias of __wmemchr.  Use libc_hidden_weak.
21358         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
21359         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
21360         instead of wmemchr.
21362 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21364         [BZ #18383]
21365         * elf/tst-tlsalign-extern.c: New file.
21366         * elf/tst-tlsalign-extern-static.c: New file.
21367         * elf/tst-tlsalign-vars.c: New file.
21368         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
21369         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
21370         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
21371         ($(objpfx)tst-tlsalign-extern-static): Likewise.
21372         (test-xfail-tst-tlsalign-extern-static): New variable.
21374 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
21376         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
21377         Use variable name _sc_err instead of err.
21378         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
21379         instead of ret.
21380         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
21381         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
21382         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
21383         (INLINE_SYSCALL): Likewise.
21385         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
21386         * include/string.h (__strnlen): Use libc_hidden_proto.
21387         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
21388         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
21389         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
21390         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
21391         (libc_hidden_def): Undefine and redefine.
21392         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
21393         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
21394         __GI_strnlen.
21395         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
21396         libc_hidden_def.
21397         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
21399         [BZ #18469]
21400         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
21401         weak alias of __towlower.  Use libc_hidden_weak.
21402         (towupper): Rename to __towupper and define as weak alias of
21403         __towupper.  Use libc_hidden_weak.
21404         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
21405         (__towupper): Likewise.
21406         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
21407         __towlower instead of towlower.
21409 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21411         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
21412         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
21414 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21416         * sysdeps/aarch64/libm-test-ulps: Update.
21418 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21420         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
21421         Define.
21422         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21423         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21424         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21425         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21426         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
21427         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
21428         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
21430 2015-06-01  Martin Sebor  <msebor@redhat.com>
21432         [BZ #18116]
21433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21434         (__setcontext): Use extended four-operand version of mtsf whenever
21435         possible.
21436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21437         (__novec_swapcontext): Likewise.
21439 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21441         * benchtests/scripts/compare_bench.py: New file.
21442         * benchtests/scripts/import_bench.py (mean): New function.
21443         (split_list): Likewise.
21444         (do_for_all_timings): Likewise.
21445         (compress_timings): Likewise.
21447         * benchtests/scripts/import_bench.py: New file.
21448         * benchtests/scripts/validate_benchout.py: Import import_bench
21449         instead of jsonschema.
21450         (validate_bench): Remove function.
21451         (main): Use import_bench.
21453 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
21455         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
21456         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
21458 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21462 2015-05-28  Roland McGrath  <roland@hack.frob.com>
21464         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
21465         set THREAD_SELF->tid to a magic value and futex-wake it.
21466         Pass its address to the thread_exit system call.
21467         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
21468         bit is clear.
21469         * sysdeps/nacl/lowlevellock.h: New file.
21470         * sysdeps/nacl/lll_timedwait_tid.c: New file.
21472         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
21473         Add TIMEOUT to current time, don't subtract it.
21475 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
21477         [BZ #2981]
21478         [BZ #18422]
21479         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
21480         ($(objpfx)tst-audit2.out): Also depend on
21481         $(objpfx)tst-auditmod9b.so.
21482         * elf/tst-audit2.c: Include <dlfcn.h>.
21483         (calloc_called): New.
21484         (calloc): Allow to be called more than once.
21485         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
21487 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
21489         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
21490         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
21492 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
21494         * stdlib/monetary.h: Fix comment.
21496 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
21498         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
21499         Avoid using variables in #defines that might cause shadowing.
21500         (INTERNAL_VSYSCALL_CALL): Likewise.
21502 2015-05-26  Roland McGrath  <roland@hack.frob.com>
21504         * sysdeps/nacl/lll_timedlock_wait.c: New file.
21506         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
21507         * nptl/lll_timedlock_wait.c: ... to this new file.
21508         * nptl/Makefile (libpthread-routines): Add it.
21509         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
21510         * nptl/lll_timedwait_tid.c: ... to this new file.
21511         * nptl/Makefile (libpthread-routines): Add it.
21512         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
21513         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
21514         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
21515         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
21516         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
21517         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
21518         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
21519         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
21520         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
21521         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
21523 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21525         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
21526         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21527         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21528         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
21529         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21530         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21531         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21532         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21533         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21534         * sysdeps/unix/sysv/linux/tile/sysdep.h
21535         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21536         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
21537         using vDSO syscall macro.
21539 2015-05-26  Andriy Rysin  <arysin@gmail.com>
21541         [BZ #17293]
21542         * uk_UA: Fix sorting order for Ukrainian locale
21544 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
21546         * stdlib/monetary.h: Fix comment.
21548 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21550         [BZ #18234]
21551         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
21552         st_mtim and st_ctim members.
21553         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
21554         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
21555         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
21556         (struct stat64): Likewise.
21557         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
21558         (struct stat64): Likewise.
21559         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
21560         (struct stat64): Likewise.
21562 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21564         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
21565         Define and include sysdep-vdso.h.
21566         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
21567         Likewise.
21568         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
21569         Likewise.
21570         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
21571         Define with VDSO_SYMBOL and use PTR_MANGLE.
21572         (__vdso_clock_gettime): Likewise.
21573         (__vdso_clock_getres): Likewise.
21574         (_libc_vdso_platform_setup): Likewise.
21575         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21576         Likewise.
21577         (_libc_vdso_platform_setup): Likewise.
21578         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
21579         Likewise.
21580         (__vdso_clock_gettime): Likewise.
21581         (__vdso_clock_getres): Likewise.
21582         (__vdso_get_tbfreq): Likewise.
21583         (__vdso_getcpu): Likewise.
21584         (__vdso_time): Likewise.
21585         (__vdso_sigtramp_rt64): Likewise.
21586         (__vdso_signtramp32): Likewise.
21587         (__vdso_sigtramp_rt32): Likewise.
21588         (_libc_vdso_platform_setup): Likewise.
21589         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
21590         Likewise.
21591         (__vdso_clock_gettime): Likewise.
21592         (__vdso_clock_getres): Likewise.
21593         (_libc_vdso_platform_setup): Likewise.
21594         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
21595         Likewise.
21596         (__vdso_clock_gettime): Likewise.
21597         (_libc_vdso_platform_setup): Likewise.
21598         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21599         Likewise.
21600         (__vdso_getcpu): Likewise.
21601         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
21602         Use VDSO_SYMBOL macro to define.
21603         (__vdso_clock_gettime): Likewise.
21604         (__vdso_clock_getres): Likewise.
21605         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
21606         Likewise.
21607         (__vdso_clock_gettime): Likewise.
21608         (__vdso_clock_getres): Likewise.
21609         (__vdso_get_tbfreq): Likewise.
21610         (__vdso_getcpu): Likewise.
21611         (__vdso_time): Likewise.
21612         (__vdso_sigtramp_rt64): Likewise.
21613         (__vdso_signtramp32): Likewise.
21614         (__vdso_sigtramp_rt32): Likewise.
21615         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
21616         Likewise.
21617         (__vdso_clock_gettime): Likewise.
21618         (__vdso_clock_getres): Likewise.
21619         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
21620         Likewise.
21621         (__vdso_clock_gettime): Likewise.
21622         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21623         Likewise.
21624         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
21625         macro.
21626         (INTERNAL_VSYSCALL): Likewise.
21627         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
21628         Remove macro.
21629         (INTERNAL_VSYSCALL): Likewise.
21630         (INTERNAL_VSYSCALL_NCS): Likewise.
21631         (INTERNAL_VSYSCALL_CALL): New macro.
21632         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21633         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
21634         Likewise.
21635         (INTERNAL_VSYSCALL): Likewise.
21636         (INTERNAL_VSYSCALL_NCS): Likewise.
21637         (INTERNAL_VSYSCALL_CALL): New macro.
21638         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21640         (INLINE_VSYSCALL): Remove macro.
21641         (INTERNAL_VSYSCALL): Remove macro.
21642         (INTERNAL_VSYSCALL_NCS): Remove macro.
21643         (INTERNAL_VSYSCALL_CALL): New macro.
21644         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
21645         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
21646         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21647         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
21648         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21650         (INLINE_VSYSCALL): Remove macro.
21651         (INTERNAL_VSYSCALL): Likewise.
21652         (INTERNAL_VSYSCALL_NCS): Likewise.
21653         (INTERNAL_VSYSCALL_CALL): New macro.
21654         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
21655         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
21656         PTR_DEMANGLE on vDSO pointer.
21657         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21658         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
21659         macro.
21660         (INTERNAL_SYSCALL): Likewise.
21661         (INTERNAL_VSYSCALL_NCS): Remove macro.
21662         (INTERNAL_VSYSCALL_CALL): New macro.
21663         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
21664         Remove macro.
21665         (INTERNAL_VSYSCALL): Likewise.
21666         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
21667         sysdep-vdso.h instead of libc-vdso.h.
21668         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
21669         definition.
21670         (INLINE_VSYSCALL): Likewise.
21671         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
21672         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
21673         definition.
21674         (INLINE_VSYSCALL): Likewise.
21675         (INTERNAL_VSYSCALL): Likewise.
21676         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21677         * sysdeps/unix/sysv/linux/timespec_get.c
21678         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21679         (timespec_get): Use ANSI prototype.
21680         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
21681         and definition for Linux.
21683 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21685         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
21686         * include/libc-symbols.h: libmvec_hidden_* macro series added.
21688 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21690         [BZ #2981]
21691         [BZ #18410]
21692         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
21693         for missing DT_PLTRELSZ.
21695 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
21697         Remove obsolete aliases that broke 'locale -a'
21698         [BZ #18412]
21699         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
21700         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
21701         breaking some applications that use 'locale -a' output.
21702         Change the encoding of this file from Latin-1 to ASCII to avoid
21703         other potential problems with people grepping this file.
21705 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21707         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
21708         -fasynchronous-unwind-tables.
21709         (CFLAGS-sendto.c): Likewise.
21710         (CFLAGS-sendmsg.c): Likewise.
21711         (CFLAGS-connect.c): Likewise.
21712         (CFLAGS-recvmsg.c): Likewise.
21713         (CFLAGS-recvfrom.c): Likewise.
21714         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
21715         (SOCKETCALL): New macro: non-cancellable socketcall.
21716         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
21717         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
21718         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
21719         * sysdeps/unix/sysv/linux/accept.c: New file.
21720         * sysdeps/unix/sysv/linux/bind.c: Likewise.
21721         * sysdeps/unix/sysv/linux/connect.c: Likewise.
21722         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
21723         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
21724         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
21725         * sysdeps/unix/sysv/linux/listen.c: Likewise.
21726         * sysdeps/unix/sysv/linux/recv.c: Likewise.
21727         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
21728         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
21729         * sysdeps/unix/sysv/linux/send.c: Likewise.
21730         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
21731         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
21732         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
21733         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
21734         * sysdeps/unix/sysv/linux/socket.c: Likewise.
21735         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
21736         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
21737         prototype.
21738         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
21739         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21740         instead of __internal_xxx function.
21741         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
21742         prototype.
21743         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
21744         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21745         instead of __internal_xxx function.
21746         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
21747         prototype.
21748         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
21749         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21750         instead of __internal_xxx function.
21751         * sysdeps/unix/sysv/linux/accept.S: Remove file.
21752         * sysdeps/unix/sysv/linux/bind.S: Likewise.
21753         * sysdeps/unix/sysv/linux/connect.S: Likewise.
21754         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
21755         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
21756         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
21757         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
21758         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
21759         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
21760         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
21761         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
21762         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21763         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
21764         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
21765         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
21766         * sysdeps/unix/sysv/linux/listen.S: Likewise.
21767         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
21768         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
21769         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
21770         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
21771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
21772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
21773         * sysdeps/unix/sysv/linux/recv.S: Likewise.
21774         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
21775         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
21776         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
21777         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21778         * sysdeps/unix/sysv/linux/send.S: Likewise.
21779         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
21780         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
21781         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
21782         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
21783         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
21784         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
21785         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
21786         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
21787         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
21788         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
21789         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
21790         socketcall is implemented in GLIBC.
21792 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21794         * soft-fp/fmadf4.c: Include <libc-internal.h>.
21795         (__fma): Ignore uninitialized warnings around packing.
21796         * soft-fp/fmasf4.c: Include <libc-internal.h>.
21797         (__fmaf): Ignore uninitialized warnings around packing.
21798         * soft-fp/fmatf4.c: Include <libc-internal.h>.
21799         (__fmal): Ignore uninitialized warnings around packing.
21801         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
21802         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21803         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
21804         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21806         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
21807         switch statement into default case.
21808         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
21810         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
21811         a conditional in forcing "inexact".
21812         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21813         Likewise.
21815 2015-05-22  Roland McGrath  <roland@hack.frob.com>
21817         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21818         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
21819         for each INTERNAL_SYSCALL use.
21821 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21823         [BZ #438]
21824         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
21825         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
21826         variable.
21828         [BZ #18444]
21829         * string/basename.c (basename): Rename to __basename and define as
21830         weak alias of __basename.  Use libc_hidden_weak.
21831         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
21832         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
21833         __basename instead of basename.
21834         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
21835         Remove variable.
21836         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21838 2015-05-18  Florian Weimer  <fweimer@redhat.com>
21840         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
21841         (_IO_JUMPS_FILE_plus): New.
21842         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
21843         _IO_CAST_FIELD_ACCESS.
21844         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
21845         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
21846         * libio/freopen.c (freopen): Likewise.
21847         * libio/freopen64.c (freopen64): Likewise.
21848         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
21849         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
21850         * libio/iofwide.c (_IO_fwide): Likewise.
21851         * libio/memstream.c (open_memstream): Likewise.
21852         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21853         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21854         * libio/oldiopopen.c (_IO_old_popen): Likewise.
21856 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
21858         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
21859         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
21860         NADJ.
21861         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
21862         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
21863         NADJ.
21864         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
21865         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
21866         NADJ.
21868         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
21869         (p == 4) case.
21871         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
21872         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
21873         Remove variable.
21874         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21875         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21876         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21878 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21880         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
21881         Adjust jump table label generation macros.
21883 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21885         * stdio-common/vfprintf.c (vfprintf): Move local variables
21886         args_malloced, specs, specs_malloced, and the code after
21887         do_positional to the printf_positional function.
21888         (printf_positional): New function.
21890 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21892         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
21893         function.
21894         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
21895         STEP4_TABLE, process_arg): Move macro definitions
21896         out of the vfprintf function.  (Cosmetic change only.)
21898 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
21900         * benchtests/Makefile (stdio-common-bench): Define.
21901         (benchset): Add stdio-common-bench.
21902         * sprintf-inputs: New file.
21903         * sprintf-source.c: New file.
21905 2015-05-21  Andreas Schwab  <schwab@suse.de>
21907         [BZ #13028]
21908         [BZ #17053]
21909         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
21910         of struct __res_state.
21911         * resolv/res_send.c (__libc_res_nsend): Likewise.
21912         (get_nsaddr): New function.
21913         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
21914         statp directly.
21916 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
21918         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
21919         -D_POSIX_C_SOURCE=199506L.
21921         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
21923         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
21924         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
21925         Do not mention otherwise.
21926         [POSIX] (_XOPEN_VERSION): Do not expect.
21927         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
21928         [POSIX] (_POSIX2_C_BIND): Likewise.
21929         [POSIX] (_POSIX2_VERSION): Likewise.
21930         [POSIX] (_XOPEN_XPG2): Likewise.
21931         [POSIX] (_XOPEN_XPG3): Likewise.
21932         [POSIX] (_XOPEN_XPG4): Likewise.
21933         [POSIX] (_XOPEN_UNIX): Likewise.
21934         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
21935         [POSIX] (_POSIX_BARRIERS): Likewise.
21936         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
21937         [POSIX] (_POSIX_CPUTIME): Likewise.
21938         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
21939         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
21940         [POSIX] (_POSIX_SHELL): Likewise.
21941         [POSIX] (_POSIX_SPAWN): Likewise.
21942         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
21943         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
21944         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
21945         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
21946         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
21947         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
21948         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
21949         [POSIX] (_XBS5_LP64_OFF64): Likewise.
21950         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
21951         [POSIX] (_POSIX_TIMEOUTS): Likewise.
21952         [POSIX] (_POSIX2_PBS): Likewise.
21953         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
21954         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
21955         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
21956         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
21957         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
21958         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
21959         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
21960         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
21961         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
21962         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
21963         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
21964         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
21965         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
21966         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
21967         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
21968         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
21969         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
21970         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
21971         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
21972         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
21973         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
21974         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
21975         [POSIX] (_SC_2_C_BIND): Likewise.
21976         [POSIX] (_SC_2_C_VERSION): Likewise.
21977         [POSIX] (_SC_2_PBS): Likewise.
21978         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
21979         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
21980         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
21981         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
21982         [POSIX] (_SC_2_PBS_TRACK): Likewise.
21983         [POSIX] (_SC_ATEXIT_MAX): Likewise.
21984         [POSIX] (_SC_BARRIERS): Likewise.
21985         [POSIX] (_SC_BASE): Likewise.
21986         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
21987         [POSIX] (_SC_DEVICE_IO): Likewise.
21988         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
21989         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
21990         [POSIX] (_SC_FD_MGMT): Likewise.
21991         [POSIX] (_SC_FIFO): Likewise.
21992         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
21993         [POSIX] (_SC_FILE_LOCKING): Likewise.
21994         [POSIX] (_SC_FILE_SYSTEM): Likewise.
21995         [POSIX] (_SC_IOV_MAX): Likewise.
21996         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
21997         [POSIX] (_SC_NETWORKING): Likewise.
21998         [POSIX] (_SC_PAGE_SIZE): Likewise.
21999         [POSIX] (_SC_PASS_MAX): Likewise.
22000         [POSIX] (_SC_PIPE): Likewise.
22001         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
22002         [POSIX] (_SC_REGEXP): Likewise.
22003         [POSIX] (_SC_SHELL): Likewise.
22004         [POSIX] (_SC_SIGNALS): Likewise.
22005         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
22006         [POSIX] (_SC_SPIN_LOCKS): Likewise.
22007         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
22008         [POSIX] (_SC_USER_GROUPS): Likewise.
22009         [POSIX] (_SC_USER_GROUPS_R): Likewise.
22010         [POSIX] (_SC_STREAMS): Likewise.
22011         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
22012         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
22013         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
22014         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
22015         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
22016         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
22017         [POSIX] (_PC_FILESIZEBITS): Likewise.
22018         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
22019         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
22020         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
22021         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
22022         [POSIX] (uid_t): Likewise.
22023         [POSIX] (gid_t): Likewise.
22024         [POSIX] (off_t): Likewise.
22025         [POSIX] (pid_t): Likewise.
22026         [POSIX] (cuserid): Allow.
22027         (_SC_2_CHAR_TERM): Require constant.
22028         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
22029         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
22030         variable.
22032 2015-05-20  Roland McGrath  <roland@hack.frob.com>
22034         * sysdeps/nacl/pthread-pids.h: New file.
22035         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
22036         (create_thread): Use __nacl_get_tid to initialize PD->tid.
22038         * nptl/pthread-pids.h: New file.
22039         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
22040         * nptl/nptl-init.c: Include <pthread-pids.h>.
22041         (__pthread_initialize_minimal_internal):
22042         Call __pthread_initialize_pids instead of set_tid_address syscall.
22044         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
22045         * sysdeps/posix/usleep.c: ... here.
22047 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22049         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
22050         call_pselect6 object.
22051         [$(subdir) = io]: Remove call_sync_file_range object.
22052         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
22053         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
22054         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
22055         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
22057 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
22059         * math/s_cproj.c: Add include "math_private.h".
22060         * math/s_cprojf.c: Likewise.
22061         * math/s_cprojl.c: Likewise.
22063 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
22065         [BZ #18244]
22066         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
22067         high mantissa bit when testing whether P is a NaN.
22068         * math/libm-test.inc (remainder_test_data): Add more tests.
22069         (remquo_test_data): Likewise.
22071         [BZ #18049]
22072         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
22073         below -32, return the argument, with underflow if subnormal.
22074         * math/auto-libm-test-in: Add more tests of atanh.
22075         * math/auto-libm-test-out: Regenerated.
22077 2015-05-19  Roland McGrath  <roland@hack.frob.com>
22079         [BZ #18434]
22080         * nptl/tst-sem15.c: New file.
22081         * nptl/Makefile (tests): Add it.
22082         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
22083         s/<</>>/ to fix typo in EOVERFLOW check.
22084         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
22086 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22088         * manual/strings.texi (envz_remove): Fix typo in safety
22089         annotations.
22091 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
22092             Steve Ellcey  <sellcey@imgtec.com>
22094         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
22095         in order to avoid strict alias warnings.
22096         (iruserok_af): Ditto for ra.
22098 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
22100         [BZ #17581]
22101         * malloc/hooks.c
22102         (magicbyte): Convert to a function and avoid returning 0x01.
22103         (mem2mem_check): Avoid using a length byte equal to the magic byte.
22104         (mem2chunk_check): Fix unsigned comparisons to zero.
22105         Hoist defs of sz and magic.
22107 2015-05-19  Richard Henderson  <rth@redhat.com>
22109         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
22111         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22113 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22115         [BZ #16159]
22116         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
22117         * malloc/arena.c (arena_lock): Check if arena is corrupt.
22118         (reused_arena): Find a non-corrupt arena.
22119         (heap_trim): Pass arena to unlink.
22120         * malloc/hooks.c (malloc_check_get_size): Pass arena to
22121         malloc_printerr.
22122         (top_check): Likewise.
22123         (free_check): Likewise.
22124         (realloc_check): Likewise.
22125         * malloc/malloc.c (malloc_printerr): Add arena argument.
22126         (unlink): Likewise.
22127         (munmap_chunk): Adjust.
22128         (ARENA_CORRUPTION_BIT): New macro.
22129         (arena_is_corrupt): Likewise.
22130         (set_arena_corrupt): Likewise.
22131         (sysmalloc): Use mmap if there are no usable arenas.
22132         (_int_malloc): Likewise.
22133         (__libc_malloc): Don't fail if arena_get returns NULL.
22134         (_mid_memalign): Likewise.
22135         (__libc_calloc): Likewise.
22136         (__libc_realloc): Adjust for additional argument to
22137         malloc_printerr.
22138         (_int_free): Likewise.
22139         (malloc_consolidate): Likewise.
22140         (_int_realloc): Likewise.
22141         (_int_memalign): Don't touch corrupt arenas.
22142         * malloc/tst-malloc-backtrace.c: New test case.
22144         * Makefile (summarize-tests): Fix return value on success.
22146         * manual/string.texi (Envz Functions): Add envz_remove.
22148 2015-05-18  Roland McGrath  <roland@hack.frob.com>
22150         * sysdeps/posix/opendir.c: Include <stdbool.h>.
22151         (invalid_name): New function, broken out of ...
22152         (__opendirat): ... here.  Call it.
22153         (need_isdir_precheck): New function, broken out of ...
22154         (__opendirat): ... here.  Call it.
22155         Use __fxstatat64, not __xstatat64.
22156         (opendir_oflags): New function, broken out of ...
22157         (__opendirat): ... here.  Call it.
22158         (opendir_tail): New function, broken out of ...
22159         (__opendirat): ... here.  Call it.
22160         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
22161         opendir_tail, rather than punting to __opendirat.
22162         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
22164 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22166         * .gitignore: Ignore generated *.pyc.
22168 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
22170         * include/stdio.h: Define __need_wint_t.
22171         * test-skeleton.c: Avoid `for' loop initial declaration.
22172         * nptl/tst-initializers1.c: Use test-skeleton.c.
22174 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22176         [BZ #18418]
22177         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
22179 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22181         [BZ #16352]
22182         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
22183         (__ieee754_atanh): Force underflow exception for results with
22184         small absolute value.
22185         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
22186         (__ieee754_atanhf): Force underflow exception for results with
22187         small absolute value.
22188         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
22189         (__ieee754_atanh): Force underflow exception for results with
22190         small absolute value.
22191         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
22192         (__ieee754_atanhf): Force underflow exception for results with
22193         small absolute value.
22194         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
22195         (__ieee754_atanhl): Force underflow exception for results with
22196         small absolute value.
22197         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
22198         (__ieee754_atanhl): Force underflow exception for results with
22199         small absolute value.
22200         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
22201         (__ieee754_atanhl): Force underflow exception for results with
22202         small absolute value.
22203         * math/auto-libm-test-in: Do not allow missing underflow
22204         exceptions from atanh.
22205         * math/auto-libm-test-out: Regenerated.
22207         [BZ #18221]
22208         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
22209         2**-28 as threshold for returning x or +/- 1/x.
22210         * math/auto-libm-test-in: Add more tests of tan.
22211         * math/auto-libm-test-out: Regenerated.
22213         [BZ #18220]
22214         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22215         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
22216         * math/auto-libm-test-in: Add another test of lgamma.
22217         * math/auto-libm-test-out: Regenerated.
22219 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
22221         * stdio-common/printf_fp.c (___printf_fp): Use abs.
22222         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
22223         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
22224         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
22225         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
22226         (ADD2A): Use fabs.  (SUB2A): Use fabs.
22227         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
22228         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
22229         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
22230         (log1): Use fabs.  (my_log2): Use fabs.
22231         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
22232         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
22233         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
22234         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
22235         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
22236         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
22237         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
22238         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
22239         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
22240         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
22241         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
22243 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22245         [BZ #18217]
22246         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
22247         as threshold for returning 1 - x.
22248         * math/auto-libm-test-in: Add more tests of erfc.
22249         * math/auto-libm-test-out: Regenerated.
22251 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
22253         [BZ #18196]
22254         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
22255         threshold for large arguments.
22256         * math/auto-libm-test-in: Add another test of atan.
22257         * math/auto-libm-test-out: Regenerated.
22259         [BZ #16339]
22260         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
22261         (__log1p): Force underflow exception for results with small
22262         absolute value.
22263         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
22264         (__log1pf): Force underflow exception for results with small
22265         absolute value.
22266         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
22267         (__log1p): Force underflow exception for results with small
22268         absolute value.
22269         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
22270         (__log1pf): Force underflow exception for results with small
22271         absolute value.
22272         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
22273         (__log1pl): Force underflow exception for results with small
22274         absolute value.
22275         * math/auto-libm-test-in: Do not allow missing underflow
22276         exceptions from log1p.
22277         * math/auto-libm-test-out: Regenerated.
22279 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
22280             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22282         [BZ #16704]
22283         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
22285 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
22287         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
22288         (libmvec): New variable.
22289         * configure.ac: Added option for mathvec build.
22290         * configure: Regenerated.
22291         * mathvec/Depend: New file.
22292         * mathvec/Makefile: New file.
22293         * shlib-versions: Added libmvec.
22294         * math/Makefile: Added rule for libm.so installation.
22296         * bits/math-vector.h: New file.
22297         * bits/libm-simd-decl-stubs.h: New header.
22298         * math/Makefile (headers): Added new header
22299         libm-simd-decl-stubs.h.
22300         * math/math.h (__MATHCALL_VEC): New macro.
22302         * math/gen-libm-have-vector-test.sh: Script generates series of macros
22303         for conditions in testing functions.
22304         * math/Makefile: Added call of libm-have-vector-test.sh.
22305         * math/libm-test.inc (HAVE_VECTOR): New macros.
22307         * math/libm-test.inc: START refactored.
22308         * math/test-double.c (TEST_MATHVEC): Add define.
22309         * math/test-float.c: Likewise.
22310         * math/test-idouble.c: Likewise.
22311         * math/test-ifloat.c: Likewise.
22312         * math/test-ildoubl.c: Likewise.
22313         * math/test-ldouble.c: Likewise.
22314         * sysdeps/generic/math-tests-arch.h
22315         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
22316         architecture check.
22318         * math/test-double.c (FUNC_TEST): New macro.
22319         * math/test-float.c: Likewise.
22320         * math/test-idouble.c: Likewise.
22321         * math/test-ifloat.c: Likewise.
22322         * math/test-ildoubl.c: Likewise.
22323         * math/test-ldouble.c: Likewise.
22324         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
22326 2015-05-13  Roland McGrath  <roland@hack.frob.com>
22328         * sysdeps/nacl/fdopendir.c: New file.
22330         * dirent/scandir-tail.c: New file.
22331         * dirent/scandir64-tail.c: New file.
22332         * dirent/Makefile (routines): Add them.
22333         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
22334         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
22335         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
22336         [!SCANDIR] (SCANDIR_TAIL): New macro.
22337         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
22338         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
22339         (SCANDIRAT): Macro removed.
22340         (SCANDIR_TAIL): New macro.
22341         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
22342         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
22343         (SCANDIRAT): Just call __opendirat and __scandir_tail.
22344         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
22345         (READDIR): Macro removed.
22346         (SCANDIR_TAIL): New macro.
22347         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
22348         (SCANDIR_TAIL): New macro.
22350         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
22351         * dirent/scandir-cancel.c: ... to this new file.
22352         * dirent/Makefile (routines): Add it.
22353         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
22354         * sysdeps/unix/sysv/linux/i386/scandir64.c
22355         (SKIP_SCANDIR_CANCEL): Macro removed.
22356         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
22358         * dirent/tst-scandir.c: New file.
22359         * dirent/tst-scandir64.c: New file.
22360         * dirent/Makefile (tests): Add them.
22362 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
22364         [BZ #18409]
22365         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
22367 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22369         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
22370         list.
22372 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
22374         * benchtests/bench-strcoll.c: New benchmark.
22375         * benchtests/Makefile: Generate locales and run benchmark.
22376         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
22377         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22378         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
22379         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
22380         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
22381         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
22382         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
22383         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
22384         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
22385         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
22386         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
22387         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
22388         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
22389         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
22390         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
22391         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
22392         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
22393         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
22394         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
22395         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
22396         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
22397         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
22398         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
22399         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
22401 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
22403         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
22404         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22406 2015-05-12  Roland McGrath  <roland@hack.frob.com>
22408         * posix/uname-values.h: New file.
22409         * posix/uname.c: Include that instead of <config-name.h>.
22410         * sysdeps/nacl/uname-values.h: New file.
22411         * sysdeps/arm/nacl/uname-values.h: New file.
22413 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
22415         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
22416         splitting into fields.
22418 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
22420         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
22421         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
22422         * locale/localeinfo.h: Add enum collation_encoding_type.
22423         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
22424         * programs/ld-collate.c (collate_output): Add encoding type info.
22425         * string/strcoll_l.c (STRDIFF): New function.
22426         * (STRCOLL): Use STRDIFF to skip over equal prefix.
22427         * wcsmbs/wcscoll_l.c: Define STRDIFF.
22429 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
22431         [BZ #18397]
22432         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
22433         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
22434         <fpu_control.h> instead of <math/fpu_control.c>.
22435         * sysdeps/mips/mips32/fpu/Makefile: New file.
22437 2015-05-11  Andreas Schwab  <schwab@suse.de>
22439         [BZ #18007]
22440         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
22441         nss_endgrent.
22442         (_nss_compat_endgrent): Call nss_endgrent.
22443         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
22444         nss_endpwent.
22445         (_nss_compat_endpwent): Call nss_endpwent.
22446         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
22447         needent, call nss_setspent only if non-zero.
22448         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
22449         (internal_endspent): Don't call nss_endspent.
22450         (_nss_compat_endspent): Call nss_endspent.
22451         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
22452         Remove.  All uses removed.
22453         (internal_setent): Remove parameter stayopen, add parameter
22454         stream.  Use it instead of global variable.
22455         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
22456         (internal_endent, internal_getent): Add parameter stream.  Use it
22457         instead of global variable.
22458         (CONCAT(_nss_files_end,ENTNAME))
22459         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
22460         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
22461         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
22462         uses removed.
22463         (internal_setent, internal_endent): Add parameter stream.  Use it
22464         instead of global variable.
22465         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
22466         stream.
22467         (get_next_alias): Add parameter stream.
22468         (_nss_files_getaliasent_r): Pass global stream.
22469         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
22470         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
22471         (_nss_files_gethostbyname4_r): Pass local stream to
22472         internal_setent, internal_getent and internal_endent.  Remove
22473         locking.
22475 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22477         * tst-strfmon1.c (tests): Update expected currency symbol.
22479 2015-05-08  Roland McGrath  <roland@hack.frob.com>
22481         * sysdeps/nacl/gethostname.c: New file.
22483 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
22485         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
22486         and sinh.
22487         * math/auto-libm-test-out: Regenerated.
22488         * sysdeps/i386/fpu/libm-test-ulps: Update.
22489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22491 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
22493         [BZ #18125]
22494         * stdlib/tst-setcontext3.c: New file.
22495         * stdlib/tst-setcontext3.sh: New file.
22496         * stdlib/Makefile (tests): Add tst-setcontext3.
22497         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
22498         to verify test program created output file.
22499         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
22500         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
22501         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
22502         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
22504 2015-05-06  Roland McGrath  <roland@hack.frob.com>
22506         [BZ #18383]
22507         * elf/tst-tlsalign.c: New file.
22508         * elf/tst-tlsalign-static.c: New file.
22509         * elf/tst-tlsalign-lib.c: New file.
22510         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
22511         (tests-static): Add tst-tlsalign-static.
22512         (modules-names): Add tst-tlsalign-lib.
22513         (test-xfail-tst-tlsalign): New variable.
22514         (test-xfail-tst-tlsalign-static): New variable.
22516         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
22517         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
22519 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
22521         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
22522         csqrt, erfc, sin and sincos.
22523         * math/auto-libm-test-out: Regenerated.
22524         * sysdeps/i386/fpu/libm-test-ulps: Update.
22525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22527 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22529         * sysdeps/aarch64/libm-test-ulps: Update.
22531 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
22533         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
22534         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
22535         * math/auto-libm-test-out: Regenerated.
22536         * sysdeps/i386/fpu/libm-test-ulps: Update.
22537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22539 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
22541         [BZ #18265]
22542         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
22543         (wcsncpy): Likewise.
22545 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22547         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22548         Assume __ASSUME_FALLOCATE is always true.
22549         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22550         (__posix_fallocate64_l64): Likweise.
22551         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
22552         (posix_fallocate): Likewise.
22553         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
22554         (__posix_fallocate64_l64): Likewise.
22555         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22556         [!__ASSUME_FALLOCATE]: Add comment.
22558 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22560         * sysdeps/unix/sysv/linux/i386/Makefile
22561         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
22562         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
22563         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
22564         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22565         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22566         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
22567         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
22569 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
22571         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
22572         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
22573         tgamma.
22574         * math/auto-libm-test-out: Regenerated.
22575         * sysdeps/i386/fpu/libm-test-ulps: Update.
22576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22578 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22580         * math/auto-libm-test-in: Add more tests of tgamma.
22581         * math/auto-libm-test-out: Regenerated.
22582         * sysdeps/i386/fpu/libm-test-ulps: Update.
22583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22585         * math/auto-libm-test-in: Add more tests of tanh.
22586         * math/auto-libm-test-out: Regenerated.
22587         * sysdeps/i386/fpu/libm-test-ulps: Update.
22588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22590         * math/auto-libm-test-in: Add more tests of tan.
22591         * math/auto-libm-test-out: Regenerated.
22592         * sysdeps/i386/fpu/libm-test-ulps: Update.
22593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22595         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
22596         * math/auto-libm-test-out: Regenerated.
22597         * sysdeps/i386/fpu/libm-test-ulps: Update.
22598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22600         * math/auto-libm-test-in: Add another test of pow.
22601         * math/auto-libm-test-out: Regenerated.
22602         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22604         * math/auto-libm-test-in: Add more tests of lgamma.
22605         * math/auto-libm-test-out: Regenerated.
22606         * sysdeps/i386/fpu/libm-test-ulps: Update.
22607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22609         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
22610         log1p.
22611         * math/auto-libm-test-out: Regenerated.
22612         * sysdeps/i386/fpu/libm-test-ulps: Update.
22613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22615 2015-05-01  Mark Wielaard  <mjw@redhat.com>
22617         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
22618         Elf64_Chdr structs and ELFCOMPRESS constants.
22620 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22622         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
22623         expm1.
22624         * math/auto-libm-test-out: Regenerated.
22625         * sysdeps/i386/fpu/libm-test-ulps: Update.
22626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22628         * math/auto-libm-test-in: Add more tests of erf and erfc.
22629         * math/auto-libm-test-out: Regenerated.
22630         * sysdeps/i386/fpu/libm-test-ulps: Update.
22631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22633 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22635         * config.h.in (HAVE_AARCH64_BE): Add.
22637 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
22639         * math/auto-libm-test-in: Add more tests of csqrt.
22640         * math/auto-libm-test-out: Regenerated.
22641         * sysdeps/i386/fpu/libm-test-ulps: Update.
22642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22644         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22645         * math/auto-libm-test-out: Regenerated.
22646         * sysdeps/i386/fpu/libm-test-ulps: Update.
22647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22649         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
22651 2015-04-29  Roland McGrath  <roland@hack.frob.com>
22653         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
22654         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
22656         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
22657         (euidaccess, eaccess): Define as weak aliases.
22659         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
22660         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
22661         but __suseconds_t is often 'long int' so some sources assume that
22662         type is being used (e.g. they use %ld to print tv_usec).
22664 2015-04-29  Florian Weimer  <fweimer@redhat.com>
22666         [BZ #18007]
22667         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
22668         (CVE-2014-8121)
22669         * nss/tst-nss-getpwent.c: New file.
22670         * nss/Makefile (tests): Add new test.
22672 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
22674         [BZ #18346]
22675         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
22676         exponents less than 48 as cases where high part of mantissa needs
22677         examining to determine whether argument is integral.
22678         * math/libm-test.inc (round_test_data): Add more tests.
22680 2015-04-28  Mark Wielaard  <mjw@redhat.com>
22682         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
22684 2015-04-27  David S. Miller  <davem@davemloft.net>
22686         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
22687         __tls_get_addr.
22688         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22690 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
22692         [BZ#18333]
22693         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
22695 2015-04-27  Florian Weimer  <fweimer@redhat.com>
22697         [BZ#18333]
22698         * time/tzset.c (parse_tzname): Return error on memory allocation
22699         failure.
22700         * test-skeleton.c (struct temp_name_list): Change type of name
22701         member to non-const.
22702         (add_temp_file): Create a copy of the file name.
22703         (delete_temp_files): Deallocate memory.
22704         (create_temp_file): Add comment.
22706 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22708         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
22709         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
22711 2015-04-24  Roland McGrath  <roland@hack.frob.com>
22713         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
22714         * sysdeps/arm/configure: Regenerated.
22716 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22718         [BZ #17715]
22719         * time/tzfile.c (__tzfile_read): Check for large values of
22720         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
22721         * time/tzset.c (__tzstring_len): New function, based on the old
22722         __tzstring function.
22723         (__tzstring): Call __tzstring_len.
22724         (parse_tzname): New helper function extracted from
22725         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
22726         the input string.
22727         (parse_offset): New helper function extracted from
22728         __tzset_parse_tz.  Replace switch with fallthrough with
22729         initialization before sscanf.
22730         (parse_rule): Likewise.
22731         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
22732         new-style function definition.
22733         * timezone/Makefile (tests): Add tst-tzset.
22734         (tst-tzset.out): Dependencies on time zone files.
22735         (tst-tzset-ENV): Set TZDIR.
22736         (testdata/XT%): Copy crafted time zone files.
22737         * timezone/README: Mention crafted time zone files.
22738         * timezone/testdata/XT1, timezone/testdata/XT2,
22739         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
22740         files.
22741         * timezone/tst-tzset.c: New test.
22743 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22745         * Makeconfig (+gccwarn): Remove -Winline.
22747 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22749         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
22751 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22753         * NEWS: Mention sysconf() cache information support for s390.
22754         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
22756 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
22758         * math/k_casinh.c (__kernel_casinh): Use __copysign.
22759         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
22760         (__nearbyint): Likewise.
22761         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
22762         (copysignl): Likewise.
22764 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
22766         [BZ #18287]
22767         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
22768         based on padding.  (CVE-2015-1781)
22770 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22772         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
22773         libc-vdso.h.
22774         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
22775         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
22776         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
22777         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22778         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22779         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
22780         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
22781         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22782         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22783         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
22784         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22785         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22786         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22787         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
22788         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22789         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
22790         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
22791         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
22792         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
22793         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
22794         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
22795         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
22796         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
22798 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
22800         * stdlib/setenv.c (__add_to_environ):
22801         Dump core quickly if setenv (..., NULL, ...) is called.
22802         This time, do it the right way, and pacify GCC with a pragma.
22804 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22806         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
22807         IMAP->l_prev cannot be null, and #if out the code for the contrary
22808         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
22809         believe that NS (&_dl_ns[NSID]) could point outside the array.
22811         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
22812         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
22813         before using NSID as an index.
22815 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
22817         [BZ #17825]
22818         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
22819         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
22820         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22822 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22824         Add preliminary port to Google Native Client on ARM.
22825         * abi-tags (.*-.*-nacl.*): New entry.
22826         * sysdeps/arm/nacl: New directory.
22827         * sysdeps/nacl: New directory.
22829 2015-04-16  David S. Miller  <davem@davemloft.net>
22831         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
22832         lowlevellock-futex.h
22834 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
22836         * sysdeps/tile/configure.ac: New file.
22837         * sysdeps/tile/configure: Regenerated.
22839 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22841         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
22842         conditionals for weak_alias and libc_hidden_weak.
22843         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
22844         libc_hidden_weak and weak_alias.
22845         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
22846         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
22847         and weak_alias for static one.
22849 2015-04-15  David S. Miller  <davem@davemloft.net>
22851         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22853 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22855         [BZ #18206]
22856         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
22857           Use signed comparision instead of substraction to avoid
22858           overflow bug.
22859         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
22860           Take the sign of ret.
22861         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
22862           Do not expect precise return values. Only the sign matters.
22863         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
22864         * wcsmbs/test-wcsncmp.c: New File.
22865         * string/test-strncmp.c: Add wcsncmp support.
22867 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22869         [BZ #6792]
22870         * math/w_log1p.c: New file.
22871         * math/w_log1pf.c: Likewise.
22872         * math/w_log1pl.c: Likewise.
22873         * math/Makefile (libm-calls): Add w_log1p.
22874         * math/s_log1pl.c (log1pl): Remove weak_alias.
22875         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
22876         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
22877         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
22878         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
22879         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
22880         [NO_LONG_DOUBLE] (log1pl): Likewise.
22881         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
22882         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
22883         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
22884         (log1p): Remove long_double_symbol.
22885         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
22886         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
22887         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
22888         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
22889         remove weak_alias for corresponding log1p function.
22890         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
22891         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
22892         * sysdeps/ia64/fpu/w_log1p.c: New file.
22893         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
22894         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
22895         * math/libm-test.inc (log1p_test_data): Add errno expectations.
22897 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
22899         [BZ #18247]
22900         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
22901         decimal exponent by 1.
22902         * stdlib/tst-strtod-round-data: Add more tests.
22903         * stdlib/tst-strtod-round.c (tests): Regenerated.
22905 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
22907         * math/auto-libm-test-in: Add more tests of clog and clog10.
22908         * math/auto-libm-test-out: Regenerated.
22909         * sysdeps/i386/fpu/libm-test-ulps: Update.
22910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22912 2015-04-09  Roland McGrath  <roland@hack.frob.com>
22914         * Makeconfig (module-cppflags): Exclude all .v.i files.
22915         (skip-module-cppflags): Variable removed.
22917         * configure.ac (libc_config_ok): Initialize before reading
22918         preconfigure scripts, not after.
22919         * configure: Regenerated.
22921         * test-skeleton.c (TIMEOUT): Move #define to top level.
22922         (main): Grok environment variable TEST_DIRECT.  If set, print
22923         test expectation details into that file and then behave as if
22924         given --direct.
22926 2015-04-09  Florian Weimer  <fweimer@redhat.com>
22928         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
22929         warning on 32-bit.
22931 2015-04-08  David S. Miller  <davem@davemloft.net>
22933         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22935 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22937         * math/auto-libm-test-in: Add more tests of atanh.
22938         * math/auto-libm-test-out: Regenerated.
22939         * sysdeps/i386/fpu/libm-test-ulps: Update.
22940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22942         * math/auto-libm-test-in: Add more tests of atan.
22943         * math/auto-libm-test-out: Regenerated.
22944         * sysdeps/i386/fpu/libm-test-ulps: Update.
22945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22947 2015-04-08  Florian Weimer  <fweimer@redhat.com>
22949         * elf/pldd.c (main): Rewrite to use struct
22950         scratch_buffer instead of extend_alloca.
22951         * elf/pldd-xx.c (find_maps): Likewise.
22952         * grp/initgroups.c: Include <scratch_buffer.h> instead of
22953         <alloca.h>.
22954         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
22955         scratch_buffer instead of extend_alloca.
22956         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
22957         grp/compat-initgroups.c.
22958         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
22959         Rewrite to use struct scratch_buffer instead of extend_alloca.
22960         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
22961         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22963 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22965         * math/auto-libm-test-in: Add more tests of cbrt.
22966         * math/auto-libm-test-out: Regenerated.
22967         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22969         * math/auto-libm-test-in: Add more tests of cabs.
22970         * math/auto-libm-test-out: Regenerated.
22971         * sysdeps/i386/fpu/libm-test-ulps: Update.
22972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22974         [BZ #18210]
22975         [BZ #18211]
22976         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
22977         (__ieee754_atan2): Set FE_TONEAREST mode for internal
22978         computations.
22979         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
22980         clog10.
22981         * math/auto-libm-test-out: Regenerated.
22982         * sysdeps/i386/fpu/libm-test-ulps: Update.
22983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22985         [BZ #18197]
22986         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
22987         (atan): Set FE_TONEAREST mode for internal computations.
22988         * math/auto-libm-test-in: Add more tests of atan.
22989         * math/auto-libm-test-out: Regenerated.
22991 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
22993         [BZ #17930]
22994         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
22996 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22998         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
23000 2015-04-07  Florian Weimer  <fweimer@redhat.com>
23002         * include/scratch_buffer.h: New file.
23003         * malloc/scratch_buffer_grow.c: Likewise.
23004         * malloc/scratch_buffer_grow_preserve.c: Likewise.
23005         * malloc/scratch_buffer_set_array_size.c: Likewise.
23006         * malloc/tst-scratch_buffer.c: Likewise.
23007         * malloc/Makefile (routines): Add scratch_buffer_grow.
23008         (tests): Add test case.
23009         * malloc/Versions (GLIBC_PRIVATE): Export
23010         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
23011         __libc_scratch_buffer_set_array_size.
23013 2015-04-06  Richard Henderson  <rth@redhat.com>
23015         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
23016         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23018         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
23019         unsigned int before printing.
23021 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23023         [BZ #17596]
23024         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
23025         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23027 2015-04-02  Florian Weimer  <fweimer@redhat.com>
23029         * include/libc-internal.h (libc_max_align_t): Define.
23031 2015-04-02  Andreas Schwab  <schwab@suse.de>
23033         [BZ #16850]
23034         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
23036 2015-04-02  Mel Gorman  <mgorman@suse.de>
23038         [BZ #17195]
23039         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
23040         as well as the main arena.
23042 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23044         [BZ #18185]
23045         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
23046         sharing L2 cache to 2 for Silvermont/Knights Landing.
23048 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23050         [BZ #17711]
23051         * config.make.in (have-protected-data): New.
23052         * configure.ac: Check linker support for protected data symbol.
23053         * configure: Regenerated.
23054         * elf/Makefile (modules-names): Add tst-protected1moda and
23055         tst-protected1modb if $(have-protected-data) is yes.
23056         (tests): Add tst-protected1a and tst-protected1b if
23057         $(have-protected-data) is yes.
23058         ($(objpfx)tst-protected1a): New.
23059         ($(objpfx)tst-protected1b): Likewise.
23060         (tst-protected1modb.so-no-z-defs): Likewise.
23061         * elf/tst-protected1a.c: New file.
23062         * elf/tst-protected1b.c: Likewise.
23063         * elf/tst-protected1mod.h: Likewise.
23064         * elf/tst-protected1moda.c: Likewise.
23065         * elf/tst-protected1modb.c: Likewise.
23067 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23069         [BZ #17711]
23070         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
23071         indicates it is called from do_lookup_x on relocation against
23072         protected data, skip the data definion in the executable from
23073         copy reloc.
23074         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
23075         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
23076         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
23077         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
23078         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
23079         otherwise to 0.
23080         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23081         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
23082         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
23083         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23084         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
23085         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
23087 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
23089         * sysdeps/nptl/pthread.h: Remove duplicate definition of
23090         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
23092 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
23094         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
23095         THREAD_SETMEM_NC.
23096         * sysdeps/x86_64/nptl/tls.h: Ditto.
23098 2015-03-27  Roland McGrath  <roland@hack.frob.com>
23100         * dlfcn/tststatic.c (main): Converted to ...
23101         (do_test): ... this.
23102         (TEST_FUNCTION): New macro.
23103         Include test-skeleton.c.
23105 2015-03-26  Alan Modra  <amodra@gmail.com>
23107         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
23108         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
23109         zero for undefined weak.
23110         (elf_machine_plt_conflict): Similarly.
23112 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23114         * math/auto-libm-test-in: Add more tests of acosh, asinh and
23115         atanh.
23116         * math/auto-libm-test-out: Regenerated.
23117         * sysdeps/i386/fpu/libm-test-ulps: Update.
23118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23120         * math/auto-libm-test-in: Add another test of asin.
23121         * math/auto-libm-test-out: Regenerated.
23122         * sysdeps/i386/fpu/libm-test-ulps: Update.
23123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23125         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
23126         Remove macro.
23127         (LLL_EBX_REG): Likewise.
23128         (LLL_ENTER_KERNEL): Likewise.
23130         * math/auto-libm-test-in: Add more tests of asin.
23131         * math/auto-libm-test-out: Regenerated.
23132         * sysdeps/i386/fpu/libm-test-ulps: Update.
23133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23135         [BZ #18138]
23136         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
23137         libc_do_syscall_args): New structure.
23138         (INTERNAL_SYSCALL_MAIN_0): New macro.
23139         (INTERNAL_SYSCALL_MAIN_1): Likewise.
23140         (INTERNAL_SYSCALL_MAIN_2): Likewise.
23141         (INTERNAL_SYSCALL_MAIN_3): Likewise.
23142         (INTERNAL_SYSCALL_MAIN_4): Likewise.
23143         (INTERNAL_SYSCALL_MAIN_5): Likewise.
23144         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
23145         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
23146         Replace conditional definitions by conditional definitions of ....
23147         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
23148         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
23149         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
23150         (libpthread-sysdep_routines): Add libc-do-syscall.
23151         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
23152         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
23153         to __NR_futex not 240.
23155 2015-03-25  Alan Modra  <amodra@gmail.com>
23157         * NEWS: Advertise TLS optimization.
23158         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
23159         (DT_PPC_NUM): Increment.
23160         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
23161         (CHECK_STATIC_TLS): Use here.
23162         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
23163         TLS descriptors.
23164         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23165         * sysdeps/powerpc/dl-tls.c: New file.
23166         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
23167         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
23168         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
23169         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
23170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
23171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
23172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
23174 2015-03-25  Alan Modra  <amodra@gmail.com>
23176         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
23177         for overlapping .opd entries" to "support...".
23178         * sysdeps/powerpc/powerpc64/configure: Regenerate
23180 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23182         * math/auto-libm-test-in: Add more tests of acos.
23183         * math/auto-libm-test-out: Regenerated.
23184         * sysdeps/i386/fpu/libm-test-ulps: Update.
23185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23187         * math/auto-libm-test-in: Add more tests of expm1.
23188         * math/auto-libm-test-out: Regenerated.
23189         * sysdeps/i386/fpu/libm-test-ulps: Update.
23190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23192 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
23194         * math/auto-libm-test-in: Add more tests of cosh and sinh.
23195         * math/auto-libm-test-out: Regenerated.
23196         * sysdeps/i386/fpu/libm-test-ulps: Update.
23197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23199         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23202         * math/auto-libm-test-in: Add more tests of log2.
23203         * math/auto-libm-test-out: Regenerated.
23204         * sysdeps/i386/fpu/libm-test-ulps: Update.
23205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23207 2015-03-23  Roland McGrath  <roland@hack.frob.com>
23209         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
23210         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
23211         _IO_IS_APPENDING bit in READ_WRITE instead.
23213 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23215         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
23216         (__determine_cpumask_size): Replace extend_alloca with a
23217         variable-length array.  Do not treat res == 0 as an error.
23219 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23221         [BZ #18100]
23222         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
23223         and integer overflow.
23224         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
23225         (main): Add integer overflow tests.
23226         * manual/pattern.texi (Calling Wordexp): Document additional use
23227         for WRDE_SYNTAX.
23229 2015-03-23  Alan Modra  <amodra@gmail.com>
23231         * config.h.in: Remove HAVE_ASM_PPC_REL16.
23232         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
23233         and false branch of conditional.
23234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23235         Likewise.
23237 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
23239         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
23240         libc-modules.h
23241         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
23242         unused declaration of _hurd_intr_rpc_msg_in_trap.
23243         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
23244         defined instead of whether it is non-zero.
23245         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
23246         input constraint instead of both input and output constraint.  Use ecx
23247         clobber instead of %ecx.
23248         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
23249         mutex_unlock): Use a statement expression instead of an expression list.
23250         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
23251         type to vm_size_t instead of vm_address_t.
23252         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
23253         defined instead of whether it is non-zero.
23254         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
23255         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
23256         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
23257         comparisons with mapaddr.
23258         * nscd/nscd-client.h: Include <time.h>.
23259         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
23260         9th parameter to __vm_region instead of int.
23261         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
23262         * scripts/check-local-headers.sh (exclude): Add device/,
23263         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
23264         cthreads.h.
23266 2015-03-19  Roland McGrath  <roland@hack.frob.com>
23268         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
23269         to account for alignment padding.
23270         * sysdeps/arm/memmove.S: Likewise.
23272 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
23274         * sysdeps/unix/sysv/linux/generic/README: New file.
23276 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
23278         [BZ #18138]
23279         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
23280         (futex_abstimed_wait)
23281         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
23282         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
23283         of lll_futex_timed_wait.
23285 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
23287         [BZ #17542]
23288         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
23290 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
23292         [BZ #17090]
23293         [BZ #17620]
23294         [BZ #17621]
23295         [BZ #17628]
23296         * NEWS: Update.
23297         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
23298         entries with Static TLS too.  Skip entries past the end of the
23299         allocated DTV, from Alan Modra.
23300         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
23301         Static TLS DTV entry set up from...
23302         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
23303         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
23304         * nptl/allocatestack.c (init_one_static_tls): ... and here...
23305         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
23306         for Static TLS.
23307         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
23308         that the slot we find is associated with the given map before
23309         using its generation count.
23310         * nptl_db/db_info.c: Include ldsodefs.h.
23311         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
23312         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
23313         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
23314         (link_map::l_tls_offset): New struct field.
23315         (dtv_t::counter): Likewise.
23316         (rtld_global): New struct.
23317         (_rtld_global): New rtld variable.
23318         (dl_tls_dtv_slotinfo_list): New rtld global field.
23319         (dtv_slotinfo_list): New struct.
23320         (dtv_slotinfo): Likewise.
23321         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
23322         (td_lookup): Rename to...
23323         (td_mod_lookup): ... this.  Use new mod parameter instead of
23324         LIBPTHREAD_SO.
23325         * nptl_db/td_thr_tlsbase.c: Include link.h.
23326         (dtv_slotinfo_list, dtv_slotinfo): New functions.
23327         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
23328         addresses even if the DTV is out of date or missing them.
23329         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
23330         index zero-length arrays.
23331         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
23332         (td_lookup): Make it a macro implemented in terms of...
23333         (td_mod_lookup): ... this declaration.
23334         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
23335         (DB_MAIN_VARIABLE): Likewise.
23337 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23339         [BZ #18134]
23340         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23342 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
23344         * stdlib/setenv.c (__add_to_environ): Revert previous change.
23346 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
23348         [BZ #18128]
23349         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
23350         (atomic_add, atomic_increment_and_test)
23351         (atomic_decrement_and_test): Fix 64-bit arithmetic.
23353 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
23355         * stdlib/setenv.c (__add_to_environ):
23356         Dump core quickly if setenv (..., NULL, ...) is called.
23358 2015-03-13  Roland McGrath  <roland@hack.frob.com>
23360         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
23361         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
23362         all the necessary asm magic in one place.
23363         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
23364         using those.
23366 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
23368         [BZ #14906]
23369         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
23370         traced file mtime. Use consistent log message.
23371         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
23372         (register_traced_file): Call install_watches. Always set mtime.
23373         (invalidate_cache): Iterate over all trace files. Call install_watches.
23374         (inotify_check_files): Don't inline. Handle watching parent
23375         directories and configuration file movement in and out.
23376         (handle_inotify_events): New function.
23377         (main_loop_poll): Call handle_inotify_events.
23378         (main_loop_epoll): Likewise.
23379         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
23380         (struct traced_file): Use array of inotify fds. Add parent directory,
23381         and basename.
23382         (struct database_dyn): Remove unused file_mtime.
23383         (init_traced_file): New inline function.
23384         (define_traced_file): New macro.
23385         * nss/nss_db/db-init.c: Use define_traced_file.
23386         (_nss_db_init): Use init_traced_file.
23387         * nss/nss_files/files-init.c: Use define_traced_file.
23388         (_nss_files_init): Use init_traced_file.
23390 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
23392         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
23393         [_LIBC]: Do not include <stdlib.h>.
23394         [!_LIBC] (abort): Remove declaration.
23395         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
23396         _FP_STATIC_ASSERT instead of conditionally calling abort.
23397         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
23398         (_FP_EXTEND_CNAN): Likewise.
23399         (FP_TRUNC): Likewise.
23400         (__FP_CLZ): Likewise.
23401         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
23403 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
23405         * manual/string.texi (XPG basename): Fix prototype.
23407 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23409         [BZ #18080]
23410         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
23411         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23412         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
23413         (__setcontext): Likewise.
23414         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
23415         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23416         Call rt_sigprocmask syscall one time to set new signal mask
23417         and retrieve the current signal mask instead of two calls.
23418         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
23419         (__swapcontext): Likewise.
23420         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
23421         * stdlib/tst-setcontext2.c: New file.
23423 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23425         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23427 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
23429         [BZ #18093]
23430         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
23431         the wrong size.
23433 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
23435         [BZ #18043]
23436         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
23438 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23440         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
23441         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
23442         Remove define.
23443         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
23444         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
23445         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
23446         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
23447         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
23448         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
23449         define.
23450         * nptl_db/td_symbol_list.c (td_lookup): Remove
23451         HAVE_ASM_GLOBAL_DOT_NAME code.
23452         * sysdeps/powerpc/powerpc64/configure.ac: Remove
23453         HAVE_ASM_GLOBAL_DOT_NAME check.
23454         * sysdeps/powerpc/powerpc64/configure: Regenerate.
23455         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
23456         (DOT_LABEL): Remove define.
23457         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
23458         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
23459         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
23460         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
23461         (__TLS_GET_ADDR): Likewise.
23462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
23463         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
23465 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
23467         [BZ #18111]
23468         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
23469         (_FPU_SETCW): Initialize cw from fpsr before storing.
23470         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
23471         (fesetexceptflag): Rewrite using fpu_control.h.
23472         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
23474 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
23476         [BZ #18110]
23477         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
23478         asms.
23479         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23481 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
23483         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
23484         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
23485         abort.
23486         (_FP_FMA): Likewise.
23487         (_FP_DIV): Likewise.
23489 2015-03-10  Roland McGrath  <roland@hack.frob.com>
23491         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
23492         with 0 in that case.
23493         * Makefile (summarize-tests): New canned sequence, factored out of
23494         commands for targets tests and xtests.  Display summary lines that
23495         don't start with PASS: or XFAIL: rather than ones that do start with
23496         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
23497         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
23498         do start with ERROR: or FAIL:.
23499         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
23500         (except for [$(build-shared) = yes]).
23501         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
23502         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
23503         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
23504         * nptl/Makefile: Revert 2015-03-04 changes.
23505         [$(CXX) empty] (tests-unsupported): New variable.
23506         * debug/Makefile: Likewise.
23508         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
23509         gnulib file.  Replace __attribute with __attribute__ throughout.
23511 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
23513         * sysdeps/hppa/fpu/libm-test-ulps: Update.
23515 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23517         [BZ #18104]
23518         * math/auto-libm-test-in: Add another test of pow.
23519         * math/auto-libm-test-out: Regenerated.
23521 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23523         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
23524         $(config-cflags-nofma).
23526 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23528         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
23529         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
23530         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
23531         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
23532         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
23533         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
23534         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
23535         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
23536         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
23537         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
23538         Add comment on closing #endif.
23540 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23542         * posix/wordexp.c (CHAR_IN_SET): New macro.
23543         (parse_param): Use it.
23545 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23547         * sysdeps/powerpc/fpu/libm-test-ulps: update.
23549 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23551         [BZ #18043]
23552         * posix/wordexp.c (parse_param): Fix buffer overflow.
23553         * posix/wordexp-test.c (test_case): Add test case.
23555 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23557         [BZ #18042]
23558         * posix/wordexp.c (parse_backtick): Fix off-by-one.
23559         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
23561 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23563         [BZ #18043]
23564         * posix/wordexp-test.c (test_case): Add test for BZ #18043
23565         (do_bz18043): Delete.
23566         (at_page_end): New.
23567         (testit): Refactor to have words at the edge of unreadable page.
23569 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23571         [BZ #16734]
23572         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
23573         Cleanup read-only streams as well.
23574         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
23576 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23578         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
23579         <bits/libc-lockP.h>
23581 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
23583         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
23584         on [__KERNEL__].
23585         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
23586         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
23587         * soft-fp/op-common.h (_FP_DECL): Likewise.
23589 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23591         * elf/ifuncdep2.c (global): Replace
23592         __attribute__((visibility("protected"))) with
23593         asm (".protected global").
23594         * elf/ifuncmod1.c (global): Likewise.
23595         * elf/ifuncmod5.c (global): Likewise.
23597 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
23599         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
23600         <asm/sfp-machine.h> instead of <sfp-machine.h>.
23602 2015-03-06  Roland McGrath  <roland@hack.frob.com>
23604         * manual/install.texi (Configuring and compiling):
23605         Document test-wrapper-env-only.
23606         * INSTALL: Regenerated.
23608 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23610         [BZ #18043]
23611         * posix/wordexp.c (parse_param): Fix buffer overflow.
23612         * posix/wordexp-test.c (do_bz18043): Add test case.
23614 2015-03-06  Vincent Bernat  <vincent@bernat.im>
23616         * time/tst-strptime2.c (do_test): Ensure failing tests are
23617         reported correctly.
23618         * time/tst-strptime3.c (do_test): Likewise.
23620 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
23622         Fix aio_error thread-safety.
23623         * sysdeps/pthread/aio_error.c: New file
23624         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
23625         synchronization.
23627 2015-03-06  Florian Weimer  <fweimer@redhat.com>
23629         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
23630         (group_number, vfprintf): Use it.
23631         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
23632         (JUMP, REF): Use it.
23633         (WORK_BUFFER_SIZE): New enum constant.
23634         (process_arg, vfprintf): Use it.
23636 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
23638         * manual/errno.texi (Error Messages): Complete example function
23639         by adding missing #define.
23640         (program_invocation_name): Add statement indicating GNU
23641         extension and reference which header file declares the variable.
23642         (program_invocation_short_name): Likewise.
23644 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
23646         * manual/errno.texi (Error Messages): Delete strerror ISO C89
23647         compatibility note.
23649 2015-03-05  Roland McGrath  <roland@hack.frob.com>
23651         * Makeconfig (test-wrapper-env-only): New variable.
23652         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
23653         then use that with $(test-wrapper-env-only) rather than using
23654         $(test-wrapper-env) $(run-program-env) $($*-ENV).
23656 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
23658         [BZ #18082]
23659         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
23660         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
23661         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
23662         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
23663         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
23664         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
23665         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
23666         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
23667         Likewise.
23668         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
23669         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
23670         Likewise.
23671         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
23672         Likewise.
23673         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
23674         Likewise.
23675         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
23676         Likewise.
23677         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
23678         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
23679         Likewise.
23680         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
23681         Likewise.
23682         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
23683         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
23685 2015-03-04  Roland McGrath  <roland@hack.frob.com>
23687         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
23688         (ETH_ALEN): New macro.
23689         (struct ether_addr): Use it for length of ether_addr_octet.
23691         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
23692         (setdb): Don't call __nss_configure_lookup for "rpc".
23693         (do_test): Don't call test_rpc.
23694         (output_rpcent, test_rpc): Functions moved ...
23695         * sunrpc/test-rpcent.c: ... to this new file.
23696         * sunrpc/Makefile (tests): Add it.
23698         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
23699         __xpg_sigpause.
23700         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
23701         * nptl/tst-signal6.c: Likewise.
23702         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
23703         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
23705         * configure.ac (libc_cv_cxx_link_ok): New check.
23706         Reset CXX to empty if it fails to link.
23707         * configure: Regenerated.
23708         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
23709         bug-atexit3-lib only if $(CXX) is nonempty.
23710         * nptl/Makefile (tests): Likewise for tst-cancel24.
23711         (tests, tests-static): Likewise for tst-cancel24-static.
23712         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
23713         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
23714         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
23715         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
23717 2015-03-04  Andreas Schwab  <schwab@suse.de>
23719         [BZ #17631]
23720         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
23721         for non-GCC compilers.
23722         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23723         Likewise.
23725 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23727         [BZ #17776]
23728         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
23729         integer before bitwise and assembly operations.
23730         (feclearexcept): Likewise.
23731         * math/test-fenvinline.c: New file.
23732         * math/Makefile: Add test-fenvinline test.
23734 2015-03-03  Alan Modra  <amodra@gmail.com>
23736         [BZ #16512]
23737         * scripts/localplt.awk: Strip off symbol version.
23738         * NEWS: Mention bug fix.
23740 2015-03-02  Roland McGrath  <roland@hack.frob.com>
23742         * sysdeps/pthread/timer_routines.c
23743         (timer_free_list, thread_free_list, thread_active_list): Make static.
23745 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
23747         [BZ #17779]
23748         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23749         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23750         Undefine.
23751         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23752         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23753         Likewise.
23754         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23755         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23756         Likewise.
23758 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
23760         [BZ #18036]
23761         * posix/fnmatch_loop.c (END): Detect invalid pattern.
23762         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
23764 2015-03-02  Andreas Schwab  <schwab@suse.de>
23766         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
23767         variable name.
23769 2015-03-02  Florian Weimer  <fweimer@redhat.com>
23771         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
23772         Return error status.
23774 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
23776         [BZ #15969]
23777         * locale/findlocale.c (_nl_find_locale): Introduce const
23778         version of loc_name and drop unsafe type casts.
23780 2015-02-27  Roland McGrath  <roland@hack.frob.com>
23782         * dlfcn/tststatic2.c (main): Converted to ...
23783         (do_test): ... this.
23784         (TEST_FUNCTION): New macro.
23785         Include test-skeleton.c.
23787 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
23789         [BZ #17711]
23790         * elf/Makefile (tests): Add vismain only if PIE is enabled.
23791         (tests-pie): Add vismain.
23792         (CFLAGS-vismain.c): New.
23793         * elf/vismain.c: Add comments for PIE requirement.
23795 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23797         [BZ #18046]
23798         [BZ #18047]
23799         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
23800         0x1p-56L as threshold for just returning the argument.
23801         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
23802         0x1p-32L as threshold for just returning the argument.
23803         * math/auto-libm-test-in: Add more tests of atanh.
23804         * math/auto-libm-test-out: Regenerated.
23805         * sysdeps/i386/fpu/libm-test-ulps: Update.
23806         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
23808 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23810         * string/bcopy.c (bcopy): Call memmove for performance.
23812 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23814         * string/bzero.c (__bzero): Call memset for performance.
23816 2015-02-27  John David Anglin  <dave.anglin@bell.net>
23818         [BZ #18068]
23819         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
23820         to 00100000.
23822 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23824         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
23826 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23828         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
23829         (__kernel_standard): Use CSTR macro when setting exc.name.
23830         * sysdeps/ieee754/Makefile [$(subdir) = math]
23831         (CFLAGS-k_standard.c): Remove variable.
23833         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
23834         setting p and q from "else if" to "else".
23835         (qzero): Likewise.
23836         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
23837         (qone): Likewise.
23838         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
23839         (qzerof): Likewise.
23840         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
23841         (qonef): Likewise.
23842         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
23843         (qzero): Likewise.
23844         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
23845         (qone): Likewise.
23847         [BZ #18038]
23848         [BZ #18039]
23849         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
23850         return pi/2 for arguments below 0x1p-113L.
23851         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
23852         return pi/2 for arguments below 0x1p-106L.
23853         * math/auto-libm-test-in: Add more tests of acos.
23854         * math/auto-libm-test-out: Regenerated.
23856         [BZ #16351]
23857         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
23858         (MO): New macro.
23859         (__ieee754_asin): Force underflow exception for results with small
23860         absolute value.
23861         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
23862         (MO): New macro.
23863         (__ieee754_asinf): Force underflow exception for results with
23864         small absolute value.
23865         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
23866         (__ieee754_asin): Force underflow exception for results with small
23867         absolute value.
23868         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
23869         (__ieee754_asinf): Force underflow exception for results with
23870         small absolute value.
23871         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
23872         (__ieee754_asinl): Force underflow exception for results with
23873         small absolute value.
23874         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
23875         (__ieee754_asinl): Force underflow exception for results with
23876         small absolute value.
23877         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
23878         (__ieee754_asinl): Force underflow exception for results with
23879         small absolute value.
23880         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23881         Include <math.h>.
23882         * math/auto-libm-test-in: Do not mark underflow exceptions as
23883         possibly missing for bug 16351.
23884         * math/auto-libm-test-out: Regenerated.
23886         [BZ #18030]
23887         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
23888         of power of 2 down when low part has opposite sign.
23889         * math/libm-test.inc (logb_test_data): Add more tests.
23891 2015-02-26  Andreas Schwab  <schwab@suse.de>
23893         [BZ #18032]
23894         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
23895         over collating symbol inside a bracket expression.  Minor cleanup.
23896         * posix/tst-fnmatch3.c (do_test): Add test case.
23898 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23900         [BZ #18029]
23901         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
23902         Adjust exponent of power of 2 down when low part has opposite
23903         sign.
23904         * math/libm-test.inc (ilogb_test_data): Add more tests.
23906 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
23908         [BZ #15969]
23909         * locale/findlocale.c (_nl_find_locale): Fix constness error in
23910         the previous change.
23912         [BZ #15969]
23913         * locale/findlocale.c (_nl_find_locale): Retry archive search
23914         after alias expansion.
23916 2015-02-25  Roland McGrath  <roland@hack.frob.com>
23918         * iconv/tst-iconv3.c (main): Converted to ...
23919         (do_test): ... this.
23920         (TEST_FUNCTION): New macro.
23921         Include test-skeleton.c.
23923         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
23924         (convert): Make function static.
23925         (test_unalign): Likewise.  Add const to argument pointee types.
23926         (main): Replace with static function do_test.
23927         Print "Succeeded." only if RET is zero.
23928         (TEST_FUNCTION): New macro.
23929         Include test-skeleton.c.
23931         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
23932         returns a null pointer.
23934 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23936         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
23937         to __memcpy_ppc only for static builds.
23939 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
23941         [BZ #18020]
23942         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
23943         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
23944         * math/auto-libm-test-in: Add more tests of asinh.
23945         * math/auto-libm-test-out: Regenerated.
23946         * sysdeps/i386/fpu/libm-test-ulps: Update.
23947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23949 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
23951         [BZ #15850]
23952         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
23953         and ip6_mtuinfo definitions here.
23954         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
23955         in this define too.  Update comment.
23957 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
23959         * elf/sprof.c (load_shobj): Tweak error message to match others.
23961 2015-02-24  Kevin Easton  <kevin@guarana.org>
23963         [BZ #16145] (partial fix)
23964         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
23965         to reduce lock contention.
23967 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
23969         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
23970         (struct timex): Update time comment.
23971         (ADJ_SETOFFSET): Define.
23973 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23975         [BZ #18019]
23976         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23977         2**56 not 2**28 as threshold for log (2x) formula.
23978         * math/auto-libm-test-in: Add more tests of acosh.
23979         * math/auto-libm-test-out: Regenerated.
23980         * sysdeps/i386/fpu/libm-test-ulps: Update.
23981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23983 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23985         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
23986         parenthesis around the buf assignment.
23987         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
23989 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23991         [BZ #16783]
23992         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
23993         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
23994         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
23995         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23996         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23997         * math/libm-test.inc (scalb_test_data): Add more tests.
23999 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24001         [BZ #17916]
24002         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
24003         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
24005 2015-02-24  Eric Rannaud  <e@nanocritical.com>
24007         [BZ #17523]
24008         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
24009         * io/bits/fcntl2.h (open): Use it.
24010         (openat): Likewise.
24011         * io/open.c (__libc_open): Likewise.
24012         * io/open64.c (__libc_open64): Likewise.
24013         * io/open64_2.c (__open64_2): Likewise.
24014         * io/open_2.c (__open_2): Likewise.
24015         * io/openat.c (__openat): Likewise.
24016         * io/openat64.c (__openat64): Likewise.
24017         * io/openat64_2.c (__openat64_2): Likewise.
24018         * io/openat_2.c (__openat_2): Likewise.
24019         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
24020         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
24021         * sysdeps/posix/open64.c (__libc_open64): Likewise.
24022         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24023         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
24024         (__open_nocancel): Likewise.
24025         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
24026         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
24027         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
24029 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24031         [BZ #14841]
24032         * resolv/gethnamaddr.c (getanswer): Skip logging if
24033         RES_USE_DNSSEC is set.
24034         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24036 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
24038         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
24040 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
24042         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
24043         201304L, for Unicode 7.
24045 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
24047         [BZ #17836]
24048         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
24049         shared library.  Add gmon-start.os otherwise.
24050         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
24051         $(objpfx)gmon-start.os if builing shared library.
24052         ($(objpfx)g$(static-start-installed-name)): Likewise.
24054 2015-02-23  Andreas Schwab  <schwab@suse.de>
24056         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
24058 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
24060         [BZ #17269]
24061         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
24062         (enlarge_userbuf): Likewise.
24064 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
24066         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
24067         * math/atest-exp.c (TIMEOUT): Adjust to 200.
24068         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
24069         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
24071 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
24073         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
24074         expression inside statement expression.
24076 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24078         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
24079         <sysdeps/nptl/lowlevellock.h> and remove macros and
24080         functions that are now defined there.
24081         (SYS_futex): Remove.
24082         (lll_compare_and_swap): Remove.
24083         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
24085 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
24087         [BZ #17999]
24088         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
24089         instead of scandirat.
24090         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
24091         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
24092         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
24093         __scandirat.
24094         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
24095         (__scandirat): Declare.  Use libc_hidden_proto.
24096         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
24097         Remove variable.
24098         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24100 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24102         [BZ #15319]
24103         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
24104         (MO): New macro.
24105         (__ieee754_atan2): For results with small absolute value, force
24106         underflow exception and remove excess range and precision from
24107         return value.
24108         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
24109         (MO): New macro.
24110         (__ieee754_atan2f): For results with small absolute value, force
24111         underflow exception and remove excess range and precision from
24112         return value.
24113         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
24114         (MO): New macro.
24115         (__atan): For results with small absolute value, force underflow
24116         exception and remove excess range and precision from return value.
24117         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
24118         (MO): New macro.
24119         (__atanf): For results with small absolute value, force underflow
24120         exception and remove excess range and precision from return value.
24121         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
24122         <math.h>.
24123         (__ieee754_atan2): Force underflow exception for results with
24124         small absolute value.
24125         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
24126         <math_private.h>.
24127         (atan): Force underflow exception for results with small absolute
24128         value.
24129         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
24130         (__atanf): Force underflow exception for results with small
24131         absolute value.
24132         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
24133         <math.h>.
24134         (__atanl): Force underflow exception for results with small
24135         absolute value.
24136         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
24137         (__atanl): Force underflow exception for results with small
24138         absolute value.
24139         * sysdeps/x86/fpu/bits/mathinline.h
24140         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
24141         (__ieee754_atan2): Only define inline for long double.
24142         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
24143         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
24144         * math/auto-libm-test-in: Do not mark underflow exceptions as
24145         possibly missing for bug 15319.  Add more tests of atan2.
24146         * math/auto-libm-test-out: Regenerated.
24147         * math/libm-test.inc (casin_test_data): Do not mark underflow
24148         exceptions as possibly missing for bug 15319.
24149         (casinh_test_data): Likewise.
24150         * sysdeps/i386/fpu/libm-test-ulps: Update.
24152 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
24154         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
24155         * sysdeps/mips/bits/endian.h: Fix comments.
24157 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24159         [BZ #17996]
24160         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
24161         (hdestroy_r): Likewise.
24162         (hsearch_r): Likewise.
24163         (__hcreate_r): Declare and use libc_hidden_proto.
24164         (__hdestroy_r): Likewise.
24165         (__hsearch_r): Likewise.
24166         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
24167         (hcreate): Call __hcreate_r instead of hcreate_r.
24168         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
24169         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
24170         as weak alias of __hcreate_r.
24171         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
24172         __hdestroy_r.
24173         (hsearch_r): Rename to __hsearch_r and define as weak alias of
24174         __hsearch_r.
24175         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
24176         Remove variable.
24177         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24178         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24179         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24180         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24182 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24184         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
24185         arena_lock into a single arena_get.
24187 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
24189         * dl-reloc.c: Inlucde libc-internal.h.
24190         (_dl_try_allocate_static_tls): Call ALIGN_UP.
24191         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
24192         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
24193         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
24194         (grow_heap): Likewise.
24195         * malloc/malloc.c: Include libc-internal.h.
24196         (do_check_malloc): Call powerof2.
24197         (sysmalloc): Use pagesize. Call ALIGN_UP.
24198         (systrim): Use pagesize.
24199         (mremap_chunk): Use pagesize. Call ALIGN_UP.
24200         (__libc_valloc): Use pagesize.
24201         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
24203 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24205         [BZ #17991]
24206         * include/sys/resource.h (__getrlimit64): Declare.  Use
24207         libc_hidden_proto.
24208         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
24209         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
24210         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
24211         getrlimit64.
24212         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
24213         __getrlimit64.
24214         [!getrlimit64] (getrlimit64): Define as weak alias of
24215         __getrlimit64.  Use libc_hidden_weak.
24216         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
24217         using __getrlimit64 not __new_getrlimit64.
24218         (__GI_getrlimit64): Likewise.
24219         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
24220         Likewise.
24221         (__GI_getrlimit64): Likewise.
24222         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
24223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
24224         (getrlimit): Add __getrlimit64 alias.
24225         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
24226         Likewise.
24227         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
24228         Remove variable.
24229         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24230         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24232 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
24234         * libio/fileops.c: Add missing sys/mman.h
24235         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
24237 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24239         * manual/math.texi (Errors in Math Functions): Clarify goals
24240         regarding inexact and underflow exceptions.
24242 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24244         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
24245         * sysdeps/mips/memset.S: Ditto.
24247 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24249         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
24251 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24253         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
24254         (__v1longjmp): Remove versioned symbol.
24255         (__v1siglongjmp): Remove alias and versioned symbol.
24256         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
24257         (__v2siglongjmp): Likewise.
24259 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24261         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
24263 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
24265         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
24267 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24269         [BZ #17987]
24270         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
24271         zero result does not depend on the sign resulting from
24272         subtraction.
24273         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24274         Likewise.
24275         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24276         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24277         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24278         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24279         * math/libm-test.inc (remquo_test_data): Add more tests.
24281 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
24283         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
24284         Problem reported by J William Piggott.
24286 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24288         [BZ #17978]
24289         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
24290         products 4 * y and 2 * y where those would overflow.
24291         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24292         Likewise.
24293         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24294         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24295         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24296         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24297         * math/libm-test.inc (remquo_test_data): Add more tests.
24299         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
24301         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
24302         [defined _COMPILING_NEWLIB].
24303         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
24304         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
24306         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
24307         [!defined __mips_isa_rev || __mips_isa_rev < 6].
24309 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24311         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
24312         acquired.
24314 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
24316         [BZ #17792]
24317         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
24318         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
24319         HOST_STACK_END_ADDR): Likewise.
24321 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
24323         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
24324         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
24325         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
24327 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24329         * sysdeps/generic/c++-types.data: New file.
24330         * sysdeps/generic/ld.abilist: New file.
24331         * sysdeps/generic/libBrokenLocale.abilist: New file.
24332         * sysdeps/generic/libanl.abilist: New file.
24333         * sysdeps/generic/libc.abilist: New file.
24334         * sysdeps/generic/libcrypt.abilist: New file.
24335         * sysdeps/generic/libdl.abilist: New file.
24336         * sysdeps/generic/libm.abilist: New file.
24337         * sysdeps/generic/libpthread.abilist: New file.
24338         * sysdeps/generic/libresolv.abilist: New file.
24339         * sysdeps/generic/librt.abilist: New file.
24341 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24343         [BZ #17569]
24344         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24345         Compute absolute value of x as modified by fmod, not original
24346         value of x.
24347         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
24348         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
24349         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
24350         RUN_TEST_ffI_f1_mod8.
24351         (remquo_test_data): Add more tests.
24353 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24355         * sysdeps/init_array/pt-crti.S: New file.
24357 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24359         [BZ #17967]
24360         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
24361         __builtin_fmaf instead of relying on contraction of a * b + c.
24363 2015-02-12  J William Piggott  <elseifthen@gmx.com>
24365         [BZ #17969]
24366         * manual/time.texi: correct the zoneinfo path in the TZ Variable
24367         node.
24369 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24371         [BZ #17964]
24372         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
24373         __builtin_fma instead of relying on contraction of a * b + c.
24375 2015-02-12  Roland McGrath  <roland@hack.frob.com>
24377         * Makeconfig (ASFLAGS): Add -Werror=undef.
24378         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
24379         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
24380         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
24382         * Makeconfig (after-link): New variable.
24383         (+link-pie, +link-pie-tests): Use it.
24384         (+link-static, +link-static-tests): Likewise.
24385         (+link, +link-tests): Likewise.
24386         * Makerules (build-module, build-module-asneeded): Likewise.
24387         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
24388         Likewise.
24389         * elf/Makefile ($(objpfx)ld.so): Likewise.
24391 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
24393         [BZ #17965]
24394         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
24395         both struct timeval and struct timespec.
24397 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24399         [BZ #16560]
24400         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24401         and redefine.
24402         (__ieee754_exp2l): Do not multiply small fractional parts by
24403         M_LN2l.
24404         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
24405         small argument.
24406         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24407         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24408         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
24409         * math/auto-libm-test-in: Add more tests of exp2.
24410         * math/auto-libm-test-out: Regenerated.
24412 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24414         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
24415         unaligned path.
24417 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24419         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
24420         little endian.
24422 2015-02-12  Andreas Schwab  <schwab@suse.de>
24424         [BZ #15790]
24425         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
24426         Filter out elision flags from value returned in kind.
24427         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
24428         * nptl/tst-pthread-mutexattr.c: New file.
24430 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24432         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
24433         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
24434         into gnu-gnu, and update comment to refer to abi-tags.
24436 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
24438         [BZ #15467]
24439         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
24440         (__sincos): Set errno to EDOM for infinite argument.
24441         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
24442         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
24443         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
24444         (__sincosl): Set errno to EDOM for infinite argument.
24445         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
24446         (__sincosl): Set errno to EDOM for infinite argument.
24447         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
24448         (__sincosl): Set errno to EDOM for infinite argument.
24449         * math/libm-test.inc (sincos_test_data): Test errno setting.
24451 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
24453         * string/strxfrm_l.c: Remove #define STRCMP.
24454         * string/strcoll_l.c: Remove #define STRLEN.
24455         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
24456         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
24458 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
24460         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
24461         * sysdeps/mips/mips32/sfp-machine.h: ... here.
24462         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
24463         * sysdeps/mips/mips64/Makefile: ... here.
24464         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
24465         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
24466         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
24467         * sysdeps/mips/mips64/sfp-machine.h: ... here.
24468         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
24469         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
24470         * sysdeps/mips/mips64/n64/Implies: Likewise.
24472 2015-02-10  Roland McGrath  <roland@hack.frob.com>
24474         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
24475         <sys/time.h>, <string.h>, and <errno.h>.
24476         (dest_offset, dest_address, value, zero): Remove unused variables.
24477         (ldouble): Remove typedef.
24478         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
24479         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
24480         1).  Fix code style.
24481         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
24482         (check): Function removed.
24483         (CHECK): New macro.
24484         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
24485         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
24486         Don't call set_sigaction_FP and remove_sigaction_FP here.
24487         (ldouble_test): Just use 'long double' as macro argument, no need for
24488         the 'ldouble' typedef.
24489         (do_test): Set up SIGFPE handler at start, using plain signal rather
24490         than sigaction.  Fix code style.
24492 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
24494         [BZ #17949]
24495         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
24496         jump label.
24498 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24500         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
24501         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24503         * sysdeps/powerpc/configure.ac: Remove file.
24504         * sysdeps/powerpc/configure: Likewise.
24506         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24507         [sysdep_routines]: Remove wordcopy-power6 object.
24508         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24509         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
24510         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
24511         (__memmove_ppc32): Likewise.
24512         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
24513         file.
24514         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
24515         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
24516         Remove preprocessor.
24518         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24519         [sysdep_routines]: Remove wide chars objects.
24520         [wcsmbs]: New rule for wide char objects.
24522         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24523         Remove wordcopy-power6 obejct.
24524         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
24525         Use local call for wordcopy and memcpy symbols.
24526         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
24527         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
24528         implementation for loader.
24529         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
24531         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24532         Remove wordcopy-power7 object.
24533         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
24534         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
24535         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
24536         (_wordcopy_fwd_dest_aligned): Likewise.
24537         (_wordcopy_bwd_aligned): Likewise.
24538         (_wordcopy_bwd_dest_aligned): Likewise.
24540         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
24541         Rewrite to call __memmove_ppc instead of include default
24542         implementation.
24544         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24545         Remove wide chars objects.
24546         [wcsmbs]: New rule for wide char objects.
24548 2015-02-09  Andreas Schwab  <schwab@suse.de>
24550         [BZ #17912]
24551         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24552         in terms of __O_DIRECTORY.
24554 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24556         * time/getdate.c: Include <stdbool.h>.
24557         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
24558         call PTR_MANGLE.
24559         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
24560         PTR_DEMANGLE.
24562 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
24564         Add ersatz _Static_assert on older C hosts
24565         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
24566         pre-C11 C platform that is not known to support _Static_assert.
24568 2015-02-07  Richard Braun  <rbraun@sceen.net>
24570         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
24571         sigstate.
24572         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
24574 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24576         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
24577         priority against unexistent AIO_PRIO_DELTA_MAX.
24578         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
24579         instead of int.
24580         * misc/fchflags.c (fchflags): Likewise.
24581         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
24582         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
24583         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
24584         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
24585         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
24586         Declare macros.
24587         [__USE_MISC] (chflags, fchflags): Declare functions.
24588         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
24589         EINVAL when nfds is greater than FD_SETSIZE.
24590         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
24591         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
24592         45.
24593         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
24594         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
24595         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
24596         MACH_RCV_TIMED_OUT.
24597         * hurd/hurd/signal.h (_hurd_self_sigstate,
24598         _hurd_critical_section_lock, _hurd_critical_section_unlock):
24599         Explicit casts from void *.
24600         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
24601         * abi-tags: Rename gnu-gnu os into gnu.
24603         [BZ #4719]
24604         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
24605         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
24606         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
24607         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
24608         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
24609         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
24611         [BZ #17944]
24612         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
24613         duplicates ADDR->sun_path with sockaddr LEN limitation.
24614         * sysdeps/mach/hurd/connect.c: Include <string.h>
24615         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
24616         * sysdeps/mach/hurd/sendmsg.c: Likewise.
24617         * sysdeps/mach/hurd/sendto.c: Likewise.
24618         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
24619         implementing it by hand.
24621 2015-02-06  Roland McGrath  <roland@hack.frob.com>
24623         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
24624         Use sfi_breg on ldr.
24625         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
24626         Likewise.
24628         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
24629         it's defined.
24630         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
24631         Test SIGSETXID only if it's defined.
24633         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
24635         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
24636         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
24638         * nptl/tst-align2.c: Moved ...
24639         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
24640         * nptl/Makefile (tests): Remove tst-align2.
24641         * sysdeps/unix/sysv/linux/Makefile
24642         [$(subdir) = nptl] (tests): Add tst-align-clone.
24643         * nptl/tst-getpid1.c: Moved ...
24644         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
24645         * nptl/tst-getpid2.c: Moved ...
24646         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
24647         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
24648         * sysdeps/unix/sysv/linux/Makefile
24649         [$(subdir) = nptl] (tests): ... here.
24650         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
24651         * sysdeps/unix/sysv/linux/Makefile
24652         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
24654         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
24655         Drop trailing \n from perror argument.  Use return rather than exit.
24657         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
24658         on [SA_SIGINFO].
24659         * nptl/tst-cancel21.c (do_test): Likewise.
24660         * debug/tst-backtrace6.c: Include <signal.h> first thing.
24661         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
24662         [!SA_SIGINFO]: Make it a stub test.
24664         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
24665         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
24667         * posix/tst-getlogin.c: Move to ...
24668         * login/tst-getlogin.c: ... here.
24669         * posix/Makefile (tests): Move tst-getlogin to ...
24670         * login/Makefile (tests): ... here.
24672         * libio/tst-atime.c (do_test): Move local variables SV and E
24673         inside [ST_NOATIME] conditional.
24675         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
24677         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
24679         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
24680         (wait_code): New function replaces macro.
24681         Call nanosleep rather than syscall.
24683         * nptl/pt-system.c: Rewritten.  Put everything under
24684         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24685         Use IFUNC to redirect when possible.
24687         * nptl/pt-longjmp.c: Rewritten.  Put everything under
24688         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24689         Use IFUNC to redirect when possible.
24691         * nptl/pt-fork.c: Rewritten.  Put everything under
24692         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24693         Use IFUNC to redirect when possible.
24694         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
24696         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
24697         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
24698         unconditionally nowadays.  This included the only reference to
24699         __vdso_clock_gettime that appears outside libc proper.
24700         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
24701         Remove version set (containing only __vdso_clock_gettime).
24702         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24703         Add attribute_hidden.
24704         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24705         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
24706         libc_hidden_data_def.
24707         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24708         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24710         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
24711         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
24712         setrpcent, and getrpcport to ...
24713         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
24714         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
24715         getrpcbynumber_r, and getrpcent_r to ...
24716         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
24717         * inet/getrpcbyname.c: Moved ...
24718         * sunrpc/getrpcbyname.c: ... here.
24719         * inet/getrpcbyname_r.c: Moved ...
24720         * sunrpc/getrpcbyname_r.c: ... here.
24721         * inet/getrpcbynumber.c: Moved ...
24722         * sunrpc/getrpcbynumber.c: ... here.
24723         * inet/getrpcbynumber_r.c: Moved ...
24724         * sunrpc/getrpcbynumber_r.c: ... here.
24725         * inet/getrpcent.c: Moved ...
24726         * sunrpc/getrpcent.c: ... here.
24727         * inet/getrpcent_r.c: Moved ...
24728         * sunrpc/getrpcent_r.c: ... here.
24729         * inet/Makefile (routines): Move those to ...
24730         * sunrpc/Makefile (routines): ... here.
24731         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
24732         the $(subdirs) list.
24733         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
24734         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
24735         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
24736         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
24738         * elf/Makefile (routines): Include $(all-dl-routines), not just
24739         $(dl-routines).
24740         (rtld-routines): Likewise.  Use = rather than :=.
24741         * sysdeps/aarch64/Makefile [$(subdir) = elf]
24742         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
24743         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
24744         * sysdeps/arm/Makefile: Likewise.
24745         * sysdeps/i386/Makefile: Likewise.
24746         * sysdeps/x86_64/Makefile: Likewise.
24747         * sysdeps/hppa/Makefile [$(subdir) = elf]
24748         (sysdep_routines, sysdep-rtld-routines): Don't add
24749         $(sysdep-dl-routines) to these.
24750         * sysdeps/ia64/Makefile: Likewise.
24751         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
24752         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
24753         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
24754         Don't add dl-static to these; sysdep-dl-routines alone is enough.
24755         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
24756         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
24757         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
24758         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
24759         * sysdeps/powerpc/Makefile [$(subdir) = elf]
24760         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
24761         these; sysdep-dl-routines alone is enough.
24763 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
24765         [BZ #17932]
24766         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
24767         where multiplication results in zero and third argument is finite
24768         and nonzero.
24769         * math/auto-libm-test-in: Add more tests of fma.
24770         * math/auto-libm-test-out: Regenerated.
24772         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
24773         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
24774         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
24775         (_FP_CMP_EQ): Likewise.
24776         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
24778         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
24779         extra argument CHECK_NAN.  Redefine as wrapper around
24780         _FP_EXTEND_CNAN.
24782 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
24784         * version.h (RELEASE): Set to "stable".
24785         (VERSION): Set to "2.21"
24786         * include/features.h (__GLIBC_MINOR__): Set to 21.
24788         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
24790 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24791             Paul Eggert  <eggert@cs.ucla.edu>
24793         [BZ #16618]
24794         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
24795         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
24796         size in bytes. Store needed elements in wpmax. Use needed size
24797         in bytes for extend_alloca.
24799 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
24801         * manual/install.texi: Latest tested versions are GCC 4.9.2,
24802         binutls 2.25, and texinfo 5.2.
24803         * INSTALL: Regenerate.
24804         * sysdeps/nios2/configure: Regenerate.
24805         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
24806         * manual/contrib.texi: Update.
24807         * po/be.po: Update.
24808         * po/bg.po: Update.
24809         * po/ca.po: Update.
24810         * po/cs.po: Update.
24811         * po/da.po: Update.
24812         * po/de.po: Update.
24813         * po/el.po: Update.
24814         * po/eo.po: Update.
24815         * po/es.po: Update.
24816         * po/fi.po: Update.
24817         * po/fr.po: Update.
24818         * po/gl.po: Update.
24819         * po/hr.po: Update.
24820         * po/hu.po: Update.
24821         * po/ia.po: Update.
24822         * po/id.po: Update.
24823         * po/it.po: Update.
24824         * po/ja.po: Update.
24825         * po/ko.po: Update.
24826         * po/lt.po: Update.
24827         * po/nb.po: Update.
24828         * po/nl.po: Update.
24829         * po/pl.po: Update.
24830         * po/pt_BR.po: Update.
24831         * po/ru.po: Update.
24832         * po/rw.po: Update.
24833         * po/sk.po: Update.
24834         * po/sl.po: Update.
24835         * po/sv.po: Update.
24836         * po/tr.po: Update.
24837         * po/uk.po: Update.
24838         * po/vi.po: Update.
24839         * po/zh_CN.po: Update.
24840         * po/zh_TW.po: Update.
24842         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
24843         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
24844         * sysdeps/hppa/dl-irel.h: Remove #warning.
24845         * sysdeps/hppa/entry.h: Provide prototype for
24846         __canonicalize_funcptr_for_compare and cast argument.
24847         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
24848         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
24849         * sysdeps/hppa/sotruss-lib.c: New file.
24850         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
24851         (atomic_compare_and_exchange_val_acq): Use __typeof__.
24852         (atomic_compare_and_exchange_bool_acq): Likewise.
24853         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
24854         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
24856         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
24857         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
24858         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
24860 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
24862         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
24863         called function in non-PIC case.
24865 2015-01-31  David S. Miller  <davem@davemloft.net>
24867         * sysdeps/sparc/sparc32/bits/atomic.h
24868         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
24869         unlock not after it.
24870         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
24871         volatile register usage warnings from the compiler.
24873         * sysdeps/sparc/nptl/sem_init.c: Delete.
24874         * sysdeps/sparc/nptl/sem_post.c: Delete.
24875         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
24876         * sysdeps/sparc/nptl/sem_wait.c: Delete.
24877         * sysdeps/sparc/sparc32/sem_init.c: New file.
24878         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
24879         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
24880         padding explicitly initialized.
24881         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
24882         padding for in-semaphore spinlock.
24883         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
24884         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
24885         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
24886         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
24887         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
24888         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
24889         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
24890         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
24891         version.
24892         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
24893         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
24895 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
24897         [BZ #17801]
24898         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24899         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
24900         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
24901         New.
24902         (index_AVX_Fast_Unaligned_Load): Likewise.
24903         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
24904         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
24905         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
24906         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
24907         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
24908         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
24909         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
24910         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
24911         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
24913 2015-01-29  Andreas Schwab  <schwab@suse.de>
24915         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
24917 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
24919         [BZ #17892]
24920         * nscd/nscd_stat.c (send_stats): Initialize DATA.
24922 2015-01-28  Martin Sebor  <msebor@redhat.com>
24924         * math/README.libm-test: Clarify. Add "How to read the test output."
24926 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
24928         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
24929         Define to 0.
24931 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
24933         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
24934         (__HAVE_64B_ATOMICS): Define to 0.
24936 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24938         [BZ #17885]
24939         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
24940         value to set as new flag.
24942         [BZ #16576]
24943         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
24944         and use _ARCH_PPCSQ instead.
24945         (__ieee754_sqrt): Likewise.
24946         (__ieee754_sqrtf): Likewise.
24947         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
24948         _ARCH_PPCSQ is defined.
24949         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
24950         fsqrt instruction.
24951         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
24952         _ARCH_PPCSQ is defined.
24953         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
24954         fsqrts instruction.
24955         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
24957 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24959         * iconv/loop.c: Suppress array out of bound warning caused by GCC
24960         bug (GCC BZ #64739).
24962 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
24964         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
24965         Mark _retval as used.
24966         (lll_futex_wake_unlock): Likewise.
24967         (lll_futex_timed_wait_requeue_pi): Likewise.
24969         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24970         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
24971         register variables.
24973         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
24974         libm_hidden_def.
24976         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
24977         (__bswap_64): Mark as __always_inline.
24979 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
24981         [BZ #15378]
24982         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
24983         when none of the search directories exist.
24985 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24987         [BZ #17869]
24988         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
24989         power8 in .machine directive.
24991         [BZ #17868]
24992         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
24993         set dependency from opd value.
24995 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24997         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24998         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
24999         architecture.
25001 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
25003         [BZ #17870]
25004         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
25005         with uint64_t.
25006         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
25007         (uint64_t) 1.
25008         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
25009         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
25010         Replace 1UL with (uint64_t) 1.
25011         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
25012         int with uint64_t.
25014 2015-01-23  Roland McGrath  <roland@hack.frob.com>
25016         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
25017         (if_freenameindex): Likewise.
25019         * resource/getrlimit64.c: Add missing libc_hidden_def.
25021 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
25023         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
25024         __label__.
25025         (_FP_FMA): Likewise.
25026         (_FP_TO_INT_ROUND): Likewise.
25027         (_FP_FROM_INT): Likewise.
25029 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25031         [BZ #16418]
25032         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
25033         Make code racy and cancel safe.
25035 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
25037         * sysdeps/arm/unwind-resume.h: Fix copyright year.
25038         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
25039         attribution.
25041         * pwd/tst-getpw.c: Rewrite.
25043         [BZ #17702]
25044         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
25045         (modules-names): Add moddummy1 and moddummy2.
25046         ($(objpfx)tst-rec-dlopen): Define.
25047         * dlfcn/moddummy1.c: New file.
25048         * dlfcn/moddummy2.c: New file.
25049         * dlfcn/tst-rec-dlopen.c: New file.
25050         * elf/dl-cache.c (_dl_load_cache_lookup):
25051         Return char*. Copy result with alloca/strcpy/strdup.
25052         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
25053         returns char*. Free cached. If not saving realname
25054         free cached.
25055         * elf/dl-open.c (dl_open_worker): Do not assert that
25056         _r_debug->r_state is RT_CONSISTENT.
25057         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
25058         returns char*.
25060 2015-01-21  Torvald Riegel  <triegel@redhat.com>
25061             Carlos O'Donell  <carlos@redhat.com>
25063         [BZ #12674]
25064         * nptl/sem_waitcommon.c: New file.
25065         * nptl/sem_wait.c: Include sem_waitcommon.c.
25066         (__sem_wait_cleanup, do_futex_wait): Remove.
25067         (__new_sem_wait): Adapt.
25068         (__new_sem_trywait): New function.
25069         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
25070         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
25071         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
25072         (sem_timedwait): Adapt.
25073         * nptl/sem_post.c (__new_sem_post): Adapt.
25074         (futex_wake): New function.
25075         (__old_sem_post): Add release MO fence.
25076         * nptl/sem_open.c (sem_open): Adapt.
25077         * nptl/sem_init.c (__new_sem_init): Adapt.
25078         (futex_private_if_supported): New function.
25079         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
25080         (__old_sem_getvalue): Add using previous code.
25081         * sysdeps/nptl/internaltypes.h: Adapt.
25082         * nptl/tst-sem13.c (do_test): Adapt.
25083         * nptl/tst-sem11.c (main): Adapt.
25084         * nptl/sem_trywait.c: Remove.
25085         * nptl/DESIGN-sem.txt: Remove.
25086         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
25087         (gen-as-const-headers): Remove structsem.sym.
25088         * nptl/structsem.sym: Remove.
25089         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
25090         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
25091         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
25092         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
25093         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
25094         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
25095         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
25096         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
25097         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
25098         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
25099         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
25100         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
25101         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
25102         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
25103         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
25104         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
25105         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
25106         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
25107         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
25108         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
25109         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
25110         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
25112 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
25114         * INSTALL: Regenerated.
25116         * po/libc.pot: Regenerated.
25118 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
25119             Sandra Loosemore  <sandra@codesourcery.com>
25120             Andrew Jenner  <andrew@codesourcery.com>
25121             Joseph Myers  <joseph@codesourcery.com>
25122             Nathan Sidwell  <nathan@codesourcery.com>
25124         * NEWS: Mention new Nios II port.
25125         * sysdeps/nios2/Implies: New file.
25126         * sysdeps/nios2/Makefile: New file.
25127         * sysdeps/nios2/Subdirs: New file.
25128         * sysdeps/nios2/Versions: New file.
25129         * sysdeps/nios2/__longjmp.S: New file.
25130         * sysdeps/nios2/abort-instr.h: New file.
25131         * sysdeps/nios2/backtrace.c: New file.
25132         * sysdeps/nios2/bits/endian.h: New file.
25133         * sysdeps/nios2/bits/fenv.h: New file.
25134         * sysdeps/nios2/bits/link.h: New file.
25135         * sysdeps/nios2/bits/setjmp.h: New file.
25136         * sysdeps/nios2/bsd-_setjmp.S: New file.
25137         * sysdeps/nios2/bsd-setjmp.S: New file.
25138         * sysdeps/nios2/configure: New generated file.
25139         * sysdeps/nios2/configure.ac: New file.
25140         * sysdeps/nios2/crti.S: New file.
25141         * sysdeps/nios2/crtn.S: New file.
25142         * sysdeps/nios2/dl-init.c: New file.
25143         * sysdeps/nios2/dl-machine.h: New file.
25144         * sysdeps/nios2/dl-sysdep.h: New file.
25145         * sysdeps/nios2/dl-tls.h: New file.
25146         * sysdeps/nios2/dl-trampoline.S: New file.
25147         * sysdeps/nios2/gccframe.h: New file.
25148         * sysdeps/nios2/gmp-mparam.h: New file.
25149         * sysdeps/nios2/jmpbuf-offsets.h: New file.
25150         * sysdeps/nios2/jmpbuf-unwind.h: New file.
25151         * sysdeps/nios2/ldsodefs.h: New file.
25152         * sysdeps/nios2/libc-tls.c: New file.
25153         * sysdeps/nios2/libm-test-ulps: New file.
25154         * sysdeps/nios2/machine-gmon.h: New file.
25155         * sysdeps/nios2/math-tests.h: New file.
25156         * sysdeps/nios2/math_private.h: New file.
25157         * sysdeps/nios2/memusage.h: New file.
25158         * sysdeps/nios2/nptl/Makefile: New file.
25159         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
25160         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
25161         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
25162         * sysdeps/nios2/nptl/pthreaddef.h: New file.
25163         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
25164         * sysdeps/nios2/nptl/tls.h: New file.
25165         * sysdeps/nios2/preconfigure: New file.
25166         * sysdeps/nios2/s_fma.c: New file.
25167         * sysdeps/nios2/s_fmaf.c: New file.
25168         * sysdeps/nios2/setjmp.S: New file.
25169         * sysdeps/nios2/sfp-machine.h: New file.
25170         * sysdeps/nios2/sotruss-lib.c: New file.
25171         * sysdeps/nios2/stackguard-macros.h: New file.
25172         * sysdeps/nios2/stackinfo.h: New file.
25173         * sysdeps/nios2/start.S: New file.
25174         * sysdeps/nios2/sysdep.h: New file.
25175         * sysdeps/nios2/tls-macros.h: New file.
25176         * sysdeps/nios2/tst-audit.h: New file.
25177         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
25178         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
25179         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
25180         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
25181         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
25182         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
25183         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
25184         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
25185         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
25186         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
25187         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
25188         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
25189         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
25190         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
25191         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
25192         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
25193         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
25194         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
25195         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
25196         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
25197         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
25198         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
25199         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
25200         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
25201         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
25202         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
25203         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
25204         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
25205         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
25206         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
25207         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
25208         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
25209         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
25210         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
25211         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
25212         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
25213         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
25214         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
25215         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
25216         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
25217         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
25218         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
25219         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
25220         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
25222 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25224         [BZ #17844]
25225         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
25226         (getutent): Use weak_alias in non SHARED case
25227         and default_symbol_version in SHARED case.
25228         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
25229         (getutent_r, pututline): Likewise.
25230         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
25231         (getutid): Likewise.
25232         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
25233         (getutid_r): Likewise.
25234         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
25235         (getutline): Likewise.
25236         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
25237         (getutline_r): Likewise.
25238         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
25239         (updwtmp): Likewise.
25241 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25243         [BZ #17848]
25244         * sysdeps/s390/s390-32/memcmp.S
25245         (memcmp_g5): Rename to __memcmp_g5.
25246         * sysdeps/s390/s390-32/memcpy.S
25247         (memcpy_g5): Rename to __memcpy_g5.
25248         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25249         (memcpy_mvcle) Rename to __memcpy_mvcle.
25250         * sysdeps/s390/s390-32/memset.S
25251         (memset_g5): Rename to __memset_g5.
25252         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25253         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25254         and use prefixed functions.
25255         * sysdeps/s390/s390-32/multiarch/memcmp.S
25256         (memcmp_z196): Rename to __memcmp_z196.
25257         (memcmp_z10): Rename to __memcmp_z10.
25258         (memcmp): Set alias to __memcmp_g5.
25259         (bcmp): Set alias to __memcmp_g5.
25260         * sysdeps/s390/s390-32/multiarch/memcpy.S
25261         (memcpy_z196): Rename to __memcpy_z196.
25262         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25263         (memcpy_z10): Rename to __memcpy_z10.
25264         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25265         (memcpy): Set alias to __memcpy_g5.
25266         * sysdeps/s390/s390-32/multiarch/memset.S
25267         (memset_z196): Rename to __memset_z196.
25268         Jump to __memset_mvcle instead of memset_mvcle.
25269         (memset_z10): Rename to __memset_z10.
25270         Jump to __memset_mvcle instead of memset_mvcle.
25271         (memset_mvcle) Rename to __memset_mvcle.
25272         (memset): Set alias to __memset_g5.
25273         * sysdeps/s390/s390-64/memcmp.S
25274         (memcmp_z900): Rename to __memcmp_z900.
25275         * sysdeps/s390/s390-64/memcpy.S
25276         (memcpy_z900): Rename to __memcpy_z900.
25277         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25278         (memcpy_mvcle) Rename to __memcpy_mvcle.
25279         * sysdeps/s390/s390-64/memset.S
25280         (memset_z900): Rename to __memset_z900.
25281         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
25282         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25283         and use prefixed functions.
25284         * sysdeps/s390/s390-64/multiarch/memcmp.S
25285         (memcmp_z196): Rename to __memcmp_z196.
25286         (memcmp_z10): Rename to __memcmp_z10.
25287         (memcmp): Set alias to __memcmp_z900.
25288         (bcmp): Set alias to __memcmp_z900.
25289         * sysdeps/s390/s390-64/multiarch/memcpy.S
25290         (memcpy_z196): Rename to __memcpy_z196.
25291         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25292         (memcpy_z10): Rename to __memcpy_z10.
25293         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25294         (memcpy): Set alias to __memcpy_z900.
25295         * sysdeps/s390/s390-64/multiarch/memset.S
25296         (memset_z196): Rename to __memset_z196.
25297         Jump to __memset_mvcle instead of memset_mvcle.
25298         (memset_z10): Rename to __memset_z10.
25299         Jump to __memset_mvcle instead of memset_mvcle.
25300         (memset_mvcle) Rename to __memset_mvcle.
25301         (memset): Set alias to __memset_z900.
25303 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
25305         [BZ #17748]
25306         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
25307         __fesetenv instead of fesetenv.
25309 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25311         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
25312         macro.
25314 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25316         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
25317         regression on LE.
25319         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
25320         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
25321         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25322         strncmp-power8 object.
25323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25324         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
25325         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
25326         * NEWS: Update.
25328 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25329             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25331         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
25332         trailing byte check.
25334 2015-01-13  David S. Miller  <davem@davemloft.net>
25336         * include/signal.h (__sigreturn): Guard with __USE_MISC.
25338 2015-01-13  Roland McGrath  <roland@hack.frob.com>
25340         * login/logout.c (logout): Use memset rather than bzero.
25341         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
25342         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
25343         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
25344         (_gethtbyaddr): Likewise.
25345         * locale/programs/simple-hash.c (bcopy): Macro removed.
25347 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25349         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25350         Add strcmp-power8 object.
25351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25352         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
25353         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
25354         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
25355         __strcmp_power8 implementation.
25356         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
25357         * NEWS: Update.
25359         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25360         Add strncpy-power8 and stpncpy-power8 objects.
25361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25362         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
25363         implementations.
25364         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
25365         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
25366         __stpncpy_power8 implementation.
25367         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
25368         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
25369         __strncpy_power8 implementation.
25370         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
25371         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
25372         * NEWS: Update.
25374         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
25375         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
25376         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
25378         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25379         strncat-power8 object.
25380         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
25381         __strcat_power8 implementation.
25382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25383         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
25384         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
25385         optimized strcat for power8.
25387         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25388         strcpy-power8 and stpcpy-power8 objects.
25389         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25390         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
25391         implementations.
25392         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
25393         multiarch stpcpy implementation for POWER8.
25394         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
25395         multiarch strcpy implementation for POWER8.
25396         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
25397         __strcpy_power8 function.
25398         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
25399         stpcpy for POWER8.
25400         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
25401         strcpy for POWER8.
25402         * NEWS: Update.
25404 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
25406         [BZ #16009]
25407         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
25408         weights and rules. Use do_xfrm_cached if data fits in cache,
25409         do_xfrm otherwise.  Moved former main loop to...
25410         * (do_xfrm_cached): New function.
25411         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
25412         find_idx, find_position and stack_push.
25413         * (find_idx): New function.
25414         * (find_position): Likewise.
25415         * localedata/sort-test.sh: Added test run for do_xfrm.
25416         * localedata/xfrm-test.c (main): Added command line option
25417         -nocache to run the test with strings that are too large for
25418         the STRXFRM cache.
25420 2015-01-13  Torvald Riegel  <triegel@redhat.com>
25422         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
25423         variable to lll_futex_wake call, not the value itself.
25425 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
25427         [BZ #17803]
25428         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
25429         twom64.  Adjust value to 0x1p-64L.
25430         (__scalblnl): Only return standard underflowing result for K <=
25431         -64 not K <= -63; adjust exponent for underflowing result by 64
25432         not 63.
25433         * math/libm-test.inc (scalbn_test_data): Add more tests.
25434         (scalbln_test_data): Likewise.
25436         [BZ #17834]
25437         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
25438         0x1p63L.
25439         (__scalblnl): Get new exponent of adjusted subnormal value from ES
25440         not HX.
25441         * math/libm-test.inc (scalbn_test_data): Add more tests.
25442         (scalbln_test_data): Likewise.
25444 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25445             Stefani Seibold  <stefani@seibold.net>
25447         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
25448         (sysdep_routines): Add dl-vdso here, ...
25449         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
25450         (sysdep_routines): ... not here.
25451         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
25452         fallback when vDSO is not presented.
25453         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25454         Define with libc_hidden_proto/libc_hidden_data_def definitions.
25455         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
25456         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
25457         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
25458         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
25459         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
25460         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
25461         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
25462         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
25463         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
25464         fallback configurable symbol when vDSO is not available.
25465         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
25466         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
25467         be able to redefine fallback symbol when vDSO is not available.
25468         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
25469         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
25471 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25473         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
25474         (TLS_INIT_TP): Add tm_capable initialization.
25475         (TLS_DEFINE_INIT_TP): Likewise.
25476         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
25477         TCB.
25478         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
25479         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
25480         calculation.
25481         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
25482         transactoion is lock elision is built and TCB tm_capable is set.
25483         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
25484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25485         (INTERNAL_SYSCALL_NCS): Likewise.
25486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25487         (INTERNAL_SYSCALL_NCS): Likewise.
25488         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
25490         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
25491         for powerpc.
25492         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25493         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
25494         and remove it for 32 bits case.
25495         [pthread_rwlock_t] (__rwelision): New field for lock elision.
25496         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
25497         initialization.
25498         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
25499         Disable lock elision with rdlocks if elision is not available.
25501         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
25502         (sysdep_routines): Add lock elision objects.
25503         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25504         [pthread_mutex_t] (__spins): Rework to add lock elision field.
25505         [pthread_mutex_t] (__elision): Add field.
25506         [__PTHREAD_SPINS]: Adjust to init lock elision field.
25507         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
25508         elision definitions for powerpc.
25509         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
25510         implementation of lock elision for powerpc.
25511         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
25512         implementation of timed lock elision for powerpc.
25513         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
25514         implementation of trylock with lock elision for powerpc.
25515         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
25516         implementaion of unlock for lock elision for powerpc.
25517         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
25518         automatic enable lock elision for mutexes.
25519         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
25520         transaction execution definitions for powerpc.
25521         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
25522         definitions.
25523         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
25524         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
25525         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
25526         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
25527         * NEWS: Update.
25529 2015-01-09  Roland McGrath  <roland@hack.frob.com>
25531         * sysdeps/posix/shm-directory.c: Use <> rather than ""
25532         for #include of <shm-directory.h>.
25534 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
25536         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
25537         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
25539 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
25541         [BZ #17791]
25542         * NEWS: Mention bug fix.
25543         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
25544         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
25545         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
25547 2015-01-09  Torvald Riegel <triegel@redhat.com>
25549         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
25551 2015-01-09  Torvald Riegel <triegel@redhat.com>
25553         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
25555 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25557         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
25558         pointer and cast to uintptr_t.
25560 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25562         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
25563         removed.
25564         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
25566 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25568         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
25569         of 0.
25571 2015-01-08  Roland McGrath  <roland@hack.frob.com>
25573         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
25574         <nptl/pthreadP.h> instead.
25575         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
25577         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
25578         already defined.
25579         [__SIGRTMIN] (init): Function removed.
25580         [__SIGRTMIN] (initialized): Variable removed.
25581         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
25582         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
25583         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
25584         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
25585         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
25586         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
25587         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
25588         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
25589         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
25590         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
25591         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
25592         * sysdeps/nptl/allocrtsig.c: New file.
25593         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
25594         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
25595         * sysdeps/generic/testrtsig.h: File removed.
25597         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
25598         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
25600         * nptl/nptl-init.c (pthread_functions): Conditionalize
25601         .ptr__nptl_setxid initialization on [SIGSETXID].
25603         * sysdeps/nptl/sys/procfs.h: New file.
25604         * nptl_db/Makefile (headers): Add it.
25605         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
25607         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
25608         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
25609         * nptl/pthread_attr_setaffinity.c: Include it.
25610         * nptl/pthread_setattr_default_np.c: Likewise.
25611         * nptl/check-cpuset.h: New file.
25613 2015-01-08  Richard Henderson  <rth@redhat.com>
25615         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
25616         (CFLAGS-tst-execstack-prog.c): Likewise.
25617         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
25619 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
25620             Sandra Loosemore  <sandra@codesourcery.com>
25621             Andrew Jenner  <andrew@codesourcery.com>
25622             Joseph Myers  <joseph@codesourcery.com>
25623             Nathan Sidwell  <nathan@codesourcery.com>
25625         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
25626         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
25627         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
25628         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
25629         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
25630         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
25631         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
25632         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
25633         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
25634         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
25635         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
25636         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
25637         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
25638         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
25639         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
25640         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
25641         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
25643 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25645         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
25646         timespec struct member in syscall macro.
25647         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25648         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
25649         first timeval struct member in syscall macro.
25650         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
25652 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
25654         [BZ #17748]
25655         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
25656         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
25657         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
25658         __feupdateenv and define as weak alias of __feupdateenv.  Use
25659         libm_hidden_weak.
25660         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
25661         libm_hidden_def.
25662         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
25663         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
25664         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25665         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
25666         libm_hidden_def.
25667         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
25668         __feupdateenv and define as weak alias of __feupdateenv.  Use
25669         libm_hidden_weak.
25670         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
25671         libm_hidden_def.
25672         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
25673         __feupdateenv and define as weak alias of __feupdateenv.  Use
25674         libm_hidden_weak.
25675         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
25676         libm_hidden_def.
25677         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25678         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25679         (__feupdateenv): Likewise.
25680         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
25681         __feupdateenv and define as weak alias of __feupdateenv.  Use
25682         libm_hidden_weak.
25683         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25684         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
25685         libm_hidden_def.
25686         * sysdeps/tile/math_private.h (__feupdateenv): New inline
25687         function.
25688         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
25689         libm_hidden_def.
25690         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
25691         __feupdateenv instead of feupdateenv.
25692         (default_libc_feupdateenv_test): Likewise.
25693         (libc_feresetround_ctx): Likewise.
25695 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25697         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
25698         prototype.
25700 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
25702         * posix/regcomp.c (parse_bracket_exp): Initialize type to
25703         COLL_SYM in a couple of places to avoid uninitialized variable
25704         wanings on tilegx gcc 4.8.2.
25706 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25708         * sysdeps/aarch64/strcpy.S: New file.
25709         * sysdeps/aarch64/stpcpy.S: New file.
25710         * NEWS: Updated.
25712 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25714         * sysdeps/aarch64/strrchr.S: New file.
25715         * NEWS: Updated.
25717 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
25719         [BZ #17658]
25720         * stdlib/setenv.c: Fix memory leak when setting large,
25721         duplicate string.
25723 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
25725         [BZ #17273]
25726         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
25727         and tabs from buffer before parsing fstab entry.
25728         * misc/tst-mntent.c (main): Add test for mount entry with
25729         trailing spaces and tabs.
25731 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
25733         [BZ #17748]
25734         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
25735         * math/fesetround.c (fesetround): Rename to __fesetround and
25736         define as weak alias of __fesetround.  Use libm_hidden_weak.
25737         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
25738         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
25739         * sysdeps/arm/fesetround.c (fesetround): Likewise.
25740         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
25741         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
25742         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
25743         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
25744         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
25745         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
25746         __fesetround_inline.
25747         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
25748         __fesetround_inline instead of __fesetround.
25749         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
25750         __fesetround and define as weak alias of __fesetround.  Use
25751         libm_hidden_weak.  Call __fesetround_inline instead of
25752         __fesetround.
25753         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
25754         __fesetround and define as weak alias of __fesetround.  Use
25755         libm_hidden_weak.
25756         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
25757         Likewise.
25758         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
25759         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25760         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
25761         * sysdeps/tile/math_private.h (__fesetround): New inline function.
25762         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
25763         __fesetround and define as weak alias of __fesetround.  Use
25764         libm_hidden_weak.
25765         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
25766         __fesetround instead of fesetround.
25767         (default_libc_feholdexcept_setround): Likewise.
25768         (libc_feholdsetround_ctx): Likewise.
25769         (libc_feholdsetround_noex_ctx): Likewise.
25771         [BZ #17748]
25772         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
25773         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
25774         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25775         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25776         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25777         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
25778         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25779         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25780         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25781         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25782         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25783         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25784         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25785         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25786         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
25787         libm_hidden_def.
25788         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
25789         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
25790         Likewise.
25791         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25792         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25793         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
25794         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25795         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
25796         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25797         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25798         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
25799         __fesetenv instead of fesetenv.
25800         (libc_feresetround_noex_ctx): Likewise.
25801         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25802         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25803         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
25804         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25805         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25806         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25807         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25808         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25809         (__feupdateenv): Likewise.
25810         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25811         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25812         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25813         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
25815 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25817         [BZ #17806]
25818         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
25819         addresses have been freed.
25821 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25823         * resolv/res_init.c (__res_vinit): Improve comments about nserv
25824         and nservall.
25826 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
25828         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
25829         Clean up check_pf allocation pattern. addresses
25831 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25833         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
25834         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
25835         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
25836         * nptl/pthread_exit.c (__pthread_exit): Likewise.
25837         * nptl/pthread_join.c (pthread_join): Likewise.
25838         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
25839         * sysdeps/posix/waitid.c (__waitid): Likewise.
25840         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25841         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25842         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25843         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25844         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25845         Likewise.
25846         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25847         (__libc_pread64): Likewise.
25848         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25849         (__libc_pwrite): Likewise.
25850         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25851         (__libc_pwrite64): Likewsie.
25852         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25853         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25854         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25855         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25856         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25857         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25858         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25860         Likewise.
25861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25862         (__libc_pread64): Likewise.
25863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
25864         Likewise.
25865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25866         (__libc_pwrite64): Likewise.
25867         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25868         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25869         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
25870         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
25871         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25872         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25873         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
25874         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25875         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25876         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25877         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
25878         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25879         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25880         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
25881         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25882         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25883         Likewise.
25885 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25887         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
25888         (CFLAGS-test-double.c): Likewise.
25889         (CFLAGS-test-ldouble.c): Likewise.
25890         (CPPFLAGS-test-ifloat.c): Likewise.
25891         (CPPFLAGS-test-idouble.c): Likewise.
25892         (CPPFLAGS-test-ildoubl.c): Likewise.
25893         (CFLAGS-test-test-fenv.c): Remove variable.
25894         (CFLAGS-test-misc.c): Likewise.
25896 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
25898         [BZ #17797]
25899         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
25900         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
25901         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
25902         CLOCKS_PER_SEC == 1000000.
25903         * time/clocktest.c (main): Replace %ld with %jd and cast to
25904         intmax_t.
25906 2015-01-05  Roland McGrath  <roland@hack.frob.com>
25908         * sysdeps/generic/unwind-resume.h: New file.
25909         * sysdeps/gnu/unwind-resume.c: Include it.
25910         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
25911         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
25912         argument list.
25913         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
25914         global rather than static.
25915         (_Unwind_Resume): Update user.
25916         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
25917         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
25918         rather than static.  Add __attribute__ ((cold)).
25919         (_Unwind_Resume, __gcc_personality_v0): Update callers.
25920         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
25921         * sysdeps/arm/arm-unwind-resume.S: New file.
25922         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
25923         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
25924         * sysdeps/arm/Makefile [$(subdir) = csu]
25925         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
25926         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25927         Add rt-arm-unwind-resume.
25928         [$(subdir) = nptl]
25929         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25930         Add pt-arm-unwind-resume.
25931         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
25932         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
25934 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25936         [BZ #17748]
25937         * include/fenv.h (__feholdexcept): Declare.  Use
25938         libm_hidden_proto.
25939         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
25940         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
25941         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25942         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
25943         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
25944         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
25945         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
25946         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25947         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
25948         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
25949         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25950         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
25951         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
25952         (feholdexcept): Likewise.
25953         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25954         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25955         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25956         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25957         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
25958         __feholdexcept instead of feholdexcept.
25959         (default_libc_feholdexcept_setround): Likewise.
25961 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25963         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
25964         to avoid using stl/str to align destination.
25966 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25968         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
25970 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25972         [BZ #17796]
25973         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
25974         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
25975         Define as weak alias not strong alias.
25977 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25979         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
25980         bltzal with addiupc.
25981         (RTLD_START): Ditto.
25983 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
25985         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
25986         for __vdso_* functions in declarations.
25987         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
25988         definitions.
25989         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
25990         INTERNAL_VSYSCALL): Use struct return types to check for error.
25992         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
25993         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
25994         function with cast from llround().
25995         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
25996         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25997         Define.
25999 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26001         [BZ #17793]
26002         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
26003         Define as weak alias not strong alias.
26005         [BZ #17635]
26006         * ctype/ctype-c99.c: New file.  isblank implementation moved from
26007         ...
26008         * ctype/ctype-extn.c: ... here.
26009         (__isblank_l): Move to ...
26010         * ctype/ctype-c99_l.c: ... here.  New file.
26011         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
26012         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
26013         Remove variable.
26014         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26015         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26016         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26017         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26018         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26020         [BZ #17777]
26021         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
26022         (posix_fadvise64): Define as weak alias not strong alias.
26023         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26024         (posix_fallocate64): Likewise.
26025         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
26026         Remove variable.
26027         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26028         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26029         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26030         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26031         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26033 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
26035         [BZ #16191]
26036         * NEWS: Mention bug fix.
26037         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
26038         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
26039         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
26040         (HOST_STACK_END_ADDR): Likewise.
26042 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26044         [BZ #17748]
26045         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
26046         * math/fegetround.c (fegetround): Rename to __fegetround and
26047         define as weak alias of __fegetround.  Use libm_hidden_weak.
26048         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
26049         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
26050         * sysdeps/arm/fegetround.c (fegetround): Likewise.
26051         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
26052         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26053         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
26054         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
26055         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
26056         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26057         Undefine after rather than before function definition; use
26058         parentheses around function name in definition.
26059         (__fegetround): Also undefine macro after function definition.
26060         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
26061         __fegetround and define as weak alias of __fegetround.  Use
26062         libm_hidden_weak.  Do not undefine as macro.
26063         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26064         Likewise.
26065         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
26066         __fegetround and define as weak alias of __fegetround.  Use
26067         libm_hidden_weak.
26068         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26069         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26070         * sysdeps/tile/math_private.h (__fegetround): New inline function.
26071         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
26072         __fegetround and define as weak alias of __fegetround.  Use
26073         libm_hidden_weak.
26074         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
26075         __fegetround instead of fegetround.
26077         [BZ #17782]
26078         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
26079         Condition macro definition on [__USE_MISC].
26081         [BZ #17781]
26082         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
26083         (struct sigaction): Change type of sa_flags field to int.
26085         [BZ #17780]
26086         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
26087         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
26088         __glibc_reserved0.
26090         * nptl/version.c (banner): Use single year in copyright notice.
26092         * NEWS: Update copyright dates.
26093         * catgets/gencat.c (print_version): Likewise.
26094         * csu/version.c (banner): Likewise.
26095         * debug/catchsegv.sh: Likewise.
26096         * debug/pcprofiledump.c (print_version): Likewise.
26097         * debug/xtrace.sh (do_version): Likewise.
26098         * elf/ldconfig.c (print_version): Likewise.
26099         * elf/ldd.bash.in: Likewise.
26100         * elf/pldd.c (print_version): Likewise.
26101         * elf/sotruss.sh: Likewise.
26102         * elf/sprof.c (print_version): Likewise.
26103         * iconv/iconv_prog.c (print_version): Likewise.
26104         * iconv/iconvconfig.c (print_version): Likewise.
26105         * locale/programs/locale.c (print_version): Likewise.
26106         * locale/programs/localedef.c (print_version): Likewise.
26107         * login/programs/pt_chown.c (print_version): Likewise.
26108         * malloc/memusage.sh (do_version): Likewise.
26109         * malloc/memusagestat.c (print_version): Likewise.
26110         * malloc/mtrace.pl: Likewise.
26111         * manual/libc.texinfo: Likewise.
26112         * nptl/version.c (banner): Likewise.
26113         * nscd/nscd.c (print_version): Likewise.
26114         * nss/getent.c (print_version): Likewise.
26115         * nss/makedb.c (print_version): Likewise.
26116         * posix/getconf.c (main): Likewise.
26117         * scripts/test-installation.pl: Likewise.
26118         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
26120 2015-01-02  Will Newton  <will.newton@linaro.org>
26122         * sysdeps/arm/armv7/configure: Removed.
26123         * sysdeps/arm/armv7/configure.ac: Likewise.
26125 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26127         * All files with FSF copyright notices: Update copyright dates
26128         using scripts/update-copyrights.
26129         * intl/plural.c: Regenerated.
26130         * locale/programs/charmap-kw.h: Likewise.
26131         * locale/programs/locfile-kw.h: Likewise.
26133 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26135         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
26137 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26139         [BZ #17748]
26140         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
26141         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
26142         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26143         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26144         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26145         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
26146         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26147         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
26148         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26149         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26150         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26151         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26152         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26153         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26154         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
26155         libm_hidden_def.
26156         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
26157         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
26158         Likewise.
26159         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26160         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26161         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26162         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26163         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
26164         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26165         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26166         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
26167         __fegetenv instead of fegetenv.
26168         (libc_feholdsetround_noex_ctx): Likewise.
26170 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26172         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
26173         (Elf_MIPS_ABIFlags_v0): New structure.
26174         (EF_MIPS_FP64): Define.
26175         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
26176         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
26177         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
26178         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
26179         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
26180         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
26181         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
26182         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
26183         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
26184         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
26185         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
26186         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
26187         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
26188         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
26189         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
26190         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
26191         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
26192         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
26193         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
26194         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
26195         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
26196         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
26197         field.
26198         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
26199         EF_MIPS_FP64.
26200         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
26201         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
26202         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
26203         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
26204         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
26205         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
26206         * sysdeps/mips/tst-abi-interlink.c: Likewise.
26207         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
26208         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
26209         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
26210         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
26211         record the current FP ABI extension.
26212         (mips-mode-switch): Define to show if kernel headers support mode
26213         switching.
26214         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26215         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
26216         supported SYSV ABI version to 3.
26217         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
26218         feature.
26220 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26221             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26223         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
26224         path.
26225         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
26227 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26229         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
26230         __fegetround and redefine to call __fegetround.  Remove condition
26231         on [!__NO_MATH_INLINES].
26232         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
26233         function.
26234         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
26235         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26236         Remove macro.
26237         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
26238         instead of <fenv_libc.h>.
26239         (__llrintl): Call fegetround instead of __fegetround.
26240         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
26241         instead of <fenv_libc.h>.
26242         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26243         (__lrintl): Call fegetround instead of __fegetround.
26244         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
26245         instead of <fenv_libc.h>.
26246         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26247         (__rintl): Call fegetround instead of __fegetround.
26249 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26251         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
26252         arrays.
26254 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26256         [BZ #17775]
26257         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
26258         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
26259         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
26261 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26263         * sysdeps/i386/tls-macros.h: Include <features.h>.
26264         (TLS_LE): Use non-PIC version for GCC >= 5.0.
26265         (TLS_IE): Likewise.
26266         (TLS_LD): Likewise.
26267         (TLS_GD): Likewise.
26268         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
26269         define for GCC >= 5.0.
26271 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
26273         * math/test-fenv.c (test_single_exception, set_single_exc,
26274         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
26275         feexcp_mask_test, feenable_test, fe_single_test): Add
26276         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
26277         case where they are not used.
26278         * math/libm-test.inc: Likewise.
26279         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
26280         unused in the absence of FP rounding/exception support.
26281         * stdio-common/tst-printf-round.c: Likewise.
26282         * stdlib/tst-strtod-round.c: Likewise.
26283         * stdlib/tst-strtod-underflow.c: Likewise.
26285 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
26287         [BZ #17723]
26288         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
26289         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
26290         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26291         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26292         libm_hidden_weak.
26293         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
26294         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26295         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
26296         libm_hidden_def.
26297         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26298         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26299         libm_hidden_weak.
26300         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
26301         Likewise.
26302         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
26303         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26304         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26305         libm_hidden_weak.
26306         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26307         libm_hidden_def.
26308         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26309         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
26310         (__feraiseexcept): Likewise.
26311         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26312         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26313         libm_hidden_weak.
26314         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26315         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26316         libm_hidden_def.
26317         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
26318         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
26319         Use libm_hidden_def.
26320         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
26321         libm_hidden_def.
26322         (feraiseexcept): Define as weak not strong alias.  Use
26323         libm_hidden_weak.
26324         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
26325         New inline function.  Factored out of ...
26326         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
26327         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
26328         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
26329         feraiseexcept.
26330         * math/w_acos.c (__acos): Likewise.
26331         * math/w_asin.c (__asin): Likewise.
26332         * math/w_ilogb.c (__ilogb): Likewise.
26333         * math/w_j0.c (y0): Likewise.
26334         * math/w_j1.c (y1): Likewise.
26335         * math/w_jn.c (yn): Likewise.
26336         * math/w_log.c (__log): Likewise.
26337         * math/w_log10.c (__log10): Likewise.
26338         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
26339         * sysdeps/aarch64/fpu/math_private.h
26340         (libc_feupdateenv_test_aarch64): Likewise.
26341         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26342         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
26343         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
26344         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26345         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26346         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26347         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
26348         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26349         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26350         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26352 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26354         [BZ #17732]
26355         * io/test-utime.c (main): Replace %ld with %jd and cast to
26356         intmax_t.
26357         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
26358         * nptl/tst-mutex5.c: Include <stdint.h>.
26359         (do_test): Replace %ld with %jd and cast to intmax_t.
26360         * posix/tst-regex.c (run_test): Likewise.
26361         (run_test_backwards): Likewise.
26362         * rt/tst-clock.c: Include <stdint.h>.
26363         (clock_test): Replace %ld with %jd and cast to intmax_t.
26364         * rt/tst-cpuclock1.c: Include <stdint.h>.
26365         (do_test): Replace %lu with %ju and cast to uintmax_t.
26366         * rt/tst-cpuclock2.c: Include <stdint.h>.
26367         (do_test): Replace %lu with %ju and cast to uintmax_t.
26368         * rt/tst-mqueue1.c: Include <stdint.h>.
26369         (check_attrs): Replace %ld with %jd and cast to intmax_t.
26370         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
26371         intmax_t.
26372         * rt/tst-mqueue4.c (do_test): Likewise.
26373         * rt/tst-timer4.c: Include <stdint.h>.
26374         (check_ts): Replace %ld with %jd and cast to intmax_t.
26375         (do_test): Likewise.
26376         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
26377         and cast to intmax_t.
26378         * sysdeps/pthread/tst-timer.c (main): Likewise.
26379         * time/clocktest.c (main): Likewise.
26380         * time/tst-posixtz.c (do_test): Likewise.
26381         * timezone/tst-timezone.c (main): Likewise.
26383 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26384             H.J. Lu  <hongjiu.lu@intel.com>
26386         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
26387         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
26388         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
26389         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
26390         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
26391         version if bit_Fast_Unaligned_Load is set.
26392         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26393         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26394         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26395         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26396         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26397         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26398         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26399         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
26400         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
26401         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
26402         to 4.
26403         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
26404         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
26405         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
26406         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
26408 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
26410         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
26411         instead of #if to avoid a Wundef warning.
26412         * stdlib/tst-limits.c (do_test): Likewise.
26414         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
26415         parallel other exception macros.
26416         (fegetenv): Convert from macro to extern inline so that it applies
26417         retroactively to inline functions already seen by the compiler.
26418         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
26420         * posix/Makefile (before-compile): Use $(objpfx) for
26421         posix-conf-vars-def.h.
26423 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26425         * posix/getconf.c (main): Use size_t for type of I.
26426         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
26427         NSPEC.
26429         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
26430         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
26431         * posix/posix-envs.def: Likewise.
26432         * sysdeps/posix/sysconf.c: Likewise.
26433         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
26434         (specs): Remove array.
26435         * scripts/gen-posix-conf-vars.awk: Support generation of specs
26436         array.
26438         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
26439         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
26440         (__sysconf): Use CONF_IS_* macros.
26442         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
26443         ($(objpfx)posix-conf-vars-def.h): New target.
26444         * posix/posix-conf-vars.list: New file.
26445         * posix/posix-conf-vars.h: New file.
26446         * posix/confstr.c: Include posix-conf-vars.h.
26447         (confstr): Use CONF_IS_* macros.
26448         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
26449         CONF_IS_* macros.
26450         * scripts/gen-posix-conf-vars.awk: New file.
26452 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
26454         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
26455         fegetround): Add no-op macros to avoid linknamespace issues.
26457         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
26458         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
26460         * sysdeps/unix/sysv/linux/tile/sysdep.h
26461         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
26462         assembly-specific section to avoid a redefinition warning.
26464         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
26465         long before casting to pointer to avoid a cast warning.
26467 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
26469         * sysdeps/tile/tilegx/Implies: New file.
26471 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
26473         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
26475 2014-12-23  Florian Weimer  <fweimer@redhat.com>
26477         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
26479 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26481         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
26482         not define.
26483         * sysdeps/unix/sysv/linux/utimes.c: Do not include
26484         <kernel-features.h>.
26485         (__utimes) [__NR_utimes]: Make code unconditional.
26486         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
26487         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26488         (__ASSUME_UTIMES): Do not undefine.
26489         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26490         (__ASSUME_UTIMES): Likewise.
26491         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26492         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
26493         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
26494         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
26496 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26498         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
26500 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
26502         [BZ #17747]
26503         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
26504         alias to weak alias for j0l, y0l.
26505         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
26506         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
26508         [BZ #17746]
26509         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
26510         conversion.
26512 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26514         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
26515         to zero if not already defined.
26517 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26519         [BZ #17724]
26520         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
26521         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
26522         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
26523         (char *) casts added.
26524         * sysdeps/ieee754/k_standardf.c: New file.
26525         * sysdeps/ieee754/k_standardl.c: Likewise.
26526         * math/Makefile (libm-support): Remove k_standard.
26527         (libm-calls): Add k_standard.
26529 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26531         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26532         Optimize to avoid an unnecessary FPCR read.
26534 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26536         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26537         Optimize to reduce FPCR/FPSR accesses.
26539 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26541         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
26542         Call libc_fetestexcept_aarch64.
26544 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26546         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
26547         Call libc_fesetround_aarch64.
26549 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26551         [BZ #17733]
26552         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
26553         (__bind): Do not define as weak alias.
26554         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
26555         define.
26556         (__getsockname): Do not define as weak alias.
26558 2014-12-22  Will Newton  <will.newton@linaro.org>
26560         * manual/install.texi: Document that we require bison 2.7
26561         or above.
26562         * INSTALL: Regenerate.
26563         * configure.ac: Use AC_CHECK_PROG_VER instead of
26564         AC_PATH_PROG when checking for bison and check for
26565         version 2.7 or above.
26566         * configure: Regenerate.
26568 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
26570         [BZ #17745]
26571         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
26572         * sysdeps/tile/ffsll.c (ffsll): To here.
26574         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
26576 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26578         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
26579         if not defined.
26580         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
26581         definition.
26582         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26583         hidden ___tls_get_addr.
26584         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26585         hidden __tls_get_addr.
26586         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
26587         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
26588         Likewise.
26590 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
26592         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
26593         _dl_init call.
26595 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26597         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
26598         from "call _dl_init@PLT".
26599         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
26601 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
26603         * manual/search.texi: (Array Sort Function): Clarify stable sorting
26604         guarantees.
26606 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
26608         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
26610 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26612         [BZ #17744]
26613         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
26614         strnlen.
26616 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26618         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
26619         of multu on MIPSr6.
26620         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
26621         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
26622         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
26623         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
26624         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
26626 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26628         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
26629         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
26630         (PTR_SUBU): Use subu for mips32r6/mips64r6.
26631         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
26632         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
26633         mips32r6/mips64r6.
26634         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
26636 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
26638         * string/strncat.c (STRNCAT): Simplify implementation.
26640 2014-12-19  David S. Miller  <davem@davemloft.net>
26642         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
26643         access the quad as both a long double and as a series of 4 words.
26645         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
26646         link_map->l_info array access.
26648 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26650         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
26652         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
26653         * math/atest-exp2.c (TIMEOUT): Likewise.
26654         * math/atest-sincos.c (TIMEOUT): Likewise.
26656 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26658         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
26659         -Wno-error with -fno-builtin-lround.
26661 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26663         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
26664         Contains futex constants and functions moved over from ...
26665         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
26666         <lowlevellock-futex.h>.
26667         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26668         (lll_timedwait_tid): Add comments and parentheses around macro
26669         arguments.
26671 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26673         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
26674         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
26675         (__lll_private_flag): Remove.
26676         (lll_futex_wait): Likewise.
26677         (lll_futex_timed_wait): Likewise.
26678         (lll_futex_wake): Likewise.
26679         (lll_futex_requeue): Likewise.
26680         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26681         (__lll_timedwait_tid): Spell out argument names.
26682         (lll_timedwait_tid): Add comments and parentheses around macro
26683         arguments.
26684         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
26685         LLL_SHARED and LLL_PRIVATE usable from assembly code.
26687 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26689         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
26690         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26691         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26692         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
26693         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
26694         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
26695         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
26696         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
26697         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
26698         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
26699         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
26700         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
26701         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
26702         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
26703         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
26704         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
26705         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
26706         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
26707         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
26709 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26711         * sysdeps/x86_64/x32/Makefile: New file.
26713 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26715         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
26716         1L with (mp_limb_t) 1.
26718 2014-12-17  Roland McGrath  <roland@hack.frob.com>
26720         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
26721         * nptl/libc_pthread_init.c: ... here.
26722         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
26723         * nptl/register-atfork.c: ... here.
26725         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
26726         Use pthread_sigmask rather than INTERNAL_SYSCALL.
26727         Use assert_perror to check its return value.
26728         (__gai_create_helper_thread): Likewise.
26730         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
26732         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
26734 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
26736         [BZ #17725]
26737         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
26738         __profil_counter.
26739         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
26740         Likewise.
26741         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
26742         Likewise.
26743         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
26744         Likewise.
26745         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
26746         (profil_counter): Likewise.
26747         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
26748         (profil_counter): Likewise.
26749         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
26750         Likewise.
26751         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
26752         Likewise.
26753         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
26754         (profil_counter): Likewise.
26755         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
26756         Likewise.
26757         [!__profil_counter] (profil_counter): Define as weak alias of
26758         __profil_counter.
26759         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
26760         (profil_counter): Rename to __profil_counter.
26761         [!__profil_counter] (profil_counter): Define as weak alias of
26762         __profil_counter.
26763         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
26764         (profil_counter): Rename to __profil_counter.
26765         [!__profil_counter] (profil_counter): Define as weak alias of
26766         __profil_counter.
26767         * sysdeps/posix/profil.c: Update comment referring to
26768         profil_counter.
26769         (__profil): Use __profil_counter instead of profil_counter.
26770         * sysdeps/posix/sprofil.c (profil_counter): Rename to
26771         __profil_counter.  Use __profil_counter_ushort and
26772         __profil_counter_uint in definitions.
26773         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
26774         instead of profil_counter_uint and profil_counter_ushort.
26776         [BZ #17722]
26777         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
26778         define as weak alias of __inet_makeaddr.
26779         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
26780         as weak alias of __inet_addr.
26781         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
26782         as weak alias of __inet_pton.  Use libc_hidden_weak.
26783         * include/arpa/inet.h (__inet_pton): Declare.  Use
26784         libc_hidden_proto.
26785         (inet_makeaddr): Don't use libc_hidden_proto.
26786         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
26787         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
26788         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
26789         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
26790         Remove variable.
26791         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26792         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26794 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
26796         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
26798 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26800         * stdio-common/bug-vfprintf-nargs.c (do_test):
26801         Cast value to intptr_t to avoid format warning
26802         for usage with PRIdPTR printing macro.
26804 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26806         * libio/tst-widetext.c (do_test):
26807         Use format type %td instead of %Zd for ptrdiff_t
26808         in order to avoid format warning.
26810 2014-12-17  Andreas Schwab  <schwab@suse.de>
26812         * nscd/mem.c (gc): Add size_t cast to match printf format.
26814 2014-12-16  Roland McGrath  <roland@hack.frob.com>
26816         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
26817         (init): Apply PTR_MANGLE to pointers before storing them.
26818         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
26819         before using them.
26821 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
26823         [BZ #17719]
26824         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
26825         define as weak alias of __memrchr.
26826         (__memrchr): Do not define as strong alias of memrchr.
26827         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
26828         Remove variable.
26829         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26830         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26831         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26833         [BZ #17717]
26834         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
26835         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
26836         (if_indextoname): Rename to __if_indextoname and define as weak
26837         alias of __if_indextoname.  Use libc_hidden_weak.
26838         (if_freenameindex): Rename to __if_freenameindex and define as
26839         weak alias of __if_freenameindex.
26840         (if_nameindex): Rename to __if_nameindex and define as weak alias
26841         of __if_nameindex.
26842         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
26843         __if_nametoindex and define as weak alias of __if_nametoindex.
26844         Use libc_hidden_weak.
26845         (if_freenameindex): Rename to __if_freenameindex and define as
26846         weak alias of __if_freenameindex.
26847         (if_nameindex): Rename to __if_nameindex and define as weak alias
26848         of __if_nameindex.
26849         (if_indextoname): Rename to __if_indextoname and define as weak
26850         alias of __if_indextoname.  Use libc_hidden_weak.
26851         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
26852         __if_nametoindex and define as weak alias of __if_nametoindex.
26853         Use libc_hidden_weak.
26854         (if_freenameindex): Rename to __if_freenameindex and define as
26855         weak alias of __if_freenameindex.  Use libc_hidden_weak.
26856         (if_nameindex_netlink): Use __if_freenameindex instead of
26857         if_freenameindex.
26858         (if_nameindex): Rename to __if_nameindex and define as weak alias
26859         of __if_nameindex.  Use libc_hidden_weak.
26860         (if_indextoname): Rename to __if_indextoname and define as weak
26861         alias of __if_indextoname.  Use libc_hidden_weak.
26862         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
26863         libc_hidden_proto.
26864         [!_ISOMAC] (__if_freenameindex): Likewise.
26865         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
26866         if_nametoindex.
26867         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
26868         variable.
26869         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26870         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26871         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26872         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26873         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26874         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26875         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26877         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
26878         Remove variable.
26879         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26880         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26882 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26884         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
26885         subscript above bounds'
26887         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
26888         bounds.
26890 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
26892         * libio/tst-fopenloc.c: Use test-skeleton.c.
26894         * stdlib/tst-bsearch.c: Use test-skeleton.c.
26895         (entry): Rename to ITEM.
26896         (do_test, comp): Adjust.
26898         * stdio-common/tst-fseek.c: Use test-skeleton.c.
26900 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26902         * string/tester.c: Include <libc-internal.h>.
26903         (test_memset): Ignore -Wmemset-transposed-args.
26905 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26907         * misc/tst-mntent2.c (do_test): Fix warning.
26909 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26911         * elf/tst-unique4lib.cc(a): Mark as used.
26913 2014-12-16  Florian Weimer  <fweimer@redhat.com>
26915         [BZ #17630]
26916         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
26917         names.
26919 2014-12-16  Allan McRae  <allan@archlinux.org>
26921         * stdio-common/Makefile (tests): Re-add bug26.
26923 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
26925         [BZ #17657]
26926         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
26927         static array.
26929 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
26931         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
26932         (__lll_lock_wait): Likewise.
26933         (__lll_timedlock_wait): Likewise.
26934         (__lll_timedwait_tid): Likewise.
26935         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
26936         (__lll_robust_timedlock_wait): Likewise.
26937         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
26938         (lll_cond_trylock): Likewise.
26939         (__lll_lock): Likewise.
26940         (__lll_robust_lock): Likewise.
26941         (__lll_cond_lock): Likewise.
26942         (lll_robust_cond_lock): Likewise.
26943         (__lll_timedlock): Likewise.
26944         (__lll_robust_timedlock): Likewise.
26945         (__lll_unlock): Likewise.
26946         (__lll_robust_unlock): Likewise.
26947         (lll_wait_tid): Likewise.
26948         (lll_timedwait_tid): Likewise.
26950 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26952         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
26954 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26956         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
26958 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26960         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
26961         * stdio-common/tst-sprintf.c: Likewise.
26963 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26965         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
26967 2014-12-15  Jeff Law  <law@redhat.com>
26969         [BZ #16617]
26970         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
26971         on the heap.  (CVE-2012-3406)
26972         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
26973         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
26974         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
26976 2014-12-15  Will Newton  <will.newton@linaro.org>
26978         * manual/install.texi: Bump required version of texinfo
26979         to 4.7 from 4.5.
26980         * INSTALL: Regenerated.
26981         * configure.ac: Check for makeinfo version 4.7 and above.
26982         * configure: Regenerated.
26984 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26986         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
26987         PREFIX, string constant to insert between directory and name.
26988         * sysdeps/posix/shm_open.c: Update caller.
26989         * sysdeps/posix/shm_unlink.c: Likewise.
26990         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
26991         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
26992         (SEM_SHM_PREFIX): New macro.
26993         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
26994         [$(have-thread-library) = no].
26995         * nptl/Makefile (libpthread-routines): Add shm-directory.
26996         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
26997         * sysdeps/nptl/shm-directory.h: New file.
26998         * sysdeps/posix/shm-directory.c
26999         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
27000         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
27001         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
27002         INTERNAL_SYSCALL.
27003         (__where_is_shmfs): Function removed.
27004         (mountpoint, defaultmount, defaultdir, __namedsem_once):
27005         Variables removed.
27006         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
27007         Use SHM_GET_NAME.
27008         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
27010         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
27011         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
27012         unconditional for use inside libpthread.
27013         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
27015 2014-12-12  Roland McGrath  <roland@hack.frob.com>
27017         * nptl/pthread_getaffinity.c: New file.
27018         * nptl/pthread_setaffinity.c: New file.
27019         * nptl/pthread_getname.c: New file.
27020         * nptl/pthread_setname.c: New file.
27022         * nptl/pthread_create.c (START_THREAD_DEFN)
27023         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
27025 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27026             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27028         * resolv/res_send.c (send_vc): Disable warning resplen may
27029         be used uninitialized.
27031 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27033         * nptl/tst-mutex6.c
27034         (ATTR_NULL): New define checks ATTR against NULL.
27035         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
27036         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
27038 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
27040         [BZ #17581]
27041         * malloc/hooks.c
27042         (mem2mem_check): Revert my previous change.
27043         (malloc_check_get_size): Revert my previous change.
27044         (mem2chunk_check): Revert my previous change.
27046 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27048         * sysdeps/posix/shm-directory.c: New file.
27049         * sysdeps/posix/shm-directory.h: New file.
27050         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
27051         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
27052         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
27053         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
27054         Transmute EPERM to EACCES.
27055         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
27056         from ...
27057         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
27058         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
27060 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27062         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
27063         pointer and cast to uintptr_t.
27064         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
27065         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
27066         Add cast to avoid warning.
27067         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
27069 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27071         * nptl/semaphore.h: Move to ...
27072         * sysdeps/pthread/semaphore.h: ... here.
27073         * Makefile (installed-headers): Change nptl/semaphore.h to
27074         sysdeps/pthread/semaphore.h.
27076 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27078         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
27079         generated error format strings.
27081         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
27082         -Wformat-extra-args warnings for scanf formats.
27083         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
27084         test of zero-length format (duh).
27085         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
27086         corner-case scanf format test.
27087         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
27088         generated fprintf format string.
27089         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
27090         corner-case sprintf format tests.
27091         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
27092         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
27093         -Wformat-extra-args warnings throughout.
27094         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
27095         (CFLAGS-scanf4.c): Likewise.
27096         (CFLAGS-scanf7.c): Likewise.
27097         (CFLAGS-tst-sprintf.c): Likewise.
27098         (CFLAGS-tst-printf.c): Likewise.
27099         (CFLAGS-tst-printfsz.c): Likewise.
27101 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27103         * include/cpio.h: New file.
27104         * include/fmtmsg.h: Likewise.
27106         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
27107         corresponding format argument to size_t.
27108         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
27109         arguments.
27110         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
27111         corresponding format argument to size_t.
27112         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
27113         arguments.
27114         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
27115         corresponding format argument to size_t.
27116         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
27117         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
27118         (CFLAGS-tst-mbswcs2.c): Likewise.
27119         (CFLAGS-tst-mbswcs3.c): Likewise.
27120         (CFLAGS-tst-mbswcs4.c): Likewise.
27121         (CFLAGS-tst-mbswcs5.c): Likewise.
27122         (CFLAGS-tst-trans.c): Likewise.
27124 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27126         * posix/regexbug1.c (main): Use "%s" format with regerror results,
27127         rather than assuming they won't contain any '%'s.
27129 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
27131         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
27132         inhibit_loop_to_libcall to avoid recursive calls.
27133         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
27134         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
27136 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
27138         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
27139         prototype.
27141 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27143         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
27144         integer value instead of boolean.
27146 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27148         * malloc/malloc.c: Fix powerof2 check.
27150 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27152         * locale/programs/locfile.h (maybe_swap_uint32):
27153         Remove inline and add unused attribute.
27155 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27157         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27158         Truncating assembler expression to a .long expression.
27160 2014-12-11  Andreas Schwab  <schwab@suse.de>
27162         * elf/rtld.c (struct map_args): Constify str member.
27163         (do_preload): Constify fname argument.
27165 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27167         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
27168         constants definition.
27170 2014-12-11  Andreas Schwab  <schwab@suse.de>
27172         [BZ #16657]
27173         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
27174         FORCE_ELISION instead of DO_ELISION.
27175         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
27176         Remove.
27177         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
27178         Likewise.
27180         * iconvdata/gconv-modules: Remove duplicate entry.
27182 2014-12-11  Will Newton  <will.newton@linaro.org>
27184         Merge gettext 0.19.3 into intl/.
27186         This involves a number of cosmetic changes to comments
27187         and ANSI function definitions and prototypes throughout
27188         all the files. The gettext copyright header is used but
27189         with the date ranges taken from the glibc copy.
27191         * NEWS: Add gettext merge to 2.21.
27192         * intl/bindtextdom.c: Switch to gettext copyright.
27193         Use ANSI definitions and prototypes.
27194         Use gl_* locking primitives rather than __libc_* ones.
27195         Use __builtin_expect rather than __glibc_likely/unlikely.
27196         * intl/dcgettext.c: Switch to gettext copyright.
27197         Use ANSI definitions and prototypes.
27198         * intl/dcigettext.c: Switch to gettext copyright.
27199         Use ANSI definitions and prototypes.
27200         (INTDIV0_RAISES_SIGFPE): New define.
27201         Use gl_* locking primitives rather than __libc_* ones.
27202         Include eval-plural.h instead of plural-eval.c.
27203         Use __builtin_expect rather than __glibc_likely/unlikely.
27204         * intl/dcngettext.c: Switch to gettext copyright.
27205         Use ANSI definitions and prototypes.
27206         * intl/dgettext.c: Likewise.
27207         * intl/dngettext.c: Likewise.
27208         * intl/plural-eval.c: Renamed to...
27209         * intl/eval-plural.h: ...this.
27210         * intl/explodename.c: Switch to gettext copyright.
27211         Use ANSI definitions and prototypes.
27212         (_nl_explode_name): Use strchr instead of __rawmemchr.
27213         * intl/finddomain.c: Switch to gettext copyright.
27214         Use ANSI definitions and prototypes.
27215         Use gl_* locking primitives rather than __libc_* ones.
27216         (_nl_find_domain): Use malloc rather than alloca for
27217         allocation of temporary locale name.
27218         * intl/gettext.c: Switch to gettext copyright.
27219         Use ANSI definitions and prototypes.
27220         * intl/gettextP.h: Switch to gettext copyright.
27221         Use ANSI definitions and prototypes.
27222         Use gl_* locking primitives rather than __libc_* ones.
27223         * intl/gmo.h: Switch to gettext copyright.
27224         (struct sysdep_string): Move struct segment_pair outside of
27225         struct definition.
27226         * intl/hash-string.c: Use ANSI definitions and prototypes.
27227         * intl/hash-string.h: Switch to gettext copyright.
27228         Use ANSI definitions and prototypes.
27229         * intl/l10nflist.c: Switch to gettext copyright.
27230         Use ANSI definitions and prototypes.
27231         (_nl_normalize_codeset): Avoid integer overflow.
27232         * intl/loadinfo.h: Switch to gettext copyright.
27233         Use ANSI definitions and prototypes.
27234         (LIBINTL_DLL_EXPORTED): New define.
27235         (PATH_SEPARATOR): New define.
27236         * intl/loadmsgcat.c: Switch to gettext copyright.
27237         * intl/localealias.c: Switch to gettext copyright.
27238         Use ANSI definitions and prototypes.
27239         (_nl_expand_alias): Use PATH_SEPARATOR.
27240         * intl/ngettext.c: Switch to gettext copyright.
27241         Use ANSI definitions and prototypes.
27242         * intl/plural-exp.c: Likewise.
27243         * intl/plural-exp.h: Switch to gettext copyright.
27244         Use ANSI definitions and prototypes.
27245         (struct expression): Move definition of enum operator outside
27246         of struct definition.
27247         * intl/plural.c: Regenerate.
27248         * intl/plural.y: Switch to gettext copyright.
27249         Use ANSI definitions and prototypes.
27250         Port to bison 3.0.
27251         * intl/textdomain.c: Switch to gettext copyright.
27252         Use ANSI definitions and prototypes.
27253         Use gl_* locking primitives rather than __libc_* ones.
27255 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
27257         * debug/warning-nop.c: Add used atrribute.
27259 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27261         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
27263         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
27264         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
27265         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
27267 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27268             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27270         [BZ #17634]
27271         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
27272         Undefine after defining function.  Define as weak alias of
27273         __wcschr.  Use libc_hidden_weak.
27274         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
27275         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
27276         (libc_hidden_def): Also define __GI___wcschr alias.
27277         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
27278         __wcschr and define as weak alias of __wcschr.
27279         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
27280         __wcschr.
27281         [!WCSCHR] (DEFAULT_WCSCHR): Define.
27282         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
27283         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
27284         libc_hidden_weak.  Do not use libc_hidden_def.
27285         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
27286         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
27287         __GI___wcschr alias.
27288         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
27289         [IS_IN (libc)] (wcschr): Define as macro expanding to
27290         __redirect_wcschr.
27291         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
27292         [IS_IN (libc)] (__wcschr_power6): Likewise.
27293         [IS_IN (libc)] (__wcschr_power7): Likewise.
27294         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
27295         instead of wcschr.
27296         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
27297         __libc_wcschr.
27298         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
27299         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
27300         __wcschr and define as weak alias of __wcschr.  Use
27301         libc_hidden_builtin_def.
27302         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
27303         as weak alias of __wcschr.  Use libc_hidden_weak.
27304         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
27305         wcschr.
27306         * time/era.c (_nl_init_era_entries): Likewise.
27307         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
27308         variable.
27309         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27310         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27312 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27314         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
27315         format for long int variable.
27317 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
27319         [BZ #10672]
27320         * manual/search.texi: (Array Sort Function): Remove claim how to make
27321         qsort stable.
27323 2014-12-10  Andreas Schwab  <schwab@suse.de>
27325         [BZ #12847]
27326         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
27327         user-controlled locks.
27329 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
27331         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
27332         register.
27334 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27336         * configure.ac (--disable-werror): New configure option.
27337         (enable_werror): New AC_SUBST.
27338         * configure: Regenerated.
27339         * config.make.in (enable-werror): New variable.
27340         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
27341         -Wno-error=undef.
27342         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
27343         * manual/install.texi (Configuring and compiling): Document
27344         --disable-werror.
27345         * INSTALL: Regenerated.
27346         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
27347         (CFLAGS-tst-chk2.c): Likewise.
27348         (CFLAGS-tst-chk3.c): Likewise.
27349         (CFLAGS-tst-chk4.cc): Likewise.
27350         (CFLAGS-tst-chk5.cc): Likewise.
27351         (CFLAGS-tst-chk6.cc): Likewise.
27352         (CFLAGS-tst-lfschk1.c): Likewise.
27353         (CFLAGS-tst-lfschk2.c): Likewise.
27354         (CFLAGS-tst-lfschk3.c): Likewise.
27355         (CFLAGS-tst-lfschk4.cc): Likewise.
27356         (CFLAGS-tst-lfschk5.cc): Likewise.
27357         (CFLAGS-tst-lfschk6.cc): Likewise.
27359         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
27360         (main): Disable -Wdeprecated-declarations around calls to
27361         register_printf_function.
27363         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
27364         (do_test): Disable -Wdiv-by-zero around some calls to
27365         fwrite_unlocked and fread_unlocked.
27367         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
27368         (DIAG_POP_NEEDS_COMMENT): Likewise.
27369         (_DIAG_STR1): Likewise.
27370         (_DIAG_STR): Likewise.
27371         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
27372         * stdio-common/bug21.c: Include <libc-internal.h>.
27373         (do_test): Disable -Wformat around call to sscanf.
27374         * stdio-common/scanf14.c: Include <libc-internal.h>.
27375         (main): Disable -Wformat around some calls to scanf functions.
27377 2014-12-09  Torvald Riegel  <triegel@redhat.com>
27379         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
27381 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27383         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
27384         stack variable alignment.
27386 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
27388         [BZ #17682]
27389         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
27390         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
27391         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
27392         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
27393         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
27394         __getrlimit instead of getrlimit.
27395         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
27396         __gettimeofday instead of gettimeofday.
27397         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27398         Likewise.
27399         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27400         Likewise.
27401         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27402         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
27403         Remove variable.
27404         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27405         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27407 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27409         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
27410         for wide-character tests.
27412 2014-12-04  Roland McGrath  <roland@hack.frob.com>
27414         * io/openat64.c: #include <libc-internal.h>
27415         (__openat64): Prototypify.  Use ignore_value on MODE.
27416         * io/openat.c: Likewise.
27417         * misc/reboot.c: #include <libc-internal.h>
27418         (reboot): Prototypify.  Use ignore_value on HOWTO.
27419         * misc/ptrace.c: #include <libc-internal.h>
27420         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
27422 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
27424         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
27425         XPG4, UNIX98 and XOPEN2K.
27426         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
27427         Remove variable.
27428         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27430 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27432         * libio/fileops.c: Use ISO C style for function definitions.
27433         * libio/iofopen.c: Likewise.
27434         * libio/wfileops.c: Likewise.
27436         [BZ #17653]
27437         * libio/fileops.c (_IO_new_file_underflow): Unset cached
27438         offset on EOF.
27439         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
27440         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
27441         (fgets_func): Function pointer to fgets and fgetws.
27442         (do_ftell_test): Add test to verify ftell value after read
27443         EOF.
27444         (do_test): Set fgets_func.
27446         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
27447         O_TRUNC flag for w and w+ modes.
27448         (do_rewind_test): Likewise.
27449         (do_ftell_test): Likewise.
27450         (do_write_test): Likewise.
27452         [BZ #17647]
27453         * libio/fileops.c (do_ftell): Seek only when there are
27454         unflushed writes.
27455         * libio/wfileops.c (do_ftell_wide): Likewise.
27456         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
27457         test case.
27458         (do_one_test): Call it.
27460 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
27462         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
27463         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
27464         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
27465         Remove variable.
27466         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27467         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27468         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27470 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27472         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
27473         Remove variable.
27474         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27476         [BZ #17668]
27477         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
27478         as weak alias of __getifaddrs.  Use libc_hidden_weak.
27479         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27480         __freeifaddrs.  Use libc_hidden_weak.
27481         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
27482         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
27483         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27484         __freeifaddrs.  Use libc_hidden_weak.
27485         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
27486         __getifaddrs and define as weak alias of __getifaddrs.  Use
27487         libc_hidden_weak.
27488         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27489         __freeifaddrs.  Use libc_hidden_weak.
27490         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
27491         Remove variable.
27492         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27493         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27495 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
27497         [BZ #17601]
27498         * sysdeps/mips/start.S (__start): Use indirect jump to call
27499         __libc_start_main.
27501 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27503         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
27505         * nptl/tst-mutex1.c: Include <stdbool.h>.
27506         [!ATTR] (ATTR_NULL): New macro.
27507         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
27508         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
27509         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
27511         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
27512         to char *.
27514         [BZ #17665]
27515         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
27516         Change conditional to [__USE_MISC].
27518         [BZ #17664]
27519         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
27520         fgets_unlocked.
27521         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
27522         __fgets_unlocked.
27523         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
27524         fgets_unlocked.
27525         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
27526         Remove variable.
27527         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27528         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27529         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27530         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27531         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27532         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27533         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27534         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27535         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27537         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
27539 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27541         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27542         Remove strpbrk objects.
27543         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27544         (__libc_ifunc_impl_list): Remove strpbrk implementation.
27545         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
27546         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
27547         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
27548         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
27550         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27551         Remove strcspn objects.
27552         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27553         (__libc_ifunc_impl_list): Remove strcspn implementation.
27554         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
27555         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
27556         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
27557         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
27559         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27560         Remove strspn objetcs.
27561         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27562         (__libc_ifunc_impl_list): Remove strspn implementation.
27563         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
27564         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27565         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
27566         * sysdeps/powerpc/powerpc64/strspn.S: New file.
27568 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
27570         [BZ #17581]
27571         * malloc/hooks.c
27572         (mem2mem_check): Add a terminator to the chain of checking blocks.
27573         (malloc_check_get_size): Use it here.
27574         (mem2chunk_check): Ditto.
27576 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27578         * sysdeps/powerpc/powerpc64/strtok.S: New file.
27579         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
27581 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
27583         * bits/ioctl-types.h: Indent preprocessor directives correctly.
27585         * nptl/nptl-init.c: Include libc-internal.h.
27586         (__pthread_initialize_minimal_internal): Use ROUND_UP.
27588         * elf/ldconfig.c (search_dir): Expand comment.
27590 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
27592         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
27593         variable.
27594         (linknamespace-symlist-stdlibs-tests): Likewise.
27595         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
27596         instead of $(objpfx)symlist-stdlibs.
27597         (linknamespace-libs-isoc): New variable.
27598         (linknamespace-libs): Use $(linknamespace-libs-isoc).
27599         (linknamespace-libs-ISO): New variable.
27600         (linknamespace-libs-ISO99): Likewise.
27601         (linknamespace-libs-ISO11): Likewise.
27602         (linknamespace-libs-XPG3): Likewise.
27603         (linknamespace-libs-XPG4): Likewise.
27604         (linknamespace-libs-POSIX): Likewise.
27605         (linknamespace-libs-UNIX98): Likewise.
27606         (linknamespace-libs-XOPEN2K): Likewise.
27607         (linknamespace-libs-POSIX2008): Likewise.
27608         (linknamespace-libs-XOPEN2K8): Likewise.
27609         ($(objpfx)symlist-stdlibs): Replace by
27610         $(linknamespace-symlist-stdlibs-tests).  Use
27611         $(linknamespace-libs-$*) as set of libraries.
27612         ($(linknamespace-header-tests)): Update dependencies.  Use
27613         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
27614         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
27615         * conform/linknamespace.pl: Remove comment about considering
27616         definitions of symbols from irrelevant libraries.
27618 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
27620         [BZ #13862]
27621         * elf/dl-tls.c: Include <atomic.h>.
27622         (oom): Remove #ifdef SHARED/#endif.
27623         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
27624         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
27625         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
27626         big enough.
27627         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
27628         * nptl/Makefile (tests): Add tst-stack4.
27629         (modules-names): Add tst-stack4mod.
27630         ($(objpfx)tst-stack4): New.
27631         (tst-stack4mod.sos): Likewise.
27632         ($(objpfx)tst-stack4.out): Likewise.
27633         ($(tst-stack4mod.sos)): Likewise.
27634         (clean): Likewise.
27635         * nptl/tst-stack4.c: New file.
27636         * nptl/tst-stack4mod.c: Likewise.
27638 2014-11-27  J. Brown  <jb999@gmx.de>
27640         * sysdeps/x86/bits/string.h: Add recent CPUs.
27642 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27644         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
27645         sigblock.
27647         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
27648         feof.
27650         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
27651         variable.
27653 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
27655         * nscd/connections.c: Include libc-internal.h because of macro
27656         usage ignore_value.
27658 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27660         * string/bits/string3.h (__warn_memset_zero_len): Don't
27661         declare for gcc newer than 5.0.
27662         (memset): Don't test for zero-length __LEN for gcc newer than
27663         5.0.
27665 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27667         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
27668         size_t for %zu format.
27670         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
27671         difference, not %ju.
27673 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27675         * include/libc-internal.h (ignore_value): New macro.
27676         * nscd/connections.c (restart): Wrap calls to setuid and setgid
27677         with ignore_value.
27679         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
27680         definition.
27682         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
27683         pthread_cleanup_push to void *.
27685         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
27686         Undefine.
27688         [BZ #16619]
27689         [BZ #16740]
27690         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
27691         instead of 1L << 52.
27693         * libio/bug-rewind.c (do_test): Check fwscanf return values.
27694         * libio/bug-rewind2.c (do_test): Likewise.
27696         * debug/test-stpcpy_chk-ifunc.c: Remove file.
27697         * debug/test-strcpy_chk-ifunc.c: Likewise.
27698         * wcsmbs/test-wcschr-ifunc.c: Likewise.
27699         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27700         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27701         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27702         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27703         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27704         * Rules [$(multi-arch) = no] (tests): Do not filter out
27705         $(tests-ifunc).
27706         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
27707         * debug/Makefile (tests-ifunc): Remove variable.
27708         (tests): Do not add $(tests-ifunc).
27709         * wcsmbs/Makefile (tests-ifunc): Remove variable.
27710         (tests): Do not add $(tests-ifunc).
27711         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
27712         [TEST_IFUNC]: Remove conditionals.
27713         * string/test-string.h (TEST_IFUNC): Remove macro.
27714         [TEST_IFUNC]: Remove conditionals.
27716         * string/test-strchr.c [!WIDE] (L): New macro.
27717         [WIDE] (L): Likewise.
27718         (check1): Use CHAR instead of char.  Use L on string and character
27719         constants.
27721 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
27723         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
27724         tests.
27725         * sysdeps/powerpc/bits/atomic.h
27726         (__arch_atomic_exchange_and_add_32_acq): Add definition.
27727         (__arch_atomic_exchange_and_add_32_rel): Likewise.
27728         (atomic_exchange_and_add_acq): Likewise.
27729         (atomic_exchange_and_add_rel): Likewise.
27730         * sysdeps/powerpc/powerpc32/bits/atomic.h
27731         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27732         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27733         * sysdeps/powerpc/powerpc64/bits/atomic.h
27734         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27735         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27737 2014-11-26  Torvald Riegel  <triegel@redhat.com>
27739         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
27740         Change synchronization of __sched_fifo_min_prio and
27741         __sched_fifo_max_prio.
27742         * nptl/pthread_mutexattr_getprioceiling.c
27743         (pthread_mutexattr_getprioceiling): Likewise.
27744         * nptl/pthread_mutexattr_setprioceiling.c
27745         (pthread_mutexattr_setprioceiling): Likewise.
27746         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27747         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
27748         Likewise.
27750 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27752         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
27753         void.
27755 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27757         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
27758         third argument const.
27760 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
27762         fnmatch: work around GCC compiler warning bug with uninit var
27763         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
27764         This works around a bug with x86-64 GCC 4.9.2 and earlier
27765         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
27766         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
27767         used uninitialized in this function [-Wmaybe-uninitialized]".
27769 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27771         * posix/bug-regex31.c (main): Return RES not 0.
27773 2014-11-25  Anton Blanchard <anton@samba.org>
27775         * sysdeps/powerpc/bits/atomic.h
27776         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
27778 2014-11-24  Sterling Augustine  <saugustine@google.com>
27780         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
27782 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
27784         [BZ #17608]
27785         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
27787 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
27789         [BZ #17633]
27790         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
27791         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
27792         variable.
27793         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27794         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27796 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27798         * string/strncpy.c (strncpy): Improve performance by using memset.
27800 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27802         * string/strcpy.c (strcpy):
27803         Improve performance by using strlen and memcpy.
27805 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
27807         * string/strcoll_l.c (get_next_seq): __always_inline.
27808         * string/strcoll_l.c (do_compare): __always_inline.
27810 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27812         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
27813         defined.
27814         * include/mqueue.h: Likewise.
27815         * include/stdlib.h: Likewise.
27817         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
27818         (get_null_defines): Adjust.
27819         * sunrpc/Makefile: Adjust comment.
27820         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
27821         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
27822         (CFLAGS-interp.c): Likewise.
27823         (CFLAGS-ldconfig.c): Likewise.
27824         (CPPFLAGS-.os): Likewise.
27825         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27826         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27827         * extra-modules.mk (extra-modules.mk): Likewise.
27828         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
27829         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
27830         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
27831         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
27832         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
27833         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
27834         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
27835         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
27836         * iconvdata/Makefile (CPPFLAGS): Likewise.
27837         (cpp-srcs-left): Add libof for all iconvdata routines.
27838         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
27839         * include/assert.h: Likewise.
27840         * include/ctype.h: Likewise.
27841         * include/errno.h: Likewise.
27842         * include/libc-symbols.h: Likewise.
27843         * include/math.h: Likewise.
27844         * include/netdb.h: Likewise.
27845         * include/resolv.h: Likewise.
27846         * include/stdio.h: Likewise.
27847         * include/stdlib.h: Likewise.
27848         * include/string.h: Likewise.
27849         * include/sys/stat.h: Likewise.
27850         * include/wctype.h: Likewise.
27851         * intl/l10nflist.c: Likewise.
27852         * libidn/idn-stub.c: Likewise.
27853         * libio/libioP.h: Likewise.
27854         * nptl/libc_multiple_threads.c: Likewise.
27855         * nptl/pthreadP.h: Likewise.
27856         * posix/regex_internal.h: Likewise.
27857         * resolv/res_hconf.c: Likewise.
27858         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
27859         * sysdeps/arm/memmove.S: Likewise.
27860         * sysdeps/arm/sysdep.h: Likewise.
27861         * sysdeps/generic/_itoa.h: Likewise.
27862         * sysdeps/generic/symbol-hacks.h: Likewise.
27863         * sysdeps/gnu/errlist.awk: Likewise.
27864         * sysdeps/gnu/errlist.c: Likewise.
27865         * sysdeps/i386/i586/memcpy.S: Likewise.
27866         * sysdeps/i386/i586/memset.S: Likewise.
27867         * sysdeps/i386/i686/memcpy.S: Likewise.
27868         * sysdeps/i386/i686/memmove.S: Likewise.
27869         * sysdeps/i386/i686/mempcpy.S: Likewise.
27870         * sysdeps/i386/i686/memset.S: Likewise.
27871         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27872         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27873         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
27874         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
27875         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27876         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27877         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
27878         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27879         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27880         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27881         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27882         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27883         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27884         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27885         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27886         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27887         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
27888         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
27889         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
27890         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27891         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27892         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27893         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27894         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27895         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27896         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27897         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
27898         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27899         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
27900         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27901         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27902         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27903         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27904         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27905         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27906         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27907         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27908         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27909         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27910         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27911         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27912         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27913         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27914         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27915         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27916         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27917         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
27918         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
27919         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27920         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27921         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27922         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
27923         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
27924         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27925         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27926         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
27927         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27928         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
27929         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
27930         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27931         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27932         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27933         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
27934         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27935         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27936         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
27937         * sysdeps/posix/closedir.c: Likewise.
27938         * sysdeps/posix/opendir.c: Likewise.
27939         * sysdeps/posix/readdir.c: Likewise.
27940         * sysdeps/posix/rewinddir.c: Likewise.
27941         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
27942         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
27943         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27944         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27945         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27946         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
27947         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
27948         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
27949         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
27950         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
27951         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
27952         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
27953         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
27954         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
27955         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
27956         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
27957         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
27958         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
27959         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
27960         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
27961         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
27962         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
27963         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
27964         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
27965         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
27966         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
27967         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
27968         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
27969         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
27970         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
27971         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
27972         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
27973         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
27974         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
27975         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
27976         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
27977         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27978         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27979         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
27980         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
27981         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
27982         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
27983         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
27984         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27985         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
27986         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
27987         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
27988         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
27989         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
27990         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
27991         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
27992         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
27993         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27994         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
27995         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
27996         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
27997         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
27998         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
27999         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
28000         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
28001         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28002         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
28003         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
28004         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
28005         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
28006         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28007         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
28008         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
28009         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
28010         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
28011         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28012         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
28013         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
28014         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
28015         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
28016         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
28017         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
28018         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
28019         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
28020         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
28021         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
28022         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28023         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
28024         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
28025         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28026         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
28027         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
28028         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28029         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28030         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28031         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
28032         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
28033         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
28034         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28035         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28036         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
28037         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28038         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28039         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
28040         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
28041         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28042         * sysdeps/unix/alpha/sysdep.S: Likewise.
28043         * sysdeps/unix/alpha/sysdep.h: Likewise.
28044         * sysdeps/unix/make-syscalls.sh: Likewise.
28045         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28046         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28047         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28048         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
28049         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28050         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
28051         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
28052         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28053         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28054         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
28055         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28056         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28057         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28058         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28059         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28060         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28061         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28062         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28063         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28064         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28065         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
28066         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28067         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28068         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28069         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28070         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28071         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28074         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
28075         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28076         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28077         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28078         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28079         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28080         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28081         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28082         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28083         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28084         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
28085         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28086         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28087         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28088         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28089         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28090         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28091         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28092         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28093         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28094         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28095         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28096         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28097         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28098         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28099         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
28100         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28101         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28102         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28103         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
28104         * sysdeps/x86_64/memcpy.S: Likewise.
28105         * sysdeps/x86_64/memmove.c: Likewise.
28106         * sysdeps/x86_64/memset.S: Likewise.
28107         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
28108         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28109         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28110         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
28111         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
28112         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28113         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28114         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28115         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28116         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28117         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28118         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28119         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
28120         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28121         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28122         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
28123         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28124         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28125         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28126         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28127         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
28128         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28129         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28130         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28131         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28132         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28133         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28134         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
28135         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28136         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28137         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
28138         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28139         * sysdeps/x86_64/strcmp.S: Likewise.
28141         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
28143         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
28144         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
28145         * elf/rtld-Rules: Likewise.
28146         * elf/setup-vdso.h: Likewise.
28147         * include/assert.h: Likewise.
28148         * include/bits/stdlib-float.h: Likewise.
28149         * include/errno.h: Likewise.
28150         * include/sys/stat.h: Likewise.
28151         * include/unistd.h: Likewise.
28152         * sysdeps/aarch64/setjmp.S: Likewise.
28153         * sysdeps/alpha/setjmp.S: Likewise.
28154         * sysdeps/arm/__longjmp.S: Likewise.
28155         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
28156         * sysdeps/arm/setjmp.S: Likewise.
28157         * sysdeps/arm/sysdep.h: Likewise.
28158         * sysdeps/generic/_itoa.h: Likewise.
28159         * sysdeps/generic/dl-sysdep.h: Likewise.
28160         * sysdeps/generic/ldsodefs.h: Likewise.
28161         * sysdeps/i386/dl-tls.h: Likewise.
28162         * sysdeps/i386/setjmp.S: Likewise.
28163         * sysdeps/m68k/setjmp.c: Likewise.
28164         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
28165         * sysdeps/mach/hurd/opendir.c: Likewise.
28166         * sysdeps/posix/getcwd.c: Likewise.
28167         * sysdeps/posix/opendir.c: Likewise.
28168         * sysdeps/posix/profil.c: Likewise.
28169         * sysdeps/powerpc/dl-procinfo.h: Likewise.
28170         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28171         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28172         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28173         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28174         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
28175         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28176         * sysdeps/s390/dl-tls.h: Likewise.
28177         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28178         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28179         * sysdeps/sh/sh3/setjmp.S: Likewise.
28180         * sysdeps/sh/sh4/setjmp.S: Likewise.
28181         * sysdeps/unix/alpha/sysdep.h: Likewise.
28182         * sysdeps/unix/arm/sysdep.S: Likewise.
28183         * sysdeps/unix/i386/sysdep.S: Likewise.
28184         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28185         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28186         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28187         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28188         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28189         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28190         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28191         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28192         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28193         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28194         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28195         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28196         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28199         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28200         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28201         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28202         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28203         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28204         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28205         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28206         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28207         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28208         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28209         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28210         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28211         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28212         * sysdeps/x86_64/setjmp.S: Likewise.
28214         * include/math.h: Use IS_IN instead of IS_IN_libm.
28215         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
28216         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28217         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28218         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
28219         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28220         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28221         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28222         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28223         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28224         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28225         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
28226         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
28227         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
28228         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
28229         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
28230         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
28231         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28232         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
28233         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28234         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
28235         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
28236         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
28237         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
28238         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
28239         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
28240         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
28241         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
28242         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28243         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28244         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
28245         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
28246         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28247         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
28249         Likewise.
28250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
28251         Likewise.
28252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
28253         Likewise.
28254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
28255         Likewise.
28256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
28257         Likewise.
28258         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28259         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
28260         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28261         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28262         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28263         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
28265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
28266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
28267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
28268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
28269         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
28270         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
28271         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28272         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28273         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28274         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28275         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28276         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28277         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28278         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
28279         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
28280         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
28281         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
28282         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
28283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28284         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
28286         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
28287         * nptl/pthreadP.h: Likewise.
28288         * nptl_db/structs.def: Likewise.
28289         * sysdeps/arm/sysdep.h: Likewise.
28290         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28291         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28292         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
28293         * sysdeps/unix/alpha/sysdep.h: Likewise.
28294         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28295         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28296         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28297         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28298         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28299         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28300         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28301         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28302         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28303         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28304         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28305         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28306         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28307         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28310         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28311         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28312         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28313         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28314         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28315         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28316         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28317         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28318         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
28319         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28321         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
28322         * nptl/pthreadP.h: Likewise.
28323         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28324         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28325         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28326         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28327         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28328         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28329         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28330         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28331         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28332         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28333         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28334         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28336         Likewise.
28337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28338         Likewise.
28339         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28340         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28341         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28342         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28343         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28344         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28345         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28346         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28348         * dlfcn/dladdr.c: Use IS_IN.
28349         * dlfcn/dladdr1.c: Likewise.
28350         * dlfcn/dlclose.c: Likewise.
28351         * dlfcn/dlerror.c: Likewise.
28352         * dlfcn/dlinfo.c: Likewise.
28353         * dlfcn/dlmopen.c: Likewise.
28354         * dlfcn/dlopen.c: Likewise.
28355         * dlfcn/dlsym.c: Likewise.
28356         * dlfcn/dlvsym.c: Likewise.
28358         * include/ifaddrs.h: Use IS_IN.
28359         * inet/check_pf.c: Likewise.
28360         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28361         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
28363         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
28364         IS_IN_ldconfig.
28365         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
28366         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
28368         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
28369         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
28370         IS_IN (libc).
28372         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
28374         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
28375         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28376         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28377         * include/libc-symbols.h (IS_IN_LIB): New macro.
28378         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
28379         * include/netdb.h: Likewise.
28380         * include/stap-probe.h: Remove all uses of IN_LIB.
28382         * Makeconfig (module-cppflags-real): Define MODULE_NAME
28383         instead of IN_MODULE.
28384         * include/libc-symbols.h (IN_MODULE): Define using
28385         MODULE_NAME.
28386         (PASTE_NAME, PASTE_NAME1): New macros.
28387         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
28388         of IN_LIB.
28389         (STAP_PROBE_ASM): Likewise.
28391 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28393         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
28394         __mach_init in dlopened libc.
28396 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
28398         * sysdeps/arm/preconfigure.ac: Delete EABI check.
28399         * sysdeps/arm/preconfigure: Regenerate.
28401 2014-11-21  Roland McGrath  <roland@hack.frob.com>
28403         * nptl/pthread_create.c (__pthread_create_2_1): Set
28404         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
28405         when copying values from IATTR into PD.
28407 2014-11-21  Will Newton  <will.newton@linaro.org>
28408             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
28410         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
28411         Refactor inline-asm.  Also add comment.
28413         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
28414         ElfW macro instead of hardcoded Elf64 types.
28415         (la_aarch64_gnu_pltenter): Likewise.
28416         * sysdeps/aarch64/dl-machine.h
28417         (elf_machine_runtime_setup): Use ElfW(Addr).
28419         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
28420         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
28421         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
28422         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
28423         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
28424         (R_AARCH64_TLS_DTPMOD64): Rename to ..
28425         (R_AARCH64_TLS_DTPMOD): This.
28426         (R_AARCH64_TLS_DTPREL64): Rename to ...
28427         (R_AARCH64_TLS_DTPREL): This.
28428         (R_AARCH64_TLS_TPREL64): Rename to ...
28429         (R_AARCH64_TLS_TPREL): This.
28430         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
28431         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
28432         R_AARCH64_TLS_TPREL64.
28433         (elf_machine_rela): Likewise.
28435 2014-11-21  Torvald Riegel  <triegel@redhat.com>
28437         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
28438         by setting it to 0.  64b atomics are not supported currently.
28440 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28442         [BZ #16469]
28443         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
28444         search domain names.
28446 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28448         [BZ #16469]
28449         * NEWS: Update.
28450         * resolv/res_query.c (__libc_res_nquerydomain): Retain
28451         trailing dot.
28452         * posix/tst-getaddrinfo5.c: New.
28453         * posix/Makefile (tests): Add it.
28455 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28457         [BZ #14498]
28458         * NEWS: Fixed.
28459         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
28460         after parsing line but before break_if_match.
28461         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
28462         if there is a protocol mismatch.
28464 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
28466         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
28467         because the potential race is on the user-supplied stream.
28469 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28471         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
28472         string literal if not passed a buffer.
28473         * manual/job.texi (ctermid): Update reasoning, note deviation
28474         from posix, suggest mtasurace when not passed a buffer, for
28475         future non-preliminary safety notes.
28477 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28479         * manual/users.texi (cuserid): Fix MT-Safety note for the case
28480         of not passing it a buffer.
28481         Reported by Peng Haitao.
28483 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28485         * manual/Makefile ($(objpfx)stamp-summary): Require
28486         check-safety.sh to pass.
28487         * manual/check-safety.sh: Wish for verification that every
28488         @deftypefn and @deftypefun is followed by a @safety remark.
28490 2014-11-20  Roland McGrath  <roland@hack.frob.com>
28492         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
28494         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
28495         PTHREAD_CANCEL_ASYNCHRONOUS.
28496         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
28497         send SIGCANCEL.
28499         * nptl/default-sched.h: New file.
28500         * sysdeps/unix/sysv/linux/default-sched.h: New file.
28501         * nptl/pthread_create.c: Include it.
28502         (__pthread_create_2_1): Use collect_default_sched instead of making
28503         Linux syscalls here directly.
28505 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28507         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
28508         __pthread_once): Use C11 atomics.
28510 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28512         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
28514 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28516         * include/atomic.h (__atomic_link_error, __atomic_check_size,
28517         atomic_thread_fence_acquire, atomic_thread_fence_release,
28518         atomic_thread_fence_seq_cst, atomic_load_relaxed,
28519         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
28520         atomic_compare_exchange_weak_relaxed,
28521         atomic_compare_exchange_weak_acquire,
28522         atomic_compare_exchange_weak_release,
28523         atomic_exchange_acquire, atomic_exchange_release,
28524         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
28525         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
28526         atomic_fetch_and_acquire,
28527         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
28529 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28531         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
28532         USE_ATOMIC_COMPILER_BUILTINS): Define.
28533         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
28534         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28535         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
28536         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28537         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
28538         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28539         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
28540         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28541         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
28542         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28543         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
28544         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28545         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
28546         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28547         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
28548         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28549         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28550         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28551         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28552         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28553         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
28554         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28555         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28556         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28557         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
28558         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28559         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28560         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28561         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
28562         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28563         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
28564         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28565         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
28566         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28567         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
28568         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28569         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
28570         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28571         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
28572         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28574 2014-11-19  Roland McGrath  <roland@hack.frob.com>
28576         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
28577         the sched_priority value here.  It was already checked when the user
28578         called pthread_attr_setschedparam.
28580         * nptl/tst-bad-schedattr.c: New file.
28581         * nptl/Makefile (tests): Add it.
28583 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
28584             Florian Weimer  <fweimer@redhat.com>
28585             Joseph Myers  <joseph@codesourcery.com>
28586             Adam Conrad  <adconrad@0c3.net>
28587             Andreas Schwab  <schwab@suse.de>
28588             Brooks  <bmoses@google.com>
28590         [BZ #17625]
28591         * wordexp-test.c (__dso_handle): Add prototype.
28592         (__register_atfork): Likewise.
28593         (__app_register_atfork): New function.
28594         (registered_forks): New global.
28595         (register_fork): New function.
28596         (test_case): Add 3 new tests for WRDE_CMDSUB.
28597         (main): Call __app_register_atfork.
28598         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
28599         fork count is non-zero fail the test.
28600         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
28601         is set.
28602         (parse_dollars): Remove check for WRDE_NOCMD.
28603         (parse_dquote): Likewise.
28605 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28607         * Makeconfig (built-modules): List non-library modules to be
28608         built.
28609         (module-cppflags): Include libc-modules.h for
28610         everything except shlib-versions.v.i.
28611         (CPPFLAGS): Use it.
28612         (before-compile): Add libc-modules.h.
28613         ($(common-objpfx)libc-modules.h,
28614         $(common-objpfx)libc-modules.stmp): New targets.
28615         (common-generated): Add libc-modules.h and libc-modules.stmp.
28616         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
28617         * include/libc-symbols.h: Don't include libc-modules.h.
28618         * include/libc-modules.h: Remove file.
28619         * scripts/gen-libc-modules.awk: New script to generate
28620         libc-modules.h.
28621         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
28622         Depend on libc-modules.stmp.
28624         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
28626         * Makeconfig (in-module): Get value of libof set for the
28627         translation unit.
28628         (CPPFLAGS): Use $(in-module).
28629         * Makerules: Don't suffix routine names for nonlib.
28630         * include/libc-modules.h: New file.
28631         * include/libc-symbols.h: Include libc-modules.h
28632         (IS_IN): New macro to replace IS_IN_* macros.
28633         * elf/Makefile: Set libof-* for each routine.
28634         * elf/rtld-Rules: Likewise.
28635         * extra-modules.mk: Likewise.
28636         * iconv/Makefile: Likewise.
28637         * iconvdata/Makefile: Likewise.
28638         * locale/Makefile: Likewise.
28639         * malloc/Makefile: Likewise.
28640         * nss/Makefile: Likewise.
28641         * sysdeps/gnu/Makefile: Likewise.
28642         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
28643         * sysdeps/unix/sysv/linux/Makefile: Likewise.
28644         * sysdeps/s390/s390-64/Makefile: Likewise.
28645         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
28646         CPPFLAGS for nscd instead of nonlib.
28648 2014-11-18  Roland McGrath  <roland@hack.frob.com>
28650         * nptl/createthread.c: New file.
28652         * nptl/createthread.c: Moved ...
28653         * sysdeps/unix/sysv/linux/createthread.c: ... here.
28655         * nptl/createthread.c: Add proper top-line comment.
28656         (do_clone): Folded into ...
28657         (create_thread): ... here.  Take new arguments STOPPED_START and
28658         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
28659         increment __nptl_threads, do event-reporting logic, do
28660         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
28661         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
28662         resource cleanup if sched_setaffinity or sched_setscheduler fails,
28663         just send SIGCANCEL.
28664         * nptl/pthread_create.c: Forward-declare create_thread before
28665         including createthread.c.
28666         (start_thread): Use new macro START_THREAD_DEFN to replace defining
28667         declaration, and new macro START_THREAD_SELF to replace argument.
28668         Remove return statement.
28669         (report_thread_creation): New function.
28670         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
28671         synchronization logic, and __nptl_nthreads increment here, around
28672         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
28673         PD->parent_cancelhandling here, before create_thread.  When
28674         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
28675         __deallocate_stack, and ENOMEM translation here.
28677 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
28679         [BZ #17616]
28680         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
28681         (mptwo): Rename to __mptwo.
28682         (__inv): Use __mptwo instead of mptwo.
28683         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
28684         (mptwo): Rename to __mptwo.
28685         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
28686         of mpone and __mptwo instead of mptwo.
28687         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
28688         instead of mpone.
28689         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28690         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
28691         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
28692         of mpone and __mptwo instead of mptwo.
28693         (__mpranred): Use __mpone instead of mpone.
28694         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
28695         variable.
28696         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28697         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28698         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28699         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28700         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28701         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28702         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28703         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28704         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28705         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28706         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28707         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28708         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28709         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28710         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28711         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28712         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28713         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28714         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28716 2014-11-18  Tom de Vries  <tom@codesoucery.com>
28718         * manual/signal.texi (Primitives Interrupted by Signals): In section,
28719         replace BSD Handler xref with BSD Signal Handling.
28721 2014-11-17  Richard Henderson  <rth@redhat.com>
28723         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
28724         (_FP_PACK_RAW_2): Remove.
28725         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
28726         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
28727         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
28728         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
28729         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
28730         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
28731         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
28732         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
28733         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
28734         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
28735         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
28736         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
28737         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
28738         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
28739         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
28740         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
28742 2014-11-14  Roland McGrath  <roland@hack.frob.com>
28744         * signal/signal.h [__USE_MISC]
28745         (struct sigvec): Remove type.
28746         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
28747         (sigvec): Remove declaration.
28748         * sysdeps/posix/sigvec.c: Moved ...
28749         * signal/sigvec.c: ... here, replacing old file.
28750         (struct sigvec): New type, copied from old signal.h definition.
28751         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
28752         (__sigvec): Convert definition to prototype.
28753         (sigvec): Replace weak_alias with compat_symbol.
28754         * signal/Versions (libc: GLIBC_2.21): New version set.
28755         * include/signal.h: Remove __sigvec declaration.
28756         * sysdeps/unix/bsd/sigvec.c: Remove file.
28757         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
28758         * manual/signal.texi (BSD Handler): Remove subsection.
28759         Move siginterrupt up to ...
28760         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
28761         (Blocking in BSD): Fold subsection into its parent.
28762         * NEWS: Mention sigvec removal.
28764 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28766         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
28767         (DLA_FMS): Make definition conditional only on [__FMA4__].
28768         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
28769         definition.
28771         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
28772         Make definition conditional only on [PROF].
28773         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
28774         definition.
28775         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
28776         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
28778         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
28779         !__GNUC__].
28780         * include/signal.h (__sigpause): Move declaration above call to
28781         libc_hidden_proto.
28782         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
28783         variable.
28784         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28785         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28787 2014-11-14  David S. Miller  <davem@davemloft.net>
28789         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
28790         Define before including <string/memcpy.c> and <string/mempcpy.c>.
28792 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28794         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
28795         * configure: Regenerated.
28796         * manual/install.texi (Tools for Compilation): Document a
28797         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
28798         compiler verified to work.
28799         * INSTALL: Regenerated.
28801         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
28802         redeclare with asm name.
28803         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
28804         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
28805         including <string.h>.
28806         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28807         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
28808         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28809         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
28810         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28811         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28812         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28814 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
28816         * stdlib/strtol.c (__strtol): Use prototype definition.
28818         [BZ #17594]
28819         * stdlib/strtol.c (SYM__): New macro.
28820         (SYM__1): Likewise.
28821         (__strtol): Likewise.
28822         (strtol): Rename to __strtol and define as weak alias of
28823         __strtol.  Use libc_hidden_weak.
28825 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28827         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
28828         Use numbered labels in inline assembly.
28830 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28832         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
28833         Add setjmp LIBC_PROBE.
28834         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
28835         Likewise.
28836         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
28837         Add longjmp, longjmp_target LIBC_PROBE.
28838         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
28839         Likewise.
28841 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28843         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28844         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
28845         to get rid of unused variable warning.
28847 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28849         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
28850         Check for unwind_backtrace ==  NULL only in SHARED case.
28851         (__backchain_backtrace): Compile only in SHARED case.
28852         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
28853         Likewise.
28854         (__backchain_backtrace): Declare as static.
28856 2014-11-12  Roland McGrath  <roland@hack.frob.com>
28858         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
28859         (__libc_multiple_threads_ptr): Variable moved ...
28860         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
28862 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
28864         * conform/GlibcConform.pm: New file.
28865         * conform/conformtest.pl: Use GlibcConform module.
28866         * conform/linknamespace.pl: New file.
28867         * conform/list-header-symbols.pl: Likewise.
28868         * conform/Makefile (linknamespace-symlists-base): New variable.
28869         (linknamespace-symlists-tests): Likewise.
28870         (linknamespace-header-base): Likewise.
28871         (linknamespace-header-tests): Likewise.
28872         (tests-special): Add new tests.
28873         ($(linknamespace-symlists-tests)): New rule.
28874         (linknamespace-libs): New variable.
28875         ($(objpfx)symlist-stdlibs): New rule.
28876         ($(linknamespace-header-tests)): Likewise.
28877         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
28878         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
28879         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
28880         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
28881         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
28882         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
28883         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
28884         (test-xfail-ISO/math.h/linknamespace): Likewise.
28885         (test-xfail-ISO/signal.h/linknamespace): Likewise.
28886         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
28887         (test-xfail-ISO/time.h/linknamespace): Likewise.
28888         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28889         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
28890         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28891         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28892         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28893         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28894         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28895         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28896         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28897         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28898         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28899         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28900         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28901         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
28902         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
28903         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28904         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
28905         (test-xfail-XPG3/search.h/linknamespace): Likewise.
28906         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
28907         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28908         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
28909         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28910         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28911         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
28912         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28913         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28914         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
28915         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
28916         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28917         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
28918         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28919         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28920         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28921         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28922         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
28923         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
28924         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
28925         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
28926         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28927         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
28928         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28929         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
28930         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28931         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28932         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28933         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
28934         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
28935         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28936         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28937         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
28938         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28939         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28940         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
28941         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28942         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28943         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28944         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28945         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28946         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28947         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28948         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28949         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28950         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
28951         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28952         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28953         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28954         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
28955         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28956         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28957         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
28958         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28959         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28960         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28961         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28962         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28963         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28964         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
28965         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
28966         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28967         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
28968         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28969         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
28970         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28971         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28972         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28973         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
28974         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28975         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28976         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28977         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
28978         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
28979         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
28980         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28981         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28982         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28983         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28984         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
28985         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
28986         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28987         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28988         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28989         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28990         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28991         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28992         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28993         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28994         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28995         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28996         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
28997         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28998         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28999         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
29000         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
29001         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
29002         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
29003         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
29004         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29005         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29006         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29007         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
29008         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
29009         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29010         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29011         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29012         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
29013         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29014         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
29015         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29016         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
29017         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
29018         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
29019         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29020         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
29021         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29022         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
29023         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
29024         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29025         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29026         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29027         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
29028         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29029         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
29030         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29031         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29032         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29033         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29034         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
29035         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
29036         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29037         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29039         [BZ #17589]
29040         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
29041         of fgets_unlocked.
29043         [BZ #17585]
29044         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
29045         (memmem): Rename to __memmem and define as weak alias of
29046         __memmem.  Use libc_hidden_weak.
29047         (__memmem): Use libc_hidden_def.
29048         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
29049         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
29050         memmem.
29052         [BZ #17582]
29053         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
29054         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
29055         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
29056         and define as weak alias of __fgets_unlocked.  Use
29057         libc_hidden_weak.
29058         (__fgets_unlocked): Use libc_hidden_def.
29059         * include/stdio.h (__fgets_unlocked): Declare.  Use
29060         libc_hidden_proto.
29061         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
29062         __fgets_unlocked instead of fgets_unlocked.
29063         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
29064         (GET_NPROCS_CONF_PARSER): Likewise.
29065         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
29066         (GET_NPROCS_CONF_PARSER): Likewise.
29068         [BZ #17574]
29069         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
29070         weak alias of __wmemset.  Use libc_hidden_weak.
29071         (__wmemset): Use libc_hidden_def.
29072         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
29073         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
29074         of wmemset.
29076         [BZ #17573]
29077         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
29078         with asm name __mempcpy.
29079         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
29081         [BZ #17572]
29082         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
29083         and define as weak alias of __rawmemchr.
29084         (__rawmemchr): Do not define as strong alias of rawmemchr.
29086         [BZ #17571]
29087         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
29088         alias of __qsort_r.
29089         (qsort): Call __qsort_r instead of qsort_r.
29090         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
29091         (__qsort_r): Declare.  Call libc_hidden_proto.
29092         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
29093         instead of qsort_r.
29094         * nscd/gai.c (__qsort_r): Define to qsort_r.
29095         * posix/tst-rfc3484.c (__qsort_r): Likewise.
29096         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
29097         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
29099         [BZ #17570]
29100         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
29101         define as weak alias of __malloc_info.
29103         [BZ #17584]
29104         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
29105         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29106         (__rewinddir): Use libc_hidden_def.
29107         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
29108         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29109         (__rewinddir): Use libc_hidden_def.
29110         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
29111         weak alias of __rewinddir.  Don't use libc_hidden_def.
29112         (__rewinddir): Use libc_hidden_def.
29113         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
29114         (__rewinddir): Use libc_hidden_proto.
29115         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
29116         rewinddir.
29117         (__getcwd): Use __rewinddir instead of rewinddir.
29119         [BZ #17583]
29120         * libio/fileno.c (fileno): Rename to __fileno and define as weak
29121         alias of __fileno.  Use libc_hidden_weak.
29122         (__fileno): Use libc_hidden_def.
29123         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
29124         * libio/ftello.c (ftello): Rename to __ftello and define as weak
29125         alias of __ftello.
29126         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
29127         __ftello.
29128         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
29129         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
29130         libc_hidden_def.
29131         (fread_unlocked): Don't use libc_hidden_ver.
29132         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
29133         and define as weak alias of __fread_unlocked.  Don't use
29134         libc_hidden_def.
29135         (__fread_unlocked): Use libc_hidden_def.
29136         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
29137         (ftello): Don't use libc_hidden_proto.
29138         (__ftello): Declare.  Use libc_hidden_proto.
29139         (fread_unlocked): Don't use libc_hidden_proto.
29140         (__fread_unlocked): Declare.  Use libc_hidden_proto.
29141         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
29142         and __ftello instead of fileno, fread_unlocked and ftello.
29144 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29146         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
29147         GOT12.
29148         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29149         Likewise.
29150         (_dl_start_user): Likewise.
29151         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
29153 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
29154             Siddhesh Poyarekar  <siddhesh@redhat.com>
29156         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
29157         Move argv and envp down instead of moving argc up.
29158         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
29160 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
29162         [BZ #17506]
29163         * test-skeleton.c (main): Return successful if one of
29164         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
29165         * string/tst-strcoll-overflow.c: Define expected status.
29167 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
29169         [BZ #17475]
29170         * locale/iso-639.def: Define Bhili and Tulu language codes.
29172 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
29174         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
29176 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
29178         [BZ #17555]
29179         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
29181 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
29183         * configure.ac: Updated check of minimal required version to
29184         2.22.
29185         * manual/install.texi (Tools for Compilation): Updated version
29186         number.
29187         * configure: Regenerated.
29188         * INSTALL: Likewise.
29190 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
29192         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
29193         __tls_get_addr.
29195 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
29197         * include/sys/wait.h (__libc_waitpid): Remove declaration.
29198         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
29199         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29200         libc_hidden_weak.
29201         (waitpid): Define as alias of __waitpid.
29202         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
29203         __waitpid.
29204         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29205         libc_hidden_weak.
29206         (waitpid): Define as alias of __waitpid.
29207         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
29208         __libc_waitpid alias.
29209         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
29210         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
29211         Likewise.
29212         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
29213         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
29214         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
29215         alias.
29216         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
29217         __waitpid.
29218         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29219         libc_hidden_weak.
29220         (waitpid): Define as alias of __waitpid.
29222 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
29224         * manual/llio.texi: Add comment that write safety has been
29225         fixed in Linux.
29227         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
29228         (localplt-build-dso): Add elf/ld.so.
29229         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
29230         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
29231         and free for ld.so.
29232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
29233         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
29234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
29235         Likewise.
29236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29237         Likewise.
29238         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
29239         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
29240         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
29241         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
29242         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
29243         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
29244         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
29245         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
29246         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
29247         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
29248         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29250 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
29252         [BZ #14132]
29253         * include/libc-symbols.h (INTUSE): Remove macro.
29254         (INTDEF): Likewise.
29255         (INTVARDEF): Likewise.
29256         (_INTVARDEF): Likewise.
29257         (INTDEF2): Likewise.
29258         (INTVARDEF2): Likewise.
29259         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
29260         rtld_hidden_def instead of INTVARDEF.
29261         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
29262         (_dl_starting_up_internal): Remove declaration.
29263         (_dl_starting_up): Use rtld_hidden_proto.
29264         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
29265         declaration.
29266         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
29267         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
29268         _dl_starting_up.
29269         * elf/dl-writev.h (_dl_writev): Likewise.
29270         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
29271         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
29272         _dl_starting_up_internal.
29274 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29276         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
29277         test-skeleton.c.
29279 2014-11-05  Will Newton  <will.newton@linaro.org>
29281         * benchtests/Makefile: (bench-malloc): Add malloc thread
29282         scalability benchmark.
29283         * benchtests/bench-malloc-threads.c: New file.
29285 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
29287         * sysdeps/aarch64/strchrnul.S: New file.
29289 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29291         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
29292         definition.
29293         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29294         Likwise.
29295         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29296         Likewise.
29297         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29298         Likewise.
29299         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29300         Likewise.
29301         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29302         Likewise.
29304 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
29306         * catgets/test-gencat.c: Use test-skeleton.c.
29307         * catgets/tst-catgets.c: Likewise.
29308         * csu/tst-empty.c: Likewise.
29309         * elf/tst-audit2.c: Likewise.
29310         * elf/tst-global1.c: Likewise.
29311         * elf/tst-pathopt.c: Likewise.
29312         * elf/tst-piemod1.c: Likewise.
29313         * elf/tst-tls10.c: Likewise.
29314         * elf/tst-tls11.c: Likewise.
29315         * elf/tst-tls12.c: Likewise.
29316         * gnulib/tst-gcc.c: Likewise.
29317         * iconvdata/tst-e2big.c: Likewise.
29318         * iconvdata/tst-loading.c: Likewise.
29319         * iconv/tst-iconv1.c: Likewise.
29320         * iconv/tst-iconv2.c: Likewise.
29321         * inet/test-inet6_opt.c: Likewise.
29322         * inet/tst-gethnm.c: Likewise.
29323         * inet/tst-network.c: Likewise.
29324         * inet/tst-ntoa.c: Likewise.
29325         * intl/tst-codeset.c: Likewise.
29326         * intl/tst-gettext2.c: Likewise.
29327         * intl/tst-gettext3.c: Likewise.
29328         * intl/tst-ngettext.c: Likewise.
29329         * intl/tst-translit.c: Likewise.
29330         * io/test-stat.c: Likewise.
29331         * libio/test-fmemopen.c: Likewise.
29332         * libio/tst-freopen.c: Likewise.
29333         * libio/tst-sscanf.c: Likewise.
29334         * libio/tst-ungetwc1.c: Likewise.
29335         * libio/tst-ungetwc2.c: Likewise.
29336         * libio/tst-widetext.c: Likewise.
29337         * localedata/tst-ctype.c: Likewise.
29338         * localedata/tst-digits.c: Likewise.
29339         * localedata/tst-leaks.c: Likewise.
29340         * localedata/tst-mbswcs1.c: Likewise.
29341         * localedata/tst-mbswcs2.c: Likewise.
29342         * localedata/tst-mbswcs3.c: Likewise.
29343         * localedata/tst-mbswcs4.c: Likewise.
29344         * localedata/tst-mbswcs5.c: Likewise.
29345         * localedata/tst-setlocale.c: Likewise.
29346         * localedata/tst-trans.c: Likewise.
29347         * localedata/tst-wctype.c: Likewise.
29348         * localedata/tst-xlocale1.c: Likewise.
29349         * login/tst-grantpt.c: Likewise.
29350         * malloc/tst-calloc.c: Likewise.
29351         * malloc/tst-malloc.c: Likewise.
29352         * malloc/tst-mallocstate.c: Likewise.
29353         * malloc/tst-mcheck.c: Likewise.
29354         * malloc/tst-mtrace.c: Likewise.
29355         * malloc/tst-obstack.c: Likewise.
29356         * math/atest-exp2.c: Likewise.
29357         * math/atest-exp.c: Likewise.
29358         * math/atest-sincos.c: Likewise.
29359         * math/test-matherr.c: Likewise.
29360         * math/test-misc.c: Likewise.
29361         * math/test-powl.c: Likewise.
29362         * math/tst-definitions.c: Likewise.
29363         * misc/tst-dirname.c: Likewise.
29364         * misc/tst-efgcvt.c: Likewise.
29365         * misc/tst-fdset.c: Likewise.
29366         * misc/tst-hsearch.c: Likewise.
29367         * misc/tst-mntent2.c: Likewise.
29368         * nptl/tst-sem7.c: Likewise.
29369         * nptl/tst-sem8.c: Likewise.
29370         * nptl/tst-sem9.c: Likewise.
29371         * nss/test-netdb.c: Likewise.
29372         * posix/tst-fnmatch.c: Likewise.
29373         * posix/tst-getlogin.c: Likewise.
29374         * posix/tst-gnuglob.c: Likewise.
29375         * posix/tst-mmap.c: Likewise.
29376         * pwd/tst-getpw.c: Likewise.
29377         * resolv/tst-inet_ntop.c: Likewise.
29378         * rt/tst-timer.c: Likewise.
29379         * stdio-common/test-fseek.c: Likewise.
29380         * stdio-common/test-popen.c: Likewise.
29381         * stdio-common/test-vfprintf.c: Likewise.
29382         * stdio-common/tst-cookie.c: Likewise.
29383         * stdio-common/tst-fileno.c: Likewise.
29384         * stdio-common/tst-gets.c: Likewise.
29385         * stdio-common/tst-obprintf.c: Likewise.
29386         * stdio-common/tst-perror.c: Likewise.
29387         * stdio-common/tst-sprintf2.c: Likewise.
29388         * stdio-common/tst-sprintf3.c: Likewise.
29389         * stdio-common/tst-sprintf.c: Likewise.
29390         * stdio-common/tst-swprintf.c: Likewise.
29391         * stdio-common/tst-tmpnam.c: Likewise.
29392         * stdio-common/tst-unbputc.c: Likewise.
29393         * stdio-common/tst-wc-printf.c: Likewise.
29394         * stdlib/tst-environ.c: Likewise.
29395         * stdlib/tst-fmtmsg.c: Likewise.
29396         * stdlib/tst-limits.c: Likewise.
29397         * stdlib/tst-rand48-2.c: Likewise.
29398         * stdlib/tst-rand48.c: Likewise.
29399         * stdlib/tst-random2.c: Likewise.
29400         * stdlib/tst-random.c: Likewise.
29401         * stdlib/tst-strtol.c: Likewise.
29402         * stdlib/tst-strtoll.c: Likewise.
29403         * stdlib/tst-tls-atexit.c: Likewise.
29404         * stdlib/tst-xpg-basename.c: Likewise.
29405         * string/test-ffs.c: Likewise.
29406         * string/tst-bswap.c: Likewise.
29407         * string/tst-inlcall.c: Likewise.
29408         * string/tst-strtok.c: Likewise.
29409         * string/tst-strxfrm.c: Likewise.
29410         * sysdeps/x86_64/tst-audit10.c: Likewise.
29411         * sysdeps/x86_64/tst-audit3.c: Likewise.
29412         * sysdeps/x86_64/tst-audit4.c: Likewise.
29413         * sysdeps/x86_64/tst-audit5.c: Likewise.
29414         * time/tst-ftime_l.c: Likewise.
29415         * time/tst-getdate.c: Likewise.
29416         * time/tst-mktime3.c: Likewise.
29417         * time/tst-mktime.c: Likewise.
29418         * time/tst-posixtz.c: Likewise.
29419         * time/tst-strptime2.c: Likewise.
29420         * time/tst-strptime3.c: Likewise.
29421         * wcsmbs/tst-btowc.c: Likewise.
29422         * wcsmbs/tst-mbrtowc.c: Likewise.
29423         * wcsmbs/tst-mbsrtowcs.c: Likewise.
29424         * wcsmbs/tst-wchar-h.c: Likewise.
29425         * wcsmbs/tst-wcpncpy.c: Likewise.
29426         * wcsmbs/tst-wcrtomb.c: Likewise.
29427         * wcsmbs/tst-wcsnlen.c: Likewise.
29428         * wcsmbs/tst-wcstof.c: Likewise.
29430 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
29432         [BZ #14132]
29433         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
29434         INTDEF.
29435         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
29436         declaration.
29437         (_dl_mcount): Use rtld_hidden_proto.
29438         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
29439         _dl_mcount.
29440         * elf/rtld.c (_rtld_global_ro): Likewise.
29442         [BZ #14132]
29443         * elf/dl-init.c (_dl_init): Don't use INTDEF.
29444         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
29445         of _dl_init_internal.
29446         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
29447         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
29448         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
29449         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
29450         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
29451         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
29452         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
29453         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
29454         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
29455         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
29456         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
29457         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
29458         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29459         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29460         * sysdeps/tile/dl-start.S (_start): Likewise.
29461         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
29462         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
29464         [BZ #14132]
29465         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
29466         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
29467         (rtld_progname): Make macro definition unconditional.
29468         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
29469         INTDEF.
29470         (dlmopen_doit): Do not use INTUSE with _dl_argv.
29471         (dl_main): Likewise.
29472         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29473         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
29474         instead of _dl_argv_internal.
29475         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29476         __GI__dl_argv instead of INTUSE(_dl_argv).
29477         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
29478         __GI__dl_argv instead of _dl_argv_internal.
29480         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
29481         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
29482         macro.
29483         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
29484         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
29485         New macro.
29486         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
29487         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
29488         macro.
29489         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
29490         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
29492 2014-11-04  Andreas Schwab  <schwab@suse.de>
29494         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
29496 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29498         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
29499         mtvsrd instruction in binary form.
29501 2014-11-03  Andreas Schwab  <schwab@suse.de>
29503         [BZ #17522]
29504         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
29505         for less than MB_LEN_MAX use a local buffer of that size.
29506         * libio/tst-fputws.c: New file.
29507         * libio/Makefile (tests): Add tst-fputws.
29509 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
29511         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
29512         the size of the fpu_fr.fpu_dregs[] array.
29514 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
29516         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
29517         (__nanosleep): Do not define as alias.
29518         (nanosleep): Define as alias of __nanosleep.
29519         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
29520         __libc_nanosleep name.
29522 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29524         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
29525         install.texi in comment.
29527 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29529         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
29530         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
29531         ... add here and use lwsync or sync ...
29532         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
29533         ... and add here using lwsync.
29535 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
29537         * elf/dl-machine-reject-phdr.h: New file.
29538         * elf/dl-load.c: #include that.
29539         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
29540         if that returned true.
29542 2014-10-31  Roland McGrath  <roland@hack.frob.com>
29544         [BZ #17496]
29545         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
29546         gen-as-const-headers chunk.  Add a big scare comment after the last
29547         safe place to touch before-compile.
29549 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29551         * manual/install.texi (Tools for Compilation): Update autoconf
29552         version requirements.
29553         * INSTALL: Regenerated.
29555         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
29556         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
29557         (__libc_pselect): Likewise.
29559         [BZ #14138]
29560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
29561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29565 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29567         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
29568         correct barrier instruction.
29569         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
29570         Likewise.
29571         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
29572         Likewise.
29574 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29576         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
29577         after defining inlines.  Instead, just use parens to defeat macro
29578         expansion of __isctype in its declaration.
29580 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29582         * include/sys/uio.h (__libc_readv): Remove declaration.
29583         (__libc_writev): Likewise.
29584         * misc/readv.c (__libc_readv): Rename to __readv.
29585         (__readv): Do not define as alias.
29586         (readv): Define as alias of __readv.
29587         * misc/writev.c (__libc_writev): Rename to __writev.
29588         (__writev): Do not define as alias.
29589         (writev): Define as alias of __writev.
29590         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
29591         (__readv): Do not define as alias.
29592         (readv): Define unconditionally as alias of __readv.
29593         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
29594         (__writev): Do not define as alias.
29595         (writev): Define unconditionally as alias of __writev.
29596         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
29597         name.
29598         (writev): Do not define __libc_writev name.
29600 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29602         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
29603         (convert_charseq): New function, broken out of ...
29604         (use_from_charmap): ... here.  Call it.
29605         (use_to_charmap): Use convert_charseq and free instead of duplicating
29606         its code with a variable-length stack struct.
29608 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29610         * include/fcntl.h (__libc_creat): Remove declaration.
29611         * io/creat.c (__libc_creat): Rename to creat.
29612         (creat): Do not define as alias.
29613         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
29614         of creat instead of __libc_creat.
29615         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
29616         to creat.
29617         (creat): Do not define as alias.
29618         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
29619         __libc_creat.
29620         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
29621         __libc_creat name.
29622         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
29623         Likewise.
29625 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
29627         * manual/llio.texi: Add comments discussing why write() may be
29628         considered MT-unsafe on Linux.
29630 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
29632         * dl-load.c (local_strdup): Remove.
29633         (expand_dynamic_string_token): Use __strdup.
29634         (decompose_rpath): Likewise.
29635         (_dl_map_object): Likewise.
29637 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
29639         [BZ #14132]
29640         * sysdeps/generic/unwind-dw2-fde.c
29641         (__register_frame_info_bases_internal): Do not declare.
29642         (__register_frame_info_table_bases_internal): Likewise.
29643         (__deregister_frame_info_bases_internal): Likewise.
29644         (__register_frame_info_bases): Declare and use hidden_proto before
29645         definition.  Use hidden_def instead of INTDEF.
29646         (__register_frame_info_table_bases): Likewise.
29647         (__deregister_frame_info_bases): Likewise.
29648         (__register_frame_info): Do not use INTUSE.
29649         (__register_frame): Likewise.
29650         (__register_frame_info_table): Likewise.
29651         (__register_frame_table): Likewise.
29652         (__deregister_frame_info): Likewise.
29653         (__deregister_frame): Likewise.
29655 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
29657         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29658         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
29659         not undefine.
29660         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
29661         Likewise.
29662         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
29663         Likewise.
29665 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
29667         [BZ #14138]
29668         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
29669         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
29670         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
29671         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
29672         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
29673         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
29674         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
29675         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
29676         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
29677         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
29678         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
29679         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
29680         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
29681         syscall.
29682         (setfsuid): Likewise.
29683         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
29684         (setfsuid): Likewise.
29685         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
29686         (setfsuid): Likewise.
29687         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
29688         Likewise.
29689         (setfsuid): Likewise.
29690         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
29691         (setfsuid): Likewise.
29692         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
29693         Likewise.
29694         (setfsuid): Likewise.
29696 2014-10-27  Andreas Schwab  <schwab@suse.de>
29698         [BZ #17501]
29699         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
29700         check for Slow_SSE4_2 feature bit.
29701         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
29702         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29703         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
29704         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
29706 2014-10-24  Roland McGrath  <roland@hack.frob.com>
29708         * configure.ac: Validate compiler version with a empirical test of
29709         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
29710         $CC -v output.
29711         * configure: Regenerated.
29713         * inet/htons.c (htons): Prototypify.
29714         * inet/htonl.c (htonl): Likewise.
29716 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29718         * string/strncat.c (strncat): Improve performance by using strlen.
29720 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29722         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
29724 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29726         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
29727         Call libc_fetestexcept_aarch64.
29729 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29731         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
29732         Call libc_feholdexcept_aarch64.
29734 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29736         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
29737         Call get_rounding_mode.
29739 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29741         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29742         Simplify logic.
29744 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29746         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
29747         Simplify logic.
29749 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
29751         [BZ #14138]
29752         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
29753         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
29754         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
29755         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
29756         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
29757         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
29758         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
29759         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
29760         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
29761         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
29762         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29763         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
29764         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
29765         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
29766         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
29767         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
29768         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
29769         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
29770         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
29771         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
29772         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
29773         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
29774         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
29775         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
29776         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
29777         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
29778         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
29779         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
29780         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
29781         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
29782         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
29783         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
29784         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
29785         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
29786         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
29787         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
29788         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
29789         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
29790         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
29791         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
29792         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
29793         syscall.
29794         (geteuid): Likewise.
29795         (getgid): Likewise.
29796         (getuid): Likewise.
29797         (getresgid): Likewise.
29798         (getresuid): Likewise.
29799         (getgroups): Likewise.
29800         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
29801         (geteuid): Likewise.
29802         (getgid): Likewise.
29803         (getuid): Likewise.
29804         (getresgid): Likewise.
29805         (getresuid): Likewise.
29806         (getgroups): Likewise.
29807         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
29808         (geteuid): Likewise.
29809         (getgid): Likewise.
29810         (getuid): Likewise.
29811         (getresgid): Likewise.
29812         (getresuid): Likewise.
29813         (getgroups): Likewise.
29814         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
29815         Likewise.
29816         (geteuid): Likewise.
29817         (getgid): Likewise.
29818         (getuid): Likewise.
29819         (getresgid): Likewise.
29820         (getresuid): Likewise.
29821         (getgroups): Likewise.
29822         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
29823         (geteuid): Likewise.
29824         (getgid): Likewise.
29825         (getuid): Likewise.
29826         (getresgid): Likewise.
29827         (getresuid): Likewise.
29828         (getgroups): Likewise.
29829         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
29830         Likewise.
29831         (geteuid): Likewise.
29832         (getgid): Likewise.
29833         (getuid): Likewise.
29834         (getgroups): Likewise.
29836         [BZ #14138]
29837         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
29838         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
29839         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
29840         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29841         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
29842         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
29843         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
29844         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
29845         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
29846         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
29847         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
29848         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
29849         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
29850         __chown.
29851         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
29852         (lchown): Likewise.
29853         (fchown): Likewise.
29854         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
29855         Likewise.
29856         (lchown): Likewise.
29857         (fchown): Likewise.
29858         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
29859         (lchown): Likewise.
29860         (fchown): Likewise.
29861         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
29862         Likewise.
29863         (lchown): Likewise.
29864         (fchown): Likewise.
29866 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29868         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
29869         Simplify logic.
29871 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29873         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29874         Cleanup logic.
29876 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29878         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29879         Remove unused include.
29881 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29883         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
29884         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
29885         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
29886         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
29888 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
29889             Helge Deller <deller@gmx.de>
29891         [BZ #17508]
29892         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
29893         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
29894         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
29896 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
29898         [BZ #14132]
29899         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
29900         Remove macro definition.
29901         (__ashrdi3_v_glibc20): Likewise.
29902         (__lshrdi3_v_glibc20): Likewise.
29903         (__cmpdi2_v_glibc20): Likewise.
29904         (__ucmpdi2_v_glibc20): Likewise.
29905         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
29906         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
29907         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
29908         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29909         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29910         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
29912 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29914         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
29915         old GNU extension [0] syntax.
29916         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
29917         alloca rather than an array member with variable length.
29918         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
29919         * nscd/nscd.c (invalidate_db): New function, broken out of ...
29920         (parse_opt): ... here.  Likewise use alloca there.
29921         Validate the -i argument before checking for rootness.
29922         (send_shutdown): New function, broken out of ...
29923         (parse_opt): ... here.
29925 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29927         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
29928         macro to get at the _rt_local_ro field.
29929         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
29930         ([PIC] case) or _dl_hwcap ([!PIC] case).
29931         * sysdeps/arm/setjmp.S: Likewise.
29933         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
29934         * sysdeps/arm/configure.ac: New check to define it.
29935         * sysdeps/arm/configure: Regenerated.
29936         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
29937         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
29938         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
29939         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
29940         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
29941         Use move/movt pair instead of a load.
29942         (LDST_GLOBAL): Macro removed.
29943         (LDR_GLOBAL): New macro replaces it.
29944         (LDR_HIDDEN): New macro.
29945         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
29946         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
29948         * setjmp/tst-setjmp-static.c: New file.
29949         * setjmp/Makefile (tests): Add it.
29950         (tests-static): New variable.
29952 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
29954         [BZ #17485]
29955         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
29957 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
29959         [BZ #14132]
29960         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
29962 2014-10-21  Roland McGrath  <roland@hack.frob.com>
29964         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
29966 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29968         * io/fts.c (dirent_not_directory): New function.
29969         (fts_build): Call it.
29971 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29973         * nptl/version.c (__nptl_main): Use normal __write rather than
29974         INTERNAL_SYSCALL.
29975         (banner): Update copyright years.
29977         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
29978         gettimeofday.
29979         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29980         * nptl/pthread_cond_timedwait.c: Likewise.
29981         * nptl/pthread_mutex_timedlock.c: Likewise.
29982         * nptl/sem_timedwait.c: Likewise.
29984         * sysdeps/nptl/bits/libc-lock.h
29985         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29986         (__libc_lock_init_recursive): Return void, not 0.
29987         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
29988         (__libc_rwlock_init): Likewise.
29989         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
29991 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29993         [BZ #15215]
29994         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
29995         (__pthread_once_slow): ... here.
29996         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
29997         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
29999 2014-10-20  Torvald Riegel  <triegel@redhat.com>
30001         [BZ #15215]
30002         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
30003         __PTHREAD_ONCE_FORK_GEN_INCR): New.
30004         * sysdeps/nptl/fork.c (__libc_fork): Use them.
30005         * nptl/pthread_once.c (__pthread_once): Likewise.
30006         Update comments.
30008 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
30010         [BZ #14138]
30011         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
30012         name.
30013         (writev): Use __libc_writev as strong name.
30014         * sysdeps/unix/sysv/linux/readv.c: Remove file.
30015         * sysdeps/unix/sysv/linux/writev.c: Likewise.
30017 2014-10-17  Roland McGrath  <roland@hack.frob.com>
30019         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
30021         * sysdeps/i386/nptl/tls.h
30022         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
30023         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
30024         New macros.
30025         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
30026         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
30027         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
30028         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
30029         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
30030         Call CHECK_THREAD_SYSINFO instead of doing an assert.
30032         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
30033         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
30034         on [__NR_futex].
30035         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
30036         broken out of ...
30037         (__pthread_mutex_init): ... here.  Call it.
30038         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
30039         Conditionalize PI cases on [__NR_futex].
30040         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
30041         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
30042         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
30044         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
30045         conditional on [SIGSETXID].
30046         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
30047         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
30048         is defined.  Likewise for SIGSETXID.
30049         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
30050         Conditionalize definitions on [SIGSETXID].
30051         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
30052         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
30053         unblocking on [SIGCANCEL].
30055         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
30056         [__NR_set_robust_list].
30058 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30060         * string/strcoll_l.c (get_next_seq): Fix up formatting.
30061         (do_compare): Likewise.
30063 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
30065         [BZ #15884]
30066         * string/strcoll_l.c: Don't include stdio.h.
30067         (coll_seq): Remove members idxarr and rulearr.
30068         (get_next_seq_cached): Remove function.
30069         (get_next_seq): Likewise.
30070         (get_next_seq_nocache): Rename to get_next_seq.
30071         (do_compare): Remove function.
30072         (do_compare_nocache): Rename to do_compare.
30073         (STRCOLL): Remove weight and rules cache.
30075 2014-10-16  Roland McGrath  <roland@hack.frob.com>
30077         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
30078         * sysdeps/arm/sfp-machine.h: ... to here.
30079         * sysdeps/arm/Implies: Remove arm/soft-fp.
30081 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
30083         * conform/data/sys/utsname.h-data (*_t): Allow.
30084         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
30085         [POSIX] (WEXITED): Do not expect constant.
30086         [POSIX] (WSTOPPED): Likewise.
30087         [POSIX] (WNOHANG): Likewise.
30088         [POSIX] (WNOWAIT): Likewise.
30089         [POSIX] (siginfo_t): Do not expect type or elements.
30090         [POSIX] (pid_t): Do not expect type.
30091         [POSIX] (signal.h): Do not allow header.
30092         [POSIX] (sys/resource.h): Likewise.
30093         [POSIX] (si_*): Do not allow pattern.
30094         [POSIX] (W*): Likewise.
30095         [POSIX] (P_*): Likewise.
30096         [POSIX] (BUS_*): Likewise.
30097         [POSIX] (CLD_*): Likewise.
30098         [POSIX] (FPE_*): Likewise.
30099         [POSIX] (ILL_*): Likewise.
30100         [POSIX] (POLL_*): Likewise.
30101         [POSIX] (SEGV_*): Likewise.
30102         [POSIX] (SI_*): Likewise.
30103         [POSIX] (TRAP_*): Likewise.
30104         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
30105         variable.
30107 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
30109         [BZ #12926]
30110         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
30111         infinite loop when __recvmsg returns 0.
30113 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
30115         * CANCEL-FCT-WAIVE: Remove file.
30116         * CANCEL-FILE-WAIVE: Likewise.
30118         [BZ #14132]
30119         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
30120         instead of INTVARDEF.
30121         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30122         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
30123         rtld_hidden_data_def instead of INTVARDEF.
30124         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30125         * elf/dl-deps.c (expand_dst): Likewise.
30126         * elf/dl-load.c (_dl_dst_count): Likewise.
30127         (_dl_dst_substitute): Likewise.
30128         (decompose_rpath): Likewise.
30129         (_dl_init_paths): Likewise.
30130         (open_path): Likewise.
30131         (_dl_map_object): Likewise.
30132         * elf/rtld.c (dl_main): Likewise.
30133         (process_dl_audit): Likewise.
30134         (process_envvars): Likewise.
30135         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
30136         Remove declaration.
30137         (__libc_enable_secure): Use rtld_hidden_proto.
30139 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30141         * elf/dl-load.c
30142         (add_path): New function broken out of _dl_rtld_di_serinfo.
30143         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
30145 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30147         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
30148         parentheses around macro arguments.
30149         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
30150         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
30151         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
30152         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
30153         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
30154         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30155         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30156         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
30157         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
30158         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
30159         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
30160         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
30161         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
30162         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
30163         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
30164         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
30165         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
30166         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
30167         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
30168         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
30169         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
30170         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
30171         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
30172         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30173         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30174         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
30175         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
30176         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
30177         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
30178         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
30179         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
30180         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
30181         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
30182         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
30183         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
30184         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
30185         Likewise.
30186         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
30187         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30188         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30189         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
30190         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
30191         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
30192         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
30193         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
30194         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
30195         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
30196         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
30197         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
30198         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
30199         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
30200         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
30201         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30202         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30203         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
30204         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
30205         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
30206         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
30207         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
30208         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
30209         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
30210         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
30211         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
30212         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
30213         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
30214         (_FP_FRAC_SRS_1): Likewise.
30215         (_FP_FRAC_CLZ_1): Likewise.
30216         (_FP_MUL_MEAT_1_imm): Likewise.
30217         (_FP_MUL_MEAT_1_wide): Likewise.
30218         (_FP_MUL_MEAT_1_hard): Likewise.
30219         (_FP_SQRT_MEAT_1): Likewise.
30220         (_FP_FRAC_ASSEMBLE_1): Likewise.
30221         (_FP_FRAC_DISASSEMBLE_1): Likewise.
30222         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
30223         (__FP_CLZ_2): Likewise.
30224         (_FP_MUL_MEAT_2_wide): Likewise.
30225         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
30226         (_FP_MUL_MEAT_2_gmp): Likewise.
30227         (_FP_MUL_MEAT_2_120_240_double): Likewise.
30228         (_FP_SQRT_MEAT_2): Likewise.
30229         (_FP_FRAC_ASSEMBLE_2): Likewise.
30230         (_FP_FRAC_DISASSEMBLE_2): Likewise.
30231         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
30232         (_FP_FRAC_CLZ_4): Likewise.
30233         (_FP_MUL_MEAT_4_wide): Likewise.
30234         (_FP_MUL_MEAT_4_gmp): Likewise.
30235         (_FP_SQRT_MEAT_4): Likewise.
30236         (_FP_FRAC_ASSEMBLE_4): Likewise.
30237         (_FP_FRAC_DISASSEMBLE_4): Likewise.
30238         * soft-fp/op-common.h (_FP_CMP): Likewise.
30239         (_FP_CMP_EQ): Likewise.
30240         (_FP_CMP_UNORD): Likewise.
30241         (_FP_TO_INT): Likewise.
30242         (_FP_FROM_INT): Likewise.
30243         [!__FP_CLZ] (__FP_CLZ): Likewise.
30244         (_FP_DIV_HELP_imm): Likewise.
30245         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
30246         Likewise.
30247         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
30248         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
30249         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
30250         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
30251         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
30252         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30253         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30254         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
30255         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
30256         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
30257         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
30258         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
30259         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
30260         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
30261         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
30262         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
30263         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
30264         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
30265         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
30266         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
30267         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
30268         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
30269         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
30270         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30271         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30272         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
30273         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
30274         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
30275         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
30276         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
30277         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
30278         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
30279         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
30280         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
30281         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
30282         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
30283         (FP_UNPACK_RAW_SP): Likewise.
30284         (FP_PACK_RAW_S): Likewise.
30285         (FP_PACK_RAW_SP): Likewise.
30286         (FP_UNPACK_S): Likewise.
30287         (FP_UNPACK_SP): Likewise.
30288         (FP_UNPACK_SEMIRAW_S): Likewise.
30289         (FP_UNPACK_SEMIRAW_SP): Likewise.
30290         (FP_PACK_S): Likewise.
30291         (FP_PACK_SP): Likewise.
30292         (FP_PACK_SEMIRAW_S): Likewise.
30293         (FP_PACK_SEMIRAW_SP): Likewise.
30294         (_FP_SQRT_MEAT_S): Likewise.
30295         (FP_CMP_S): Likewise.
30296         (FP_CMP_EQ_S): Likewise.
30297         (FP_CMP_UNORD_S): Likewise.
30298         (FP_TO_INT_S): Likewise.
30299         (FP_FROM_INT_S): Likewise.
30301         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
30303         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
30304         (FP_EX_INVALID_IMZ): Likewise.
30305         (FP_EX_INVALID_IMZ_FMA): Likewise.
30306         (FP_EX_INVALID_ISI): Likewise.
30307         (FP_EX_INVALID_ZDZ): Likewise.
30308         (FP_EX_INVALID_IDI): Likewise.
30309         (FP_EX_INVALID_SQRT): Likewise.
30310         (FP_EX_INVALID_CVI): Likewise.
30311         (FP_EX_INVALID_VC): Likewise.
30312         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
30313         "invalid" exceptions.
30314         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
30315         (_FP_ADD_INTERNAL): Likewise.
30316         (_FP_MUL): Likewise.
30317         (_FP_FMA): Likewise.
30318         (_FP_DIV): Likewise.
30319         (_FP_CMP_CHECK_NAN): Likewise.
30320         (_FP_SQRT): Likewise.
30321         (_FP_TO_INT): Likewise.
30322         (FP_EXTEND): Likewise.
30324 2014-10-09  Allan McRae  <allan@archlinux.org>
30326         * po/fr.po: Update French translation from translation project.
30328 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30330         [BZ #14132]
30331         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
30332         of INTDEF.
30333         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
30334         (__cxa_atexit): Use libc_hidden_proto.
30335         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
30337         [BZ #14132]
30338         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
30339         declaration.
30340         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
30341         [!_ISOMAC] (__iswspace_l_internal): Likewise.
30342         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
30343         [!_ISOMAC] (__iswctype_internal): Likewise.
30344         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
30345         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
30346         alias.
30347         (fcntl): Remove __fcntl_internal alias.
30348         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
30349         __connect_internal alias.
30350         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
30351         Likewise.
30353         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
30354         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
30355         FP_DENORM_ZERO.
30356         (_FP_CHECK_FLUSH_ZERO): New macro.
30357         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
30358         (_FP_CMP): Likewise.
30359         (_FP_CMP_EQ): Likewise.
30360         (_FP_TO_INT): Do not set inexact for subnormal arguments if
30361         FP_DENORM_ZERO.
30362         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
30363         (FP_TRUNC): Likewise.
30365         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
30366         treated as invalid conversion, not as normal exponent.
30368         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
30369         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
30370         (_FP_CMP_EQ): Likewise.
30371         (_FP_CMP_UNORD): Likewise.
30372         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
30373         (FP_CMP_EQ_D): Likewise.
30374         (FP_CMP_UNORD_D): Likewise.
30375         * soft-fp/extended.h (FP_CMP_E): Likewise.
30376         (FP_CMP_EQ_E): Likewise.
30377         (FP_CMP_UNORD_E): Likewise.
30378         * soft-fp/quad.h (FP_CMP_Q): Likewise.
30379         (FP_CMP_EQ_Q): Likewise.
30380         (FP_CMP_UNORD_Q): Likewise.
30381         * soft-fp/single.h (FP_CMP_S): Likewise.
30382         (FP_CMP_EQ_S): Likewise.
30383         (FP_CMP_UNORD_S): Likewise.
30384         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
30385         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
30386         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
30387         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
30388         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
30389         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
30390         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
30391         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
30392         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
30393         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
30394         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
30395         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
30396         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
30397         to FP_CMP_Q.
30398         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
30399         FP_CMP_Q.
30400         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
30401         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
30402         FP_CMP_EQ_Q.
30403         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
30404         FP_CMP_Q.
30405         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
30406         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
30407         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
30408         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
30409         FP_CMP_EQ_Q.
30410         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
30411         FP_CMP_Q.
30412         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
30413         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
30414         FP_CMP_EQ_Q.
30415         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
30416         FP_CMP_Q.
30417         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
30418         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
30419         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
30420         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
30421         FP_CMP_EQ_Q.
30423         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
30424         a subnormal result, set the underflow exception if trapping on
30425         underflow is enabled.
30426         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
30427         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
30428         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
30429         redefine to 0.
30430         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
30431         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30432         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30433         * soft-fp/extendxftf2.c (__extendxftf2): Use
30434         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
30436         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
30437         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
30438         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30439         FP_HANDLE_EXCEPTIONS.
30440         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
30441         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30442         FP_HANDLE_EXCEPTIONS.
30443         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
30444         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30445         FP_HANDLE_EXCEPTIONS.
30446         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
30447         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30448         FP_HANDLE_EXCEPTIONS.
30450 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
30452         [BZ #14132]
30453         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
30454         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
30455         use INTUSE.
30456         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
30457         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
30458         Remove alias.
30459         (__adjtimex): Define using libc_hidden_ver.
30460         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
30461         Remove declaration.
30462         (ntp_gettime): Call __adjtimex directly.
30463         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
30464         Remove declaration.
30465         (ntp_gettimex): Call __adjtimex directly.
30466         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
30467         __adjtimex_internal alias.
30469 2014-10-08  Roland McGrath  <roland@hack.frob.com>
30471         [BZ #17460]
30472         * nscd/nscd.c (more_help): Rewrite list of tables collection
30473         using xstrdup and asprintf.
30475         * nscd/nscd_conf.c: Remove local xstrdup declaration.
30477 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30478             Roland McGrath  <roland@hack.frob.com>
30480         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
30481         (do_lookup_unique): ... local function 'enter' here; update callers.
30483 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
30485         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
30486         compat_symbol calls on [SHARED].
30487         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
30488         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
30489         Remove.
30490         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30491         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
30492         (oldsetrlimit): Remove.
30493         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30495         (lchown): New syscall entry.
30496         (oldsetrlimit): Remove.
30497         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30498         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
30499         (oldsetrlimit): Remove.
30500         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30502         [BZ #14138]
30503         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
30504         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
30505         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
30506         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
30507         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30508         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
30509         (fchown): Likewise.
30510         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
30511         (fchown): Likewise.
30512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
30513         Likewise.
30515 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30517         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
30518         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
30519         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
30520         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
30521         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
30522         Likewise.
30523         (__old_sem_post): Likewise.
30525 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
30527         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
30528         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
30529         HAVE_CLOCK_GETTIME_VSYSCALL macros.
30530         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
30531         Use INLINE_VSYSCALL macro.
30532         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
30533         __vdso_clock_gettime.
30534         * sysdeps/unix/sysv/linux/tile/init-first.c
30535         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
30536         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
30537         __vdso_clock_gettime.
30539         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
30540         to set up frame more cleanly.
30542         * sysdeps/tile/memcmp.c: New file.
30544         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
30546         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
30547         * sysdeps/tile/tilegx/strcasestr.c: New file.
30548         * sysdeps/tile/tilegx/strnlen.c: New file.
30549         * sysdeps/tile/tilegx/strstr.c: New file.
30551         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
30553 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
30555         * nptl/tst-setuid3.c: Write errors to stdout.
30557 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30559         * elf/dl-deps.c
30560         (preload): New functions broken out of _dl_map_object_deps.
30561         (_dl_map_object_deps):  Remove a nested function. Update call sites.
30563 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
30565         [BZ #14138]
30566         * sysdeps/unix/sysv/linux/execve.c: Remove file.
30567         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
30569 2014-10-01  Steve Ellcey  <sellcey@mips.com>
30571         * sysdeps/mips/strcmp.S: New.
30573 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
30575         [BZ #14138]
30576         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
30577         (linkat): Likewise.
30578         (mkdirat): Likewise.
30579         (readlinkat): Likewise.
30580         (renameat): Likewise.
30581         (symlinkat): Likewise.
30582         (unlinkat): Likewise.
30583         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
30584         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
30585         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
30586         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
30587         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
30588         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
30589         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
30591 2014-09-30  Will Newton  <will.newton@linaro.org>
30593         * math/math.h: Define long double math functions if
30594         _LIBC_TEST is defined.
30595         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
30597         * localedata/Makefile: Move assignment to tests-special
30598         into an ifdef testing run-built-tests.
30599         * timezone/Makefile: Likewise.
30601 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
30603         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
30604         with $(BASH) not $(SHELL).
30606 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
30607             Matthew LeGendre  <legendre1@llnl.gov>
30609         [BZ #17411]
30610         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
30611         l_reloc_result.
30613 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30615         * stdio-common/printf_fp.c
30616         (hack_digit): New function, broken out of ...
30617         (__printf_fp): ... local function here.  Update call sites.
30618         hack_digit now takes an additional parameter that is a pointer
30619         to a struct of the referenced locals.  Those locals moved inside
30620         the struct and references updated.
30622 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
30624         * aclocal.m4: Require autoconf 2.69.
30625         * configure: Regenerated.
30626         * sysdeps/aarch64/configure: Likewise.
30627         * sysdeps/alpha/configure: Likewise.
30628         * sysdeps/arm/armv7/configure: Likewise.
30629         * sysdeps/arm/configure: Likewise.
30630         * sysdeps/ia64/configure: Likewise.
30631         * sysdeps/mach/configure: Likewise.
30632         * sysdeps/mips/configure: Likewise.
30633         * sysdeps/s390/configure: Likewise.
30634         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
30635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
30637         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
30638         file.
30639         * sysdeps/ia64/configure.ac: Likewise.
30641 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
30643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
30644         specify symbol version for ld.so.  Do not include entry for
30645         libpthread.
30646         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30647         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30648         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30650         [BZ #14171]
30651         * Makeconfig [$(build-shared) = yes]
30652         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
30653         makefiles.
30654         [$(build-shared) = yes && $(soversions.mk-done) = t]
30655         ($(common-objpfx)gnu/lib-names.h): Remove rule.
30656         [$(build-shared) = yes && $(soversions.mk-done) = t]
30657         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
30658         to Makerules.
30659         [$(build-shared) = yes && $(soversions.mk-done) = t]
30660         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
30661         here.
30662         [$(build-shared) = yes && $(soversions.mk-done) = t]
30663         (common-generated): Don't append gnu/lib-names.h and
30664         gnu/lib-names.stmp here.
30665         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
30666         (lib-names-h-abi): New variable.
30667         [$(build-shared) = yes && $(soversions.mk-done) = t]
30668         (lib-names-stmp-abi): Likewise.
30669         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30670         abi-variants] (before-compile): Append
30671         $(common-objpfx)$(lib-names-h-abi).
30672         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30673         abi-variants] (common-generated): Append gnu/lib-names.h.
30674         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30675         abi-variants] (install-others-nosubdir): Depend on
30676         $(inst_includedir)/$(lib-names-h-abi).
30677         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30678         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
30679         [$(build-shared) = yes && $(soversions.mk-done) = t]
30680         ($(common-objpfx)$(lib-names-h-abi)): New rule.
30681         [$(build-shared) = yes && $(soversions.mk-done) = t]
30682         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
30683         [$(build-shared) = yes && $(soversions.mk-done) = t]
30684         (common-generated): Append $(lib-names-h-abi) and
30685         $(lib-names-stmp-abi).
30686         * scripts/lib-names.awk: Do not handle multi being set.
30687         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
30688         Remove variable.
30689         (abi-lp64_be-ld-soname): Likewise.
30690         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
30691         Likewise.
30692         (abi-hard-ld-soname): Likewise.
30693         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
30694         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
30695         Remove variable.
30696         (abi-o32_hard-ld-soname): Likewise.
30697         (abi-o32_soft_2008-ld-soname): Likewise.
30698         (abi-o32_hard_2008-ld-soname): Likewise.
30699         (abi-n32_soft-ld-soname): Likewise.
30700         (abi-n32_hard-ld-soname): Likewise.
30701         (abi-n32_soft_2008-ld-soname): Likewise.
30702         (abi-n32_hard_2008-ld-soname): Likewise.
30703         (abi-n64_soft-ld-soname): Likewise.
30704         (abi-n64_hard-ld-soname): Likewise.
30705         (abi-n64_soft_2008-ld-soname): Likewise.
30706         (abi-n64_hard_2008-ld-soname): Likewise.
30707         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
30708         Likewise.
30709         (abi-64-v2-ld-soname): Likewise.
30710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
30711         ld.so entries.
30712         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
30713         variable.
30714         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
30715         entry.
30716         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
30717         variable.
30718         (abi-64-ld-soname): Likewise.
30719         (abi-x32-ld-soname): Likewise.
30720         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
30721         entry.
30722         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30724 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
30726         [BZ #14138]
30727         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
30728         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
30729         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
30730         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
30731         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
30732         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
30733         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
30734         syscall entry for GLIBC_2.2 symbol version.
30735         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
30736         Likewise.
30737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30738         (setrlimit): Likewise.
30739         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
30740         Likewise.
30742 2014-09-23  Will Newton  <will.newton@linaro.org>
30744         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
30745         _LINUX_ARM_SYSDEP_H include guard too.
30746         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
30747         define.
30749 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30751         * sysdeps/unix/sysv/linux/eventfd.c:
30752         Make first argument unsigned.
30753         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
30754         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
30756 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
30758         [BZ #16852]
30759         * socket/recvmmsg.c (recvmmsg): Drop const argument.
30760         * socket/sys/socket.h: Likewise.
30761         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
30763 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30765         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
30767 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
30769         * time/tst-ftime.c: New test.
30770         * time/Makefile (tests): Add tst-ftime.
30772 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
30774         * soft-fp/extended.h: Fix comment formatting.
30775         * soft-fp/op-1.h: Likewise.
30776         * soft-fp/op-2.h: Likewise.
30777         * soft-fp/op-4.h: Likewise.
30778         * soft-fp/op-8.h: Likewise.
30779         * soft-fp/op-common.h: Likewise.
30780         * soft-fp/soft-fp.h: Likewise.
30782         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
30784 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
30786         [BZ #6652]
30787         * Makeconfig (soversions-default-setname): Remove variable.
30788         ($(common-objpfx)soversions.i): Don't pass default_setname to
30789         soversions.awk.
30790         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
30791         oldest_abi to abi-versions.awk.
30792         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
30793         * config.make.in (oldest-abi): Remove variable.
30794         * configure.ac (--enable-oldest-abi): Remove configure option.
30795         * configure: Regenerated.
30796         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
30797         text.
30798         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
30799         * scripts/soversions.awk: Do not handle default_setname variable.
30800         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
30801         variable.
30802         * sysdeps/mach/hurd/configure: Regenerated.
30803         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
30804         variable.
30805         * sysdeps/unix/sysv/linux/configure: Regenerated.
30807 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30809         * elf/Makefile (CFLAGS-interp.c): Remove.
30810         ($(elf-objpfx)runtime-linker.h): Generate header with linker
30811         path string.
30812         * elf/interp.c: Include generated runtime-linker.h
30814         * Makerules (lib%.so): Don't include $(+interp) in
30815         prerequisites.
30816         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
30817         * dlfcn/eval.c: Remove file.
30819         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
30820         macros.
30822         [BZ #17266]
30823         * misc/sys/cdefs.h: Define __extern_always_inline for clang
30824         4.2 and newer.
30826         [BZ #17370]
30827         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
30829 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30830             Jakub Jelinek  <jakub@redhat.com>
30832         [BZ #17266]
30833         * libio/stdio.h: Check definition of __fortify_function
30834         instead of __extern_always_inline to include bits/stdio2.h.
30835         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
30836         check if __extern_always_inline is defined.
30837         [__USE_MISC || __USE_XOPEN]: Likewise.
30838         [__USE_ISOC99] Likewise.
30839         * misc/sys/cdefs.h (__fortify_function): Define only if
30840         __extern_always_inline is defined.
30841         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
30842         __extern_always_inline and __extern_inline only for g++-4.3
30843         and newer or a compatible gcc.
30845 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
30847         [BZ #17371]
30848         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30849         last change to handle zero prefix length.
30851 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30853         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
30854         _SC_REGEX_VERSION.
30856         * posix/getconf.c (vars): Add _POSIX_IPV6 and
30857         _POSIX_RAW_SOCKETS.
30859 2014-09-13  Allan McRae  <allan@archlinux.org>
30861         * po/ru.po: Update Russian translation from translation project.
30863 2014-09-12  Roland McGrath  <roland@hack.frob.com>
30865         * locale/programs/locale.c (show_locale_vars): Inline local function
30866         into its sole call site.  Clean up some style nits.
30867         (print_item): New function, broken out of ...
30868         (show_info): ... local function here.  Clean up style nits.
30870         * locale/programs/ld-ctype.c (set_one_default): New function, broken
30871         out of ...
30872         (set_class_defaults): ... local function set_default here.
30873         Define set_default as a macro locally to pass constant parameters.
30874         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
30875         rather than a shared local.
30877         * stdlib/rpmatch.c (try): New function, broken out of ...
30878         (rpmatch): ... local function here.  Also, prototypify definition.
30880 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
30882         * scripts/soversions.awk: Do not handle configuration names.
30883         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
30884         vendor and os variables to soversions.awk.
30885         * configure.ac: Do not modify gnu-* host_os.
30886         * configure: Regenerated
30887         * shlib-versions: Remove first column with configuration names.
30888         * nptl/shlib-versions: Likewise.
30889         * nptl_db/shlib-versions: Likewise.
30890         * sysdeps/hppa/shlib-versions: Likewise.
30891         * sysdeps/m68k/shlib-versions: Likewise.
30892         * sysdeps/mach/hurd/shlib-versions: Likewise.
30893         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
30894         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
30895         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
30896         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
30897         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
30898         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
30899         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
30900         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
30901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30902         Likewise.
30903         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30904         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30905         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30906         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30907         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30908         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
30909         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30910         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30913         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
30914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30915         Regenerated.
30916         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
30917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30918         Condition symbol version definitions on [HAVE_ELFV2_ABI].
30920         * shlib-versions: Remove OS-specific entries.  Moved to files in
30921         sysdeps.
30922         * sysdeps/mach/hurd/shlib-versions: New file.
30923         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30925         * nptl/shlib-versions: Remove architecture-specific entries.
30926         Moved to files in sysdeps.
30927         * shlib-versions: Likewise.
30928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
30929         file.
30930         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30931         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30932         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30933         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30935         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
30936         (UDP_NO_CHECK6_RX): Likewise.
30938 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30940         * sysdeps/posix/sysconf.c (__sysconf): Spell
30941         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
30943 2014-08-12  Florian Weimer  <fweimer@redhat.com>
30945         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
30946         loading.
30947         * iconv/Versions (__gconv_transliterate): Export for use from
30948         gconv modules.
30949         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
30950         (struct __gconv_trans_data, __gconv_trans_fct,
30951         __gconv_trans_context_fct, __gconv_trans_query_fct,
30952         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
30953         definitions.
30954         (struct __gconv_step_data): Remove __trans member.
30955         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
30956         longer hidden.  Remove unused trans_data argument.
30957         * iconv/gconv_int.h (struct trans_struct): Remove definition.
30958         (__gconv_translit_find): Remove declaration.
30959         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
30960         prototype.
30961         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
30962         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
30963         trans_data argument.  Add hidden definition.
30964         (__gconv_translit_find): Remove.
30965         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
30966         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
30967         * iconv/skeleton.c: Remove transliteration initialization.
30968         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
30969         __gconv_step_data initialization.
30970         * libio/iofwide.c (__libio_translit_): Remove.
30971         (_IO_fwide): Adjust struct __gconv_step_data initialization.
30972         * wcsmbs/btowc.c (__btowc): Likewise.
30973         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30974         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30975         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
30976         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
30977         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
30978         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
30979         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
30980         * wcsmbs/wctob.c (wctob): Likewise.
30982 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30984         [BZ #16194]
30985         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
30986         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
30987         register usage.
30988         * sysdeps/x86/Makefile: Adjust.
30990 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30991             Roland McGrath  <roland@hack.frob.com>
30993         * locale/weight.h: Add include guard.
30994         (findidx): Make static rather than auto; take new parameters
30995         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
30996         * locale/weightwc.h: Likewise.
30997         * posix/fnmatch_loop.c
30998         (FCT): Change type of EXTRA from int32_t to wint_t.
30999         Don't include either header inside the function.
31000         Call FINDIDX rather than findidx, and pass new arguments.
31001         #undef FINDIDX at the end of the file.
31002         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
31003         FINDIDX before including fnmatch_loop.c for the non-wide version.
31004         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
31005         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
31006         for the wide version.
31007         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
31008         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
31009         Pass new arguments to findidx.
31010         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
31011         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
31012         Don't #include it inside the function.  Pass new arguments to findidx.
31013         * posix/regex_internal.h
31014         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
31015         (re_string_elem_size_at): Don't #include it inside the function.
31016         Pass new arguments to findidx.
31017         * string/strcoll_l.c: #include WEIGHT_H at top level.
31018         (get_next_seq): Don't #include it inside the function.
31019         Pass new arguments to findidx.
31020         (get_next_seq_nocache): Likewise.
31021         * string/strxfrm_l.c: #include WEIGHT_H at top level.
31022         (STRXFRM): Don't #include it inside the function.
31023         Pass new arguments to findidx.
31025 2014-09-11  Florian Weimer  <fweimer@redhat.com>
31027         [BZ #17344]
31028         * malloc/malloc.c (unlink): Turn asserts into a call to
31029         malloc_printerr.
31031 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
31033         [BZ #17370]
31034         * libio/wfileops (do_ftell_wide): Free OUT.
31036 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
31038         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
31040 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31042         [BZ #17363]
31043         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
31044         group if the current group is empty.
31046 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31048         * benchtests/bench-memset.c (test_main): Add more test from size
31049         from 32 to 512 bytes.
31050         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31051         Add POWER8 memset object.
31052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31053         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
31054         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
31055         implementation.
31056         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
31057         Likewise.
31058         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
31059         multiarch POWER8 memset optimization.
31060         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
31061         POWER8 memset optimization.
31063         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31064         Remove bzero multiarch objects.
31065         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
31066         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
31067         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
31068         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
31069         Remove define.
31070         [__bzero]: Redefine to specific name.
31071         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
31072         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
31073         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
31074         define.
31075         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31076         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31078 2014-09-10  Florian Weimer  <fweimer@redhat.com>
31080         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
31081         warnings into errors.
31083         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
31084         __cxa_thread_atexit_impl prototype.
31086 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31088         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
31089         Fix capitalization of error message.
31091 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31093         * sysdeps/mips/preconfigure: Modify ABI tests.
31095 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
31097         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
31099 2014-09-07  Roland McGrath  <roland@hack.frob.com>
31100             Carlos O'Donell  <carlos@systemhalted.org>
31102         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
31103         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
31104         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
31105         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
31106         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
31107         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
31108         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
31109         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
31110         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
31111         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
31112         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
31113         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
31114         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
31115         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
31116         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
31117         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
31118         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
31119         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
31120         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
31121         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
31122         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
31123         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
31124         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
31125         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
31126         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
31127         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
31128         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
31129         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
31130         Deconditionalize the code that was previously under [RESET_PID].
31131         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
31132         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
31133         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
31134         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
31135         include sysdep.h.
31137 2014-09-08  Allan McRae  <allan@archlinux.org>
31139         * version.h (RELEASE): Set to "development".
31140         (VERSION): Set to "2.20.90"
31142 2014-09-07  Allan McRae  <allan@archlinux.org
31144         * version.h (RELEASE): Set to "stable".
31145         (VERSION): Set to "2.20"
31146         * include/features.h (__GLIBC_MINOR__): Set to 20.
31148         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
31149         Liebler.
31151         * po/ko.po: Update Korean translation from translation project.
31153 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
31155         [BZ #17354]
31156         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
31157         macro for handling signed relocations.
31159 2014-09-03  Florian Weimer  <fweimer@redhat.com>
31161         [BZ #17325]
31162         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
31163         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
31164         assert.
31165         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
31166         * iconvdata/ibm935.c (BODY): Likewise.
31167         * iconvdata/ibm937.c (BODY): Likewise.
31168         * iconvdata/ibm939.c (BODY): Likewise.
31169         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
31170         assert.
31171         * iconvdata/Makefile (iconv-test.out): Pass module list to test
31172         script.
31173         * iconvdata/run-iconv-test.sh: New test loop for checking for
31174         decoder crashers.
31176 2014-09-02  Khem Raj  <raj.khem@gmail.com>
31178         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
31179         libm_hidden_ver.
31181 2014-09-01  Allan McRae  <allan@archlinux.org>
31183         * po/eo.po: Update Esperanto translation from translation project.
31185         * po/ca.po: Update Catalan translation from translation project.
31187 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31189         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
31190         __proc_dostop call.
31192 2014-08-27  Mark Wielaard  <mjw@redhat.com>
31194         [BZ #17319]
31195         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
31196         to call set_thread_area instead of hand written asm.
31197         (__NR_set_thread_area): Removed define.
31198         (TLS_FLAG_WRITABLE): Likewise.
31199         (__ASSUME_SET_THREAD_AREA): Remove check.
31200         (TLS_EBX_ARG): Remove define.
31201         (TLS_LOAD_EBX): Likewise.
31203 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31205         Simplify atomicity of socket creation in bind.
31207         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
31208         looking up the name after linking the file.
31210 2014-08-27  Allan McRae  <allan@archlinux.org>
31212         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31214 2014-08-26  Florian Weimer  <fweimer@redhat.com>
31216         [BZ #17187]
31217         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
31218         trans_compare, open_translit, __gconv_translit_find):
31219         Remove module loading code.
31221 2014-08-26  Allan McRae  <allan@archlinux.org>
31223         * po/vi.po: Update Vietnamese translation from translation project.
31225         * po/uk.po: Update Ukrainian translation from translation project.
31227         * po/fr.po: Update French translation from translation project.
31229         * po/ru.po: Update Russian translation from translation project.
31231         * po/pl.po: Update Polish translation from translation project.
31233         * po/cs.po: Update Czech translation from translation project.
31235         * po/de.po: Update German translation from translation project.
31237         * po/bg.po: Update Bulgarian translation from translation project.
31239         * po/sv.po: Update Sweedish translation from translation project.
31241         * po/nl.po: Update Dutch translation from translation project.
31243         * po/es.po: Update Spanish translation from translation project.
31245 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31247         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
31249         * catgets/Makefile (CPPFLAGS-gencat): Remove.
31250         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
31251         (CPPFLAGS-iconvconfig): Likewise.
31252         * timezone/Makefile (CPPFLAGS-zic): Likewise.
31254         * include/libc-symbols.h: Remove unnecessary check for
31255         NOT_IN_libc.
31256         * nptl/pthreadP.h: Likewise.
31257         * sysdeps/aarch64/setjmp.S: Likewise.
31258         * sysdeps/alpha/setjmp.S: Likewise.
31259         * sysdeps/arm/sysdep.h: Likewise.
31260         * sysdeps/i386/setjmp.S: Likewise.
31261         * sysdeps/m68k/setjmp.c: Likewise.
31262         * sysdeps/posix/getcwd.c: Likewise.
31263         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
31264         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
31265         * sysdeps/s390/s390-32/setjmp.S: Likewise.
31266         * sysdeps/s390/s390-64/setjmp.S: Likewise.
31267         * sysdeps/sh/sh3/setjmp.S: Likewise.
31268         * sysdeps/sh/sh4/setjmp.S: Likewise.
31269         * sysdeps/unix/alpha/sysdep.h: Likewise.
31270         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31271         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31272         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
31273         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31276         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31277         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31278         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31279         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31280         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31281         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31282         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31283         * sysdeps/x86_64/setjmp.S: Likewise.
31285 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
31287         [BZ #17263]
31288         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
31289         <stdint.h>.
31290         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
31291         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
31293 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31295         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
31297         [BZ #17262]
31298         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
31299         and __x86_64__ when disabling x87 inline functions.
31301 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
31303         [BZ #17259]
31304         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
31305         asm statement with __cpuid_count.
31307 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
31309         * configure.ac: Change __ehdr_start code to dereference the struct.
31310         Run readelf on the output to look for relocations.
31311         * configure: Regenerated.
31313 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
31315         [BZ #17261]
31316         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
31317         value to 0.
31318         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
31320 2014-08-12  Roland McGrath  <roland@hack.frob.com>
31322         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
31324 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
31326         [BZ #16892]
31327         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
31328         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
31330 2014-08-12  Sean Anderson  <seanga2@gmail.com>
31332         * malloc/malloc.c: Fix typo in comment.
31334 2014-08-09  Allan McRae  <allan@archlinux.org>
31336         * Regenerate libc.po.
31338 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
31340         * intl/tst-gettext2.sh: Check every lang file for creation.
31342 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31344         * sysdeps/aarch64/fpu/math_private.h
31345         (libc_feholdsetround_noex_aarch64_ctx): New function.
31347 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31349         * sysdeps/arm/armv6/strcpy.S (strcpy):
31350         Fix performance issue in misaligned cases.
31352 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31354         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
31355         Move definition from termios.h.
31356         (struct termio): Likewise.
31357         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31358         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31359         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31360         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31361         Likewise.
31362         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
31363         Move definition to ioctl-types.h
31364         (struct termio): Likewise.
31365         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31366         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31367         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31368         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31369         Likewise.
31371 2014-08-05  Richard Henderson  <rth@redhat.com>
31373         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
31374         exceptions.
31375         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
31376         Add fraiseexcpt.
31377         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
31378         Use __feraiseexcept.
31379         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
31380         Protect libm symbols with IS_IN_libm.
31382         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
31384 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
31386         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
31388 2014-08-04  Will Newton  <will.newton@linaro.org>
31390         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
31391         file.
31393 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
31395         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
31396         variants for each function.
31398 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31400         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
31401         appended ...
31402         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
31403         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
31404         appended ...
31405         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
31406         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
31407         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
31408         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
31409         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
31410         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
31411         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
31412         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
31413         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
31414         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
31415         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
31416         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
31417         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
31418         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
31419         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
31420         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
31421         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
31422         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
31423         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
31424         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
31425         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
31426         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
31427         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
31428         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
31429         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
31430         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
31431         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
31432         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
31433         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
31434         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
31435         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
31436         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
31437         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
31438         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
31439         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
31440         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
31441         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
31442         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
31443         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
31444         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
31445         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
31446         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
31447         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
31448         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
31449         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
31450         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
31451         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
31452         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
31453         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
31454         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
31455         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
31456         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
31457         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
31458         Update #include.
31459         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
31460         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
31462 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31464         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
31465         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
31466         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
31467         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
31468         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
31469         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
31471 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31473         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
31474         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
31475         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31476         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
31478 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31480         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
31481         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
31482         (__libc_vfork): Define function under this name.
31483         (__vfork): Define as an alias.
31484         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
31485         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
31487 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31489         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
31490         that was previously under [RESET_PID].
31491         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
31493 2014-08-04  Andreas Schwab  <schwab@suse.de>
31495         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
31497 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
31499         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
31500         (main): Likewise.
31502 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31504         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
31506 2014-08-01  Richard Henderon  <rth@redhat.com>
31508         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
31509         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
31510         typo in exact zero test.
31511         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31512         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31513         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31515 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31517         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
31518         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
31519         * sysdeps/arm/sysdep.h: ... here.
31520         [!__ASSEMBLER__]: Include <stdint.h>.
31522 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31524         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
31525         (HAVE_WCTYPE_H): Likewise.
31526         (HAVE_ISWCTYPE): Likewise.
31527         (ENABLE_NLS): Likewise.
31528         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
31529         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
31531         * posix/regex_internal.c: Check if DEBUG is defined and is
31532         set.
31534         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
31535         (HAVE_MBSRTOWCS): Likewise.
31536         * posix/fnmatch.c: Include string.h unconditionally.
31538 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31540         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
31541         reversal.
31543 2014-07-31  Roland McGrath  <roland@hack.frob.com>
31545         * sysdeps/generic/safe-fatal.h: New file.
31546         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
31547         * nptl/forward.c: Include it.
31548         (__pthread_unwind): Use __safe_fatal as default action, rather
31549         than a bogus use of INTERNAL_SYSCALL that could never work.
31551         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
31552         * configure.ac (libc_cv_builtin_trap): New test.
31553         * configure: Regenerated.
31554         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
31555         (ABORT_INSTRUCTION): Define using __builtin_trap.
31557         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
31558         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
31559         * sysdeps/nptl/nptl-signals.h: New file.
31560         * nptl/pthreadP.h: Include <nptl-signals.h>.
31562 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31564         * sysdeps/s390/s390-64/utf16-utf32-z9.c
31565         (ONE_DIRECTION): Define.
31566         * sysdeps/s390/s390-64/utf8-utf16-z9.c
31567         (ONE_DIRECTION): Define.
31568         * sysdeps/s390/s390-64/utf8-utf32-z9.c
31569         (ONE_DIRECTION): Define.
31571 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31573         * sysdeps/s390/Makefile: Delete file.
31574         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
31575         * sysdeps/s390/__longjmp.c: Delete file.
31576         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
31577         Remove fields __flags and __reserved.
31578         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
31579         and add versioning.
31580         * sysdeps/s390/rtld-__longjmp.c: Delete file.
31581         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
31582         * sysdeps/s390/rtld-setjmp.S: Likewise.
31583         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
31584         * sysdeps/s390/s390-32/__longjmp.c: ... here.
31585         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
31586         * sysdeps/s390/s390-32/setjmp.S: ... here.
31587         Add versioning.
31588         (__sigsetjmp): Remove setting __flags field.
31589         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
31590         * sysdeps/s390/s390-64/__longjmp.c: ... here.
31591         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
31592         * sysdeps/s390/s390-64/setjmp.S: ... here.
31593         Add versioning.
31594         (__sigsetjmp): Remove setting __flags field.
31595         * sysdeps/s390/setjmp.S: Delete file.
31596         * sysdeps/s390/sigjmp.c: Likewise.
31597         * sysdeps/s390/v1-longjmp.c: Likewise.
31598         * sysdeps/s390/v1-setjmp.h: Likewise.
31599         * sysdeps/s390/v1-sigjmp.c: Likewise.
31600         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
31601         Remove v1-longjmp_chk.
31602         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
31603         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
31604         Include debug/longjmp_chk.c and add versioning.
31605         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
31606         Include nptl/pt-longjmp.c and add versioning.
31607         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
31608         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
31609         Include __longjmp.c.
31610         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31611         Move to ...
31612         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
31613         (__getcontext): Remove setting __flags field.
31614         Add versioning.
31615         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31616         Don't restore upper high grps.
31617         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
31618         Likewise.
31619         (__swapcontext): Remove setting uc_flags field.
31620         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
31621         Delete file.
31622         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31623         Include __longjmp.c.
31624         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31625         Move to ...
31626         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
31627         (__getcontext): Remove setting __flags field.
31628         Add versioning.
31629         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
31630         (__swapcontext): Remove setting uc_flags field.
31631         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
31632         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
31633         Remove fields uc_high_gprs and __reserved.
31634         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
31635         New file with reverted content.
31636         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
31637         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
31638         Regenerated.
31639         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
31640         Regenerated.
31642 2014-07-31  Andreas Schwab  <schwab@suse.de>
31644         * config.h.in (HAVE_IFUNC): Define to 0.
31645         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
31646         definedness.
31648 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
31650         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31651         memmove-avx-unaligned, memcpy-avx-unaligned and
31652         mempcpy-avx-unaligned.
31653         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31654         Add tests for AVX memcpy functions.
31655         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
31656         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
31657         memcpy_chk.
31658         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
31659         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
31660         memmove_chk.
31661         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
31662         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
31663         mempcpy_chk.
31664         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
31665         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
31666         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
31668 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31670         [BZ #17213]
31671         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
31672         powerpc64le.
31674 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
31676         [BZ #16839]
31677         * manual/llio.texi: Add section about open file description locks.
31678         * manual/examples/ofdlocks.c: Example of open file description
31679         lock usage.
31680         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
31681         F_OFD_SETLK, and F_OFD_SETLKW.
31683 2014-07-23  Allan McRae  <allan@archlinux.org>
31685         * po/es.po: Update Spanish translation from translation project.
31687 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
31689         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
31691 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
31693         [BZ #17078]
31694         * sysdeps/arm/dl-machine.h (elf_machine_rela)
31695         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
31696         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
31698 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
31700         [BZ #17088]
31701         * math/fesetenv.c (__fesetenv)
31702         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
31703         * math/feupdateenv.c (__feupdateenv)
31704         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
31706         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
31707         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31708         (__ASSUME_SOCKETCALL): Do not define.
31710         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
31711         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
31712         (__ASSUME_SOCKETCALL): Do not define.
31713         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
31714         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31715         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31716         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31717         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31718         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
31719         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31720         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31722         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
31723         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
31724         (__ASSUME_SOCKETCALL): Do not define.
31725         (__ASSUME_IPC64): Define unconditionally.
31726         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31727         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31728         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31729         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31730         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
31731         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31732         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
31733         Likewise.
31735         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
31736         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
31737         (__ASSUME_SOCKETCALL): Do not define.
31738         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
31739         (__ASSUME_FUTEX_LOCK_PI): Likewise.
31740         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31741         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31742         (__ASSUME_REQUEUE_PI): Define unconditionally.
31743         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
31744         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
31745         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31746         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
31747         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31748         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31750         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
31751         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
31752         (__ASSUME_SOCKETCALL): Do not define.
31753         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
31754         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31755         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31756         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
31757         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31758         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31760         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
31761         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
31762         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31763         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
31764         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31765         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
31766         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31767         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
31768         (__ASSUME_GETCPU_SYSCALL): Likewise.
31770         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
31771         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
31772         cases for individual architectures.
31773         * sysdeps/gnu/configure: Regenerated.
31774         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
31775         LIBC_SLIBDIR_RTLDDIR.
31776         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
31777         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
31778         LIBC_SLIBDIR_RTLDDIR.
31779         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
31780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
31781         LIBC_SLIBDIR_RTLDDIR.
31782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31783         Regenerated.
31784         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
31785         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
31786         file.
31787         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
31788         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
31789         file.
31790         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
31791         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
31792         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
31793         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
31795         * sysdeps/aarch64/shlib-versions: Move to ...
31796         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
31797         * sysdeps/alpha/shlib-versions: Move to ...
31798         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
31799         * sysdeps/arm/shlib-versions: Move to ...
31800         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
31801         * sysdeps/hppa/shlib-versions: Move all contents except for
31802         libgcc_s entry to ...
31803         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
31804         entry from ...
31805         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
31806         * sysdeps/ia64/shlib-versions: Move to ...
31807         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
31808         entry from ...
31809         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
31810         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
31811         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
31812         * sysdeps/microblaze/shlib-versions: Move to ...
31813         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
31814         * sysdeps/mips/shlib-versions: Move to ...
31815         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
31816         entry from ...
31817         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
31818         * sysdeps/tile/shlib-versions: Move to ...
31819         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
31820         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
31821         from ...
31822         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
31823         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
31824         entry from ...
31825         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
31827 2014-07-17  Will Newton  <will.newton@linaro.org>
31829         * sysdeps/arm/bits/atomic.h
31830         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
31831         (__arch_compare_and_exchange_bool_16_int): Likewise.
31832         (__arch_compare_and_exchange_bool_64_int): Likewise.
31834         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
31835         into an #else block.
31837 2014-07-16  Roland McGrath  <roland@hack.frob.com>
31839         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
31840         just Linux configurations.  Test empirically that the compiler sets
31841         __ARM_EABI__, rather than using the tuple to decide.
31842         * sysdeps/arm/preconfigure: Regenerated.
31843         * sysdeps/unix/sysv/linux/arm/configure: File removed.
31844         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
31845         contents appended ...
31846         * sysdeps/arm/configure.ac: ... here.
31847         * sysdeps/arm/configure: Regenerated.
31849 2014-07-15  Roland McGrath  <roland@hack.frob.com>
31851         * nptl/pthread_kill.c: New file.
31852         * nptl/pthread_sigmask.c: New file.
31853         * nptl/pthread_sigqueue.c: New file.
31855         * sysdeps/nptl/lowlevellock.h: New file.
31856         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
31857         * sysdeps/nptl/lowlevellock-futex.h: New file.
31859         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
31860         Remove dead declarations.
31862 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
31864         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
31865         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
31866         config-cflags-avx2.
31867         * sysdeps/x86_64/configure.ac: Likewise.
31868         * sysdeps/i386/configure: Regenerated.
31869         * sysdeps/x86_64/configure: Likewise.
31870         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31871         memset-avx2 only if config-cflags-avx2 is yes.
31872         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31873         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
31874         defined.
31875         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
31876         only if HAVE_AVX2_SUPPORT is defined.
31877         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31879 2014-07-14  Alan Modra  <amodra@gmail.com>
31881         [BZ #17153]
31882         * elf/elf.h (DT_PPC64_NUM): Correct value.
31883         * NEWS: Add to fixed bug list.
31885 2014-07-13  Jim Meyering  <meyering@fb.com>
31887         [BZ 17150]
31888         regex: don't deref NULL upon heap allocation failure
31889         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
31890         failure in one more place.
31891         To trigger the segfault, configure grep -with-included-regex,
31892         build it, and run these commands:
31893         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
31895 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
31897         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31899 2014-07-11  Richard Henderson  <rth@redhat.com>
31901         * sysdeps/aarch64/libm-test-ulps: Update.
31903 2014-07-10  Florian Weimer  <fweimer@redhat.com>
31905         [BZ #17135]
31906         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
31907         * nptl/allocatestack.c (__nptl_setxid_error): New function.
31908         (__nptl_setxid): Initialize error member.  Call
31909         __nptl_setxid_error.
31910         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
31911         * nptl/descr.h (struct xid_command): Add error member.
31912         * nptl/tst-setuid3.c: New file.
31913         * nptl/Makefile (tests): Add it.
31915 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31917         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
31918         New define.
31919         (__lll_trylock): Use __lll_base_trylock.
31920         (__lll_cond_trylock): Likewise.
31922 2014-07-10  Roland McGrath  <roland@hack.frob.com>
31924         * nptl/pthread_create.c (start_thread): Use atomic_or and
31925         lll_futex_wake directly rather than lll_robust_dead.
31926         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31927         (lll_robust_dead): Macro removed.
31928         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
31929         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31930         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31931         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31932         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31933         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31934         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31935         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31936         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31937         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31938         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31939         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31940         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31941         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31942         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31944         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
31945         Use atomic_compare_and_exchange_val_acq directly rather than
31946         lll_robust_trylock.
31947         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31948         (__lll_robust_trylock, lll_robust_trylock): Removed.
31949         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31950         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31951         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31952         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31953         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31954         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31955         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31956         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31957         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31958         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31959         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31960         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31961         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31962         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31964 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31966         * manual/locale.texi (Locale Names): New section documenting
31967         locale name syntax.  Adjust menu and node chaining accordingly.
31968         (Choosing Locale): Reference Locale Names, Locale Categories.
31969         Mention setting LC_ALL=C.  Reflect that name syntax is now
31970         documented.
31971         (Locale Categories): New section title.  Reference Locale Names.
31972         LC_ALL is an environment variable, but not a category.
31973         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
31974         description, now in Locale Name.  Reference that section.  Locale
31975         name syntax is now documented.
31977 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31979         [BZ #17137]
31980         * locale/findlocale.c (name_present, valid_locale_name): New
31981         functions.
31982         (_nl_find_locale): Use the loc_name variable to store name
31983         candidates.  Call name_present and valid_locale_name to check and
31984         validate locale names.  Return an error if the locale is invalid.
31986 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31988         * locale/setlocale.c (setlocale): Use strdup for allocating
31989         composite name copy.
31991 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31993         Sync up with gnulib.
31994         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
31995         [!_LIBC && ENABLE_NLS]: Include gettext.h.
31996         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
31997         and _GL_ARG_NONNULL.
31998         [USE_UNLOCKED_IO]: Include unlocked-io.h.
31999         [!_LIBC]: Include code for Windows and Cygwin.
32000         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
32001         Include prototype for int strerror_r.
32002         [!_LIBC] (is_open): New function.
32003         (flush_stdout): New function.
32004         (print_errno_message): Use it.
32005         (error): Likewise.
32006         (error_at_line): Likewise.
32007         (error_tail) Add function attribute macros.  Use
32008         __builtin_expect.
32010         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
32012         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
32014         * io/ftw.c: Include sys/param.h unconditionally.
32016         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
32018         [BZ #17125]
32019         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
32020         libc_freeres_ptr.
32021         (freecache): New function to free CACHE on exit.
32023         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
32024         initialization.
32026 2014-07-09  David S. Miller  <davem@davemloft.net>
32028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32030         * sysdeps/sparc/nptl/internaltypes.h: Delete.
32031         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
32032         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
32033         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
32034         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
32035         * sysdeps/sparc/nptl/sem_init.c: Likewise.
32036         * sysdeps/sparc/nptl/sem_post.c: Likewise.
32037         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
32038         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
32039         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
32040         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
32041         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
32042         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
32044 2014-07-09  Andreas Schwab  <schwab@suse.de>
32046         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
32047         output.
32048         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
32049         (do_test): Likewise.
32051         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32053 2014-07-09  Will Newton  <will.newton@linaro.org>
32055         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
32056         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
32057         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32058         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32059         * sysdeps/hppa/start.S (_start): Likewise.
32061 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32063         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
32065         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
32066         defined.
32068 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32070         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
32071         after checking that it is non-NULL.
32073         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
32075 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32077         * sysdeps/powerpc/memmove.c: Remove file.
32078         * sysdeps/powerpc/powerpc32/power4/memcopy.h
32079         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
32080         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32081         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
32082         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
32083         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
32084         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
32085         string memmove instead of removed powerpc one.
32087         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
32088         [weak_alias]: Fix compiler warning due trailing data.
32089         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
32090         [weak_alias]: Likewise.
32091         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
32092         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
32094         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32095         (__libc_ifunc_impl_list): Add memmove functions.
32097 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32099         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
32100         Remove code.
32101         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
32102         Likewise.
32103         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
32104         Likewise.
32105         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
32106         Likewise.
32107         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
32108         Likewise.
32109         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
32110         Likewise.
32111         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
32112         Likewise.
32113         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
32114         Likewise.
32115         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
32116         Likewise.
32117         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
32118         Likewise.
32119         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
32120         Likewise.
32121         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
32122         Likewise.
32123         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
32124         Likewise.
32125         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
32126         Likewise.
32127         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
32128         Likewise.
32129         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
32130         Likewise.
32131         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
32132         Likewise.
32134 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32136         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
32137         to avoid alignment traps in non-cacheable memory.
32138         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32140         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
32141         multiarch objects.
32142         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
32143         file: multiarch power7 memmove.
32144         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
32145         multiarch default memmove.
32146         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
32147         multiarch memove for powerpc32/power4.
32149         * string/bcopy.c: Use full path to include memmove.c.
32150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
32151         multiarch objects.
32152         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
32153         bcopy for powerpc64.
32154         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
32155         bcopy for powerpc64.
32156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
32157         and memmove implementations.
32158         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
32159         optimized multiarch memmove for POWER7/powerpc64.
32160         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
32161         default multiarch memmove for powerpc64.
32162         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
32163         multiarch for powerpc64.
32164         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
32165         for POWER7/powerpc64.
32166         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
32167         memmove for POWER7/powerpc64.
32169         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
32170         glibc default one.
32172         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
32173         __ELF_NATIVE_CLASS equal to 64.
32175 2014-07-07  Roland McGrath  <roland@hack.frob.com>
32177         * sysdeps/nptl/lowlevellock.h: File removed.
32179         * NEWS: NPTL is no longer an add-on!
32180         * nptl/internaltypes.h: Moved ...
32181         * sysdeps/nptl/internaltypes.h: ... here.
32182         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
32183         * sysdeps/nptl/fork.c: Likewise.
32184         * sysdeps/nptl/gai_misc.h: Likewise.
32185         * sysdeps/nptl/librt-cancellation.c: Likewise.
32186         * sysdeps/nptl/jmp-unwind.c: Likewise.
32187         * sysdeps/nptl/setxid.h: Likewise.
32188         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
32189         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
32190         * sysdeps/unix/sysv/linux/arm/Implies: New file.
32191         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
32192         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
32193         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
32194         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
32195         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
32196         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
32197         * sysdeps/unix/sysv/linux/mips/Implies: New file.
32198         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
32199         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
32200         * sysdeps/unix/sysv/linux/sh/Implies: New file.
32201         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
32202         * sysdeps/unix/sysv/linux/tile/Implies: New file.
32203         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
32204         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
32205         * nptl/Makeconfig: Moved ...
32206         * sysdeps/nptl/Makeconfig: ... here.
32207         * nptl/configure: File removed.
32208         * nptl/ANNOUNCE: File removed.
32209         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
32210         * sysdeps/unix/sysv/linux/configure: Regenerated.
32212         * nptl/Makefile (routines): Add libc_pthread_init,
32213         libc_multiple_threads, register-atfork and unregister-atfork.
32214         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
32215         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
32216         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
32217         pthread-pi-defines.sym, structsem.sym.
32218         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
32219         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
32220         [$(subdir) = nptl] (tests): Add tst-setgetname.
32221         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
32222         * sysdeps/unix/sysv/linux/sigaction.c: Just include
32223         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
32224         [!LIBC_SIGACTION]: Remove aliases.
32225         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32226         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32227         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32228         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
32229         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32230         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
32231         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32232         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32233         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32234         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
32235         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
32236         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
32237         __libc_allocate_rtsig_private.
32238         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
32239         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
32240         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
32241         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
32242         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
32243         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
32244         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
32245         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
32246         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
32247         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
32248         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
32249         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
32250         * nptl/internaltypes.h: ... here.
32251         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
32252         * sysdeps/nptl/jmp-unwind.c: ... here.
32253         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
32254         * nptl/libc-lowlevellock.c: ... here.
32255         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
32256         * nptl/libc_multiple_threads.c: ... here.
32257         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
32258         * nptl/libc_pthread_init.c: ... here.
32259         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
32260         * nptl/lowlevelbarrier.sym: ... here.
32261         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
32262         * nptl/lowlevelcond.sym: ... here.
32263         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
32264         * nptl/lowlevellock.c: ... here.
32265         * nptl/lowlevellock.h: Moved ...
32266         * sysdeps/nptl/lowlevellock.h: ... here.
32267         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
32268         * nptl/lowlevelrobustlock.c: ... here.
32269         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
32270         * nptl/lowlevelrobustlock.sym: ... here.
32271         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
32272         * nptl/lowlevelrwlock.sym: ... here.
32273         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
32274         * nptl/pt-fork.c: ... here.
32275         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
32276         * nptl/pthread-pi-defines.sym: ... here.
32277         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
32278         * nptl/pthread_attr_getaffinity.c: ... here.
32279         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
32280         * nptl/pthread_attr_setaffinity.c: ... here.
32281         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
32282         * nptl/pthread_mutex_cond_lock.c: ... here.
32283         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32284         Update #include.
32285         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
32286         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
32287         * nptl/pthread_once.c: ... here, replacing old file.
32288         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
32289         * nptl/pthread_yield.c: ... here.
32290         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
32291         * nptl/register-atfork.c: ... here.
32292         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
32293         * nptl/sem_post.c: ... here.
32294         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
32295         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
32296         * nptl/sem_timedwait.c: ... here.
32297         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
32298         * nptl/sem_trywait.c: ... here.
32299         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
32300         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
32301         * nptl/sem_wait.c: ... here.
32302         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
32303         * nptl/structsem.sym: ... here.
32304         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
32305         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
32306         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
32307         * nptl/unregister-atfork.c: ... here.
32308         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
32309         * nptl/unwindbuf.sym: ... here.
32310         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
32311         * sysdeps/nptl/fork.c: ... here.
32312         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
32313         * sysdeps/nptl/fork.h: ... here.
32314         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
32315         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
32316         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
32317         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
32318         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
32319         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
32320         * sysdeps/unix/sysv/linux/getpid.c: ... here.
32321         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
32322         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
32323         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
32324         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
32325         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
32326         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
32327         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
32328         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
32329         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
32330         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
32331         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
32332         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
32333         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
32334         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
32335         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
32336         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
32337         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
32338         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
32339         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
32340         * sysdeps/unix/sysv/linux/raise.c: ... here.
32341         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
32342         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
32343         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
32344         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
32345         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
32346         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
32347         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
32348         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
32349         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
32350         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
32351         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
32352         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
32353         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
32354         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
32355         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
32357 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32359         * sysdeps/generic/memcopy.h: Add comment for
32360         MEMCPY_OK_FOR_FWD_MEMMOVE.
32362 2014-07-04  Will Newton  <will.newton@linaro.org>
32364         * string/memchr.c: Merge from gnulib.
32365         [_LIBC]: Remove conditionals.
32366         (__ptr_t): Remove define.
32367         (LONG_MAX_32_BITS): Likewise.
32368         (LONG_MAX): Likewise.
32369         (MEMCHR): Use ANSI prototype and optimize algorithm.
32371         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
32373 2014-07-03  Roland McGrath  <roland@hack.frob.com>
32375         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
32376         (lll_futex_timed_wait_bitset): Fix syscall argument count.
32378         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
32379         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
32380         in a bare environment with no <stdlib.h> installed.
32381         * sysdeps/nptl/configure: Regenerated.
32383         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
32385         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
32386         AC_EGREP_CPP for kernel header checks, so they only succeed if
32387         including <linux/version.h> actually works right.
32388         * sysdeps/unix/sysv/linux/configure: Regenerated.
32390         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
32391         value so it's not diagnosed as unused.
32393         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
32394         thing) with "ifeq ($(subdir),rt)".
32396 2014-07-03  Richard Henderson  <rth@redhat.com>
32398         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
32399         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
32400         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
32402         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
32403         (math_force_eval): New.
32405         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
32406         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
32408         * sysdeps/alpha/fpu/s_round.c: Remove file.
32409         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
32411         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
32412         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
32413         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
32414         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
32415         (_dl_start, print_statistics): Likewise.
32416         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
32417         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
32419         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32420         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32421         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32422         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32423         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32424         (HP_SMALL_TIMING_AVAIL): Define.
32425         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32426         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32427         (HP_SMALL_TIMING_AVAIL): Define.
32428         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32429         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32431         * sysdeps/aarch64/hp-timing.h: New file.
32433         * sysdeps/generic/hp-timing.h: Remove dead comment.
32434         * sysdeps/generic/hp-timing-common.h: New file.
32435         * sysdeps/alpha/hp-timing.h: Include it.
32436         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
32437         * sysdeps/i386/i686/hp-timing.h: Likewise.
32438         * sysdeps/ia64/hp-timing.h: Likewise.
32439         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32440         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32441         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32442         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32443         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
32444         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
32445         (hp_timing_t): New.
32447         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
32448         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
32449         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
32450         * elf/rtld.c (_dl_start_final): Likewise.
32451         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
32452         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32453         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32454         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32455         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32456         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32457         (HP_TIMING_DIFF_INIT): Remove.
32458         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32459         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32460         (HP_TIMING_DIFF_INIT): Remove.
32461         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32462         * sysdeps/i386/i686/hp-timing.c: Remove file.
32463         * sysdeps/x86_64/hp-timing.c: Remove file.
32464         * sysdeps/ia64/hp-timing.c: Remove file.
32465         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
32466         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
32467         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
32468         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
32470         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
32471         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
32472         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
32473         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32474         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32475         (HP_TIMING_ACCUM): Remove.
32476         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32477         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
32478         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32480         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
32481         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
32482         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
32483         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
32484         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
32485         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32486         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
32487         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32489         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
32491 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
32493         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
32495 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32497         Sync up with gettext.
32498         * intl/loadmsgcat.c: Define O_BINARY if not defined.
32499         [_MSC_VER]: Include malloc.h
32500         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
32501         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
32502         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
32503         TEMP_FAILURE_RETRY.  Cast return of alloca.
32504         [!_LIBC] Call gl_rwlock_init.
32505         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
32507 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32509         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
32510         before checking its value.
32512 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32514         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
32516         * debug/memcpy_chk.c: Don't include pagecopy.h.
32517         * debug/mempcpy_chk.c: Likewise.
32518         * string/memcpy.c: Likewise.
32519         * string/memmove.c: Likewise.
32520         * sysdeps/powerpc/memmove.c: Likewise.
32521         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
32522         definition of PAGE_COPY_FWD_MAYBE here...
32523         * sysdeps/generic/pagecopy.h: ... from here.
32524         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
32526 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32527             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32529         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
32530         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
32531         optimizations.
32532         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32533         (__libc_ifunc_impl_list): Likewise.
32534         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
32535         multiarch strcat for PPC64.
32536         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
32537         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
32539 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32541         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
32543 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32545         * intl/loadmsgcat.c: Remove declaration of
32546         get_sysdep_segment_value.
32547         (get_sysdep_segment_value): Use ISO C style.
32548         (_nl_load_domain): Use ISO C style.  Get rid of redundant
32549         semicolon.  Fix typo and formatting in comment.
32550         (_nl_unload_domain): Use ISO C style.
32552         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
32554 2014-07-02  Will Newton  <will.newton@linaro.org>
32556         * malloc/obstack.c: Merge from gnulib master.
32557         [HAVE_CONFIG_H]: Remove conditional code.
32558         [!_LIBC]: Include config.h.
32559         [!ELIDE_CODE]: Don't include inttypes.h, include
32560         stdint.h unconditionally.
32561         (print_and_abort): Mark as _Noreturn.
32562         (_obstack_allocated_p): Mark as __attribute_pure__.
32563         (obstack_free): Rename to __obstack_free.
32564         [!__attribute__]: Remove conditional code.
32565         * malloc/obstack.h: Merge from gnulib master.
32566         [__cplusplus]: Move conditional down.
32567         [!__attribute_pure__]: Define __attribute_pure__ here
32568         if it is not already defined.
32569         (_obstack_memory_used): Mark as __attribute_pure__.
32570         [!__obstack_free]: Define as obstack_free.
32571         [__GNUC__]: Remove check for ancient NeXT gcc.
32573 2014-07-02  Will Newton  <will.newton@linaro.org>
32574             Paul Eggert  <eggert@cs.ucla.edu>
32576         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
32578 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32580         * resolv/gethnamaddr.c: Add comment warning that the file is
32581         not maintained.
32583 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
32585         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
32586         entries.
32588         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
32589         entry for aio_cancel and aio_cancel64.
32590         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
32591         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
32592         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
32593         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
32594         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
32595         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
32596         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
32597         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
32598         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
32599         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
32600         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
32601         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
32602         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
32604 2014-07-01  Roland McGrath  <roland@hack.frob.com>
32606         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
32607         * nptl/pthread_mutex_lock.c: Likewise.
32608         * nptl/pthread_mutex_timedlock.c: Likewise.
32609         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
32611 2014-07-01  Richard henderson  <rth@redhat.com>
32613         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
32614         (__isnan, __isnanl): Remove.
32615         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
32617         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32619 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32621         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32623 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32625         * resolv/nss_dns/dns-host.c (getanswer_r)
32626         [MULTI_PTRS_ARE_ALIASES]: Remove code.
32628 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
32630         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32631         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
32632         undefine.
32633         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
32634         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
32636 2014-07-01  Roland McGrath <roland@hack.frob.com>
32638         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
32639         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
32641         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
32642         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
32644         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
32645         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
32646         ... here.
32647         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
32648         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
32650         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
32651         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
32652         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
32653         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
32655         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
32656         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
32657         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
32658         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
32659         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
32660         Moved ...
32661         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
32662         ... here.
32663         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
32664         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
32665         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
32666         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
32667         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
32668         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
32669         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
32670         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
32671         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
32672         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
32673         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
32674         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
32675         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
32676         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
32677         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
32678         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
32679         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
32680         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
32681         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
32682         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
32683         ... here.
32684         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
32685         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
32686         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
32687         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
32688         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
32689         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
32690         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
32691         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
32693 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
32695         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
32696         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
32697         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
32698         Add sysdep.
32700 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32704 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32706         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32707         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32709         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32711         * sysdeps/arm/libm-test-ulps: Regenerated.
32713 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32714             Roland McGrath <roland@hack.frob.com>
32716         * test-skeleton.c (signal_handler): Kill the whole process group
32717         before killing the child individually.
32718         (main): Report any failure on `setpgid'.
32720 2014-06-30  Roland McGrath  <roland@hack.frob.com>
32722         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
32723         from _TLS_H to _ARM_NPTL_TLS_H.
32724         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
32725         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
32727 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32729         [BZ #16539]
32730         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
32731         (__expm1l): Return argument unchanged when small but not
32732         subnormal.
32734         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
32735         include macro name.
32736         (_FP_UNPACK_RAW_1_P): Likewise.
32737         (_FP_PACK_RAW_1): Likewise.
32738         (_FP_PACK_RAW_1_P): Likewise.
32739         (_FP_MUL_MEAT_1_wide): Likewise.
32740         (_FP_MUL_MEAT_DW_1_hard): Likewise.
32741         (_FP_MUL_MEAT_1_hard): Likewise.
32742         (_FP_DIV_MEAT_1_imm): Likewise.
32743         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
32744         (_FP_DIV_MEAT_1_udiv): Likewise.
32745         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
32746         (_FP_UNPACK_RAW_2): Likewise.
32747         (_FP_UNPACK_RAW_2_P): Likewise.
32748         (_FP_PACK_RAW_2): Likewise.
32749         (_FP_PACK_RAW_2_P): Likewise.
32750         (_FP_MUL_MEAT_DW_2_wide): Likewise.
32751         (_FP_MUL_MEAT_2_wide): Likewise.
32752         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
32753         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32754         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
32755         (_FP_MUL_MEAT_2_gmp): Likewise.
32756         (_FP_DIV_MEAT_2_udiv): Likewise.
32757         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
32758         (_FP_FRAC_SRL_4): Likewise.
32759         (_FP_FRAC_SRST_4): Likewise.
32760         (_FP_FRAC_SRS_4): Likewise.
32761         (_FP_UNPACK_RAW_4): Likewise.
32762         (_FP_UNPACK_RAW_4_P): Likewise.
32763         (_FP_PACK_RAW_4): Likewise.
32764         (_FP_PACK_RAW_4_P): Likewise.
32765         (_FP_MUL_MEAT_DW_4_wide): Likewise.
32766         (_FP_MUL_MEAT_4_wide): Likewise.
32767         (_FP_MUL_MEAT_4_gmp): Likewise.
32768         (umul_ppppmnnn): Likewise.
32769         (_FP_DIV_MEAT_4_udiv): Likewise.
32770         (__FP_FRAC_ADD_4): Likewise.
32771         (__FP_FRAC_SUB_3): Likewise.
32772         (__FP_FRAC_SUB_4): Likewise.
32773         (__FP_FRAC_DEC_3): Likewise.
32774         (__FP_FRAC_DEC_4): Likewise.
32775         (__FP_FRAC_ADDI_4): Likewise.
32776         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
32777         (_FP_FRAC_SRL_8): Likewise.
32778         (_FP_FRAC_SRS_8): Likewise.
32780         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
32781         include macro name.
32782         (FP_UNPACK_RAW_EP): Likewise.
32783         (FP_PACK_RAW_E): Likewise.
32784         (FP_PACK_RAW_EP): Likewise.
32785         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
32786         (_FP_ISSIGNAN): Likewise.
32787         (_FP_ADD_INTERNAL): Likewise.
32788         (_FP_FMA): Likewise.
32789         (_FP_CMP): Likewise.
32790         (_FP_SQRT): Likewise.
32791         (_FP_TO_INT): Likewise.
32792         (_FP_FROM_INT): Likewise.
32793         (FP_EXTEND): Likewise.
32794         (_FP_DIV_MEAT_N_loop): Likewise.
32796 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32798         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
32799         throughout.
32801 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
32803         [BZ #17097]
32804         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
32805         result with correct sign in case of exponents that produce
32806         overflow except for X very close to 1.
32808 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
32810         mktime: merge #if/#ifdef usage from glibc
32811         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
32812         as that works with both Glibc's and Gnulib's style.
32813         See thread starting at Siddhesh Poyarekar's bug report at:
32814         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
32816 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32818         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
32819         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
32820         * sysdeps/tile/tilegx/memmove.c: Remove file.
32822 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32824         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
32825         abi-name definition.
32826         * scripts/soversions.awk: Do not handle or generate ABI lines.
32827         * shlib-versions: Remove ABI entries.
32828         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
32829         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
32831 2014-06-27  Roland McGrath  <roland@hack.frob.com>
32833         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
32834         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
32835         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
32836         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
32837         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
32838         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
32839         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
32840         Moved ...
32841         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
32842         ... here.
32843         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
32844         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
32845         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
32846         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
32847         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
32848         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
32849         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
32850         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
32851         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
32852         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
32853         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
32854         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
32855         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
32856         Moved ...
32857         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
32858         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
32859         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
32860         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
32861         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
32862         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
32863         Moved ...
32864         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
32865         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
32866         Moved ...
32867         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
32868         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
32869         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
32870         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
32871         Moved ...
32872         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
32873         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
32874         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
32875         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
32876         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
32877         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
32878         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
32879         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
32880         Moved ...
32881         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
32882         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
32883         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
32884         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
32885         Moved ...
32886         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
32887         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
32888         Moved ...
32889         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
32890         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
32891         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
32892         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
32893         Moved ...
32894         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
32895         ... here.
32896         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
32897         Identical file removed.
32898         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
32899         Moved ...
32900         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
32901         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
32902         Identical file removed.
32903         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
32904         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
32905         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
32906         Moved ...
32907         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
32908         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
32909         Identical file removed.
32910         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
32911         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
32912         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
32913         Identical file removed.
32914         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
32915         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
32916         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
32917         Identical file removed.
32918         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
32919         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
32920         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
32921         Identical file removed.
32922         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
32923         Moved ...
32924         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
32925         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
32926         Identical file removed.
32927         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
32928         Moved ...
32929         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
32930         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
32931         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
32932         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
32933         Identical file removed.
32934         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
32935         Moved ...
32936         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
32937         ... here.
32938         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
32939         Identical file removed.
32940         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
32941         Moved ...
32942         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
32943         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
32944         Identical file removed.
32945         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
32946         Moved ...
32947         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
32948         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
32949         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
32950         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
32951         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
32952         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
32953         Moved ...
32954         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
32955         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
32956         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
32958         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
32959         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
32960         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
32961         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
32962         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
32964 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
32966         [BZ #17092]
32967         * nscd/nscd.c (monitor_child): Return exit status of child
32968         instead of return value from wait syscall.
32970 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32972         * configure.ac (libc_commonpagesize): Remove variable.
32973         (libc_relro_required): Likewise.
32974         (libc_cv_z_relro): Remove configure test.
32975         * configure: Regenerated.
32976         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
32977         variable.
32978         (libc_relro_required): Likewise.
32979         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
32980         (libc_relro_required): Likewise.
32981         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
32982         (libc_relro_required): Likewise.
32983         * sysdeps/arm/preconfigure: Regenerated.
32984         * sysdeps/ia64/preconfigure: Remove file.
32985         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
32986         variable.
32987         (libc_relro_required): Likewise.
32989         [BZ #16561]
32990         [BZ #16562]
32991         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
32992         (__ieee754_yn): Set FE_TONEAREST mode internally and then
32993         recompute overflowing results in original rounding mode.
32994         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
32995         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
32996         recompute overflowing results in original rounding mode.
32997         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
32998         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32999         recompute overflowing results in original rounding mode.
33000         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
33001         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33002         recompute overflowing results in original rounding mode.
33003         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
33004         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33005         recompute overflowing results in original rounding mode.
33006         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
33007         (libc_feholdsetround_ctx): New macro.
33008         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
33009         * sysdeps/i386/fpu/libm-test-ulps: Update.
33010         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
33012 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33014         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
33015         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
33016         corresponding .cpsetup call.
33018 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33020         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
33021         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
33022         * sysdeps/arm/Makefile [$(subdir) = csu]
33023         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
33024         (static-only-routines): Add aeabi_read_tp here.
33025         (shared-only-routines): Add libc-aeabi_read_tp here.
33026         (CFLAGS-libc-start.c): Add -fexceptions here.
33027         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
33028         (sysdep_routines, static-only-routines, shared-only-routines):
33029         Don't add to these here.
33030         (CFLAGS-libc-start.c): Likewise.
33032         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
33033         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33034         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
33035         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33036         * sysdeps/arm/Makefile [$(subdir) = rt]
33037         (librt-sysdep_routines, librt-shared-only-routines):
33038         Append rt-aeabi_unwind_cpp_pr1 here.
33039         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
33040         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
33041         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
33042         (libpthread-sysdep_routines, libpthread-shared-only-routines):
33043         Append nptl-aeabi_unwind_cpp_pr1 here.
33044         (tests): Filter out tst-cleanupx4 here.
33045         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
33046         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
33047         Don't do those here.
33049 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33051         * scripts/list-sources.sh: Do not handle ports specially.
33053 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33055         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
33056         * sysdeps/arm/feupdateenv.c: Likewise.
33058         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
33060 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33062         * manual/texinfo.tex: Update to version 2014-05-05.10 with
33063         trailing whitespace removed.
33064         * scripts/config.guess: Update to version 2014-03-23.
33065         * scripts/config.sub: Update to version 2014-05-01
33066         * scripts/install-sh: Update to version 2013-12-25.23.
33067         * scripts/move-if-change: Update from gnulib.
33069 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33071         * debug/memmove_chk.c: Remove pagecopy.h include.
33073 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
33075         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
33076         identical to gnulib mktime.
33078 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33080         * configure.ac: Do not test for machine being rs6000.  Do not test
33081         for powerpc*-*soft.
33082         * configure: Regenerated.
33084         [BZ #11505]
33085         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
33086         test.
33087         * configure: Regenerated.
33088         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
33089         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
33090         Remove configure test.
33091         * sysdeps/arm/configure: Regenerated.
33092         * sysdeps/nptl/configure.ac: Do not check
33093         libc_cv_asm_cfi_directives.
33094         * sysdeps/nptl/configure: Regenerated.
33095         * sysdeps/x86_64/nptl/configure.ac: Remove file.
33096         * sysdeps/x86_64/nptl/configure: Remove generated file.
33097         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
33098         unconditional.
33099         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
33101 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33103         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
33104         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
33105         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
33106         it is defined.
33108         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
33109         instead of whether it is defined.
33110         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
33111         * sysdeps/hppa/dl-machine.h: Likewise.
33112         * sysdeps/ia64/dl-machine.h: Likewise.
33113         * sysdeps/m68k/dl-machine.h: Likewise.
33114         * sysdeps/microblaze/dl-machine.h: Likewise.
33115         * sysdeps/mips/dl-machine.: Likewise.
33116         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33117         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33118         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33119         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33120         * sysdeps/sh/dl-machine.h: Likewise.
33121         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33122         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33123         * sysdeps/tile/dl-machine.h: Likewise.
33124         * sysdeps/x86_64/dl-machine.h: Likewise.
33126         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
33127         code.
33128         (verify_persistent_db): Likewise.
33130 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
33133         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
33134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
33135         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
33136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33137         Moved ...
33138         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
33139         ... here.
33140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
33141         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
33142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
33143         Identical file removed.
33144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
33145         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
33146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
33147         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
33148         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
33149         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
33150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
33151         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
33152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
33153         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
33154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33155         Moved ...
33156         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
33157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
33158         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
33159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
33160         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
33161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33162         Moved ...
33163         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
33164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
33165         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
33166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
33167         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
33168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33169         Identical file removed.
33170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
33171         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
33172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
33173         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
33174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33175         Moved ...
33176         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
33177         ... here.
33178         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
33179         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
33180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
33181         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
33182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
33183         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
33184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
33185         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
33186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
33187         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
33188         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33189         Moved ...
33190         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
33191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
33192         Moved ...
33193         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
33194         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
33195         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
33196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33197         Moved ...
33198         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
33199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
33200         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
33202         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
33203         folded into ...
33204         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
33205         * sysdeps/unix/sysv/linux/s390/Versions
33206         (libpthread: GLIBC_2.19): New version set.
33207         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
33208         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
33209         (librt: GLIBC_2.3.3): New version set.
33210         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
33211         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
33212         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
33213         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
33214         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
33215         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
33216         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
33217         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
33218         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
33219         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
33220         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
33221         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
33222         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
33223         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
33224         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
33225         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
33226         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
33227         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
33228         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
33229         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
33230         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
33231         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
33232         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
33233         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
33234         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
33235         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
33236         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
33237         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
33238         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
33239         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
33240         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
33241         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
33242         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
33243         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
33244         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
33245         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
33246         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
33247         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
33248         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
33249         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
33250         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
33251         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
33252         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
33253         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
33254         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
33256         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
33257         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
33258         (__libc_vfork): Define the function under this name.
33259         [!NOT_IN_libc] (__vfork): Make this an alias.
33260         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33261         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
33262         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
33263         (__libc_vfork): Define the function under this name.
33264         [!NOT_IN_libc] (__vfork): Make this an alias.
33265         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33266         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
33267         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
33268         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
33269         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
33270         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33272         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
33273         code that was previously under [RESET_PID].
33274         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
33275         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
33276         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
33278         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
33279         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
33280         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
33281         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
33282         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
33283         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
33284         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
33285         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
33286         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
33287         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
33288         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
33289         Moved ...
33290         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
33291         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
33292         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
33293         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
33294         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
33295         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
33296         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
33297         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
33298         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
33299         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
33300         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
33301         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
33302         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
33303         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
33304         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
33305         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
33306         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
33307         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
33308         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
33309         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
33310         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
33311         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
33312         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
33313         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
33314         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
33315         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
33316         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
33317         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
33318         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
33320 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33322         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
33323         that was previously under [RESET_PID].
33324         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
33326 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33328         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
33329         not undefine and redefine.
33330         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
33331         [O_CLOEXEC]: Make code unconditional.
33332         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
33333         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
33334         <kernel-features.h>.
33335         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
33336         conditional variable definition.
33337         (shm_open) [O_CLOEXEC]: Make code unconditional.
33338         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
33339         code.
33341         * configure.ac (USE_REGPARMS): Don't define here.
33342         * configure: Regenerated.
33343         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
33344         * sysdeps/i386/configure: Regenerated.
33346         * nptl/createthread.c: Don't include kernel-features.h.
33347         * nptl/pthread_cancel.c: Likewise.
33348         * nptl/pthread_condattr_setclock.c: Likewise.
33349         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
33350         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
33351         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
33352         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
33353         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
33354         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
33355         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33356         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
33357         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33358         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
33359         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
33360         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
33361         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
33362         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
33363         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
33364         * nscd/gai.c: Likewise.
33365         * nss/nss_db/db-open.c: Likewise.
33366         * sysdeps/generic/ldsodefs.h: Likewise.
33367         * sysdeps/sh/nptl/tls.h: Likewise.
33368         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
33369         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
33370         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
33371         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
33372         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
33373         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
33374         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
33375         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33376         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33377         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
33378         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
33379         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33380         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
33381         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
33382         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
33383         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
33384         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
33385         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
33386         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
33387         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
33388         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
33389         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
33390         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
33391         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
33392         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
33393         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
33394         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
33395         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
33396         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33397         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
33398         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
33399         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
33400         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
33401         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33402         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33403         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
33404         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33405         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
33406         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
33407         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
33408         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33409         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
33410         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
33411         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33412         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
33413         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
33414         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
33415         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
33416         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
33417         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
33418         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
33419         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
33420         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
33421         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
33422         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
33423         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33424         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
33425         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
33426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
33428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
33429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
33430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
33431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
33432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
33433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
33434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
33437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
33438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
33439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
33440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
33441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
33446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
33447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
33448         * sysdeps/unix/sysv/linux/pread.c: Likewise.
33449         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
33450         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
33451         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
33452         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
33453         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
33454         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
33455         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
33456         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
33457         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
33458         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
33459         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
33460         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
33461         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
33462         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
33463         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
33464         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33465         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
33466         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
33467         * sysdeps/unix/sysv/linux/system.c: Likewise.
33468         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
33469         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
33470         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33471         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33472         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33473         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
33474         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33476         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
33477         * configure: Regenerated.
33478         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
33480         * configure.ac (base_machine): Do not set specially for particular
33481         machines here.
33482         * configure: Regenerated.
33483         * sysdeps/powerpc/preconfigure: Move machine and base_machine
33484         settings from configure.ac.
33485         * sysdeps/i386/preconfigure: New file.
33486         * sysdeps/s390/preconfigure: Likewise.
33487         * sysdeps/sh/preconfigure: Likewise.
33488         * sysdeps/sparc/preconfigure: Likewise.
33490 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33492         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
33493         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
33494         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
33495         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
33496         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
33497         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
33498         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
33499         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
33500         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
33501         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
33502         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
33503         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
33504         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
33505         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
33506         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
33507         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
33508         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
33509         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
33510         * sysdeps/sparc/sparc64/Makefile: ... appended here.
33512         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
33513         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
33514         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
33515         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
33516         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
33517         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
33518         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
33519         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
33520         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
33521         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
33522         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
33523         * sysdeps/sparc/sparc32/sem_post.c: ... here.
33524         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
33525         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
33526         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
33527         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
33528         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
33529         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
33530         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
33531         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
33532         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
33533         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
33534         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
33535         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
33536         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
33537         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
33538         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
33539         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
33540         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
33541         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
33542         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
33543         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
33544         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
33545         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
33546         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
33547         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
33548         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
33549         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
33551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
33552         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
33553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
33554         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
33555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33556         Moved ...
33557         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
33558         ... here.
33559         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
33560         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
33561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
33562         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
33563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
33564         Moved ...
33565         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
33566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
33567         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
33568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
33569         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
33570         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
33571         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
33572         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33573         Moved ...
33574         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
33575         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33576         Moved ...
33577         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
33578         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
33579         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
33580         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33581         Moved ...
33582         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
33583         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
33584         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
33585         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
33586         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
33587         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
33588         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
33589         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
33590         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
33591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33592         Moved ...
33593         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
33594         ... here.
33595         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
33596         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
33597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
33598         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
33599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
33600         Moved ...
33601         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
33602         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
33603         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
33604         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
33605         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
33606         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
33607         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
33608         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33609         Moved ...
33610         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
33611         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33612         Moved ...
33613         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
33614         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
33615         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
33616         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33617         Moved ...
33618         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
33619         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
33620         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
33621         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
33622         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
33624 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33626         * timezone/checktab.awk: Update from tzcode 2014e.
33627         * timezone/private.h: Likewise.
33628         * timezone/tzfile.h: Likewise.
33629         * timezone/zdump.c: Likewise.
33630         * timezone/zic.c: Likewise.
33632         * sysdeps/unix/sysv/linux/kernel-features.h
33633         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
33634         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
33635         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
33636         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33637         Remove conditional code.
33639 2014-06-25  Will Newton  <will.newton@linaro.org>
33641         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
33642         (_dl_arm_cap_flags): Add HWCAP2 values.
33643         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
33644         (_DL_HWCAP_COUNT): Increase to 37.
33645         (_DL_HWCAP_LAST): New define.
33646         (_DL_HWCAP2_LAST): New define.
33647         (_dl_procinfo): Add support for printing
33648         AT_HWCAP2 entries.
33649         (_dl_string_hwcap): Use _dl_hwcap_string.
33651 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33655 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33657         * README: Do not mention ports directory.
33659         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
33660         Remove macro.
33661         * sysdeps/unix/sysv/linux/futimes.c: Do not include
33662         <kernel-features.h>.
33663         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
33664         conditional variable definition.
33665         (__futimes): Update comment.
33666         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
33667         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
33669         [BZ #16560]
33670         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
33671         arguments close to 0.
33672         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
33673         Likewise.
33674         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
33675         Likewise.
33676         * math/auto-libm-test-in: Add more tests of exp10.
33677         * math/auto-libm-test-out: Regenerated.
33678         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33680         * sysdeps/unix/sysv/linux/kernel-features.h
33681         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
33682         * sysdeps/unix/sysv/linux/readv.c: Do not include
33683         <kernel-features.h>.
33684         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33685         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33686         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33687         unconditional.
33688         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33689         conditional code.
33690         * sysdeps/unix/sysv/linux/writev.c: Do not include
33691         <kernel-features.h>.
33692         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33693         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33694         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33695         unconditional.
33696         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33697         conditional code.
33699 2014-06-25  Will Newton  <will.newton@linaro.org>
33701         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
33702         comment changes throughout the file.  Remove checks
33703         for HAVE_*_H definitions that are not required.
33704         (__gen_tempname): Call abort if an unknown kind value is
33705         passed.
33707 2014-06-25  Andreas Schwab  <schwab@suse.de>
33709         [BZ #17086]
33710         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
33711         scalbln, scalblnf, scalblnl in libc.
33713 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33715         [BZ #17086]
33716         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
33717         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33718         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33720 2014-06-24  Roland McGrath  <roland@hack.frob.com>
33722         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
33723         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
33724         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
33725         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
33726         Update #include.
33727         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
33728         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
33729         Update #include.
33730         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
33731         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
33732         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
33733         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
33734         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
33735         * sysdeps/x86/bits/pthreadtypes.h: ... here.
33736         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
33737         * sysdeps/x86/bits/semaphore.h: ... here.
33738         * sysdeps/x86/nptl/elide.h: Moved ...
33739         * sysdeps/x86/elide.h: ... here.
33740         * sysdeps/x86_64/nptl/Implies: File removed.
33741         * sysdeps/i386/nptl/Implies: File removed.
33743 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
33745         [BZ #16539]
33746         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
33747         return the argument for normal arguments with exponent below -64.
33748         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33749         Likewise.
33750         * math/auto-libm-test-in: Add another test of expm1.
33751         * math/auto-libm-test-out: Regenerated.
33753         [BZ #16287]
33754         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
33755         calling __erfcl for arguments at least 16.
33756         * math/auto-libm-test-in: Add more tests of erf.
33757         * math/auto-libm-test-out: Regenerated.
33759         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
33760         individual architectures.
33761         * sysdeps/unix/sysv/linux/configure: Regenerated.
33762         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
33763         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
33764         * sysdeps/unix/sysv/linux/powerpc/configure.ac
33765         (ldd_rewrite_script): Define variable.
33766         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
33768         file.
33769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
33770         generated file.
33771         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
33772         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
33773         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
33774         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
33775         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
33776         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
33777         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
33778         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
33780 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33782         [BZ #17084]
33783         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
33784         Rename member __data.d to __data.__elision_data.
33786 2014-06-24  Wilco  <wdijkstr@arm.com>
33788         * NEWS: Add 16918 to fixed bug list.
33790 2014-06-24  Wilco  <wdijkstr@arm.com>
33792         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
33794 2014-06-24  Wilco  <wdijkstr@arm.com>
33796         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
33797         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
33798         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
33799         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
33800         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
33801         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
33802         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
33803         Use _FPU_MASK_RM.
33805 2014-06-24  Wilco  <wdijkstr@arm.com>
33807         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
33809 2014-06-24  Wilco  <wdijkstr@arm.com>
33811         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
33812         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
33813         * sysdeps/arm/fesetround.c (fesetround): Remove space.
33814         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
33816 2014-06-24  Wilco  <wdijkstr@arm.com>
33818         [BZ #16918]
33819         * sysdeps/arm/feupdateenv.c (feupdateenv):
33820         Rewrite to reduce FPSCR accesses and fix return value.
33822 2014-06-24  Wilco  <wdijkstr@arm.com>
33824         * sysdeps/arm/fclrexcpt.c (feclearexcept):
33825         Optimize to avoid unnecessary FPSCR writes.
33826         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
33827         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
33828         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
33829         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
33831 2014-06-24  Wilco  <wdijkstr@arm.com>
33833         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
33834         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
33835         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
33836         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
33837         Call libc_fetestexcept_vfp.
33838         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
33839         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
33840         __SOFTFP__ ifdef so that they can be built for softfp.
33842 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33844         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
33845         argument type signed char.
33847         * Makerules (check-abi): Dump diff of symlist if the test
33848         fails.
33850 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33852         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
33853         using abort.
33855         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33856         Remove unused variable ST.
33858 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33860         [BZ #16354]
33861         [BZ #17061]
33862         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
33863         small arguments before calling __expm1.
33864         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
33865         small arguments before calling __expm1f.
33866         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
33867         small arguments before calling __expm1l.
33868         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33869         Likewise.
33870         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33871         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
33872         spurious underflow for some cosh tests.
33873         * math/auto-libm-test-out: Regenerated.
33874         * sysdeps/i386/fpu/libm-test-ulps: Update.
33876         [BZ #17050]
33877         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
33878         (__ieee754_y1): Set errno if return value overflows.
33879         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
33880         (__ieee754_y1f): Set errno if return value overflows.
33881         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
33882         (__ieee754_y1l): Set errno if return value overflows.
33883         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
33884         (__ieee754_y1l): Set errno if return value overflows.
33885         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
33886         * math/auto-libm-test-out: Regenerated.
33888         * math/gen-auto-libm-tests.c: Document use of
33889         ignore-zero-inf-sign.
33890         (input_flag_type): Add value flag_ignore_zero_inf_sign.
33891         (input_flags): Add ignore-zero-inf-sign.
33892         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
33893         * math/gen-libm-test.pl (generate_testfile): Handle
33894         ignore-zero-inf-sign.
33895         * math/auto-libm-test-in: Mark some cpow tests with
33896         ignore-zero-inf-sign and some with xfail-rounding.
33897         * math/auto-libm-test-out: Regenerated.
33898         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
33899         * sysdeps/i386/fpu/libm-test-ulps: Update.
33900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33902         [BZ #16315]
33903         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
33904         overflowing or underflowing operations take place with sign of
33905         result.
33906         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33907         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33908         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
33909         (__ieee754_pow): Recompute overflowing and underflowing results in
33910         original rounding mode.
33911         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
33912         (__powl_helper): Allow negative argument X and scale negated value
33913         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
33914         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
33915         overflowing or underflowing operations take place with sign of
33916         result.
33917         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
33918         Include <math.h>.
33919         * math/auto-libm-test-in: Add more tests of pow.
33920         * math/auto-libm-test-out: Regenerated.
33921         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
33922         (pow_tonearest_test_data): Remove.
33923         (pow_test_tonearest): Likewise.
33924         (pow_towardzero_test_data): Likewise.
33925         (pow_test_towardzero): Likewise.
33926         (pow_downward_test_data): Likewise.
33927         (pow_test_downward): Likewise.
33928         (pow_upward_test_data): Likewise.
33929         (pow_test_upward): Likewise.
33930         (main): Don't call removed functions.
33931         * sysdeps/i386/fpu/libm-test-ulps: Update.
33932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33934 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
33937         Moved ...
33938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
33939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33940         Moved ...
33941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
33942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33943         Moved ...
33944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
33945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33946         Moved ...
33947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
33948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33949         File removed.
33950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33951         File removed.
33952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
33953         File removed.
33954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
33955         File removed.
33956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
33957         File removed.
33958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
33959         File removed.
33960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
33961         File removed.
33962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33963         File removed.
33964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
33965         File removed.
33966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33967         File removed.
33968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
33969         File removed.
33970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
33971         File removed.
33972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
33973         Moved ...
33974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
33975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
33976         Moved ...
33977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
33978         ... here.
33979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
33980         Moved ...
33981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
33982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
33983         Moved ...
33984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
33985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
33986         Moved ...
33987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
33988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
33989         Moved ...
33990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
33991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
33992         Moved ...
33993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
33994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
33995         Moved ...
33996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
33997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
33998         Moved ...
33999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
34000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
34001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
34002         ... here.
34003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
34004         Moved ...
34005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
34006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
34007         Moved ...
34008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
34009         ... here.
34010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
34011         Moved ...
34012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
34013         ... here.
34014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34015         Moved ...
34016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34017         ... here.
34018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34019         Moved ...
34020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
34021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34022         Moved ...
34023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
34024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
34025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
34026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34027         Moved ...
34028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
34029         ... here.
34030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34031         Moved ...
34032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
34033         ... here.
34034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34035         Moved ...
34036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
34037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34038         Moved ...
34039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
34040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34041         Moved ...
34042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
34043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34044         Moved ...
34045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
34046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34047         Moved ...
34048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
34049         ... here.
34050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34051         Moved ...
34052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
34053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34054         Moved ...
34055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
34056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34057         Moved ...
34058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
34059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34060         Moved ...
34061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
34062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
34063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
34064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34065         Moved ...
34066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
34067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34068         Moved ...
34069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
34070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34071         Moved ...
34072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
34073         ... here.
34074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34075         Moved ...
34076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
34077         ... here.
34078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34079         Moved ...
34080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
34081         ... here.
34082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34083         Moved ...
34084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
34085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34086         Moved ...
34087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
34088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34089         Moved ...
34090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
34091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34092         Moved ...
34093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
34094         ... here.
34095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34096         Moved ...
34097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
34098         ... here.
34099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34100         Moved ...
34101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
34102         ... here.
34103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34104         Moved ...
34105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
34106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34107         Moved ...
34108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
34110 2014-06-23  Will Newton  <will.newton@linaro.org>
34111             Wilco  <wdijkstr@arm.com>
34113         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
34114         implementation.  Include get-rounding-mode.h.
34115         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
34116         [!libc_feholdsetround_noex_ctx]: Define
34117         libc_feholdsetround_noex_ctx.
34118         [!libc_feholdsetround_noexf_ctx]: Define
34119         libc_feholdsetround_noexf_ctx.
34120         [!libc_feholdsetround_noexl_ctx]: Define
34121         libc_feholdsetround_noexl_ctx.
34122         (libc_feholdsetround_ctx): New function.
34123         (libc_feresetround_ctx): New function.
34124         (libc_feholdsetround_noex_ctx): New function.
34125         (libc_feresetround_noex_ctx): New function.
34127 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34129         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
34130         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
34131         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
34132         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
34133         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
34134         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
34136         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
34137         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
34138         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
34139         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
34140         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
34141         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
34142         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
34143         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
34144         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
34145         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
34146         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
34147         Moved ...
34148         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
34149         ... here.
34150         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
34151         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
34152         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
34153         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
34154         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
34155         Moved ...
34156         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
34157         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
34158         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
34159         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
34160         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
34161         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
34162         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
34163         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
34164         Moved ...
34165         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
34166         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
34167         Moved ...
34168         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
34169         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
34170         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
34171         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
34172         Moved ...
34173         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
34174         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
34175         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
34176         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
34177         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
34178         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
34179         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
34180         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
34181         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
34182         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
34183         Moved ...
34184         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
34185         ... here.
34186         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
34187         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
34188         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
34189         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
34190         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
34191         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
34192         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
34193         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
34194         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
34195         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
34196         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
34197         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
34198         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
34199         Moved ...
34200         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
34201         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
34202         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
34203         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
34204         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
34205         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
34206         Moved ...
34207         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
34208         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
34209         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
34210         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
34211         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
34213         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
34214         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
34215         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
34216         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
34217         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
34218         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
34219         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
34220         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
34221         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
34222         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
34223         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
34224         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
34225         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
34226         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
34227         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
34228         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
34229         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
34230         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
34231         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
34232         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
34233         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
34234         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
34235         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
34236         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
34237         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
34238         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
34239         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
34240         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
34242 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34244         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34245         (FALLOC_FL_COLLAPSE_RANGE): New macro.
34246         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
34247         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
34248         (IPV6_PMTUDISC_INTERFACE): Likewise.
34249         (IPV6_PMTUDISC_OMIT): Likewise.
34251 2014-06-23  Andreas Schwab  <schwab@suse.de>
34253         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
34254         Remove unused errout label.
34256 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34258         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
34259         macro: hardware supports Vector Crypto instructions.
34261 2014-06-23  Will Newton  <will.newton@linaro.org>
34263         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
34264         rather than __builtin_expect.
34266         * elf/dl-lookup.c (undefined_msg): Remove variable.
34267         (_dl_lookup_symbol_x): Replace undefined_msg with string
34268         literal.
34270         * elf/dl-lookup.c (do_lookup_unique): New function.
34271         (do_lookup_x): Move STB_GNU_UNIQUE handling code
34272         to a separate function.
34274 2014-06-23  Andreas Schwab  <schwab@suse.de>
34276         [BZ #17079]
34277         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
34278         before reading the next line.
34280 2014-06-23  Will Newton  <will.newton@linaro.org>
34282         * test-skeleton.c (signal_handler): Use printf and %m
34283         rather than perror.  Use printf rather than fprintf to
34284         stderr.  Use puts rather than fputs to stderr.
34285         (main): Likewise.
34287 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
34289         * nscd/nscd.c (thread_info_t): Remove typedef.
34290         (thread_info): Remove variable.
34292 2014-06-21  Allan McRae  <allan@archlinux.org>
34294         * NEWS: Mention CVE-2014-4043.
34296 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34298         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
34299         * nptl/smp.h: ... here.
34301         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
34303         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
34304         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
34305         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
34306         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
34308         * nptl/allocatestack.c: Include <stack-aliasing.h>.
34309         * nptl/stack-aliasing.h: New file.
34310         * sysdeps/i386/i686/stack-aliasing.h: New file.
34311         * sysdeps/i386/i686/nptl/Makefile: File removed.
34312         * sysdeps/x86_64/stack-aliasing.h: New file.
34313         * sysdeps/x86_64/nptl/Makefile
34314         (CFLAGS-pthread_create.c): Variable removed.
34316         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
34317         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
34318         old file.
34319         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
34320         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
34321         old file.
34323 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
34325         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34326         (__ASSUME_SIGFRAME_V2): Remove macro.
34327         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
34328         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
34329         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
34330         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
34331         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
34332         Declare as function.  Remove conditional macro definitions.
34333         (__default_rt_sa_restorer): Likewise.
34334         (__default_sa_restorer_v1): Remove declaration.
34335         (__default_sa_restorer_v2): Likewise.
34336         (__default_rt_sa_restorer_v1): Likewise.
34337         (__default_rt_sa_restorer_v2): Likewise.
34338         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
34339         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
34340         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
34342 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34344         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
34345         (libpthread-routines): Add sysdep.
34346         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
34347         * sysdeps/unix/sysv/linux/sparc/Versions
34348         (libpthread: GLIBC_2.3.3): New version set.
34349         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
34350         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
34351         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
34352         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
34353         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
34354         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
34355         Moved ...
34356         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
34357         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
34358         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
34359         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
34360         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
34361         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
34362         * sysdeps/sparc/nptl/sem_init.c: ... here.
34363         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
34364         * sysdeps/sparc/nptl/sem_post.c: ... here.
34365         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
34366         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
34367         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
34368         * sysdeps/sparc/nptl/sem_wait.c: ... here.
34369         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
34370         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
34371         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
34372         (libpthread-routines): Add cpu_relax.
34373         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
34374         File removed.
34375         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
34376         (librt: GLIBC_2.3.3): New version set.
34377         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
34378         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
34379         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
34380         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
34381         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
34382         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
34383         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
34384         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
34385         Moved ...
34386         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
34387         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
34388         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
34389         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
34390         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
34391         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
34392         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
34393         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
34394         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
34395         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
34396         Moved ...
34397         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
34398         Update #include.
34399         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
34400         Moved ...
34401         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
34402         Update #include.
34403         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
34404         Moved ...
34405         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
34406         Update #include.
34407         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
34408         Moved ...
34409         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
34410         Update #include.
34411         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
34412         Moved ...
34413         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
34414         Update #include.
34415         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
34416         Moved ...
34417         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
34418         Update #include.
34419         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
34420         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
34421         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
34422         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
34423         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
34424         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
34425         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
34426         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
34427         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
34428         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
34429         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34430         Moved ...
34431         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
34432         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
34433         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
34434         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
34435         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
34437 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34439         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
34440         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
34441         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34442         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
34443         * nscd/nscd.c: Likewise.
34444         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
34445         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
34446         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
34447         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
34449         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
34450         <kernel-features.h>.
34451         (init_mq_netlink): Remove conditional have_sock_cloexec
34452         definitions.  Remove code conditional on have_sock_cloexec < 0.
34453         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
34454         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
34455         * sysdeps/unix/sysv/linux/opensock.c: Do not include
34456         <kernel-features.h>.
34457         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
34458         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
34460 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34462         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34463         Add tests for memset_chk and memset.
34465         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
34466         with AVX2_Usable.
34468 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34470         [BZ #16046]
34471         * elf/tst-dl-iter-static.c: New file.
34472         * elf/Makefile (tests-static): Add tst-dl-iter-static.
34474         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
34475         error.
34477 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34479         * sysdeps/unix/sysv/linux/kernel-features.h
34480         (__ASSUME_F_GETOWN_EX): Remove macro.
34481         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
34482         <kernel-features.h>.
34483         (miss_F_GETOWN_EX): Remove variable or macro.
34484         (do_fcntl): Do not check miss_F_GETOWN_EX.
34485         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
34487         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
34488         Remove macro.
34489         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
34490         [!__ASSUME_AT_RANDOM]: Remove conditional code.
34491         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
34493         * sysdeps/unix/sysv/linux/kernel-features.h
34494         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
34495         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
34496         [ADJ_OFFSET_SS_READ]: Make code unconditional.
34497         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
34499 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34501         [BZ #17075]
34502         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
34503         Fix calculation of the symbol's value.
34504         * sysdeps/arm/tst-armtlsdescloc.c: New file.
34505         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
34506         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
34507         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
34508         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
34509         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
34510         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
34511         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
34512         (modules-names): Add `tst-armtlsdescmod',
34513         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
34514         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
34515         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34516         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
34517         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
34518         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34519         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
34520         ($(objpfx)tst-armtlsdescloc): New dependency.
34521         ($(objpfx)tst-armtlsdescextnow): Likewise.
34522         ($(objpfx)tst-armtlsdescextlazy): Likewise.
34523         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
34524         TLS scheme support.
34525         * sysdeps/arm/configure: Regenerate.
34527 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34529         * include/fcntl.h (__atfct_seterrno): Remove prototype.
34530         (__atfct_seterrno_2): Likewise.
34531         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
34532         <kernel-features.h>.
34533         (__ASSUME_ATFCTS): Do not undefine and redefine.
34534         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
34535         (__have_atfcts): Remove conditional definition.
34536         (__fxstatat([__NR_fstatat64]: Make code unconditional.
34537         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
34538         unreachable if [__ASSUME_ATFCTS].
34539         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
34540         not undefine and redefine.
34541         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
34542         <kernel-features.h>.
34543         (faccessat) [__NR_faccessat]: Make code unconditional.
34544         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
34545         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
34546         <kernel-features.h>.
34547         (fchmodat) [__NR_fchmodat]: Make code unconditional.
34548         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34549         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
34550         <kernel-features.h>.
34551         (fchownat) [__NR_fchownat]: Make code unconditional.
34552         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
34553         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
34554         <kernel-features.h>.
34555         (futimesat) [__NR_futimesat]: Make code unconditional.
34556         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
34557         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34558         <kernel-features.h>.
34559         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34560         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34561         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34562         <kernel-features.h>.
34563         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
34564         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34565         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
34566         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34567         <kernel-features.h>.
34568         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
34569         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34570         * sysdeps/unix/sysv/linux/linkat.c: Do not include
34571         <kernel-features.h>.
34572         (linkat) [__NR_linkat]: Make code unconditional.
34573         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34574         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
34575         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
34576         <kernel-features.h>.
34577         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
34578         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34579         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
34580         <kernel-features.h>.
34581         (mkdirat) [__NR_mkdirat]: Make code unconditional.
34582         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
34583         * sysdeps/unix/sysv/linux/openat.c: Do not include
34584         <kernel-features.h>.
34585         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
34586         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
34587         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
34588         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
34589         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
34590         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
34591         <kernel-features.h>.
34592         (readlinkat) [__NR_readlinkat]: Make code unconditional.
34593         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
34594         result of INLINE_SYSCALL directly, not via int variable.
34595         * sysdeps/unix/sysv/linux/renameat.c: Do not include
34596         <kernel-features.h>.
34597         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
34598         (renameat) [__NR_renameat]: Make code unconditional.
34599         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
34600         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
34601         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
34602         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
34603         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
34604         (__ASSUME_ATFCTS): Do not undefine and redefine.
34605         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
34606         <kernel-features.h>.
34607         (symlinkat) [__NR_symlinkat]: Make code unconditional.
34608         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34609         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
34610         <kernel-features.h>.
34611         (unlinkat) [__NR_unlinkat]: Make code unconditional.
34612         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34613         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
34614         (__ASSUME_ATFCTS): Do not undefine and redefine.
34615         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34616         <kernel-features.h>.
34617         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34618         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34619         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34620         <kernel-features.h>.
34621         (__xmknodat) [__NR_mknodat]: Make code unconditional.
34622         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34624 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34626         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
34628 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
34630         [BZ #17069]
34631         * posix/regcomp.c (parse_reg_exp): Deallocate partially
34632         constructed tree before returning error.
34633         * posix/bug-regexp36.c: Expand test case.
34635 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
34637         [BZ #6803]
34638         * math/libm-test.inc (scalbln_test_date):
34639         Add errno expectations.
34640         * math/w_scalblnf.c: New File.
34641         Add wrapper which checks for setting errno to ERANGE.
34642         Add weak_alias for corresponding scalbln function.
34643         * math/w_scalbln.c: Likewise.
34644         * math/w_scalblnl.c: Likewise.
34645         * math/Makefile (libm-calls): Add w_scalbln.
34646         * sysdeps/ieee754/flt-32/s_scalblnf.c:
34647         Remove weak_alias for corresponding scalbln function.
34648         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34649         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34650         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34651         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34652         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
34653         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34654         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
34655         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34656         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
34657         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
34658         Remove long_double_symbol for scalblnl function in libm, libc.
34659         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
34660         Add wrapper which checks for setting errno to ERANGE.
34661         Add long_double_symbol for scalblnl function in libm, libc.
34662         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
34663         Remove long_double_symbol for scalblnl in libm.
34664         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
34665         Add wrapper which checks for setting errno to ERANGE.
34666         Add long_double_symbol for scalblnl function in libm.
34667         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
34668         Do not use wrapper because of own implementation.
34670 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
34672         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
34673         3 bytes for __pad1 for x32.
34674         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
34676 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
34677             H.J. Lu  <hongjiu.lu@intel.com>
34679         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
34680         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
34681         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34682         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34683         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
34685 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
34687         [BZ #17069]
34688         * posix/regcomp.c (parse_expression): Deallocate partially
34689         constructed tree before returning error.
34690         * posix/Makefile.c (tests): Add bug-regex36.
34691         (generated): Add bug-regex36.mtrace.
34692         (tests-special): Add $(objpfx)bug-regex36-mem.out
34693         (bug-regex36-ENV): New variable.
34694         ($(objpfx)bug-regex36-mem.out): New rule.
34695         * posix/bug-regex36.c: New file.
34697 2014-06-19  Will Newton  <will.newton@linaro.org>
34699         * malloc/malloc.c (systrim): If extra is zero then return
34700         early.
34702 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34704         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
34706 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
34708         * sysdeps/aarch64/strchr.S: New file.
34710 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34712         [BZ #17022]
34713         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
34714         from arguments -2 or below.
34715         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34716         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
34718 2014-06-18  Andreas Schwab  <schwab@suse.de>
34720         [BZ #17062]
34721         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
34722         of a bracket expr not to run off the end of the string.
34723         * posix/Makefile (tests): Add tst-fnmatch3.
34724         * posix/tst-fnmatch3.c: New file.
34726 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34728         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
34729         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34730         [$(cross-compiling) = no]: Likewise.
34731         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34732         [$(cross-compiling) = no]: Likewise.
34734 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34736         [BZ #17031]
34737         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
34738         double, adjusted for any remainder from the high double.
34739         * math/libm-test.inc (nearbyint): Add tests.
34740         (rint): Likewise.
34742 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34744         * nptl/sysdeps/powerpc/Makefile: Moved ...
34745         * sysdeps/powerpc/nptl/Makefile: ... here.
34746         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
34747         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
34748         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
34749         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
34750         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
34751         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
34752         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
34753         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
34754         * nptl/sysdeps/powerpc/tls.h: Moved ...
34755         * sysdeps/powerpc/nptl/tls.h: ... here.
34757 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
34759         [BZ #16681]
34760         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
34761         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
34762         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
34763         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
34764         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
34765         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
34766         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
34767         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
34768         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
34770 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
34772         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34774 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
34776         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
34777         defined operator.
34779         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
34780         $TIMEOUTFACTOR.
34782 2014-06-16  Florian Weimer  <fweimer@redhat.com>
34784         [BZ #17058]
34785         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
34786         non-executed part of the test.
34788 2014-06-16  Andreas Schwab  <schwab@suse.de>
34790         * string/bits/string2.h (strdup, strndup): Update feature guard.
34792 2014-06-14  David S. Miller  <davem@davemloft.net>
34794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34796 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
34798         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
34799         that was previously under [RESET_PID].
34800         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
34802         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
34803         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
34804         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
34805         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34806         (__libc_vfork): New strong alias.
34807         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
34809 2014-06-14 Andi Kleen  <ak@linux.intel.com>
34811         * sysdeps/generic/elide.h: New file.
34813 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34815         * Makefile (installed-headers): Adjust path of pthread.h header.
34817 2014-06-13  Roland McGrath  <roland@hack.frob.com>
34819         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
34820         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
34821         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
34822         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
34824         * nptl/sysdeps/s390/Makefile: Moved ...
34825         * sysdeps/s390/nptl/Makefile: ... here.
34826         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
34827         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
34828         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
34829         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
34830         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
34831         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
34832         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
34833         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
34834         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
34835         * sysdeps/s390/nptl/pthreaddef.h: ... here.
34836         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
34837         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
34838         * nptl/sysdeps/s390/tls.h: Moved ...
34839         * sysdeps/s390/nptl/tls.h: ... here.
34841         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
34842         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
34844 2014-06-13  David S. Miller  <davem@davemloft.net>
34846         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
34847         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
34848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
34849         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
34850         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
34851         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
34852         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
34853         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
34854         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
34855         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
34856         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
34857         Remove RESET_PID cpp guards.
34858         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
34859         Remove RESET_PID cpp guards.
34860         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
34862 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
34864         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
34865         __sp to uintptr_t.
34867 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34869         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
34870         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
34871         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
34872         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
34873         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
34874         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
34875         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
34876         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
34877         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
34878         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
34879         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
34880         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
34881         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
34882         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
34883         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
34884         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
34885         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
34886         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
34887         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
34888         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
34890         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
34891         (pthread_rwlock_rdlock): Add elision.
34892         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
34893         (pthread_rwlock_wrlock): Add elision.
34894         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
34895         (pthread_rwlock_trywrlock): Add elision.
34896         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
34897         (pthread_rwlock_tryrdlock): Add elision.
34898         * nptl/pthread_rwlock_unlock.c: Include elide.h.
34899         (pthread_rwlock_tryrdlock): Add elision unlock.
34900         * nptl/sysdeps/pthread/pthread.h:
34901         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
34902         (PTHREAD_RWLOCK_INITIALIZER,
34903         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
34904         Handle new elision field.
34905         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
34906         * sysdeps/arm/nptl/bits/pthreadtypes.h
34907         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34908         * sysdeps/sh/nptl/bits/pthreadtypes.h
34909         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34910         * sysdeps/tile/nptl/bits/pthreadtypes.h
34911         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34912         * sysdeps/a/nptl/bits/pthreadtypes.h
34913         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34914         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34915         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34916         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34917         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34918         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
34919         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34920         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34921         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34922         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34923         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34924         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34925         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34926         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34927         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34928         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
34929         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34930         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
34931         (elision_init): Set try_xbegin to zero when no RTM.
34932         * sysdeps/x86/nptl/bits/pthreadtypes.h
34933         (pthread_rwlock_t): Change __pad1 to __rwelision.
34934         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34936 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34938         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
34939         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
34940         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
34941         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
34943 2014-06-13  Meador Inge  <meadori@codesourcery.com>
34945         [BZ #16996]
34946         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
34947         that the cached result has been set before returning it.
34949 2014-06-12  Roland McGrath  <roland@hack.frob.com>
34951         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
34952         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
34953         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
34954         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
34955         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
34956         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
34958         * nptl/sysdeps/sparc/Makefile: Moved ...
34959         * sysdeps/sparc/nptl/Makefile: ... here.
34960         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
34961         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
34962         * nptl/sysdeps/sparc/tls.h: Moved ...
34963         * sysdeps/sparc/nptl/tls.h: ... here.
34964         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
34965         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
34966         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
34967         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
34968         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
34969         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
34970         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
34971         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
34972         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
34973         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
34974         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
34975         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
34976         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
34977         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
34978         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
34979         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
34980         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
34981         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
34982         Update #include.
34983         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
34984         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
34985         Update #include.
34986         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
34987         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
34988         Update #include.
34989         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
34990         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
34991         Update #include.
34993         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34995         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
34996         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
34998         * sysdeps/pthread/posix-timer.h: Include <list.h>.
34999         (struct list_links): Type removed.
35000         (struct thread_node, struct timer_node): Replace struct list_links
35001         with struct list_head.
35002         (list_unlink_ip): Likewise.
35003         * sysdeps/pthread/timer_routines.c
35004         (timer_free_list, thread_free_list, thread_active_list): Likewise.
35005         (list_append, list_insbefore): Likewise.
35006         (list_init): Function removed.
35007         (thread_init, init_module): Use INIT_LIST_HEAD instead.
35008         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
35009         * sysdeps/pthread/Makefile: ... here, new file.
35011         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
35012         * sysdeps/nptl/Implies: ... here.
35013         * sysdeps/unix/sysv/linux/Implies: Add nptl.
35014         * nptl/sysdeps/pthread/list.h: Moved ...
35015         * include/list.h: ... here.
35016         * nptl/sysdeps/pthread/createthread.c: Moved ...
35017         * nptl/createthread.c: ... here.
35018         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
35019         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
35020         * nptl/pt-longjmp.c: ... here.
35021         * nptl/sysdeps/pthread/Makefile: Moved ...
35022         * sysdeps/nptl/Makefile: ... here.
35023         * nptl/sysdeps/pthread/Subdirs: Moved ...
35024         * sysdeps/nptl/Subdirs: ... here.
35025         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
35026         * sysdeps/nptl/aio_misc.h: ... here.
35027         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
35028         * sysdeps/nptl/bits/libc-lock.h: ... here.
35029         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
35030         * sysdeps/nptl/bits/libc-lockP.h: ... here.
35031         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
35032         * sysdeps/nptl/bits/stdio-lock.h: ... here.
35033         * nptl/sysdeps/pthread/configure: Moved ...
35034         * sysdeps/nptl/configure: ... here.
35035         * nptl/sysdeps/pthread/configure.ac: Moved ...
35036         * sysdeps/nptl/configure.ac: ... here.
35037         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
35038         * sysdeps/nptl/gai_misc.h: ... here.
35039         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
35040         * sysdeps/nptl/librt-cancellation.c: ... here.
35041         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
35042         * sysdeps/nptl/malloc-machine.h: ... here.
35043         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
35044         * sysdeps/nptl/pthread-functions.h: ... here.
35045         * nptl/sysdeps/pthread/pthread.h: Moved ...
35046         * sysdeps/nptl/pthread.h: ... here.
35047         * nptl/sysdeps/pthread/setxid.h: Moved ...
35048         * sysdeps/nptl/setxid.h: ... here.
35049         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
35050         * sysdeps/nptl/sigfillset.c: ... here.
35051         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
35052         * sysdeps/nptl/tcb-offsets.h: ... here.
35053         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
35054         * sysdeps/nptl/tst-mqueue8x.c: ... here.
35055         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
35056         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
35057         * nptl/sysdeps/pthread/allocalim.h: Moved ...
35058         * sysdeps/pthread/allocalim.h: ... here.
35059         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
35060         * sysdeps/pthread/bits/sigthread.h: ... here.
35061         * nptl/sysdeps/pthread/flockfile.c: Moved ...
35062         * sysdeps/pthread/flockfile.c: ... here.
35063         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
35064         * sysdeps/pthread/ftrylockfile.c: ... here.
35065         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
35066         * sysdeps/pthread/funlockfile.c: ... here.
35067         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
35068         * sysdeps/pthread/posix-timer.h: ... here.
35069         * nptl/sysdeps/pthread/timer_create.c: Moved ...
35070         * sysdeps/pthread/timer_create.c: ... here.
35071         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
35072         * sysdeps/pthread/timer_delete.c: ... here.
35073         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
35074         * sysdeps/pthread/timer_getoverr.c: ... here.
35075         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
35076         * sysdeps/pthread/timer_gettime.c: ... here.
35077         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
35078         * sysdeps/pthread/timer_routines.c: ... here.
35079         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
35080         * sysdeps/pthread/timer_settime.c: ... here.
35081         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
35082         * sysdeps/pthread/tst-timer.c: ... here.
35083         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
35084         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
35086         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
35087         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
35089         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
35090         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
35091         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
35092         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
35093         Update #include target.
35094         * nptl/sysdeps/i386/i686/Makefile: Moved ...
35095         * sysdeps/i386/i686/nptl/Makefile: ... here.
35096         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
35097         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
35098         Update #include target.
35099         * nptl/sysdeps/i386/i686/tls.h: Moved ...
35100         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
35101         * nptl/sysdeps/i386/Makefile: Moved ...
35102         * sysdeps/i386/nptl/Makefile: ... here.
35103         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
35104         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
35105         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
35106         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
35107         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
35108         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
35109         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
35110         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
35111         * sysdeps/i386/nptl/pthreaddef.h: ... here.
35112         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
35113         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
35114         * nptl/sysdeps/i386/tls.h: Moved ...
35115         * sysdeps/i386/nptl/tls.h: ... here.
35117         * sysdeps/sh/Makefile [$(subdir) = csu]
35118         (gen-as-const-headers): Add tcb-offsets.sym.
35119         * nptl/sysdeps/sh/Makefile: File removed.
35120         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
35121         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
35122         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
35123         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
35124         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
35125         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
35126         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
35127         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
35128         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
35129         * sysdeps/sh/nptl/pthreaddef.h: ... here.
35130         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
35131         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
35132         * nptl/sysdeps/sh/tls.h: Moved ...
35133         * sysdeps/sh/nptl/tls.h: ... here.
35134         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
35135         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
35136         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
35137         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
35138         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
35139         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
35140         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
35141         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
35142         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
35143         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
35144         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
35145         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
35146         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
35147         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
35148         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
35149         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
35150         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
35151         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
35152         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
35153         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
35154         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
35155         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
35156         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
35157         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
35158         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
35159         Moved ...
35160         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
35161         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
35162         Moved ...
35163         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
35164         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
35165         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
35166         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
35167         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
35168         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
35169         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
35170         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
35171         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
35172         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
35173         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
35174         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
35175         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
35176         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
35177         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
35178         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
35179         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
35180         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
35181         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
35183 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35185         * posix/spawn_faction_addopen.c: Include string.h.
35187 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35189         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
35190         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
35191         * nptl/sysdeps/x86_64/Makefile: Moved ...
35192         * sysdeps/x86_64/nptl/Makefile: ... here.
35193         * nptl/sysdeps/x86_64/configure: Moved ...
35194         * sysdeps/x86_64/nptl/configure: ... here.
35195         * nptl/sysdeps/x86_64/configure.ac: Moved ...
35196         * sysdeps/x86_64/nptl/configure.ac: ... here.
35197         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
35198         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
35199         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
35200         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
35201         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
35202         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
35203         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
35204         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
35205         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
35206         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
35207         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
35208         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
35209         * nptl/sysdeps/x86_64/tls.h: Moved ...
35210         * sysdeps/x86_64/nptl/tls.h: ... here.
35211         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
35212         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
35213         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
35214         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
35216         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
35218 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35222 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
35224         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
35225         type.
35226         [POSIX] (off_t): Likewise.
35227         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
35228         [POSIX] (S_ISBLK): Require macro.
35229         [POSIX] (S_ISCHR): Likewise.
35230         [POSIX] (S_ISDIR): Likewise.
35231         [POSIX] (S_ISFIFO): Likewise.
35232         [POSIX] (S_ISREG): Likewise.
35233         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
35234         optional-macro.
35235         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
35236         type.
35237         [POSIX] (time_t): Likewise.
35238         [POSIX] (timer_t): Likewise.
35240 2014-06-11  Florian Weimer  <fweimer@redhat.com>
35242         [BZ #17048]
35243         * posix/spawn_int.h (struct __spawn_action): Make the path string
35244         non-const to support deallocation.
35245         * posix/spawn_faction_addopen.c
35246         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
35247         * posix/spawn_faction_destroy.c
35248         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
35249         path in all spawn_do_open actions.
35250         * posix/tst-spawn.c (do_test): Exercise the copy operation in
35251         posix_spawn_file_actions_addopen.
35253 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
35255         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
35256         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
35257         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
35258         conditional code always true.
35259         (__libc_vfork): New alias.
35261 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35263         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35264         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
35266         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
35268         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35269         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
35271         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35272         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
35274         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35275         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
35277 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35279         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
35280         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
35281         multiarch strcmp for PPC64.
35282         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
35283         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
35284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
35285         multiarch optimizations.
35286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35287         (__libc_ifunc_impl_list): Likewise.
35289 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35291         * benchtests/scripts/validate_benchout.py: New script.
35292         * benchtests/Makefile (bench-func): Call it.
35293         * benchtests/scripts/benchout.schema.json: New file.
35295 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
35297         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
35298         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
35299         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
35300         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
35301         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
35302         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
35303         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
35304         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
35305         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
35306         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
35307         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
35308         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
35309         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
35310         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
35311         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
35312         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
35313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
35314         Moved ...
35315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
35316         ... here.
35317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
35318         Moved ...
35319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
35320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
35321         Moved ...
35322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
35323         ... here.
35324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
35325         Moved ...
35326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
35327         ... here.
35328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
35329         Moved ...
35330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
35331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
35332         Moved ...
35333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
35334         ... here.
35335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
35336         Moved ...
35337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
35338         ... here.
35339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
35340         Moved ...
35341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
35342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
35343         Moved ...
35344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
35345         ... here.
35346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
35347         Moved ...
35348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
35349         ... here.
35350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
35351         Moved ...
35352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
35353         ... here.
35354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
35355         Moved ...
35356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
35357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
35358         Moved ...
35359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
35360         ... here.
35361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
35362         Moved ...
35363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
35364         ... here.
35365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
35366         Moved ...
35367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
35368         ... here.
35369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
35370         Moved ...
35371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
35372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
35373         Moved ...
35374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
35375         ... here.
35376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
35377         Moved ...
35378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
35379         ... here.
35380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
35381         Moved ...
35382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
35383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
35384         Moved ...
35385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
35386         ... here.
35387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
35388         Moved ...
35389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
35390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
35391         Moved ...
35392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
35393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
35394         Moved ...
35395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
35396         ... here.
35397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
35398         Moved ...
35399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
35400         ... here.
35401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
35402         Moved ...
35403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
35404         ... here.
35405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
35406         Moved ...
35407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
35408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
35409         Moved ...
35410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
35411         ... here.
35412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
35413         Moved ...
35414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
35415         ... here.
35416         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
35417         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
35418         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
35419         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
35420         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
35421         Moved ...
35422         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
35423         ... here.
35424         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
35425         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
35426         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
35427         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
35428         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
35429         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
35430         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
35431         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
35432         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
35433         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
35434         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
35435         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
35436         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
35437         Moved ...
35438         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
35439         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
35440         Moved ...
35441         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
35442         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
35443         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
35444         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
35445         Moved ...
35446         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
35447         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
35448         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
35449         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
35450         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
35451         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
35452         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
35454 2014-06-10  Wilco  <wdijkstr@arm.com>
35456         * math/test-fenv-return.c: New file.
35457         * math/Makefile: Add new test test-fenv-return.
35459 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
35461         [BZ #17042]
35462         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
35463         when x - 1 is zero.
35464         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
35465         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
35466         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
35467         0.0L for an argument of 1.0L.
35468         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
35469         Likewise.
35470         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
35471         value when x - 1 is zero.
35472         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
35473         * sysdeps/i386/fpu/libm-test-ulps: Update.
35474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35476 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
35478         [BZ #15119]
35479         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
35481 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35483         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
35484         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
35486 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35488         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35489         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
35491         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35492         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
35494         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35495         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
35497         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35498         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
35500         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
35501         if not already defined.
35502         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
35503         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
35504         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
35505         (TLS_INIT_TP): Use it.
35506         (TLS_DEFINE_INIT_TP): New macro.
35507         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
35509 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
35511         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
35512         constant.
35513         [POSIX] (IXANY): Likewise.
35514         [POSIX] (OLCUC): Likewise.
35515         [POSIX || POSIX2008] (CBAUD): Do not allow.
35516         [POSIX || POSIX2008] (DEFECHO): Likewise.
35517         [POSIX || POSIX2008] (ECHOCTL): Likewise.
35518         [POSIX || POSIX2008] (ECHOKE): Likewise.
35519         [POSIX || POSIX2008] (ECHOPRT): Likewise.
35520         [POSIX || POSIX2008] (EXTA): Likewise.
35521         [POSIX || POSIX2008] (EXTB): Likewise.
35522         [POSIX || POSIX2008] (FLUSHO): Likewise.
35523         [POSIX || POSIX2008] (LOBLK): Likewise.
35524         [POSIX || POSIX2008] (PENDIN): Likewise.
35525         [POSIX || POSIX2008] (SWTCH): Likewise.
35526         [POSIX || POSIX2008] (VDISCARD): Likewise.
35527         [POSIX || POSIX2008] (VDSUSP): Likewise.
35528         [POSIX || POSIX2008] (VLNEXT): Likewise.
35529         [POSIX || POSIX2008] (VREPRINT): Likewise.
35530         [POSIX || POSIX2008] (VSTATUS): Likewise.
35531         [POSIX || POSIX2008] (VWERASE): Likewise.
35532         (B*): Change to B[0123456789]*.
35533         * conform/data/time.h-data [POSIX || UNIX98]
35534         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
35535         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35536         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
35537         [POSIX] (tm_*): Do not allow.
35539 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
35541         * Makefile (install): Don't set LANGUAGE.
35542         * Makefile.in (install): Likewise.
35543         * assert/Makefile (test-assert-ENV): Remove variable.
35544         (test-assert-perr-ENV): Likewise.
35545         * elf/Makefile (neededtest4-ENV): Likewise.
35546         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35547         [$(cross-compiling) = no]: Don't set LANGUAGE.
35548         * io/ftwtest-sh (LANG): Remove variable.
35549         * libio/Makefile (tst-widetext-ENV): Likewise.
35550         * manual/install.texi (Running make install): Don't refer to
35551         environment settings for make install.
35552         * INSTALL: Regenerated.
35553         * nptl/tst-tls6.sh: Don't set LANG.
35554         * posix/globtest.sh (LANG): Remove variable.
35555         * string/Makefile (tester-ENV): Likewise.
35556         (inl-tester-ENV): Likewise.
35557         (noinl-tester-ENV): Likewise.
35558         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35559         [$(cross-compiling) = no]: Don't set LANGUAGE.
35560         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
35561         without explicit environment settings.
35563 2014-06-06  Roland McGrath  <roland@hack.frob.com>
35565         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
35566         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
35567         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
35568         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
35570 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
35572         * crypt/crypt-private.h [DOS]: Add some includes taken from the
35573         other files in the crypt directory.
35574         * crypt/crypt.c: Remove duplicate includes.
35575         * crypt/crypt-entry.c: Likewise.
35576         * crypt/crypt_util.c: Likewise.
35578 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
35580         * Makeconfig (run-program-env): New variable.
35581         (run-program-prefix-before-env): Likewise.
35582         (run-program-prefix-after-env): Likewise.
35583         (run-program-prefix): Define in terms of new variables.
35584         (built-program-cmd-before-env): New variable.
35585         (built-program-cmd-after-env): Likewise.
35586         (built-program-cmd): Define in terms of new variables.
35587         (test-program-prefix-before-env): New variable.
35588         (test-program-prefix-after-env): Likewise.
35589         (test-program-prefix): Define in terms of new variables.
35590         (test-program-cmd-before-env): New variable.
35591         (test-program-cmd-after-env): Likewise.
35592         (test-program-cmd): Define in terms of new variables.
35593         * Rules (make-test-out): Use $(run-program-env).
35594         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
35595         (help): Do not mention environment variables.  Mention
35596         --timeoutfactor option.
35597         (timeoutfactor): New variable.
35598         (blacklist_exports): Remove function.
35599         (exports): Remove variable.
35600         (command): Do not include ${exports}.
35601         * manual/install.texi (Configuring and compiling): Do not mention
35602         test wrappers preserving environment variables.  Mention that last
35603         assignment to a variable must take precedence.
35604         * INSTALL: Regenerated.
35605         * benchtests/Makefile (run-bench): Use $(run-program-env).
35606         * catgets/Makefile ($(objpfx)test1.cat): Use
35607         $(built-program-cmd-before-env), $(run-program-env) and
35608         $(built-program-cmd-after-env).
35609         ($(objpfx)test2.cat): Do not specify environment variables
35610         explicitly.
35611         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
35612         $(run-program-env) and $(built-program-cmd-after-env).
35613         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
35614         $(run-program-env) and $(test-program-cmd-after-env).
35615         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
35616         explicitly.
35617         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
35618         run_program_env and test_program_cmd_after_env arguments.
35619         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
35620         * elf/tst-pathopt.sh: Use run_program_env argument.
35621         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
35622         $(test-wrapper-env) and $(run-program-env).
35623         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
35624         run_program_env arguments.
35625         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
35626         * intl/Makefile ($(objpfx)tst-gettext.out): Use
35627         $(test-program-prefix-before-env), $(run-program-env) and
35628         $(test-program-prefix-after-env).
35629         ($(objpfx)tst-gettext2.out): Likewise.
35630         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
35631         run_program_env and test_program_prefix_after_env arguments.
35632         * intl/tst-gettext2.sh: Likewise.
35633         * intl/tst-gettext4.sh: Do not set environment variables
35634         explicitly.
35635         * intl/tst-gettext6.sh: Likewise.
35636         * intl/tst-translit.sh: Likewise.
35637         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
35638         $(test-program-prefix-before-env), $(run-program-env) and
35639         $(test-program-prefix-after-env).
35640         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
35641         run_program_env and test_program_prefix_after_env arguments.
35642         * math/Makefile (run-regen-ulps): Use $(run-program-env).
35643         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
35644         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
35645         explicitly with each use of ${test_wrapper_env}.
35646         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
35647         $(test-program-prefix-before-env), $(run-program-env) and
35648         $(test-program-prefix-after-env).
35649         * posix/tst-getconf.sh: Do not set environment variables
35650         explicitly.
35651         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
35652         run_program_env and test_program_prefix_after_env arguments.
35653         * stdio-common/tst-printf.sh: Do not set environment variables
35654         explicitly.
35655         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
35656         $(test-program-prefix-before-env), $(run-program-env) and
35657         $(test-program-prefix-after-env).
35658         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
35659         run_program_env and test_program_prefix_after_env arguments.
35660         Split $test calls into $test_pre and $test.
35661         * timezone/Makefile (build-testdata): Use
35662         $(built-program-cmd-before-env), $(run-program-env) and
35663         $(built-program-cmd-after-env).
35665 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35667         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
35668         strlen for non SHARED builds.
35670 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35672         * nptl/allocatestack.c (check_list): Inlined function...
35673         (__reclaim_stacks): ... here.
35675 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35677         [BZ #15698]
35678         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35679         memory overrun.
35681 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
35683         * Rules (make-test-out): Include
35684         LOCPATH=$(common-objpfx)localedata in default environment.
35685         * debug/Makefile (tst-chk1-ENV): Remove variable.
35686         (tst-chk2-ENV): Likewise.
35687         (tst-chk3-ENV): Likewise.
35688         (tst-chk4-ENV): Likewise.
35689         (tst-chk5-ENV): Likewise.
35690         (tst-chk6-ENV): Likewise.
35691         (tst-lfschk1-ENV): Likewise.
35692         (tst-lfschk2-ENV): Likewise.
35693         (tst-lfschk3-ENV): Likewise.
35694         (tst-lfschk4-ENV): Likewise.
35695         (tst-lfschk5-ENV): Likewise.
35696         (tst-lfschk6-ENV): Likewise.
35697         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
35698         (tst-iconv7-ENV): Likewise.
35699         * intl/Makefile (LOCPATH-ENV): Likewise.
35700         (tst-codeset-ENV): Likewise.
35701         (tst-gettext3-ENV): Likewise.
35702         (tst-gettext5-ENV): Likewise.
35703         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
35704         (tst-fopenloc-ENV): Likewise.
35705         (tst-fgetws-ENV): Remove variable.
35706         (tst-ungetwc1-ENV): Likewise.
35707         (tst-ungetwc2-ENV): Likewise.
35708         (bug-ungetwc2-ENV): Likewise.
35709         (tst-swscanf-ENV): Likewise.
35710         (bug-ftell-ENV): Likewise.
35711         (tst-fgetwc-ENV): Likewise.
35712         (tst-fseek-ENV): Likewise.
35713         (tst-ftell-partial-wide-ENV): Likewise.
35714         (tst-ftell-active-handler-ENV): Likewise.
35715         (tst-ftell-append-ENV): Likewise.
35716         * posix/Makefile (tst-fnmatch-ENV): Likewise.
35717         (tst-regexloc-ENV): Likewise.
35718         (bug-regex1-ENV): Likewise.
35719         (tst-regex-ENV): Likewise.
35720         (tst-regex2-ENV): Likewise.
35721         (bug-regex5-ENV): Likewise.
35722         (bug-regex6-ENV): Likewise.
35723         (bug-regex17-ENV): Likewise.
35724         (bug-regex18-ENV): Likewise.
35725         (bug-regex19-ENV): Likewise.
35726         (bug-regex20-ENV): Likewise.
35727         (bug-regex22-ENV): Likewise.
35728         (bug-regex23-ENV): Likewise.
35729         (bug-regex25-ENV): Likewise.
35730         (bug-regex26-ENV): Likewise.
35731         (bug-regex30-ENV): Likewise.
35732         (bug-regex32-ENV): Likewise.
35733         (bug-regex33-ENV): Likewise.
35734         (bug-regex34-ENV): Likewise.
35735         (bug-regex35-ENV): Likewise.
35736         (tst-rxspencer-ENV): Likewise.
35737         (tst-rxspencer-no-utf8-ENV): Likewise.
35738         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
35739         (tst-sscanf-ENV): Likewise.
35740         (tst-swprintf-ENV): Likewise.
35741         (tst-swscanf-ENV): Likewise.
35742         (test-vfprintf-ENV): Likewise.
35743         (scanf13-ENV): Likewise.
35744         (bug14-ENV): Likewise.
35745         (tst-grouping-ENV): Likewise.
35746         * stdlib/Makefile (tst-strtod-ENV): Likewise.
35747         (tst-strtod3-ENV): Likewise.
35748         (tst-strtod4-ENV): Likewise.
35749         (tst-strtod5-ENV): Likewise.
35750         (testmb2-ENV): Likewise./
35751         * string/Makefile (tst-strxfrm-ENV): Likewise.
35752         (tst-strxfrm2-ENV): Likewise.
35753         (bug-strcoll1-ENV): Likewise.
35754         (test-strcasecmp-ENV): Likewise.
35755         (test-strncasecmp-ENV): Likewise.
35756         * time/Makefile (tst-strptime-ENV): Likewise.
35757         (tst-ftime_l-ENV): Likewise.
35758         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
35759         (tst-mbrtowc-ENV): Likewise.
35760         (tst-wcrtomb-ENV): Likewise.
35761         (tst-mbrtowc2-ENV): Likewise.
35762         (tst-c16c32-1-ENV): Likewise.
35763         (tst-mbsnrtowcs-ENV): Likewise.
35765 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35767         * manual/resource.texi (How to get information about the memory
35768         subsystem?): Fix typo.
35769         Reported by Peon de la Parra Ivan <peon@keba.com>
35771 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
35773         [BZ #16882]
35774         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
35775         (pthread_spin_lock): Branch out of spin loop to proper location.
35776         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
35777         (pthread_spin_lock): Likewise.
35779         * nptl/tst-spin4.c: New test.
35780         * nptl/Makefile (tests): Add tst-spin4.
35782 2014-06-03  Andreas Schwab  <schwab@suse.de>
35784         [BZ #15946]
35785         * resolv/res_send.c (send_dg): Reload file descriptor after
35786         calling reopen.
35788 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
35790         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35792 2014-06-03  Richard Henderson  <rth@redhat.com>
35794         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
35795         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
35796         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
35797         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
35798         in the SAVE_PID block.
35799         (__libc_vfork): New alias.
35800         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
35802         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
35803         child in registers, not on the stack.  Remove RESET_PID conditionals.
35804         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
35806 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35808         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35810 2014-06-03  Wilco  <wdijkstr@arm.com>
35812         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
35813         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
35814         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35815         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
35816         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
35817         Likewise.
35819 2014-06-03  Wilco  <wdijkstr@arm.com>
35821         * sysdeps/aarch64/fpu/math_private.h
35822         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
35823         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
35824         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
35825         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35826         Fix declarations.
35828 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35830         * crypt/crypt-private.h: Include ufc-crypt.h.
35831         (__b64_from_24bit): Declare extern.
35832         * crypt/crypt_util.c(__b64_from_24bit): New function.
35833         (b64t): New static const variable.
35834         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
35835         (b64t): Remove variable.
35836         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
35837         * crypt/sha256-crypt.c: Include crypt-private.h.
35838         (b64t): Remove variable.
35839         (__sha256_crypt_r): Remove b64_from_24bit and replace
35840         with __b64_from_24bit.
35841         * crypt/sha512-crypt.c: Likewise.
35843 2014-06-02  Roland McGrath  <roland@hack.frob.com>
35845         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
35846         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
35847         Label the code __libc_vfork rather than __vfork.
35848         [!NOT_IN_libc] (vfork): Define as weak alias.
35849         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
35850         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
35851         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
35853 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35855         * malloc/malloc.c (malloc_info): Fix format specifier for
35856         n_mmaps.
35858 2014-06-02  Wilco  <wdijkstr@arm.com>
35860         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
35861         FPCR write.
35863 2014-06-02  Wilco  <wdijkstr@arm.com>
35865         [BZ #17009]
35866         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
35867         Rewrite to reduce FPCR/FPSR accesses.
35869 2014-06-01  David S. Miller  <davem@davemloft.net>
35871         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35873 2014-05-31  David S. Miller  <davem@davemloft.net>
35875         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
35876         to occur in round to nearest mode when |x| >= 2.0
35878 2014-05-30  Richard Henderson  <rth@twiddle.net>
35880         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
35881         (PSEUDO_RET_NOERRNO): Remove.
35882         (ret): Don't redefine.
35883         (ret_NOERRNO): Define in terms of ret.
35884         (ret_ERRVAL): Likewise.
35886         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
35887         use of PSEUDO_RET; perform the error check directly.
35889 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
35891         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
35892         with __int128_t.
35894 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35896         * malloc/malloc (malloc_info): Fix formatting.
35898 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35899             Roland McGrath  <roland@hack.frob.com>
35901         * malloc/malloc (malloc_info): Also print mmapped statistics.
35903 2014-05-30  Roland McGrath  <roland@hack.frob.com>
35905         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
35906         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
35908 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
35910         * malloc/malloc.c (malloc_info): Inline mi_arena.
35912 2014-05-29  Richard Henderson  <rth@twiddle.net>
35914         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
35915         Remove comma before expanding ASM_ARGS_##nr.
35916         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
35917         Make _x0 a strict output; make _x8 a strict input; adjust expansion
35918         of ASM_ARGS_##nr.
35919         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
35920         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
35921         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
35922         (ASM_ARGS_1): Add leading comma.
35924         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
35925         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
35926         to __errno_location.
35927         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
35928         Remove the expected plt for __errno_location.
35930         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35931         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
35932         call to __read_tp.
35934         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35935         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
35936         it and break it down.
35937         (DOCARGS_0, DOCARGS_1): Do nothing.
35938         (DOCARGS_2): Update to store into the new stack frame.
35939         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
35940         (UNDOCARGS_1): Update to restore from the new stack frame.
35941         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
35942         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
35944         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35945         (SINGLE_THREAD_P): New parameter for result regno.
35946         (PSEUDO): Update to match; use cbz instead of beq.
35948         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35949         Use ENTRY to define the _nocancel entry point.  Share the syscall
35950         and syscall error check paths with the cancel path.
35951         (PSEUDO_END): New.
35953         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
35954         whitespace; tabs before and after asm mnemonics.
35956 2014-05-29  Eric Wong  <normalperson@yhbt.net>
35958         [BZ #15132]
35959         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35960         Call fstat64 or stat64 internally, depending on arguments passed.
35961         Replace stat buffer argument with file descriptor argument.
35962         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
35963         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35964         Pass fd to __internal_statvfs instead of calling fstat64.
35965         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
35966         Pass fd to __internal_statvfs64 instead of calling fstat64.
35967         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
35968         Pass -1 to __internal_statvfs instead of calling stat64.
35969         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
35970         Pass -1 to __internal_statvfs64 instead of calling stat64.
35972 2014-05-28  Roland McGrath  <roland@hack.frob.com>
35974         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
35975         that was previously under [RESET_PID].
35976         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
35978         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
35979         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
35981 2014-05-27  Roland McGrath  <roland@hack.frob.com>
35983         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
35985         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
35986         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
35988 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
35990         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
35992 2014-05-27  Andreas Schwab  <schwab@suse.de>
35994         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
35995         TLS_INIT_TP macro.
35996         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
35997         * elf/rtld.c (init_tls, dl_main): Likewise.
35998         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
35999         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
36000         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
36001         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
36002         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
36003         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
36004         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
36005         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
36006         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
36007         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
36008         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
36009         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
36010         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
36011         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
36012         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
36013         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
36014         * sysdeps/generic/tls.h: Update description.
36016 2014-05-27  Will Newton  <will.newton@linaro.org>
36018         [BZ #16990]
36019         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
36020         and restore r2 rather than just restoring.
36022 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36024         [BZ #16724]
36025         * libio/tst-ftell-append.c: New test case.
36026         * libio/Makefile (tests): Add test case.
36027         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
36028         append mode.
36029         * libio/wfileops.c (do_ftell_wide): Likewise.
36031 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36033         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36035         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
36036         ...
36037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
36038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
36039         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
36040         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
36041         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
36042         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
36043         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
36044         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
36045         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36046         Moved ...
36047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
36048         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36049         Moved ...
36050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
36051         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
36052         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
36053         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
36054         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
36055         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
36056         ...
36057         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
36058         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
36059         Moved ...
36060         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
36061         here.
36062         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
36063         ...
36064         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
36065         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
36066         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
36068         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
36069         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
36070         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
36071         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
36073         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
36074         merge into ...
36075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
36076         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
36077         ...
36078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
36079         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
36080         ...
36081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
36082         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36083         Moved ...
36084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
36085         here.
36086         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36087         Moved ...
36088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
36089         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36090         Moved ...
36091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
36093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
36094         conditional [RESET_PID].
36095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
36096         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
36097         removed.
36098         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
36099         removed.
36101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
36102         <tcb-offsets.h>.
36103         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36104         (__libc_vfork): New strong alias.
36105         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
36106         removed.
36107         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
36108         Removed.
36110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
36111         <tcb-offsets.h>.
36112         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
36113         (__libc_vfork): New strong alias.
36114         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
36115         removed.
36116         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
36117         removed.
36119 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
36121         * malloc/malloc.c (mi_arena): New function.
36122         (malloc_info): Remove nested function mi_arena. Call non-nosted
36123         function mi_arena.
36125 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36127         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
36128         by insrwi.
36129         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
36130         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
36131         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
36132         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
36133         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
36134         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
36135         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
36137 2014-05-26  Andreas Schwab  <schwab@suse.de>
36139         [BZ #16984]
36140         * locale/programs/repertoire.c (repertoire_read): Add slash
36141         between I18NPATH element and file name.
36142         * locale/programs/locfile.c (locfile_read): Likewise.
36144 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36146         * nptl/pthread_mutexattr_settype.c
36147         (__pthread_mutexattr_settype):
36148         Disable lock elision for PTHREAD_MUTEX_NORMAL.
36150 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36152         * nptl/tst-mutex5 (do_test):
36153         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
36155 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36157         * benchtests/README: Document 'init' directive.
36158         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
36159         BENCH_INIT.
36160         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
36161         (parse_file): Recognize 'init' directive.
36163 2014-05-26  Kyle McMartin  <kyle@redhat.com>
36165         [BZ #16796]
36166         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
36167         alignment of struct pthread.
36169 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36171         [BZ #16878]
36172         * nscd/netgroupcache.c (addgetnetgrentX): Look for
36173         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36174         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
36175         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36177 2014-05-25  Richard Henderson  <rth@twiddle.net>
36179         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36180         (SINGLE_THREAD_P_PIC): Remove.
36181         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
36182         (SINGLE_THREAD_P_PIC): Remove.
36184         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
36185         branch to syscall error ...
36186         (PSEUDO): ... here.
36187         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
36188         from __local_syscall_error to .Lsyscall_error.
36189         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
36190         (SYSCALL_ERROR): Update label name.
36192         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36193         Do not use DOARGS/UNDOARGS.
36194         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
36195         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
36196         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
36197         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
36198         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
36200         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
36201         block comment.
36203         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
36204         define if !NOT_IN_libc.
36205         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
36206         define with non-default symbol versions.
36208 2014-05-23  Richard Henderson  <rth@twiddle.net>
36210         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
36211         (vfork, __vfork): Define via compat_symbol.
36213         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
36214         [!HAVE_IFUNC] (vfork_compat): Remove.
36215         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
36217 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36219         [BZ #16978]
36220         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
36221         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
36222         variable.
36224 2014-05-23  Richard Henderson  <rth@twiddle.net>
36226         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
36227         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
36228         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
36229         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
36231         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
36232         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
36233         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
36234         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
36235         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
36236         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
36237         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
36238         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
36239         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
36240         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
36241         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
36242         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
36243         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
36244         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
36245         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
36246         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
36247         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
36248         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
36249         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
36250         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
36251         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
36252         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
36253         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
36254         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
36255         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
36256         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
36257         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
36258         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
36259         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
36260         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
36261         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
36262         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
36263         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
36264         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
36265         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
36266         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
36267         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
36268         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
36269         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
36270         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
36271         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
36272         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
36273         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
36274         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
36275         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
36276         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
36277         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
36278         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
36279         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
36280         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
36281         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
36282         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
36283         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
36284         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
36285         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
36286         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
36288         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
36289         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
36290         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
36291         before exiting on error.
36292         (__libc_vfork): New strong alias.
36293         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
36294         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
36296         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
36297         that was previously under [RESET_PID].
36298         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
36300         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
36302 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36304         [BZ #16977]
36305         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
36306         value when x - 1 is zero.
36307         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
36308         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
36309         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
36310         0.0L for an argument of 1.0L.
36311         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
36312         Likewise.
36313         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
36314         value when x - 1 is zero.
36315         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
36316         * sysdeps/i386/fpu/libm-test-ulps: Update.
36317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36319 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
36321         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
36322         alphasort and versionsort.
36324 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36326         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
36327         macro.
36328         [copysignf]: Likewise.
36330 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36332         * crypt/md5-crypt.c: Fix formatting.
36334 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36336         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
36337         (b64_from_24bit): New function.
36339 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36341         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
36342         libc_hidden_builtin_def to ifunc.
36343         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36344         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
36346 2014-05-21  Roland McGrath  <roland@hack.frob.com>
36348         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
36349         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
36351 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
36353         * nscd/Depend (linuxthreads): Remove.
36354         (nptl): Add.
36355         * resolv/Depend (linuxthreads): Remove.
36356         * rt/Depend (linuxthreads): Remove.
36358         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
36359         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
36360         $(common-objpfx)elf/.
36361         (link-libc-before-gnulib): Likewise.
36362         (elfobjdir): Remove variable.
36363         * Makefile (install): Use $(elf-objpfx) instead of
36364         $(common-objpfx)elf/.
36365         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
36366         $(elfobjdir)/.
36367         (link-libc-deps): Likewise.
36368         ($(common-objpfx)libc.so): Likewise.
36369         ($(common-objpfx)linkobj/libc.so): Likewise.
36370         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
36371         instead of $(common-objpfx)elf/.
36372         (symbolic-link-list): Likewise.
36373         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36374         [$(cross-compiling) = no]: Likewise.
36375         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
36376         $(elfobjdir)/.
36377         (static-gnulib-arch): Likewise.
36378         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36379         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
36380         $(common-objpfx)elf/.
36382 2014-05-21  Richard Henderson  <rth@redhat.com>
36384         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36385         (SINGLE_THREAD_P): Use the correct width load.  Fold
36386         into the ldr offset.
36388         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
36389         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
36391 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
36393         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
36394         (libgcc_s_resume): Use __attribute_used__.
36395         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
36396         Likewise.
36398 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36400         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
36401         optimization when used with float constants.
36403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36405 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
36407         [BZ #16915]
36408         * locale/nl_langinfo_l.c: Make direct reference to every
36409         _nl_current_CATEGORY symbol.
36410         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
36411         (tests-static): Add tst-langinfo-static.
36412         (tests-special): Add tst-langinfo-static.out.
36413         ($(objpfx)tst-langinfo.out): Redirect output.
36414         ($(objpfx)tst-langinfo-static.out): New.
36415         * localedata/tst-langinfo.sh: Send output to stdout.
36416         * localedata/tst-langinfo-static.c: New file.
36418         [BZ #16965]
36419         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
36420         when the shift amount is modulo the limb size.
36422 2014-05-20  Richard Henderson  <rth@redhat.com>
36424         [BZ #16967]
36425         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
36426         Change type of sa_flags from unsigned int to int.
36428         [BZ #16966]
36429         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
36431         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
36433 2014-05-20  Will Newton  <will.newton@linaro.org>
36435         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36436         Test the return value of the system call in the nocancel case.
36438 2014-05-20  Will Newton  <will.newton@linaro.org>
36439             Yvan Roux  <yvan.roux@linaro.org>
36441         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
36442         #include of asm/ptrace.h.
36443         (PTRACE_GET_THREAD_AREA): Remove #undef.
36444         (PTRACE_GETHBPREGS): Likewise.
36445         (PTRACE_SETHBPREGS): Likewise.
36446         (struct user_regs_struct): New structure.
36447         (struct user_fpsimd_struct): New structure.
36448         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
36449         #include of asm/ptrace.h and second #include of sys/user.h.
36450         (PTRACE_GET_THREAD_AREA): Remove #undef.
36451         (PTRACE_GETHBPREGS): Likewise.
36452         (PTRACE_SETHBPREGS): Likewise.
36453         (ELF_NGREG): Use new struct user_regs_struct.
36454         (elf_fpregset_t): Use new struct user_fpsimd_struct.
36456 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36458         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
36459         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
36461 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
36463         [BZ #16958]
36464         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
36465         membar to avoid block loads/stores to overlap previous stores.
36467 2014-05-17  Richard Henderson  <rth@redhat.com>
36469         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
36470         Create the __##syscall_name##_nocancel entry point.
36471         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
36472         Remove; let the sysdep-cancel.h code create it.
36474 2014-05-17  David S. Miller  <davem@davemloft.net>
36476         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
36477         Protect with __USE_GNU.
36478         (TIOCSET_TEMPT): Likewise.
36479         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36480         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
36481         these are already provided in bits/ioctl-types.h
36483 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36485         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
36486         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
36488         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
36489         Use wait4 regardless of [__NR_waitpid].
36491 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
36493         PR libgcc/60166
36494         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36495         (_FP_NANSIGN_Q): Set the quiet bit.
36497 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
36499         * benchtests/Makefile
36500         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
36501         not $(common-objpfx)math/libm.so.
36502         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
36503         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
36504         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
36505         $(common-objpfx)dlfcn/libdl.so.
36506         ($(objpfx)tst-audit8): Depend on $(libm), not
36507         $(common-objpfx)math/libm.so.
36508         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
36509         not $(common-objpfx)dlfcn/libdl.so.
36510         * math/Makefile
36511         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
36512         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
36513         [$(build-shared) = yes].
36514         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
36515         $(common-objpfx)nptl/libpthread.so.
36516         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
36517         $(common-objpfx)math/libm.so$(libm.so-version) or
36518         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
36519         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
36520         $(common-objpfx)dlfcn/libdl.so.
36521         * setjmp/Makefile (link-libm): Remove variable.
36522         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
36523         * stdio-common/Makefile (link-libm): Remove variable.
36524         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
36525         * stdlib/Makefile (link-libm): Remove variable.
36526         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
36527         ($(objpfx)tst-strtod-round): Likewise.
36528         ($(objpfx)tst-tininess): Likewise.
36529         ($(objpfx)tst-strtod-underflow): Likewise.
36530         ($(objpfx)tst-strtod6): Likewise.
36531         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
36532         $(libdl), not $(common-objpfx)nptl/libpthread.so and
36533         $(common-objpfx)dlfcn/libdl.so.
36535 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36537         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
36538         BSD terminal modes definitions.
36540 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36542         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
36543         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
36545         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
36546         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
36547         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
36548         Don't do #include_next.
36549         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
36550         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
36551         Don't do #include_next.
36552         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
36553         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
36554         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
36555         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
36557 2014-05-16  Allan McRae  <allan@archlinux.org>
36559         * po/sv.po: Update Swedish translation from translation project.
36561         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
36562         in sed expression.
36564 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
36566         [BZ #16917]
36567         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
36568         errno if the TIOCGPTN ioctl fails with an error different than
36569         EINVAL.
36570         * login/tst-ptsname.c: New file.
36571         * login/Makefile (tests): Add tst-ptsname.
36573         [BZ #16943]
36574         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
36575         and prlimit64.
36577 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36579         [BZ #16849]
36580         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
36581         herrno to return EAI_AGAIN.
36583 2014-05-14  Roland McGrath  <roland@hack.frob.com>
36585         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
36586         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
36587         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
36588         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
36589         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
36590         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
36591         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
36592         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
36593         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
36594         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
36595         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
36596         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
36597         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
36598         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
36599         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
36600         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
36601         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
36602         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
36603         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
36604         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
36605         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
36606         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
36607         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
36608         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
36609         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
36610         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
36611         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
36612         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
36613         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
36614         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
36615         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
36616         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
36617         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
36618         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
36619         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36620         Moved ...
36621         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
36622         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
36623         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
36624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
36625         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
36626         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
36627         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
36628         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
36629         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
36630         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
36631         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
36632         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
36633         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
36634         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
36635         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
36636         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
36637         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
36638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
36639         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
36640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
36641         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
36642         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
36643         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
36644         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
36645         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
36646         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
36647         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
36648         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36649         Moved ...
36650         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
36651         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
36652         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
36653         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
36654         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
36655         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
36656         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
36657         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
36658         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
36659         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
36660         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
36661         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
36662         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
36663         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
36664         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
36665         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
36666         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
36667         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
36668         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
36669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36670         Moved ...
36671         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
36672         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
36673         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
36675         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
36676         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
36677         (libpthread-sysdep_routines): Add elision-related stuff here instead.
36678         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
36679         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
36680         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
36681         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
36682         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
36683         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
36684         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
36685         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
36686         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
36687         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
36688         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
36689         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
36690         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
36691         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
36692         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
36693         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
36694         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
36695         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
36696         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
36697         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
36698         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
36699         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
36700         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
36701         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
36702         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
36703         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
36704         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
36705         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
36707         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
36708         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
36710         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
36711         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
36712         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
36713         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
36714         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
36715         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
36716         Moved ...
36717         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
36718         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
36719         Moved ...
36720         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
36721         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
36722         Moved ...
36723         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
36724         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
36725         Moved ...
36726         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
36727         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
36728         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
36729         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
36730         Moved ...
36731         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
36732         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
36733         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
36734         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
36735         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
36736         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
36737         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
36738         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
36739         Moved ...
36740         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
36741         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36742         Moved ...
36743         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36744         ... here.
36745         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
36746         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
36747         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
36748         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
36749         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36750         Moved ...
36751         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36752         ... here.
36753         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
36754         Moved ...
36755         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
36756         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
36757         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
36758         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
36759         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
36760         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
36761         Moved ...
36762         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
36763         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
36764         Moved ...
36765         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
36766         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
36767         Moved ...
36768         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
36769         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
36770         Moved ...
36771         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
36772         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
36773         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
36774         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
36775         Moved ...
36776         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
36777         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
36778         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
36779         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
36780         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
36781         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
36782         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
36783         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
36784         Moved ...
36785         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
36786         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36787         Moved ...
36788         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36789         ... here.
36790         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
36791         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
36792         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
36793         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
36794         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36795         Moved ...
36796         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36797         ... here.
36798         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
36799         Moved ...
36800         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
36801         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
36802         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
36803         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
36804         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
36805         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
36806         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
36807         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
36808         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
36809         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
36810         Moved ...
36811         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
36812         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
36813         Moved ...
36814         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
36815         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
36816         Moved ...
36817         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
36818         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
36819         Moved ...
36820         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
36821         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
36822         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
36823         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
36824         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
36825         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
36826         Moved ...
36827         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
36828         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
36829         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
36830         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
36831         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
36832         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
36833         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
36834         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
36835         Moved ...
36836         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
36837         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36838         Moved ...
36839         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36840         ... here.
36841         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
36842         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
36843         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
36844         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
36845         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36846         Moved ...
36847         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36848         ... here.
36849         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
36850         Moved ...
36851         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
36852         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
36853         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
36854         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
36855         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
36856         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
36857         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
36858         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
36859         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
36860         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
36861         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
36863         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
36864         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
36866         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
36867         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
36869         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
36870         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
36871         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
36872         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
36873         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
36874         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
36875         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
36876         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
36877         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
36878         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
36879         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
36880         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
36881         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
36882         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
36883         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
36884         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
36885         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
36886         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
36887         Moved ...
36888         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
36889         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
36890         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
36891         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
36892         Moved ...
36893         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
36894         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
36895         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
36896         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
36897         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
36898         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
36899         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
36900         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
36901         Moved ...
36902         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
36903         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
36904         Moved ...
36905         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
36906         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
36907         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
36908         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
36909         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
36910         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
36911         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
36912         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
36913         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
36914         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
36915         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
36916         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
36917         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
36918         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
36919         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
36920         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
36921         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
36923         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
36924         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
36925         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
36926         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
36927         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
36929         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
36930         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
36931         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
36932         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
36933         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
36934         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
36935         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
36936         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
36937         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
36938         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
36940         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
36941         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
36943         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
36944         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
36945         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
36946         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
36947         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
36948         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
36949         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
36950         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
36951         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
36952         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
36953         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
36954         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
36955         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
36956         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
36957         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
36958         Update #include.
36959         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
36960         Likewise.
36961         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36962         Likewise.
36963         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36964         Likewise.
36965         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36966         Likewise.
36967         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
36968         Likewise.
36969         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
36970         Likewise.
36971         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36972         Likewise.
36973         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
36974         Likewise.
36975         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
36976         Likewise.
36977         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
36978         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
36979         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
36980         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
36981         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
36982         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
36983         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
36984         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
36985         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
36986         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
36987         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
36988         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
36989         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
36990         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
36991         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
36993         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
36994         that was previously under [RESET_PID].
36995         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36996         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
36997         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
36999         * sysdeps/i386/nptl/Implies: New file.
37000         * sysdeps/x86_64/nptl/Implies: New file.
37001         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
37002         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
37003         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
37004         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
37006         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
37007         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37008         (__libc_vfork): New strong alias.
37009         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
37010         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
37012         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
37013         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37014         (__libc_vfork): New strong alias.
37015         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
37016         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
37018         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
37019         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37020         (__libc_vfork): New strong alias.
37021         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
37022         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
37023         * nptl/pt-vfork.c: New file.
37024         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
37025         (libpthread: GLIBC_2.20): New version set (empty).
37027 2014-05-14  Will Newton  <will.newton@linaro.org>
37029         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
37030         rather than #if.
37032 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37034         [BZ #16564]
37035         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
37036         arguments with exponent 65 or above.
37037         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
37038         arguments 0x1p113L or above.
37039         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
37040         to arguments 0x1p107L or above.
37041         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
37042         positive arguments with exponent 65 or above.
37043         * math/auto-libm-test-in: Add more tests of log1p.
37044         * math/auto-libm-test-out: Regenerated.
37046         [BZ #16928]
37047         * math/s_cacos.c (__cacos): Ensure zero real part of result from
37048         non-finite arguments is +0.
37049         * math/s_cacosf.c (__cacosf): Likewise.
37050         * math/s_cacosl.c (__cacosl): Likewise.
37051         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
37052         * sysdeps/i386/fpu/libm-test-ulps: Update.
37053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37055         [BZ #16927]
37056         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
37057         value.
37058         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
37059         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
37060         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
37061         for explicit high bit of mantissa when testing for argument equal
37062         to 1.
37063         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
37064         * sysdeps/i386/fpu/libm-test-ulps: Update.
37065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37067         [BZ #16516]
37068         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
37069         (__erf): Scale by 16 instead of 8 in potentially underflowing
37070         case.  Ensure exception if result actually underflows.
37071         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
37072         (__erff): Scale by 16 instead of 8 in potentially underflowing
37073         case.  Ensure exception if result actually underflows.
37074         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
37075         (efx8): Remove variable.
37076         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37077         case.  Ensure exception if result actually underflows.
37078         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
37079         (efx8): Remove variable.
37080         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37081         case.  Ensure exception if result actually underflows.
37082         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
37083         (efx8): Remove variable.
37084         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37085         case.  Ensure exception if result actually underflows.
37086         * math/auto-libm-test-in: Add more tests of erf.
37087         * math/auto-libm-test-out: Regenerated.
37089 2014-05-14  Andreas Schwab  <schwab@suse.de>
37091         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
37092         Remove code conditionalized on USE___THREAD.
37094         * config.h.in (HAVE_PT_CHOWN): Define as 0.
37095         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
37096         not definedness.
37098 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37100         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
37101         Define unconditionally.
37102         (__ASSUME_O_CLOEXEC): Likewise.
37103         (__ASSUME_SOCK_CLOEXEC): Likewise.
37104         (__ASSUME_IN_NONBLOCK): Likewise.
37105         (__ASSUME_PIPE2): Likewise.
37106         (__ASSUME_EVENTFD2): Likewise.
37107         (__ASSUME_SIGNALFD4): Likewise.
37108         (__ASSUME_DUP3): Likewise.
37109         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37110         (__ASSUME_DUP3): Do not define.
37111         (__ASSUME_EVENTFD2): Likewise.
37112         (__ASSUME_IN_NONBLOCK): Likewise.
37113         (__ASSUME_O_CLOEXEC): Likewise.
37114         (__ASSUME_PIPE2): Likewise.
37115         (__ASSUME_SIGNALFD4): Likewise.
37116         (__ASSUME_SOCK_CLOEXEC): Likewise.
37117         (__ASSUME_UTIMES): Undefine.
37118         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37119         (__ASSUME_UTIMES): Do not define.
37120         (__ASSUME_O_CLOEXEC): Likewise.
37121         (__ASSUME_SOCK_CLOEXEC): Likewise.
37122         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
37123         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
37124         0x020621].
37125         (__ASSUME_PIPE2): Likewise.
37126         (__ASSUME_EVENTFD2): Likewise.
37127         (__ASSUME_SIGNALFD4): Likewise.
37128         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
37129         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
37130         Do not define.
37131         (__ASSUME_EVENTFD2): Likewise.
37132         (__ASSUME_SIGNALFD4): Likewise.
37133         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37134         (__ASSUME_32BITUIDS): Likewise.
37135         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37136         (__ASSUME_IPC64): Likewise.
37137         (__ASSUME_ST_INO_64_BIT): Likewise.
37138         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
37139         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
37140         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37141         (__ASSUME_UTIMES): Do not define.
37142         (__ASSUME_PSELECT): Likewise.
37143         (__ASSUME_PPOLL): Likewise.
37144         (__ASSUME_O_CLOEXEC): Likewise.
37145         (__ASSUME_SOCK_CLOEXEC): Likewise.
37146         (__ASSUME_IN_NONBLOCK): Likewise.
37147         (__ASSUME_PIPE2): Likewise.
37148         (__ASSUME_EVENTFD2): Likewise.
37149         (__ASSUME_SIGNALFD4): Likewise.
37150         (__ASSUME_DUP3): Likewise.
37151         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37152         (__ASSUME_UTIMES): Likewise.
37153         (__ASSUME_O_CLOEXEC): Likewise.
37154         (__ASSUME_SOCK_CLOEXEC): Likewise.
37155         (__ASSUME_IN_NONBLOCK): Likewise.
37156         (__ASSUME_PIPE2): Likewise.
37157         (__ASSUME_EVENTFD2): Likewise.
37158         (__ASSUME_SIGNALFD4): Likewise.
37159         (__ASSUME_DUP3): Likewise.
37160         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37161         (__ASSUME_UTIMES): Likewise.
37162         (__ASSUME_O_CLOEXEC): Likewise.
37163         (__ASSUME_SOCK_CLOEXEC): Likewise.
37164         (__ASSUME_IN_NONBLOCK): Likewise.
37165         (__ASSUME_PIPE2): Likewise.
37166         (__ASSUME_EVENTFD2): Likewise.
37167         (__ASSUME_SIGNALFD4): Likewise.
37168         (__ASSUME_DUP3): Likewise.
37169         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
37170         Likewise.
37171         (__ASSUME_UTIMES): Likewise.
37172         (__ASSUME_EVENTFD2): Likewise.
37173         (__ASSUME_SIGNALFD4): Likewise.
37174         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37175         (__ASSUME_O_CLOEXEC): Likewise.
37176         (__ASSUME_SOCK_CLOEXEC): Likewise.
37177         (__ASSUME_IN_NONBLOCK): Likewise.
37178         (__ASSUME_PIPE2): Likewise.
37179         (__ASSUME_EVENTFD2): Likewise.
37180         (__ASSUME_SIGNALFD4): Likewise.
37181         (__ASSUME_DUP3): Likewise.
37182         (__ASSUME_UTIMES): Undefine.
37184         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
37185         feclearexcept.  Remove symbol versioning code.
37186         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
37187         symbol versioning code.
37188         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
37189         symbol versioning code.
37190         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
37191         feupdateenv.  Remove symbol versioning code.
37192         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
37193         fegetexceptflag.  Remove symbol versioning code.
37194         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
37195         fesetexceptflag.  Remove symbol versioning code.
37196         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
37197         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
37198         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
37199         (__posix_fadvise64_l32): Remove prototype.
37200         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
37201         code.
37203 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37205         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
37206         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
37207         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
37208         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
37210 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
37212         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
37213         current working directory
37215 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37217         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
37218         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
37219         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
37220         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
37221         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
37222         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
37223         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
37224         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
37225         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
37226         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
37227         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
37228         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
37229         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
37230         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
37231         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
37232         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
37233         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
37234         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
37235         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
37236         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
37237         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
37238         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
37239         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
37240         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
37241         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
37242         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
37243         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
37244         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
37245         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
37246         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
37247         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
37248         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
37249         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
37250         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
37251         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
37252         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
37253         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
37254         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
37255         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
37256         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
37257         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
37258         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
37260         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
37261         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
37263         * sysdeps/unix/sysv/linux/arm/Makefile
37264         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37265         Add rt-aeabi_unwind_cpp_pr1.
37266         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
37267         Add nptl-aeabi_unwind_cpp_pr1.
37268         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
37269         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
37270         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
37271         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37272         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
37273         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37275         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
37276         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
37277         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
37278         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
37280         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
37281         Deconditionalize the code that was previously under [RESET_PID].
37282         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
37284         * sysdeps/generic/exit-thread.h: New file.
37285         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
37286         * include/unistd.h (__exit_thread): Remove declaration.
37287         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
37288         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
37289         * csu/libc-start.c: Include <exit-thread.h>.
37290         (LIBC_START_MAIN): Pass no argument to __exit_thread.
37291         * nptl/pthread_create.c: Include <exit-thread.h>.
37292         (start_thread): Call __exit_thread in place of __exit_thread_inline.
37293         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
37294         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
37295         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
37296         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
37297         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
37298         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
37299         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
37300         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
37301         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
37302         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
37303         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
37304         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
37305         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
37306         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
37307         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
37308         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
37310 2014-05-13  Andreas Schwab  <schwab@suse.de>
37312         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
37314 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
37316         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
37317         (__ASSUME_UTIMES): Do not condition on kernel version.
37318         (__ASSUME_PSELECT): Define unconditionally.
37319         (__ASSUME_PPOLL): Likewise.
37320         (__ASSUME_ATFCTS): Likewise.
37321         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
37322         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
37323         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
37324         (__ASSUME_UTIMENSAT): Define unconditionally.
37325         (__ASSUME_PRIVATE_FUTEX): Likewise.
37326         (__ASSUME_FALLOCATE): Likewise.
37327         (__ASSUME_O_CLOEXEC): Likewise.
37328         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
37329         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
37330         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
37331         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
37332         (__ASSUME_IN_NONBLOCK): Likewise.
37333         (__ASSUME_PIPE2): Likewise.
37334         (__ASSUME_EVENTFD2): Likewise.
37335         (__ASSUME_SIGNALFD4): Likewise.
37336         (__ASSUME_DUP3): Likewise.
37337         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37338         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
37339         (__ASSUME_AT_RANDOM): Likewise.
37340         (__ASSUME_PREADV): Likewise.
37341         (__ASSUME_PWRITEV): Likewise.
37342         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
37343         (__ASSUME_F_GETOWN_EX): Define unconditionally.
37344         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
37345         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37346         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
37347         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37348         (__ASSUME_O_CLOEXEC): Define unconditionally.
37349         (__ASSUME_PSELECT): Do not undefine conditionally.
37350         (__ASSUME_PPOLL): Likewise.
37351         (__ASSUME_ATFCTS): Likewise.
37352         (__ASSUME_SET_ROBUST_LIST): Likewise.
37353         (__ASSUME_UTIMENSAT): Likewise.
37354         (__ASSUME_FDATASYNC): Define unconditionally.
37355         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37356         (__ASSUME_SIGFRAME_V2): Likewise.
37357         )__ASSUME_EVENTFD2): Likewise.
37358         (__ASSUME_SIGNALFD4): Likewise.
37359         (__ASSUME_PSELECT): Do not undefine conditionally.
37360         (__ASSUME_PPOLL): Likewise.
37361         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37362         (__ASSUME_PSELECT): Define unconditionally.
37363         (__ASSUME_PPOLL): Likewise.
37364         (__ASSUME_O_CLOEXEC): Likewise.
37365         (__ASSUME_SOCK_CLOEXEC): Likewise.
37366         (__ASSUME_IN_NONBLOCK): Likewise.
37367         (__ASSUME_PIPE2): Likewise.
37368         (__ASSUME_EVENTFD2): Likewise.
37369         (__ASSUME_SIGNALFD4): Likewise.
37370         (__ASSUME_DUP3): Likewise.
37371         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37372         (__ASSUME_O_CLOEXEC): Likewise.
37373         (__ASSUME_SOCK_CLOEXEC): Likewise.
37374         (__ASSUME_IN_NONBLOCK): Likewise.
37375         (__ASSUME_PIPE2): Likewise.
37376         (__ASSUME_EVENTFD2): Likewise.
37377         (__ASSUME_SIGNALFD4): Likewise.
37378         (__ASSUME_DUP3): Likewise.
37379         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37380         (__ASSUME_EVENTFD2): Likewise.
37381         (__ASSUME_SIGNALFD4): Likewise.
37382         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37384 2014-05-12  Andreas Schwab  <schwab@suse.de>
37386         [BZ #16932]
37387         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
37388         (_nss_nis_gethostbyname4_r): Return error if item length is larger
37389         than maximum RPC packet size.
37390         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
37391         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
37392         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
37393         (_nss_nis_getservbyport_r): Likewise.
37395 2014-05-12  Will Newton  <will.newton@linaro.org>
37397         * malloc/Makefile (tests): Add tst-mallopt.
37398         * malloc/tst-mallopt.c: New file.
37400 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37402         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
37403         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
37405 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37407         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
37408         (tst-tlsmod6.so): Likewise.
37410 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37412         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
37414 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
37416         [BZ #16064]
37417         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
37418         and <dl-procinfo.h>.
37419         (__fegetenv): Save SSE state in envp->__eip if supported.
37420         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
37421         envp->__eip if supported.
37422         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
37423         and <dl-procinfo.h>.
37424         (__fesetenv): Always set __eip, __cs_selector, __opcode,
37425         __data_offset and __data_selector in environment to 0.  Set SSE
37426         state if supported.
37427         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
37428         test-fenv-sse.
37429         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
37430         -mfpmath=sse.
37431         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
37433 2014-05-09  Will Newton  <will.newton@linaro.org>
37435         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
37436         and libc_relro_required for ARM.
37437         * sysdeps/arm/preconfigure: Regenerate.
37439 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
37440             Stefan Liebler  <stli@linux.vnet.ibm.com>
37442         * config.make.in (enable-lock-elision): New Makefile variable.
37443         * configure.ac: Likewise.
37444         * configure: Regenerate.
37445         * sysdeps/s390/configure.ac:
37446         Add check for gcc transactions support.
37447         * sysdeps/s390/configure: Regenerate.
37448         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
37449         Build elision files if enabled.
37450         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
37451         Add lock elision support for s390.
37452         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
37453         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
37454         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
37455         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
37456         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
37457         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
37458         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37459         Likewise.
37460         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
37461         Likewise.
37462         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
37463         Likewise.
37464         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
37465         Likewise.
37466         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
37467         (__lll_timedlock_elision, __lll_lock_elision)
37468         (__lll_unlock_elision, __lll_trylock_elision)
37469         (lll_timedlock_elision, lll_lock_elision)
37470         (lll_unlock_elision, lll_trylock_elision): Add.
37471         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37472         (pthread_mutex_t): Add lock elision support for s390.
37474 2014-05-14  Wilco  <wdijkstr@arm.com>
37476         * sysdeps/arm/fclrexcpt.c: Cleanup.
37477         * sysdeps/arm/fedisblxcpt.c: Cleanup.
37478         * sysdeps/arm/feenablxcpt.c: Cleanup.
37479         * sysdeps/arm/fegetenv.c: Cleanup.
37480         * sysdeps/arm/fegetexcept.c: Cleanup.
37481         * sysdeps/arm/fegetround.c: Cleanup.
37482         * sysdeps/arm/feholdexcpt.c: Cleanup.
37483         * sysdeps/arm/fesetenv.c: Cleanup.
37484         * sysdeps/arm/fesetround.c: Cleanup.
37485         * sysdeps/arm/feupdateenv.c: Cleanup.
37486         * sysdeps/arm/fgetexcptflg.c: Cleanup.
37487         * sysdeps/arm/fraiseexcpt.c: Cleanup.
37488         * sysdeps/arm/fsetexcptflg.c: Cleanup.
37489         * sysdeps/arm/ftestexcept.c: Cleanup.
37490         * sysdeps/arm/get-rounding-mode.h: Cleanup.
37491         * sysdeps/arm/setfpucw.c: Cleanup.
37493 2014-05-09  Will Newton  <will.newton@linaro.org>
37495         * sysdeps/arm/armv7/strcmp.S: New file.
37496         * NEWS: Mention addition of ARMv7 optimized strcmp.
37498 2014-05-08  Roland McGrath  <roland@hack.frob.com>
37500         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
37501         look for %.ac rather than %.in.
37503         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
37504         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
37505         * sysdeps/mach/hurd/configure: Regenerated.
37506         * sysdeps/unix/sysv/linux/configure: Regenerated.
37508         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
37510 2014-05-07  Steve Ellcey  <sellcey@mips.com>
37512         [BZ# 16922]
37513         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
37514         (LONG_SUB): Ditto.
37515         (PTR_SUB): Ditto.
37517 2014-05-07  Andreas Schwab  <schwab@suse.de>
37519         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
37520         when skipping over non-matching result from nscd.
37522 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
37524         [BZ #16876]
37525         * nptl/sockperf.c (client): Check socket return value.
37527         [BZ #16877]
37528         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
37529         nscd security class.
37531 2014-05-06  Roland McGrath  <roland@hack.frob.com>
37533         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
37534         * sysdeps/arm/unwind.h: ... here.
37536 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
37538         [BZ# 16916]
37539         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
37540         Define.
37542 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37544         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
37545         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
37546         multiarch strncpy for PPC64.
37547         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
37548         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
37549         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
37550         multiarch optimizations.
37551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37552         (__libc_ifunc_impl_list): Likewise.
37553         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
37554         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
37555         multiarch stpncpy for PPC64.
37556         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
37557         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
37559 2014-05-06  Andreas Schwab  <schwab@suse.de>
37561         [BZ #16912]
37562         * gmon/mcount.c (_MCOUNT_DECL): Use
37563         atomic_compare_and_exchange_bool_acq instead of
37564         catomic_compare_and_exchange_bool_acq.
37566 2014-05-05  Roland McGrath  <roland@hack.frob.com>
37568         * elf/Makefile (others, install-bin): Remove pldd.
37569         (pldd-modules): Variable removed.
37570         ($(objpfx)pldd): Target removed.
37571         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
37572         (others, install-bin): Append pldd here.
37573         ($(objpfx)pldd): New target.
37575         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
37576         to 0, so the first #if test emitted later doesn't see it undefined.
37577         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
37578         * sysdeps/gnu/errlist.c: Regenerated.
37580 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37582         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37583         [libc_hidden_builtin_def]: Define to empty value.
37584         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
37585         [libc_hidden_builtin_def]: Likewise.
37586         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
37587         [libc_hidden_builtin_def]: Likewise.
37588         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
37589         [libc_hidden_builtin_def]: Likewise.
37590         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
37591         __redirect_memcpy and define ifunc as default hidden symbol.
37592         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
37593         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
37595 2014-05-04  Adam Conrad  <adconrad@0c3.net>
37597         * locale/iso-4217.def: Reintroduce XDR currency.
37599 2014-05-04  Allan McRae  <allan@archlinux.org>
37601         * po/eo.po: Update Esperanto translation from translation project.
37603 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
37605         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
37606         and FEATURE_INDEX_MAX to 1.
37607         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
37609 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37611         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
37612         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
37613         * iconvdata/big5.c (ONE_DIRECTION): Define.
37614         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
37615         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
37616         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
37617         * iconvdata/cp932.c (ONE_DIRECTION): Define.
37618         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
37619         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
37620         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
37621         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
37622         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
37623         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
37624         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
37625         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
37626         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
37627         * iconvdata/gbk.c (ONE_DIRECTION): Define.
37628         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
37629         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
37630         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
37631         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
37632         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
37633         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
37634         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
37635         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
37636         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
37637         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
37638         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
37639         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
37640         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
37641         * iconvdata/iso646.c (ONE_DIRECTION): Define.
37642         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
37643         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
37644         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
37645         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
37646         * iconvdata/johab.c (ONE_DIRECTION): Define.
37647         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
37648         * iconvdata/sjis.c (ONE_DIRECTION): Define.
37649         * iconvdata/t.61.c (ONE_DIRECTION): Define.
37650         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
37651         * iconvdata/tscii.c (ONE_DIRECTION): Define.
37652         * iconvdata/uhc.c (ONE_DIRECTION): Define.
37653         * iconvdata/unicode.c (ONE_DIRECTION): Define.
37654         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
37655         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
37656         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
37658 2014-05-01  Roland McGrath  <roland@hack.frob.com>
37660         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
37661         (_IO_JUMPS_OFFSET): Define to 0.
37663         * nptl/sysdeps/pthread/bits/libc-lock.h
37664         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37665         (__libc_lock_define_initialized_recursive): Always define using
37666         initializer.  Modern compilers treat uninitialized (implicit zero) and
37667         explicit zero initializers the same (i.e. put the datum in bss).
37669 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37671         * nscd/nscd-client.h: Include <string.h>.
37673 2014-05-01  David S. Miller  <davem@davemloft.net>
37675         [BZ #16885]
37676         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
37677         multiple zero bytes exist at the end of a string.
37678         Reported by Aurelien Jarno <aurelien@aurel32.net>
37680         * string/test-strcmp.c (check): Add explicit test for situations where
37681         there are multiple zero bytes after the first.
37683 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37685         [BZ #16890]
37686         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
37687         when compiling wprintf.
37688         * stdio-common/tstdiomisc.c (t3): New function.
37689         (main): Call it.
37691 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37693         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
37694         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
37695         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
37696         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
37698 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37700         * stdlib/longlong.h: Updated from GCC.
37702 2014-05-01  Will Newton  <will.newton@linaro.org>
37703             Bernard Ogden  <bernie.ogden@linaro.org>
37705         * NEWS: Update fixed bug list.
37707         [BZ #15119]
37708         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
37710 2014-04-30  David S. Miller  <davem@davemloft.net>
37712         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
37713         (libc_feholdexcept_setround_sparc_ctx): New function.
37714         (libc_fesetenv_sparc_ctx): Likewise.
37715         (libc_feupdateenv_sparc_ctx): Likewise.
37716         (libc_feholdsetround_sparc_ctx): Likewise.
37717         (libc_feholdexcept_setround_ctx): Define.
37718         (libc_feholdexcept_setroundf_ctx): Likewise.
37719         (libc_feholdexcept_setroundl_ctx): Likewise.
37720         (libc_fesetenv_ctx): Likewise.
37721         (libc_fesetenvf_ctx): Likewise.
37722         (libc_fesetenvl_ctx): Likewise.
37723         (libc_feupdateenv_ctx): Likewise.
37724         (libc_feupdateenvf_ctx): Likewise.
37725         (libc_feupdateenvl_ctx): Likewise.
37726         (libc_feresetround_ctx): Likewise.
37727         (libc_feresetroundf_ctx): Likewise.
37728         (libc_feresetroundl_ctx): Likewise.
37729         (libc_feholdsetround_ctx): Likewise.
37730         (libc_feholdsetroundf_ctx): Likewise.
37731         (libc_feholdsetroundl_ctx): Likewise.
37733         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37734         with __USE_GNU instead of XOPEN cpp guards.
37736         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
37737         0.
37739         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37740         with XOPEN cpp guards.
37742 2014-04-30  Julian Brown  <julian@codesourcery.com>
37744         [BZ #16888]
37745         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
37746         handling.
37748 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
37750         [BZ #9894]
37751         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
37752         Change to 2.6.32.
37753         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
37754         * sysdeps/unix/sysv/linux/configure: Regenerated.
37755         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
37756         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
37757         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
37758         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
37759         * README: Update reference to required Linux kernel version.
37760         * manual/install.texi (Linux): Update reference to required Linux
37761         kernel headers version.
37762         * INSTALL: Regenerated.
37764         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
37765         header inclusion.
37766         [POSIX] (limits.h): Likewise.
37767         [POSIX] (math.h): Likewise.
37768         [POSIX] (sys/wait.h): Likewise.
37769         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
37770         function.
37771         [POSIX] (stddef.h): Do not allow header inclusion.
37773 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37775         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
37777 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
37779         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
37780         Return immediately after lll_futex_wake.
37782 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37784         [BZ #16791]
37785         * nscd/nscd-client.h (datahead_init_common): Initialize entire
37786         structure.
37787         (datahead_init_pos): Call datahead_init_common early.
37788         (datahead_init_neg): Likewise.
37790         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
37791         datahead_init_neg): New functions.
37792         * nscd/aicache.c (addhstaiX): Use them.
37793         * nscd/grpcache.c (cache_addgr): Likewise.
37794         * nscd/hstcache.c (cache_addhst): Likewise.
37795         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37796         * nscd/netgroupcache.c (do_notfound): Likewise.
37797         (addgetnetgrentX): Likewise.
37798         (addinnetgrX): Likewise.
37799         * nscd/pwdcache.c (cache_addpw): Likewise.
37800         * nscd/servicescache.c (cache_addserv): Likewise.
37802 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37803             Atsushi Onoe  <atsushi@onoe.org>
37805         [BZ #14308]
37806         [BZ #12994]
37807         [BZ #13651]
37808         * resolv/res_query.c (__libc_res_nsearch): Return if at least
37809         one response is valid.
37810         * resolv/res_send.c (send_dg): Check for validity of other
37811         response if the current response is a referral.
37813 2014-04-29  Steve Ellcey  <sellcey@mips.com>
37815         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
37817 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
37819         [BZ #16823]
37820         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
37821         Always divide by positive zero when computing -Inf result.
37822         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37823         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
37825 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37827         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
37828         FPSCR if value do not change.
37829         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37830         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
37831         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37832         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37833         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
37834         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
37835         function.
37837 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
37839         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
37840         * sysdeps/unix/sysv/linux/hppa: Move directory from
37841         ports/systeps/unix/sysv/linux/hppa.
37842         * README: Update listing for hppa-*-linux-gnu.
37844 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
37846         [BZ #16754]
37847         * manual/stdio.texi (Hook functions): Fix types of stream hook
37848         functions.
37849         [BZ #16854]
37850         * socket/sys/socket.h: Fix typo in comment.
37852 2014-04-28  Wilco  <wdijkstr@arm.com>
37854         * sysdeps/arm/fenv_private.h: New file.
37855         * sysdeps/arm/math_private.h: New file.
37856         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
37858 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
37860         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
37861         with __int128_t.
37862         (La_x86_64_retval): Likewise.
37864 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
37866         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
37867         fpsr if value didn't change.
37868         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
37869         to fpcr if value didn't change.
37870         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
37871         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
37872         fpsr or fpcr if value didn't change.
37873         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37874         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
37875         fpcr if value didn't change.
37876         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
37877         to fpsr if value didn't change.
37879 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37881         * nptl/tst-sem3.c: Use test-skeleton.c
37882         (main): Rename to do_test.  Use return instead of
37883         exit.
37884         * nptl/tst-sem4.c: Use test-skeleton.c
37885         (main): Rename to do_test.
37887 2014-04-22  David S. Miller  <davem@davemloft.net>
37889         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37890         (struct sigaction): New struct member __glibc_reserved0, change
37891         type of sa_flags to int.
37893 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
37895         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
37896         (COUNT_LEADING_ZEROS_0): Define for AArch64.
37898 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37900         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
37901         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
37903 2014-04-22  Will Newton  <will.newton@linaro.org>
37904             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
37906         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
37907         (__longjmp): Add longjmp and longjmp_target SystemTap
37908         probes.
37909         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
37910         (__sigsetjmp): Add setjmp SystemTap probe.
37912 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
37914         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
37915         match manual order.
37917 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37919         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
37921         * sysdeps/powerpc/fpu/fenv_private.h
37922         (libc_feholdexcept_setroundl_ctx): Define to
37923         libc_feholdexcept_setround_ppc_ctx.
37924         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
37925         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
37926         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
37927         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
37929 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37931         * sysdeps/aarch64/math-tests.h: New file.
37933 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
37935         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
37936         New.
37937         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37938         Check and set bit_AVX2_Usable.
37939         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
37940         macro.
37941         (bit_AVX2): Likewise.
37942         (index_AVX2_Usable): Likewise.
37943         (CPUID_AVX2): Likewise.
37944         (HAS_AVX2): Likewise.
37946 2014-04-17  Will Newton  <will.newton@linaro.org>
37948         * manual/setjmp.texi (System V contexts): Add note that
37949         calling setcontext on a context created by a call to a
37950         signal handler is undefined.  Update text to note that
37951         setcontext from a signal handler is possible but not
37952         recommended.
37954         [BZ #16629]
37955         * stdlib/tst-setcontext.c: Include signal.h.
37956         (main): Check that the signal stack before and
37957         after swapcontext is the same.
37959         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
37960         Re-implement to restore registers in user code and avoid
37961         rt_sigreturn system call.
37963 2014-04-17  Wilco  <wdijkstr@arm.com>
37965         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
37966         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
37967         * math/test-fenv.c: Skip exception trap tests on targets which only
37968         support non-stop mode.
37970 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37971             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37973         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
37974         (libc_feholdsetround_aarch64_ctx)
37975         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
37976         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
37977         (libc_feresetround_ctx, libc_feresetroundf_ctx)
37978         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
37979         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
37980         (libc_feresetround_noexl_ctx): Define.
37982 2014-04-16  Richard Henderson  <rth@redhat.com>
37984         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
37986         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
37987         unwind tables.
37989         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
37990         const from the non-libc, non-ldso copy.
37992         * sysdeps/alpha/libm-test-ulps: Regenerate.
37994 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
37995             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37997         * sysdeps/aarch64/fpu/math_private.h: New file.
37999 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38001         * sysdeps/aarch64/libm-test-ulps: Regenerate.
38003 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
38005         [BZ #16275]
38006         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
38007         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
38008         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
38009         Intel MPX bound registers before _dl_profile_fixup.
38010         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
38011         registers after _dl_profile_fixup.  Save and restore bound
38012         registers bnd0/bnd1 when calling _dl_call_pltexit.
38013         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
38014         (LR_BND_OFFSET): Likewise.
38015         (LRV_BND0_OFFSET): Likewise.
38016         (LRV_BND1_OFFSET): Likewise.
38018 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38020         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
38021         to...
38022         * sysdeps/mach/hurd/i386/tls.h: ... here.
38023         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
38024         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
38025         fields.
38027 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38029         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
38031 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38033         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38035 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38037         [BZ #14770]
38038         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
38039         * sysdeps/s390/configure: Regenerate.
38041         [BZ #16824]
38042         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
38043         Set round-to-nearest internally to reduce error accumulation.
38045 2014-04-16  Alan Modra  <amodra@gmail.com>
38047         [BZ #16740]
38048         [BZ #16619]
38049         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
38050         * math/libm-test.inc (frexp_test_data): Add tests.
38051         * NEWS: Update fixed bug list.
38053 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38055         * benchtests/Makefile: Depend on libraries in build directory.
38056         (bench-math): Separate out math tests.
38057         (bench-pthread): Separate out pthread tests.
38058         (bench): Include math and pthread tests.
38060 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
38062         [BZ #16831]
38063         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
38064         _dl_debug_initialize.
38066         * configure.ac: Remove SELinux header check.
38067         * configure: Regenerate.
38068         * nscd/selinux.c (perms): Array of const char* to permission names.
38069         (nscd_request_avc_has_perm): Call security_deny_unknown to find
38070         default policy. Call string_to_security_class and string_to_av_perm to
38071         translate strings. Enforce default policy and call avs_has_perm with
38072         results of translated strings.
38074 2014-04-13  David S. Miller  <davem@davemloft.net>
38076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38078 2014-04-12  Allan McRae  <allan@archlinux.org>
38080         [BZ #16838]
38081         * manual/string.texi (Collation Functions): Fix qsort argument
38082         order in example.
38083         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38085 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
38087         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
38088         Make the test a no-op if there are no exceptions defined.
38090 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
38092         * elf/Makefile (tests): make tst-dlopen-aout conditional on
38093         enable-hardcoded-path-in-tests
38095 2014-04-11  Will Newton  <will.newton@linaro.org>
38097         * benchtests/Makefile (extra-objs): Add json-lib.o.
38098         (bench-func): Tidy up JSON output.
38099         * benchtests/bench-skeleton.c: Include json-lib.h.
38100         (main): Use JSON library functions to do output of
38101         benchmark results.
38102         * benchtests/bench-timing-type.c (main): Output the
38103         timing type simply, leaving formatting to the user.
38104         * benchtests/json-lib.c: New file.
38105         * benchtests/json-lib.h: Likewise.
38107 2014-04-11  Torvald Riegel  <triegel@redhat.com>
38109         [BZ #15215]
38110         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
38111         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
38112         memory barriers.  Add comments.
38113         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
38114         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
38115         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
38116         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
38117         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
38118         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
38120 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38122         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
38123         * sysdeps/s390/s390-64/configure.ac: ... this ...
38124         * sysdeps/s390/configure.ac: ... to here.
38125         * sysdeps/s390/s390-32/configure: Delete file.
38126         * sysdeps/s390/s390-64/configure: Delete file.
38127         * sysdeps/s390/configure: Regenerate.
38129 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
38131         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
38133 2014-04-11  Will Newton  <will.newton@linaro.org>
38135         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
38136         to zero if it is not defined elsewhere.  (mtrim): Test
38137         the value of MALLOC_DEBUG with #if rather than #ifdef.
38139 2014-04-10 Torvald Riegel  <triegel@redhat.com>
38141         * benchtests/pthread_once-inputs: New file.
38142         * benchtests/pthread_once-source.c: New file.
38143         * benchtests/README: Update documentation.
38145 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
38146             H.J. Lu  <hongjiu.lu@intel.com>
38148         [BZ #16275]
38149         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
38150         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
38151         * sysdeps/x86_64/configure: Regenerated.
38152         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
38153         macro.
38154         (REGISTER_SAVE_RAX): Likewise.
38155         (REGISTER_SAVE_RCX): Likewise.
38156         (REGISTER_SAVE_RDX): Likewise.
38157         (REGISTER_SAVE_RSI): Likewise.
38158         (REGISTER_SAVE_RDI): Likewise.
38159         (REGISTER_SAVE_R8): Likewise.
38160         (REGISTER_SAVE_R9): Likewise.
38161         (REGISTER_SAVE_BND0): Likewise.
38162         (REGISTER_SAVE_BND1): Likewise.
38163         (REGISTER_SAVE_BND2): Likewise.
38164         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
38165         bound registers when calling _dl_fixup.
38167 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38169         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
38170         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
38171         of its definition.
38172         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
38173         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
38174         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
38175         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
38176         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
38177         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
38178         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
38180 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
38182         [BZ #15514]
38183         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
38184         pathconf(_PC_NAME_MAX).
38186 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38188         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
38189         Remove macro usage.
38190         (__PTHREAD_SPINS): Move definition to ...
38191         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38192         (__PTHREAD_SPINS): ... here.
38193         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38194         (__PTHREAD_SPIN): Likewise.
38195         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
38196         (__PTHREAD_SPIN): Likewise.
38197         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
38198         (__PTHREAD_SPIN): Likewise.
38199         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
38200         (__PTHREAD_SPIN): Likewise.
38201         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
38202         (__PTHREAD_SPIN): Likewise.
38203         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
38204         (__PTHREAD_SPIN): Likewise.
38205         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
38206         (__PTHREAD_SPIN): Likewise.
38207         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
38208         (__PTHREAD_SPIN): Likewise.
38209         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
38210         (__PTHREAD_SPIN): Likewise.
38211         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
38212         (__PTHREAD_SPIN): Likewise.
38213         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
38214         (__PTHREAD_SPIN): Likewise.
38215         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
38216         (__PTHREAD_SPIN): Likewise.
38218         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
38219         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
38220         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
38221         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
38222         imply folder.
38223         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
38224         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
38225         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
38226         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
38227         correct imply path.
38228         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
38229         strlen symbol for non multi-arch builds.
38230         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
38231         missing hidden_def and weak_alias.
38233 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
38235         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
38237 2014-04-07  Will Newton  <will.newton@linaro.org>
38239         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
38240         and contents.  [!_LIBC] Remove #ifndef and contents.
38241         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
38242         * string/memccpy.c (__memccpy): Use ANSI prototype.
38243         * string/memfrob.c (memfrob): Likewise.
38244         * string/strcoll.c (STRCOLL): Likewise.
38245         * string/strlen.c (strlen): Likewise.
38246         * string/strtok.c (STRTOK): Likewise.
38247         * string/strcat.c: Remove unused #include of memcopy.h.
38248         (strcat): Use ANSI prototype.
38249         * string/strchr.c: Remove unused #include of memcopy.h.
38250         (strchr): Use ANSI prototype.
38251         * string/strcmp.c: Remove unused #include of memcopy.h.
38252         (strcmp): Use ANSI prototype.
38253         * string/strcpy.c: Remove unused #include of memcopy.h.
38254         (strcpy): Use ANSI prototype.
38256 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38258         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
38259         * config.make.in (config-extra-cppflags): Set it from
38260         libc_extra_cppflags.
38261         * configure.ac (libc_extra_cflags): Make it accumulate over
38262         configure fragments.
38263         (libc_extra_cppflags): New flag.
38264         * configure. Regenerate.
38265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38266         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
38267         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
38268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
38270         [BZ #16815]
38271         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
38272         result for FE_DOWNWARD rounding mode.
38273         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
38274         Likewise.
38275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38277 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
38279         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
38280         in function argument name.
38282 2014-04-03  David Svoboda  <svoboda@cert.org>
38284         [BZ #5666]
38285         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
38286         explicitly.
38288 2014-04-03  Roland McGrath  <roland@hack.frob.com>
38290         * elf/dl-unmap-segments.h: New file.
38291         * sysdeps/generic/ldsodefs.h
38292         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
38293         * elf/dl-close.c: Include <dl-unmap-segments.h>.
38294         * elf/dl-fptr.c: Likewise.
38295         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
38296         * sysdeps/aarch64/tlsdesc.c: Likewise.
38297         * sysdeps/arm/tlsdesc.c: Likewise.
38298         * sysdeps/i386/tlsdesc.c: Likewise.
38299         * sysdeps/tile/dl-runtime.c: Likewise.
38300         * sysdeps/x86_64/tlsdesc.c: Likewise.
38301         * elf/dl-load.h: New file.
38302         * elf/dl-load.c: Include it.
38303         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
38304         Macros moved to dl-load.h.
38305         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
38306         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
38307         Use _dl_unmap_segments in place of __munmap.
38308         Break out segment-mapping loop into ...
38309         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
38311 2014-04-03  Will Newton  <will.newton@linaro.org>
38313         * elf/dl-lookup.c (do_lookup_x): Remove comment
38314         referring to nested function and move variable
38315         declarations down to before first use.
38317 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
38319         [BZ #16799]
38320         [BZ #16800]
38321         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
38322         with 0 numerator.
38323         * math/s_catanf.c (__catanf): Likewise.
38324         * math/s_catanh.c (__catanh): Likewise.
38325         * math/s_catanhf.c (__catanhf): Likewise.
38326         * math/s_catanhl.c (__catanhl): Likewise.
38327         * math/s_catanl.c (__catanl): Likewise.
38328         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
38329         by positive zero when computing -Inf result.
38330         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
38331         (catanh_test): Likewise.
38332         * sysdeps/i386/fpu/libm-test-ulps: Update.
38333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38335         [BZ #16789]
38336         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
38337         instead of using underflowing value in computing result.
38338         * math/s_clog10.c (__clog10): Likewise.
38339         * math/s_clog10f.c (__clog10f): Likewise.
38340         * math/s_clog10l.c (__clog10l): Likewise.
38341         * math/s_clogf.c (__clogf): Likewise.
38342         * math/s_clogl.c (__clogl): Likewise.
38343         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
38344         (clog10_test): Likewise.
38345         * sysdeps/i386/fpu/libm-test-ulps: Update.
38346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38348 2014-04-02  Alan Modra  <amodra@gmail.com>
38350         [BZ #16739]
38351         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
38352         output when value is near a power of two.  Use int64_t for lx and
38353         remove casts.  Use decimal rather than hex exponent constants.
38354         Don't use long double multiplication when double will suffice.
38355         * math/libm-test.inc (nextafter_test_data): Add tests.
38356         * NEWS: Add 16739 and 16786 to bug list.
38358         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
38360         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
38362 2014-04-01  Will Newton  <will.newton@linaro.org>
38364         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
38365         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
38367 2014-04-01  Florian Weimer  <fweimer@redhat.com>
38369         [BZ #13347]
38370         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
38371         * nptl/tst-setuid2.c: New file.
38372         * nptl/Makefile (xtests): Add tst-setuid2.
38374 2014-04-01  Alan Modra  <amodra@gmail.com>
38376         [BZ #16786]
38377         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
38379 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38381         [BZ #6803]
38382         [BZ #6804]
38383         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
38384         set errno as appropriate.
38385         * math/w_scalbf.c (__scalbf): Likewise.
38386         * math/w_scalbl.c (__scalbl): Likewise.
38387         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
38388         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
38389         * math/libm-test.inc (scalb_test_data): Add errno expectations.
38390         Add more NaN tests.
38392         [BZ #16349]
38393         * math/w_atan2.c: Include <errno.h>.
38394         (__atan2): Set errno for result underflowing to zero.
38395         * math/w_atan2f.c: Include <errno.h>.
38396         (__atan2f): Set errno for result underflowing to zero.
38397         * math/w_atan2l.c: Include <errno.h>.
38398         (__atan2l): Set errno for result underflowing to zero.
38399         * math/auto-libm-test-in: Don't allow missing errno for some atan2
38400         tests.
38401         * math/auto-libm-test-out: Regenerated.
38403 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38405         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38406         Encode instruction correctly in little endian.
38407         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38408         Likewise.
38409         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38410         Likewise.
38411         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38412         Likewise.
38413         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38414         Likewise.
38416 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38418         [BZ #9894]
38419         * sysdeps/unix/sysv/linux/kernel-features.h
38420         [__sparc__ && !__arch64__ && !__sparc_v9__]
38421         (__ASSUME_SET_ROBUST_LIST): Do not define.
38422         [__sparc__ && !__arch64__ && !__sparc_v9__]
38423         (__ASSUME_FUTEX_LOCK_PI): Likewise.
38424         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
38425         Likewise.
38426         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38427         (__ASSUME_FUTEX_LOCK_PI): Undefine.
38428         (__ASSUME_REQUEUE_PI): Likewise.
38429         (__ASSUME_SET_ROBUST_LIST): Likewise.
38430         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38431         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
38432         Undefine.
38433         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38434         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
38435         Likewise.
38436         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
38437         Likewise.
38438         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
38439         Likewise.
38440         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38441         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
38442         Undefine.
38443         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
38444         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
38445         Likewise.
38447         [BZ #16648]
38448         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38449         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
38450         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
38452 2014-03-31  Will Newton  <will.newton@linaro.org>
38454         * benchtests/Makefile (bench): Add ffs and ffsll to list
38455         of tests.
38456         * benchtests/ffs-inputs: New file.
38457         * benchtests/ffsll-inputs: Likewise.
38459 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
38461         [BZ #16770]
38462         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
38463         too large before casting to int.
38464         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
38465         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
38466         * math/libm-test.inc (scalb_test_data): Add more tests.
38468 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38470         * benchtests/Makefile (DETAILED_OPT): New make option.
38471         (bench-func): Run benchmark program with -d if DETAILED_OPT is
38472         set.
38473         * benchtests/bench-skeleton.c: Include stdbool.h.
38474         (main): Store and print timings per input.
38475         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
38476         member to each argument value.
38477         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
38478         (_print_arg_data): Initialize per-input timing to 0.
38480         * benchtests/Makefile (timing-type): New binary.
38481         (bench-clean): Also remove bench-timing-type.
38482         (bench): New target for timing-type.
38483         (bench-func): Print output in JSON format.
38484         * benchtests/bench-skeleton.c (main): Print output in JSON
38485         format.
38486         * benchtests/bench-timing-type.c: New file.
38487         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
38488         (TIMING_PRINT_STATS): Remove.
38489         * benchtests/scripts/bench.py (_print_arg_data): Store variant
38490         name separately.
38492         * benchtests/bench-modf.c: Remove.
38493         * benchtests/modf-inputs: New inputs file.
38495 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
38497         [BZ #16362]
38498         * math/s_clog10.c (M_PI_LOG10E): New macro.
38499         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
38500         imaginary parts are 0.
38501         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
38502         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
38503         imaginary parts are 0.
38504         * math/s_clog10l.c (M_PI_LOG10El): New macro.
38505         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
38506         imaginary parts are 0.
38507         * math/libm-test.inc (clog10_test_data): Update expected results
38508         for when real and imaginary parts are 0.
38510 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
38512         * elf/dl-load.c: Finish conversion of __builtin_expect into
38513         __glibc_{un}likely.
38515 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
38517         [BZ #16348]
38518         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
38519         1+x for argument with exponent below -67.
38520         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
38521         Likewise.
38522         * math/auto-libm-test-in: Add more tests of exp.
38523         * math/auto-libm-test-out: Regenerated.
38525 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38527         [BZ #16759]
38528         * inet/getnetgrent_r.c (get_nonempty_val): New function.
38529         (nscd_getnetgrent): Use it.
38531         [BZ #16760]
38532         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
38533         of stpcpy.
38535 2014-03-27  Andi Kleen  <ak@linux.intel.com>
38537         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
38538         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38539         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38540         (lll_robust_unlock): Remove out of line section. Use cfi
38541         intrinsics.
38542         (LLL_STUB_UNWIND_INFO*): Remove.
38543         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
38544         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38545         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38546         (lll_robust_unlock): Remove out of line section. Use cfi
38547         intrinsics.
38548         (LLL_STUB_UNWIND_INFO*): Remove.
38550 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38552         [BZ #16758]
38553         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
38554         blank values.
38556 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
38558         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
38560 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
38562         [BZ #16198]
38563         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
38564         fnstenv.
38565         * math/test-fenv-preserve.c: New file.
38566         * math/Makefile (tests): Add test-fenv-preserve.
38568 2014-03-26  Will Newton <will.newton@linaro.org>
38570         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
38572 2014-03-25  Roland McGrath  <roland@hack.frob.com>
38574         * scripts/versionlist.awk: Partition the version sets and emit all
38575         GLIBC_* (sorted) before all others (sorted).
38577 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38579         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
38580         GLIBC_2.2.5 version.
38582 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38584         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
38585         calls.
38587         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
38588         previous change.
38590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38592 2014-03-25  Andreas Schwab  <schwab@suse.de>
38594         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
38595         label to be used after in6ailist is initialized.
38597 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38599         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38600         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38602 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38604         [BZ #16357]
38605         [BZ #16599]
38606         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
38607         min_plus_half.
38608         (fp_formats): Update initializers.
38609         (init_fp_formats): Initialize new field.
38610         (output_for_one_input_case): Allow underflow for results up to
38611         min_plus_half.
38612         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
38613         * math/auto-libm-test-in: Don't mark some underflows from asin and
38614         atanh as spurious.
38615         * math/auto-libm-test-out: Regenerated.
38616         * sysdeps/i386/fpu/libm-test-ulps: Update.
38617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38619 2014-03-25  Andreas Schwab  <schwab@suse.de>
38621         * libio/Makefile (tst-ftell-partial-wide-ENV)
38622         (tst-ftell-active-handler-ENV): Define.
38624 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
38626         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
38628 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38630         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
38632 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38634         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
38635         * sysdeps/x86_64/fpu/multiarch/e_exp.c
38636         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
38638 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38640         [BZ #16634]
38641         * elf/dl-load.c (open_verify): Add mode parameter.
38642         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
38643         (open_path): Change from boolean 'secure' to complete flag 'mode'
38644         (_dl_map_object): Adjust.
38645         * elf/Makefile (tests): Add tst-dlopen-aout.
38646         * elf/tst-dlopen-aout.c: New test.
38648 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
38650         [BZ #16714]
38651         * sysdeps/unix/sysv/linux/s390/bits/stat.h
38652         (struct stat): Rename member pad0 to __glibc_reserved0.
38654         [BZ #16712]
38655         * sysdeps/s390/s390-32/bits/wordsize.h
38656         (__WORDSIZE32_SIZE_ULONG): New define.
38657         * sysdeps/s390/s390-64/bits/wordsize.h
38658         (__WORDSIZE32_SIZE_ULONG): Likewise.
38659         * sysdeps/generic/stdint.h (SIZE_MAX):
38660         Define as UL if __WORDSIZE32_SIZE_ULONG.
38662         [BZ #16713]
38663         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
38664         (__glibc_reserved0): New variable.
38665         (sa_flags): Change type to int.
38667         * posix/Makefile (before-compile): Use += before-compile instead
38668         of a :=.
38670         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38671         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38673 2014-03-20  Andreas Schwab  <schwab@suse.de>
38675         [BZ #16743]
38676         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
38677         non-matching result from nscd.
38679 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38681         * scripts/bench.py: Moved to ...
38682         * benchtests/scripts/bench.py: ... here.
38683         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
38685 2014-03-24  Andreas Schwab  <schwab@suse.de>
38687         [BZ #16002]
38688         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
38689         alloca_account and account alloca use for struct in6ailist.
38691 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38693         [BZ #16284]
38694         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
38695         rounding mode to recompute results that overflow to infinity or
38696         underflow to zero.
38697         * math/auto-libm-test-in: Don't mark tests as expected to fail for
38698         bug 16284.
38699         * math/auto-libm-test-out: Regenerated.
38700         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
38701         (ccosh_test): Likewise.
38702         (csin_test_data): Use plus_oflow.
38703         (csin_test): Use ALL_RM_TEST.
38704         (csinh_test_data): Use plus_oflow.
38705         (csinh_test): Use ALL_RM_TEST.
38706         * sysdeps/i386/fpu/libm-test-ulps: Update.
38707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38709 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
38711         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
38712         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
38713         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
38715         [BZ #16731]
38716         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
38717         when x - 1 is zero.
38718         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
38719         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
38720         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38721         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
38722         argument is 1.
38723         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
38724         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
38725         zero.
38726         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
38727         * sysdeps/i386/fpu/libm-test-ulps: Update.
38728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38730 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38732         * scripts/bench.pl: Remove file.
38733         * scripts/bench.py: New benchmark script.
38734         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
38735         * benchtests/README: Mention python dependency.
38736         * scripts/pylintrc: New file.
38737         * scripts/pylint: New file.
38739         * bits/mathdef.h: Use #ifdef instead of #if.
38740         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
38741         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38742         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
38743         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38744         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
38745         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38747 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38748             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38750         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
38751         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
38752         and strpbrk-ppc64 objects.
38753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38754         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
38755         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
38756         multiarch strpbrk for POWER7.
38757         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
38758         multiarch strpbrk for PPC64.
38759         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
38760         ifunc selector.
38761         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
38762         strpbrk for POWER7.
38764 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38766         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
38767         (atan_test): Likewise.
38768         (atanh_test_data): Use NO_TEST_INLINE for two tests.
38769         (atanh_test): Use ALL_RM_TEST.
38770         (atan2_test_data): Likewise.
38771         (cabs_test): Likewise.
38772         (cacosh_test): Likewise.
38773         (carg_test): Likewise.
38774         (casin_test): Likewise.
38775         (casinh_test): Likewise.
38776         (cbrt_test): Likewise.
38777         (csqrt_test): Likewise.
38778         (erf_test): Likewise.
38779         (erfc_test): Likewise.
38780         (pow10_test): Likewise.
38781         (exp2_test): Likewise.
38782         (hypot_test): Likewise.
38783         (j0_test): Likewise.
38784         (j1_test): Likewise.
38785         (lgamma_test): Likewise.
38786         (gamma_test): Likewise.
38787         (sincos_test): Likewise.
38788         (tanh_test): Likewise.
38789         (y0_test): Likewise.
38790         (y1_test): Likewise.
38791         * sysdeps/i386/fpu/libm-test-ulps: Update.
38792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38794 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38796         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
38797         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
38798         and strcspn-ppc64 objects.
38799         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38800         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
38801         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
38802         multiarch strcspn for POWER7.
38803         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
38804         multiarch strcspn for PPC64.
38805         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
38806         ifunc selector.
38807         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
38808         strcspn for POWER7.
38810 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38812         * math/gen-libm-test.pl (generate_testfile): Expect only function
38813         name as argument to AUTO_TESTS_* and pass results for all rounding
38814         modes to parse_args.
38815         (parse_auto_input): Separate inputs of automatic tests from
38816         outputs before storing in %auto_tests.
38817         * math/libm-test.inc (acos_test_data): Update call to
38818         AUTO_TESTS_f_f.
38819         (acos_test): Use ALL_RM_TEST.
38820         (acos_tonearest_test_data): Remove.
38821         (acos_test_tonearest): Likewise.
38822         (acos_towardzero_test_data): Likewise.
38823         (acos_test_towardzero): Likewise.
38824         (acos_downward_test_data): Likewise.
38825         (acos_test_downward): Likewise.
38826         (acos_upward_test_data): Likewise.
38827         (acos_test_upward): Likewise.
38828         (acosh_test_data): Update call to AUTO_TESTS_f_f.
38829         (asin_test_data): Likewise.
38830         (asin_test): Use ALL_RM_TEST.
38831         (asin_tonearest_test_data): Remove.
38832         (asin_test_tonearest): Likewise.
38833         (asin_towardzero_test_data): Likewise.
38834         (asin_test_towardzero): Likewise.
38835         (asin_downward_test_data): Likewise.
38836         (asin_test_downward): Likewise.
38837         (asin_upward_test_data): Likewise.
38838         (asin_test_upward): Likewise.
38839         (asinh_test_data): Update call to AUTO_TESTS_f_f.
38840         (atan_test_data): Likewise.
38841         (atanh_test_data): Likewise.
38842         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
38843         (cabs_test_data): Update call to AUTO_TESTS_c_f.
38844         (carg_test_data): Likewise.
38845         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
38846         (ccos_test_data): Update call to AUTO_TESTS_c_c.
38847         (ccosh_test_data): Likewise.
38848         (cexp_test_data): Likewise.
38849         (clog_test_data): Likewise.
38850         (clog10_test_data): Likewise.
38851         (cos_test_data): Update call to AUTO_TESTS_f_f.
38852         (cos_test): Use ALL_RM_TEST.
38853         (cos_tonearest_test_data): Remove.
38854         (cos_test_tonearest): Likewise.
38855         (cos_towardzero_test_data): Likewise.
38856         (cos_test_towardzero): Likewise.
38857         (cos_downward_test_data): Likewise.
38858         (cos_test_downward): Likewise.
38859         (cos_upward_test_data): Likewise.
38860         (cos_test_upward): Likewise.
38861         (cosh_test_data): Update call to AUTO_TESTS_f_f.
38862         (cosh_test): Use ALL_RM_TEST.
38863         (cosh_tonearest_test_data): Remove.
38864         (cosh_test_tonearest): Likewise.
38865         (cosh_towardzero_test_data): Likewise.
38866         (cosh_test_towardzero): Likewise.
38867         (cosh_downward_test_data): Likewise.
38868         (cosh_test_downward): Likewise.
38869         (cosh_upward_test_data): Likewise.
38870         (cosh_test_upward): Likewise.
38871         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
38872         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
38873         (ctan_test_data): Likewise.
38874         (ctan_test): Use ALL_RM_TEST.
38875         (ctan_tonearest_test_data): Remove.
38876         (ctan_test_tonearest): Likewise.
38877         (ctan_towardzero_test_data): Likewise.
38878         (ctan_test_towardzero): Likewise.
38879         (ctan_downward_test_data): Likewise.
38880         (ctan_test_downward): Likewise.
38881         (ctan_upward_test_data): Likewise.
38882         (ctan_test_upward): Likewise.
38883         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
38884         (ctanh_test): Use ALL_RM_TEST.
38885         (ctanh_tonearest_test_data): Remove.
38886         (ctanh_test_tonearest): Likewise.
38887         (ctanh_towardzero_test_data): Likewise.
38888         (ctanh_test_towardzero): Likewise.
38889         (ctanh_downward_test_data): Likewise.
38890         (ctanh_test_downward): Likewise.
38891         (ctanh_upward_test_data): Likewise.
38892         (ctanh_test_upward): Likewise.
38893         (erf_test_data): Update call to AUTO_TESTS_f_f.
38894         (erfc_test_data): Likewise.
38895         (exp_test_data): Likewise.
38896         (exp_test): Use ALL_RM_TEST.
38897         (exp_tonearest_test_data): Remove.
38898         (exp_test_tonearest): Likewise.
38899         (exp_towardzero_test_data): Likewise.
38900         (exp_test_towardzero): Likewise.
38901         (exp_downward_test_data): Likewise.
38902         (exp_test_downward): Likewise.
38903         (exp_upward_test_data): Likewise.
38904         (exp_test_upward): Likewise.
38905         (exp10_test_data): Update call to AUTO_TESTS_f_f.
38906         (exp10_test): Use ALL_RM_TEST.
38907         (exp10_tonearest_test_data): Remove.
38908         (exp10_test_tonearest): Likewise.
38909         (exp10_towardzero_test_data): Likewise.
38910         (exp10_test_towardzero): Likewise.
38911         (exp10_downward_test_data): Likewise.
38912         (exp10_test_downward): Likewise.
38913         (exp10_upward_test_data): Likewise.
38914         (exp10_test_upward): Likewise.
38915         (exp2_test_data): Update call to AUTO_TESTS_f_f.
38916         (expm1_test_data): Likewise.
38917         (expm1_test): Use ALL_RM_TEST.
38918         (expm1_tonearest_test_data): Remove.
38919         (expm1_test_tonearest): Likewise.
38920         (expm1_towardzero_test_data): Likewise.
38921         (expm1_test_towardzero): Likewise.
38922         (expm1_downward_test_data): Likewise.
38923         (expm1_test_downward): Likewise.
38924         (expm1_upward_test_data): Likewise.
38925         (expm1_test_upward): Likewise.
38926         (fma_test_data): Update call to AUTO_TESTS_fff_f.
38927         (fma_test): Use ALL_RM_TEST.
38928         (fma_towardzero_test_data): Remove.
38929         (fma_test_towardzero): Likewise.
38930         (fma_downward_test_data): Likewise.
38931         (fma_test_downward): Likewise.
38932         (fma_upward_test_data): Likewise.
38933         (fma_test_upward): Likewise.
38934         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
38935         (j0_test_data): Update call to AUTO_TESTS_f_f.
38936         (j1_test_data): Likewise.
38937         (jn_test_data): Update call to AUTO_TESTS_if_f.
38938         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
38939         (log_test_data): Update call to AUTO_TESTS_f_f.
38940         (log10_test_data): Likewise.
38941         (log1p_test_data): Likewise.
38942         (log2_test_data): Likewise.
38943         (pow_test_data): Update call to AUTO_TESTS_ff_f.
38944         (pow_tonearest_test_data): Likewise.
38945         (sin_test_data): Update call to AUTO_TESTS_f_f.
38946         (sin_test): Use ALL_RM_TEST.
38947         (sin_tonearest_test_data): Remove.
38948         (sin_test_tonearest): Likewise.
38949         (sin_towardzero_test_data): Likewise.
38950         (sin_test_towardzero): Likewise.
38951         (sin_downward_test_data): Likewise.
38952         (sin_test_downward): Likewise.
38953         (sin_upward_test_data): Likewise.
38954         (sin_test_upward): Likewise.
38955         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
38956         (sinh_test_data): Update call to AUTO_TESTS_f_f.
38957         (sinh_test): Use ALL_RM_TEST.
38958         (sinh_tonearest_test_data): Remove.
38959         (sinh_test_tonearest): Likewise.
38960         (sinh_towardzero_test_data): Likewise.
38961         (sinh_test_towardzero): Likewise.
38962         (sinh_downward_test_data): Likewise.
38963         (sinh_test_downward): Likewise.
38964         (sinh_upward_test_data): Likewise.
38965         (sinh_test_upward): Likewise.
38966         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
38967         (sqrt_test): Use ALL_RM_TEST.
38968         (sqrt_tonearest_test_data): Remove.
38969         (sqrt_test_tonearest): Likewise.
38970         (sqrt_towardzero_test_data): Likewise.
38971         (sqrt_test_towardzero): Likewise.
38972         (sqrt_downward_test_data): Likewise.
38973         (sqrt_test_downward): Likewise.
38974         (sqrt_upward_test_data): Likewise.
38975         (sqrt_test_upward): Likewise.
38976         (tan_test_data): Update call to AUTO_TESTS_f_f.
38977         (tan_test): Use ALL_RM_TEST.
38978         (tan_tonearest_test_data): Remove.
38979         (tan_test_tonearest): Likewise.
38980         (tan_towardzero_test_data): Likewise.
38981         (tan_test_towardzero): Likewise.
38982         (tan_downward_test_data): Likewise.
38983         (tan_test_downward): Likewise.
38984         (tan_upward_test_data): Likewise.
38985         (tan_test_upward): Likewise.
38986         (tanh_test_data): Update call to AUTO_TESTS_f_f.
38987         (tgamma_test_data): Likewise.
38988         (y0_test_data): Likewise.
38989         (y1_test_data): Likewise.
38990         (yn_test_data): Update call to AUTO_TESTS_if_f.
38991         (main): Do not call removed functions.
38993 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38995         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
38996         (ldexp_test_data): Remove.
38997         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
38998         scalbn_test_data.
38999         (scalb_test): Use ALL_RM_TEST.
39001 2014-03-19  Andreas Schwab  <schwab@suse.de>
39003         * nscd/nscd.service: Also invalidate netgroup cache on reload.
39005 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
39007         [BZ #16649]
39008         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39009         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
39010         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
39011         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39012         (__ASSUME_PREADV): Undefine.
39013         (__ASSUME_PWRITEV): Likewise.
39015 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39017         * bits/mman-linux.h: Add comment about non-Linux use.
39018         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
39019         bits/mman-linux.h resting place.
39021         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
39022         * bits/mman-linux.h: ... here.
39024 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39026         * conform/conformtest.pl: Add standard definition when calling C
39027         preprocessor on data files.
39028         (checknamespace): Remove unused variable.
39030 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39032         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
39033         minus_oflow, plus_uflow and minus_uflow in expected results.
39034         * math/libm-test.inc (scalbn_test_data): Add more tests of
39035         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
39036         minus_uflow.
39037         (scalbn_test): Use ALL_RM_TEST.
39038         (scalbln_test_data): Add more tests of negative arguments.  Use
39039         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
39040         (scalbln_test): Use ALL_RM_TEST.
39042 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39044         * scripts/abilist.awk: Ignore symbols marked with .hidden.
39046 2014-03-18  Will Newton  <will.newton@linaro.org>
39048         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
39049         inaccurate comment.
39051 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39053         * Makerules [!subdir] (check-abi): Exit with error status if a
39054         test failed.
39056 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39058         * math/libm-test.inc (nearbyint_test_data): Include all tests used
39059         for rint.  Include results for all rounding modes.
39060         (nearbyint_test): Use ALL_RM_TEST.
39061         (rint_test_data): Include all tests used for nearbyint.
39063 2014-03-17  Will Newton  <will.newton@linaro.org>
39065         * nptl/sysdeps/pthread/pthread.h: Revert previous
39066         change.
39068         * sysdeps/generic/ldsodefs.h: Revert previous
39069         change.
39071         * libio/genops.c: Revert previous change.
39072         * libio/libioP.h: Likewise.
39073         * stdio-common/vfprintf.c: Likewise.
39075         * sysdeps/generic/math_private.h: Revert previous
39076         change.
39078         * sysdeps/generic/math_private.h: Check whether
39079         HAVE_RM_CTX is defined with #ifdef rather
39080         than #if.
39082         * argp/argp-fmtstream.h: Check whether
39083         __STRICT_ANSI__ is defined with #ifdef rather
39084         than #if.
39085         * argp/argp.h: Likewise.
39087         * libio/genops.c: Check whether
39088         _IO_JUMPS_OFFSET is defined with #ifdef rather
39089         than #if.
39090         * libio/libioP.h: Likewise.
39091         * stdio-common/vfprintf.c: Likewise.
39093         * sysdeps/generic/ldsodefs.h: Check whether
39094         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
39095         than #if.
39097         * nptl/sysdeps/pthread/pthread.h: Check
39098         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
39099         its value.
39101 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39103         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
39104         setting O_APPEND.
39105         * libio/tst-ftell-active-handler.c (do_append_test): Add a
39106         test case.
39108         [BZ #16680]
39109         * libio/fileops.c (_IO_file_open): Seek to end of file but
39110         don't cache the offset.
39111         (get_file_offset): Remove function.
39112         (do_ftell): Use cached offset when available.
39113         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
39114         don't cache the offset.
39115         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
39116         case.
39117         (do_one_test): Call it.
39118         (do_ftell_test): Fix up expected old offset for a+ mode.
39119         * libio/wfileops.c (do_ftell_wide): Used cached offset when
39120         available.
39122         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
39123         up test status with function return status.
39124         (do_write_test): Likewise.
39125         (do_append_test): Likewise.
39127         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
39128         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
39129         Remove.
39131 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39133         * math/gen-libm-test.pl (parse_args): Handle results specified for
39134         each rounding mode separately.
39135         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
39136         tests and results from lrint_tonearest_test_data,
39137         lrint_towardzero_test_data, lrint_downward_test_data and
39138         lrint_upward_test_data.
39139         (lrint_test): Use ALL_RM_TEST.
39140         (lrint_tonearest_test_data): Remove.
39141         (lrint_test_tonearest): Likewise.
39142         (lrint_towardzero_test_data): Likewise.
39143         (lrint_test_towardzero): Likewise.
39144         (lrint_downward_test_data): Likewise.
39145         (lrint_test_downward): Likewise.
39146         (lrint_upward_test_data): Likewise.
39147         (lrint_test_upward): Likewise.
39148         (llrint_test_data): Merge in per-rounding-mode tests and results
39149         from llrint_tonearest_test_data, llrint_towardzero_test_data,
39150         llrint_downward_test_data and llrint_upward_test_data.
39151         (llrint_test): Use ALL_RM_TEST.
39152         (llrint_tonearest_test_data): Remove.
39153         (llrint_test_tonearest): Likewise.
39154         (llrint_towardzero_test_data): Likewise.
39155         (llrint_test_towardzero): Likewise.
39156         (llrint_downward_test_data): Likewise.
39157         (llrint_test_downward): Likewise.
39158         (llrint_upward_test_data): Likewise.
39159         (llrint_test_upward): Likewise.
39160         (rint_test_data): Merge in per-rounding-mode tests and results
39161         from rint_tonearest_test_data, rint_towardzero_test_data,
39162         rint_downward_test_data and rint_upward_test_data.  Add
39163         per-rounding-mode results for tests not in those arrays.
39164         (rint_test): Use ALL_RM_TEST.
39165         (rint_tonearest_test_data): Remove.
39166         (rint_test_tonearest): Likewise.
39167         (rint_towardzero_test_data): Likewise.
39168         (rint_test_towardzero): Likewise.
39169         (rint_downward_test_data): Likewise.
39170         (rint_test_downward): Likewise.
39171         (rint_upward_test_data): Likewise.
39172         (rint_test_upward): Likewise.
39173         (main): Don't call removed functions.
39175 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39177         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
39178         "Compiled on ..." crapola.  It is anti-useful.
39180 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
39182         * scripts/evaluate-test.sh: Handle fourth argument to determine
39183         whether test run should stop on failure.
39184         * Makeconfig (stop-on-test-failure): New variable.
39185         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
39186         $(stop-on-test-failure).
39187         * Makefile (tests): Give a summary of results from testing and
39188         exit with failure status if they include an ERROR or FAIL.
39189         (xtests): Likewise.
39190         * manual/install.texi (Configuring and compiling): Mention
39191         stop-on-test-failure=y.
39192         * INSTALL: Regenerated.
39194 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39196         * scripts/versionlist.awk: New file.
39197         * Makerules [$(build-shared) = yes]
39198         (postclean-generated): Add Versions.def, not Versions.def.v and
39199         Versions.def.v.i.
39200         ($(common-objpfx)Versions.def.v.i): Target removed.
39201         ($(common-objpfx)Versions.def): New target.
39202         ($(common-objpfx)Versions.all): Depend on that rather that
39203         $(common-objpfx)Versions.def.v.
39204         * Versions.def: File removed.
39206         * Makeconfig (+gccwarn): Add -Wundef.
39207         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
39208         a dl-sysdep.h breaking its contract.
39209         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
39210         * include/stackinfo.h: New file.
39211         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
39212         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
39213         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
39214         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
39215         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
39216         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
39217         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39218         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39219         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39220         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39221         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39222         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
39223         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39224         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39225         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39227 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39229         [BZ #16707]
39230         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
39231         implementation.
39232         * math/libm-test.inc (round_test_data): Add more tests.
39234         [BZ #16706]
39235         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
39236         implementation.
39237         * math/libm-test.inc (nearbyint_test_data): Add more tests.
39239         [BZ #16701]
39240         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
39241         implementation.
39242         * math/libm-test.inc (ceil_test_data): Add more tests.
39244         * math/libm-test.inc (trunc_test_data): Add more tests related to
39245         BZ#16414.
39247 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39249         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
39250         with #if rather than #ifdef.
39251         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
39253 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
39255         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
39256         first.  Disable AVX-512 GCC support if assembler doesn't support
39257         it.
39258         * sysdeps/x86_64/configure: Regenerated.
39260 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
39262         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
39263         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
39264         (__old_pthread_attr_setstack): Likewise.
39265         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
39266         [!_STACK_GROWS_DOWN]: Likewise.
39268 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
39270         * config.make.in (have-bash2): Delete.
39271         * configure.ac (libc_cv_have_bash2): Delete.
39272         * configure: Regenerate.
39273         * elf/Makefile (common-ldd-rewrite): Rename to ...
39274         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
39275         (sh-ldd-rewrite): Delete.
39276         (bash-ldd-rewrite): Delete.
39277         (have-bash2): Delete checks.
39278         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
39279         ldd-rewrite.
39281         * config.make.in (have-ksh): Delete.
39282         (KSH): Delete.
39283         * configure.ac (libc_cv_have_ksh): Delete.
39284         * configure: Regenerate.
39286         * elf/Makefile: Delete $(have-ksh) check.
39287         ($(objpfx)sotruss): Change KSH to BASH.
39288         * elf/sotruss.ksh: Rename to ...
39289         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
39290         function style to match POSIX.  Drop ksh vim mode setting.
39292         * manual/time.texi (Specifying the Time Zone with TZ): Change
39293         Tuesday to Thursday.
39295         * debug/tst-longjmp_chk2.c: Update header comment.
39296         (stackoverflow_handler): Add comment.  Call assert on pass value.
39298 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
39300         [BZ #16194]
39301         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
39302         (HAVE_AVX512_ASM_SUPPORT): Likewise.
39303         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
39304         (La_x86_64_vector): Add zmm.
39305         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
39306         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
39307         ($(objpfx)tst-audit10): New target.
39308         ($(objpfx)tst-audit10.out): Likewise.
39309         (tst-audit10-ENV): New.
39310         (AVX512-CFLAGS): Likewise.
39311         (CFLAGS-tst-audit10.c): Likewise.
39312         (CFLAGS-tst-auditmod10a.c): Likewise.
39313         (CFLAGS-tst-auditmod10b.c): Likewise.
39314         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
39315         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
39316         * sysdeps/x86_64/configure: Regenerated.
39317         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
39318         AVX-512 zmm register support.
39319         (_dl_x86_64_save_sse): Likewise.
39320         (_dl_x86_64_restore_sse): Likewise.
39321         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
39322         size vector registers.
39323         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
39324         (ZMM_SIZE): Likewise.
39325         * sysdeps/x86_64/tst-audit10.c: New file.
39326         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
39327         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
39329 2014-03-13  Roland McGrath  <roland@hack.frob.com>
39331         * configure.ac (HAVE_EHDR_START): New check.
39332         * configure: Regenerated.
39333         * config.h.in (HAVE_EHDR_START): New #undef.
39334         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
39335         assuming the lowest-addressed segment maps the start of the file.
39337 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
39339         * INSTALL: Regenerated.
39341 2014-03-13  Will Newton  <will.newton@linaro.org>
39343         * manual/setjmp.texi (System V contexts): Improve
39344         clarity and grammar of documentation.
39346 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
39348         [BZ #16381]
39349         * elf/Makefile (tests): Add tst-pie2.
39350         (tests-pie): Add tst-pie2.
39351         * elf/tst-pie2.c: New file.
39352         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
39353         for ET_EXEC.
39354         * elf/rtld.c (map_doit): Load executable as lt_executable.
39355         (dl_main): Likewise.
39357 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
39359         [BZ #16642]
39360         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39361         (__ASSUME_PSELECT): Undefine.
39363 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39365         [BZ #16689]
39366         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
39367         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
39368         static build.
39369         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
39370         selector for static builds.
39372 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39374         [BZ #16695]
39375         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
39376         key in the buffer.
39378 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39380         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
39381         IFUNC selector for static builds.
39383 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
39385         * sysdeps/mips/math_private.h [__mips_hard_float]
39386         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
39387         libc_feresetround_mips_ctx.
39388         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
39389         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
39390         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
39392         [BZ #16677]
39393         * math/s_nextafter.c (__nextafter): Do not return value from
39394         overflowing computation.
39395         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
39396         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
39397         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
39398         Likewise.
39399         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
39400         Likewise.
39401         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
39402         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
39404 2014-03-11  Roland McGrath  <roland@hack.frob.com>
39406         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
39407         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
39408         Move sfi_sp use from the load-multiple (that no longer sets sp) to
39409         the new mov targetting sp.
39411 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39413         [BZ #16683]
39414         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
39415         Define it for static builds as well.
39416         (NO_BZERO_IMPL): Likewise.
39418 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39420         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
39421         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
39422         multiarch strspn for PPC64.
39423         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
39424         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
39425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39426         (__libc_ifunc_impl_list): Likewise.
39427         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
39428         multiarch optimizations
39429         * string/strspn.c (strspn): Using macro to redefine symbol name.
39431 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39432             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39434         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
39435         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
39436         multiarch strncat for PPC64.
39437         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
39438         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
39439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39440         (__libc_ifunc_impl_list): Likewise.
39441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
39442         multiarch optimizations
39444 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39446         [BZ #16639]
39447         * nscd/nscd.service: Make service type forking.
39449 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39451         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
39452         sign in non default rounding modes.
39453         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
39455 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
39457         * math/libm-test.inc (ALL_RM_TEST): New macro.
39458         (ceil_test): Use ALL_RM_TEST.
39459         (cimag_test): Likewise.
39460         (conj_test): Likewise.
39461         (copysign_test): Likewise.
39462         (cproj_test): Likewise.
39463         (creal_test): Likewise.
39464         (fabs_test): Likewise.
39465         (floor_test): Likewise.
39466         (fmax_test): Likewise.
39467         (fmin_test): Likewise.
39468         (fmod_test): Likewise.
39469         (fpclassify_test): Likewise.
39470         (frexp_test): Likewise.
39471         (ilogb_test): Likewise.
39472         (isfinite_test): Likewise.
39473         (finite_test): Likewise.
39474         (isgreater_test): Likewise.
39475         (isgreaterequal_test): Likewise.
39476         (isinf_test): Likewise.
39477         (isless_test): Likewise.
39478         (islessequal_test): Likewise.
39479         (islessgreater_test): Likewise.
39480         (isnan_test): Likewise.
39481         (isnormal_test): Likewise.
39482         (issignaling_test): Likewise.
39483         (isunordered_test): Likewise.
39484         (logb_test): Likewise.
39485         (logb_downward_test_data): Remove.
39486         (logb_test_downward): Likewise.
39487         (lround_test): Use ALL_RM_TEST.
39488         (llround_test): Likewise.
39489         (modf_test): Likewise.
39490         (nexttoward_test): Likewise.
39491         (remainder_test): Likewise.
39492         (drem_test): Likewise.
39493         (remainder_tonearest_test_data): Likewise.
39494         (remainder_test_tonearest): Likewise.
39495         (drem_test_tonearest): Likewise.
39496         (remainder_towardzero_test_data): Likewise.
39497         (remainder_test_towardzero): Likewise.
39498         (drem_test_towardzero): Likewise.
39499         (remainder_downward_test_data): Likewise.
39500         (remainder_test_downward): Likewise.
39501         (drem_test_downward): Likewise.
39502         (remainder_upward_test_data): Likewise.
39503         (remainder_test_upward): Likewise.
39504         (drem_test_upward): Likewise.
39505         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
39506         (round_test): Use ALL_RM_TEST.
39507         (signbit_test): Likewise.
39508         (trunc_test): Likewise.
39509         (significand_test): Likewise.
39510         (main): Don't call removed functions.
39512 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39514         [BZ #16674]
39515         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
39516         || __USE_XOPEN2K8].
39517         (ILL_ILLOPN): Likewise.
39518         (ILL_ILLADR): Likewise.
39519         (ILL_ILLTRP): Likewise.
39520         (ILL_PRVOPC): Likewise.
39521         (ILL_PRVREG): Likewise.
39522         (ILL_COPROC): Likewise.
39523         (ILL_BADSTK): Likewise.
39524         (FPE_INTDIV): Likewise.
39525         (FPE_INTOVF): Likewise.
39526         (FPE_FLTDIV): Likewise.
39527         (FPE_FLTOVF): Likewise.
39528         (FPE_FLTUND): Likewise.
39529         (FPE_FLTRES): Likewise.
39530         (FPE_FLTINV): Likewise.
39531         (FPE_FLTSUB): Likewise.
39532         (SEGV_MAPERR): Likewise.
39533         (SEGV_ACCERR): Likewise.
39534         (BUS_ADRALN): Likewise.
39535         (BUS_ADRERR): Likewise.
39536         (BUS_OBJERR): Likewise.
39537         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39538         (TRAP_TRACE): Likewise.
39539         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39540         __USE_XOPEN2K8].
39541         (CLD_KILLED): Likewise.
39542         (CLD_DUMPED): Likewise.
39543         (CLD_TRAPPED): Likewise.
39544         (CLD_STOPPED): Likewise.
39545         (CLD_CONTINUED): Likewise.
39546         (POLL_IN): Likewise.
39547         (POLL_OUT): Likewise.
39548         (POLL_MSG): Likewise.
39549         (POLL_ERR): Likewise.
39550         (POLL_PRI): Likewise.
39551         (POLL_HUP): Likewise.
39552         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
39553         Likewise.
39554         (ILL_ILLOPN): Likewise.
39555         (ILL_ILLADR): Likewise.
39556         (ILL_ILLTRP): Likewise.
39557         (ILL_PRVOPC): Likewise.
39558         (ILL_PRVREG): Likewise.
39559         (ILL_COPROC): Likewise.
39560         (ILL_BADSTK): Likewise.
39561         (FPE_INTDIV): Likewise.
39562         (FPE_INTOVF): Likewise.
39563         (FPE_FLTDIV): Likewise.
39564         (FPE_FLTOVF): Likewise.
39565         (FPE_FLTUND): Likewise.
39566         (FPE_FLTRES): Likewise.
39567         (FPE_FLTINV): Likewise.
39568         (FPE_FLTSUB): Likewise.
39569         (SEGV_MAPERR): Likewise.
39570         (SEGV_ACCERR): Likewise.
39571         (BUS_ADRALN): Likewise.
39572         (BUS_ADRERR): Likewise.
39573         (BUS_OBJERR): Likewise.
39574         (BUS_MCEERR_AR): Likewise.
39575         (BUS_MCEERR_AO): Likewise.
39576         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39577         (TRAP_TRACE): Likewise.
39578         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39579         __USE_XOPEN2K8].
39580         (CLD_KILLED): Likewise.
39581         (CLD_DUMPED): Likewise.
39582         (CLD_TRAPPED): Likewise.
39583         (CLD_STOPPED): Likewise.
39584         (CLD_CONTINUED): Likewise.
39585         (POLL_IN): Likewise.
39586         (POLL_OUT): Likewise.
39587         (POLL_MSG): Likewise.
39588         (POLL_ERR): Likewise.
39589         (POLL_PRI): Likewise.
39590         (POLL_HUP): Likewise.
39591         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
39592         (ILL_ILLOPN): Likewise.
39593         (ILL_ILLADR): Likewise.
39594         (ILL_ILLTRP): Likewise.
39595         (ILL_PRVOPC): Likewise.
39596         (ILL_PRVREG): Likewise.
39597         (ILL_COPROC): Likewise.
39598         (ILL_BADSTK): Likewise.
39599         (FPE_INTDIV): Likewise.
39600         (FPE_INTOVF): Likewise.
39601         (FPE_FLTDIV): Likewise.
39602         (FPE_FLTOVF): Likewise.
39603         (FPE_FLTUND): Likewise.
39604         (FPE_FLTRES): Likewise.
39605         (FPE_FLTINV): Likewise.
39606         (FPE_FLTSUB): Likewise.
39607         (SEGV_MAPERR): Likewise.
39608         (SEGV_ACCERR): Likewise.
39609         (BUS_ADRALN): Likewise.
39610         (BUS_ADRERR): Likewise.
39611         (BUS_OBJERR): Likewise.
39612         (BUS_MCEERR_AR): Likewise.
39613         (BUS_MCEERR_AO): Likewise.
39614         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39615         (TRAP_TRACE): Likewise.
39616         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39617         __USE_XOPEN2K8].
39618         (CLD_KILLED): Likewise.
39619         (CLD_DUMPED): Likewise.
39620         (CLD_TRAPPED): Likewise.
39621         (CLD_STOPPED): Likewise.
39622         (CLD_CONTINUED): Likewise.
39623         (POLL_IN): Likewise.
39624         (POLL_OUT): Likewise.
39625         (POLL_MSG): Likewise.
39626         (POLL_ERR): Likewise.
39627         (POLL_PRI): Likewise.
39628         (POLL_HUP): Likewise.
39629         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
39630         Likewise.
39631         (ILL_ILLOPN): Likewise.
39632         (ILL_ILLADR): Likewise.
39633         (ILL_ILLTRP): Likewise.
39634         (ILL_PRVOPC): Likewise.
39635         (ILL_PRVREG): Likewise.
39636         (ILL_COPROC): Likewise.
39637         (ILL_BADSTK): Likewise.
39638         (ILL_BADIADDR): Likewise.
39639         (ILL_BREAK): Likewise.
39640         (FPE_INTDIV): Likewise.
39641         (FPE_INTOVF): Likewise.
39642         (FPE_FLTDIV): Likewise.
39643         (FPE_FLTOVF): Likewise.
39644         (FPE_FLTUND): Likewise.
39645         (FPE_FLTRES): Likewise.
39646         (FPE_FLTINV): Likewise.
39647         (FPE_FLTSUB): Likewise.
39648         (FPE_DECOVF): Likewise.
39649         (FPE_DECDIV): Likewise.
39650         (FPE_DECERR): Likewise.
39651         (FPE_INVASC): Likewise.
39652         (FPE_INVDEC): Likewise.
39653         (SEGV_MAPERR): Likewise.
39654         (SEGV_ACCERR): Likewise.
39655         (SEGV_PSTKOVF): Likewise.
39656         (BUS_ADRALN): Likewise.
39657         (BUS_ADRERR): Likewise.
39658         (BUS_OBJERR): Likewise.
39659         (BUS_MCEERR_AR): Likewise.
39660         (BUS_MCEERR_AO): Likewise.
39661         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39662         (TRAP_TRACE): Likewise.
39663         (TRAP_BRANCH): Likewise.
39664         (TRAP_HWBKPT): Likewise.
39665         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39666         __USE_XOPEN2K8].
39667         (CLD_KILLED): Likewise.
39668         (CLD_DUMPED): Likewise.
39669         (CLD_TRAPPED): Likewise.
39670         (CLD_STOPPED): Likewise.
39671         (CLD_CONTINUED): Likewise.
39672         (POLL_IN): Likewise.
39673         (POLL_OUT): Likewise.
39674         (POLL_MSG): Likewise.
39675         (POLL_ERR): Likewise.
39676         (POLL_PRI): Likewise.
39677         (POLL_HUP): Likewise.
39678         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
39679         (ILL_ILLOPN): Likewise.
39680         (ILL_ILLADR): Likewise.
39681         (ILL_ILLTRP): Likewise.
39682         (ILL_PRVOPC): Likewise.
39683         (ILL_PRVREG): Likewise.
39684         (ILL_COPROC): Likewise.
39685         (ILL_BADSTK): Likewise.
39686         (FPE_INTDIV): Likewise.
39687         (FPE_INTOVF): Likewise.
39688         (FPE_FLTDIV): Likewise.
39689         (FPE_FLTOVF): Likewise.
39690         (FPE_FLTUND): Likewise.
39691         (FPE_FLTRES): Likewise.
39692         (FPE_FLTINV): Likewise.
39693         (FPE_FLTSUB): Likewise.
39694         (SEGV_MAPERR): Likewise.
39695         (SEGV_ACCERR): Likewise.
39696         (BUS_ADRALN): Likewise.
39697         (BUS_ADRERR): Likewise.
39698         (BUS_OBJERR): Likewise.
39699         (BUS_MCEERR_AR): Likewise.
39700         (BUS_MCEERR_AO): Likewise.
39701         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39702         (TRAP_TRACE): Likewise.
39703         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39704         __USE_XOPEN2K8].
39705         (CLD_KILLED): Likewise.
39706         (CLD_DUMPED): Likewise.
39707         (CLD_TRAPPED): Likewise.
39708         (CLD_STOPPED): Likewise.
39709         (CLD_CONTINUED): Likewise.
39710         (POLL_IN): Likewise.
39711         (POLL_OUT): Likewise.
39712         (POLL_MSG): Likewise.
39713         (POLL_ERR): Likewise.
39714         (POLL_PRI): Likewise.
39715         (POLL_HUP): Likewise.
39716         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
39717         (ILL_ILLOPN): Likewise.
39718         (ILL_ILLADR): Likewise.
39719         (ILL_ILLTRP): Likewise.
39720         (ILL_PRVOPC): Likewise.
39721         (ILL_PRVREG): Likewise.
39722         (ILL_COPROC): Likewise.
39723         (ILL_BADSTK): Likewise.
39724         (FPE_INTDIV): Likewise.
39725         (FPE_INTOVF): Likewise.
39726         (FPE_FLTDIV): Likewise.
39727         (FPE_FLTOVF): Likewise.
39728         (FPE_FLTUND): Likewise.
39729         (FPE_FLTRES): Likewise.
39730         (FPE_FLTINV): Likewise.
39731         (FPE_FLTSUB): Likewise.
39732         (SEGV_MAPERR): Likewise.
39733         (SEGV_ACCERR): Likewise.
39734         (BUS_ADRALN): Likewise.
39735         (BUS_ADRERR): Likewise.
39736         (BUS_OBJERR): Likewise.
39737         (BUS_MCEERR_AR): Likewise.
39738         (BUS_MCEERR_AO): Likewise.
39739         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39740         (TRAP_TRACE): Likewise.
39741         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39742         __USE_XOPEN2K8].
39743         (CLD_KILLED): Likewise.
39744         (CLD_DUMPED): Likewise.
39745         (CLD_TRAPPED): Likewise.
39746         (CLD_STOPPED): Likewise.
39747         (CLD_CONTINUED): Likewise.
39748         (POLL_IN): Likewise.
39749         (POLL_OUT): Likewise.
39750         (POLL_MSG): Likewise.
39751         (POLL_ERR): Likewise.
39752         (POLL_PRI): Likewise.
39753         (POLL_HUP): Likewise.
39754         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
39755         (ILL_ILLOPN): Likewise.
39756         (ILL_ILLADR): Likewise.
39757         (ILL_ILLTRP): Likewise.
39758         (ILL_PRVOPC): Likewise.
39759         (ILL_PRVREG): Likewise.
39760         (ILL_COPROC): Likewise.
39761         (ILL_BADSTK): Likewise.
39762         (FPE_INTDIV): Likewise.
39763         (FPE_INTOVF): Likewise.
39764         (FPE_FLTDIV): Likewise.
39765         (FPE_FLTOVF): Likewise.
39766         (FPE_FLTUND): Likewise.
39767         (FPE_FLTRES): Likewise.
39768         (FPE_FLTINV): Likewise.
39769         (FPE_FLTSUB): Likewise.
39770         (SEGV_MAPERR): Likewise.
39771         (SEGV_ACCERR): Likewise.
39772         (BUS_ADRALN): Likewise.
39773         (BUS_ADRERR): Likewise.
39774         (BUS_OBJERR): Likewise.
39775         (BUS_MCEERR_AR): Likewise.
39776         (BUS_MCEERR_AO): Likewise.
39777         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39778         (TRAP_TRACE): Likewise.
39779         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39780         __USE_XOPEN2K8].
39781         (CLD_KILLED): Likewise.
39782         (CLD_DUMPED): Likewise.
39783         (CLD_TRAPPED): Likewise.
39784         (CLD_STOPPED): Likewise.
39785         (CLD_CONTINUED): Likewise.
39786         (POLL_IN): Likewise.
39787         (POLL_OUT): Likewise.
39788         (POLL_MSG): Likewise.
39789         (POLL_ERR): Likewise.
39790         (POLL_PRI): Likewise.
39791         (POLL_HUP): Likewise.
39792         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
39793         (ILL_ILLOPN): Likewise.
39794         (ILL_ILLADR): Likewise.
39795         (ILL_ILLTRP): Likewise.
39796         (ILL_PRVOPC): Likewise.
39797         (ILL_PRVREG): Likewise.
39798         (ILL_COPROC): Likewise.
39799         (ILL_BADSTK): Likewise.
39800         (ILL_DBLFLT): Likewise.
39801         (ILL_HARDWALL): Likewise.
39802         (FPE_INTDIV): Likewise.
39803         (FPE_INTOVF): Likewise.
39804         (FPE_FLTDIV): Likewise.
39805         (FPE_FLTOVF): Likewise.
39806         (FPE_FLTUND): Likewise.
39807         (FPE_FLTRES): Likewise.
39808         (FPE_FLTINV): Likewise.
39809         (FPE_FLTSUB): Likewise.
39810         (SEGV_MAPERR): Likewise.
39811         (SEGV_ACCERR): Likewise.
39812         (BUS_ADRALN): Likewise.
39813         (BUS_ADRERR): Likewise.
39814         (BUS_OBJERR): Likewise.
39815         (BUS_MCEERR_AR): Likewise.
39816         (BUS_MCEERR_AO): Likewise.
39817         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39818         (TRAP_TRACE): Likewise.
39819         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39820         __USE_XOPEN2K8].
39821         (CLD_KILLED): Likewise.
39822         (CLD_DUMPED): Likewise.
39823         (CLD_TRAPPED): Likewise.
39824         (CLD_STOPPED): Likewise.
39825         (CLD_CONTINUED): Likewise.
39826         (POLL_IN): Likewise.
39827         (POLL_OUT): Likewise.
39828         (POLL_MSG): Likewise.
39829         (POLL_ERR): Likewise.
39830         (POLL_PRI): Likewise.
39831         (POLL_HUP): Likewise.
39832         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
39833         (ILL_ILLOPN): Likewise.
39834         (ILL_ILLADR): Likewise.
39835         (ILL_ILLTRP): Likewise.
39836         (ILL_PRVOPC): Likewise.
39837         (ILL_PRVREG): Likewise.
39838         (ILL_COPROC): Likewise.
39839         (ILL_BADSTK): Likewise.
39840         (FPE_INTDIV): Likewise.
39841         (FPE_INTOVF): Likewise.
39842         (FPE_FLTDIV): Likewise.
39843         (FPE_FLTOVF): Likewise.
39844         (FPE_FLTUND): Likewise.
39845         (FPE_FLTRES): Likewise.
39846         (FPE_FLTINV): Likewise.
39847         (FPE_FLTSUB): Likewise.
39848         (SEGV_MAPERR): Likewise.
39849         (SEGV_ACCERR): Likewise.
39850         (BUS_ADRALN): Likewise.
39851         (BUS_ADRERR): Likewise.
39852         (BUS_OBJERR): Likewise.
39853         (BUS_MCEERR_AR): Likewise.
39854         (BUS_MCEERR_AO): Likewise.
39855         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39856         (TRAP_TRACE): Likewise.
39857         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39858         __USE_XOPEN2K8].
39859         (CLD_KILLED): Likewise.
39860         (CLD_DUMPED): Likewise.
39861         (CLD_TRAPPED): Likewise.
39862         (CLD_STOPPED): Likewise.
39863         (CLD_CONTINUED): Likewise.
39864         (POLL_IN): Likewise.
39865         (POLL_OUT): Likewise.
39866         (POLL_MSG): Likewise.
39867         (POLL_ERR): Likewise.
39868         (POLL_PRI): Likewise.
39869         (POLL_HUP): Likewise.
39870         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
39871         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39873         [BZ #16670]
39874         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
39875         before #include of <time.h>.
39876         [!__USE_XOPEN2K] (__need_timespec): Likewise.
39877         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
39878         (test-xfail-UNIX98/sched.h/conform): Likewise.
39880 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39882         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
39883         error absence of trapping exception support.
39884         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39886 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39888         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
39889         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
39890         * timezone/Makefile (testdata): Move definition above include of
39891         Rules.
39892         (test-zones): New variable.
39893         (tests-special): Add zone files.
39894         (build-testdata): Use $(evaluate-test).
39896         * elf/Makefile (tests-special): Rename tests to end with .out.
39897         ($(objpfx)noload-mem): Likewise.
39898         ($(objpfx)tst-leaks1-mem): Likewise.
39899         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
39900         * iconv/Makefile (xtests-special): Change test-iconvconfig to
39901         $(objpfx)test-iconvconfig.out.
39902         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
39903         set -e inside subshell and redirect output to file.
39904         * iconvdata/Makefile (generated): Rename tests to end with .out.
39905         Correct type.
39906         (tests-special): Rename tests to end with .out.
39907         ($(objpfx)mtrace-tst-loading): Likewise.
39908         * intl/Makefile (generated): Likewise.
39909         (tests-special): Likewise.
39910         ($(objpfx)mtrace-tst-gettext): Likewise.
39911         * misc/Makefile (generated): Likewise.
39912         (tests-special): Likewise.
39913         ($(objpfx)tst-error1-mem): Likewise.
39914         * nptl/Makefile (tests-special): Likewise.
39915         ($(objpfx)tst-stack3-mem): Likewise.
39916         (generated): Likewise.
39917         * posix/Makefile (generated): Likewise.
39918         (tests-special): Likewise.
39919         (xtests-special): Likewise.
39920         ($(objpfx)tst-fnmatch-mem): Likewise.
39921         ($(objpfx)bug-regex2-mem): Likewise.
39922         ($(objpfx)bug-regex14-mem): Likewise.
39923         ($(objpfx)bug-regex21-mem): Likewise.
39924         ($(objpfx)bug-regex31-mem): Likewise.
39925         ($(objpfx)tst-vfork3-mem): Likewise.
39926         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39927         ($(objpfx)tst-pcre-mem): Likewise.
39928         ($(objpfx)tst-boost-mem): Likewise.
39929         ($(objpfx)bug-ga2-mem): Likewise.
39930         ($(objpfx)bug-glob2-mem): Likewise.
39931         * resolv/Makefile (generate): Likewise.
39932         (tests-special): Likewise.
39933         (xtests-special): Likewise.
39934         (generated): Likewise.
39935         ($(objpfx)mtrace-tst-leaks): Likewise.
39936         ($(objpfx)mtrace-tst-leaks2): Likewise.
39938         * scripts/merge-test-results.sh: New file.
39939         * Makefile (tests-special-notdir): New variable.
39940         (tests): Run merge-test-results.sh.
39941         (xtests): Likewise.
39942         * Rules (tests-special-notdir): New variable.
39943         (xtests-special-notdir): Likewise.
39944         (tests): Run merge-test-results.sh
39945         (xtests): Likewise.
39947         * Makeconfig (test-xfail-name): New variable.
39948         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
39949         compute variable name for expected failures.
39950         * conform/Makefile (conformtest-headers-data): New variable.
39951         (conformtest-standards): Likewise.
39952         (conformtest-headers-ISO): Likewise.
39953         (conformtest-headers-ISO99): Likewise.
39954         (conformtest-headers-ISO11): Likewise.
39955         (conformtest-headers-POSIX): Likewise.
39956         (conformtest-headers-XPG3): Likewise.
39957         (conformtest-headers-XPG4): Likewise.
39958         (conformtest-headers-UNIX98): Likewise.
39959         (conformtest-headers-XOPEN2K): Likewise.
39960         (conformtest-headers-POSIX2008): Likewise.
39961         (conformtest-headers-XOPEN2K8): Likewise.
39962         (conformtest-header-list-base): Likewise.
39963         (conformtest-header-list-tests): Likewise.
39964         (conformtest-header-base): Likewise.
39965         (conformtest-header-tests): Likewise.
39966         (tests-special): Add $(conformtest-header-list-tests).  If
39967         [$(fast-check) && !$(cross-compiling)], add
39968         $(conformtest-header-tests) instead of
39969         $(objpfx)run-conformtest.out.
39970         (generated): Add $(conformtest-header-list-base).  If
39971         [$(fast-check) && !$(cross-compiling)], add
39972         $(conformtest-header-base).  Remove previous setting.
39973         ($(conformtest-header-list-tests)): New target.
39974         (test-xfail-run-conformtest): Remove variable.
39975         ($(objpfx)run-conformtest.out): Remove target.
39976         (test-xfail-ISO11/complex.h/conform): New variable.
39977         (test-xfail-ISO11/stdalign.h/conform): Likewise.
39978         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
39979         (test-xfail-XPG3/varargs.h/conform): Likewise.
39980         (test-xfail-XPG4/varargs.h/conform): Likewise.
39981         (test-xfail-UNIX98/varargs.h/conform): Likewise.
39982         (test-xfail-XPG4/ndbm.h/conform): Likewise.
39983         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
39984         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
39985         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
39986         (test-xfail-XPG3/fcntl.h/conform): Likewise.
39987         (test-xfail-XPG3/ftw.h/conform): Likewise.
39988         (test-xfail-XPG3/grp.h/conform): Likewise.
39989         (test-xfail-XPG3/langinfo.h/conform): Likewise.
39990         (test-xfail-XPG3/limits.h/conform): Likewise.
39991         (test-xfail-XPG3/pwd.h/conform): Likewise.
39992         (test-xfail-XPG3/search.h/conform): Likewise.
39993         (test-xfail-XPG3/signal.h/conform): Likewise.
39994         (test-xfail-XPG3/stdio.h/conform): Likewise.
39995         (test-xfail-XPG3/stdlib.h/conform): Likewise.
39996         (test-xfail-XPG3/string.h/conform): Likewise.
39997         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
39998         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
39999         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
40000         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
40001         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
40002         (test-xfail-XPG3/sys/types.h/conform): Likewise.
40003         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
40004         (test-xfail-XPG3/termios.h/conform): Likewise.
40005         (test-xfail-XPG3/time.h/conform): Likewise.
40006         (test-xfail-XPG3/unistd.h/conform): Likewise.
40007         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
40008         (test-xfail-XPG4/fcntl.h/conform): Likewise.
40009         (test-xfail-XPG4/langinfo.h/conform): Likewise.
40010         (test-xfail-XPG4/netdb.h/conform): Likewise.
40011         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
40012         (test-xfail-XPG4/signal.h/conform): Likewise.
40013         (test-xfail-XPG4/stdio.h/conform): Likewise.
40014         (test-xfail-XPG4/stdlib.h/conform): Likewise.
40015         (test-xfail-XPG4/stropts.h/conform): Likewise.
40016         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
40017         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
40018         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
40019         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
40020         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
40021         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
40022         (test-xfail-XPG4/sys/time.h/conform): Likewise.
40023         (test-xfail-XPG4/sys/types.h/conform): Likewise.
40024         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
40025         (test-xfail-XPG4/termios.h/conform): Likewise.
40026         (test-xfail-XPG4/ucontext.h/conform): Likewise.
40027         (test-xfail-XPG4/unistd.h/conform): Likewise.
40028         (test-xfail-XPG4/utmpx.h/conform): Likewise.
40029         (test-xfail-POSIX/sched.h/conform): Likewise.
40030         (test-xfail-POSIX/signal.h/conform): Likewise.
40031         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40032         (test-xfail-POSIX/tar.h/conform): Likewise.
40033         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
40034         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
40035         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
40036         (test-xfail-UNIX98/netdb.h/conform): Likewise.
40037         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
40038         (test-xfail-UNIX98/sched.h/conform): Likewise.
40039         (test-xfail-UNIX98/signal.h/conform): Likewise.
40040         (test-xfail-UNIX98/stdio.h/conform): Likewise.
40041         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
40042         (test-xfail-UNIX98/stropts.h/conform): Likewise.
40043         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
40044         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
40045         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
40046         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
40047         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
40048         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
40049         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
40050         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
40051         (test-xfail-UNIX98/unistd.h/conform): Likewise.
40052         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
40053         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
40054         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
40055         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
40056         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
40057         (test-xfail-XOPEN2K/math.h/conform): Likewise.
40058         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
40059         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
40060         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
40061         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
40062         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
40063         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
40064         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
40065         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
40066         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
40067         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
40068         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
40069         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
40070         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
40071         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
40072         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
40073         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
40074         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
40075         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
40076         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
40077         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
40078         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
40079         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
40080         (test-xfail-POSIX2008/signal.h/conform): Likewise.
40081         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
40082         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
40083         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
40084         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
40085         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
40086         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
40087         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
40088         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
40089         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
40090         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
40091         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
40092         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
40093         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
40094         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
40095         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
40096         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
40097         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
40098         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
40099         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
40100         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
40101         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
40102         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
40103         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
40104         (conformtest-cc-flags): Likewise.
40105         ($(conformtest-header-tests): New target.
40106         * conform/check-header-lists.sh: New file.
40107         * conform/run-conformtest.sh: Remove.
40109         * conform/conformtest.pl: Allow ' and \ in values given for
40110         constants.
40111         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
40112         inclusion.
40113         [POSIX] (sys/types.h): Likewise.
40114         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
40115         inclusion.
40116         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
40117         inclusion.
40118         * conform/data/signal.h-data (SIGIO): Remove expectation.
40119         [XPG3] (SIGBUS): Do not expect.
40120         [POSIX || XPG3] (SIGPOLL): Likewise.
40121         [POSIX || XPG3] (SIGPROF): Likewise.
40122         [POSIX || XPG3] (SIGSYS): Likewise.
40123         [XPG3] (SIGTRAP): Likewise.
40124         [POSIX || XPG3] (SIGURG): Likewise.
40125         [POSIX || XPG3] (SIGVTALRM): Likewise.
40126         [POSIX || XPG3] (SIGXCPU): Likewise.
40127         [POSIX || XPG3] (SIGXFSZ): Likewise.
40128         [POSIX] (SA_SIGINFO): Expect.
40129         [XPG3] (siginfo_t): Do not expect type or contents.
40130         [POSIX] (si_pid): Do not expect element.
40131         [POSIX] (si_uid): Likewise.
40132         [POSIX] (si_addr): Likewise.
40133         [POSIX] (si_status): Likewise.
40134         [POSIX] (si_band): Likewise.
40135         [XPG4] (si_value): Likewise.
40136         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
40137         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
40138         [POSIX || XPG3] (ILL_ILLADR): Likewise.
40139         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
40140         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
40141         [POSIX || XPG3] (ILL_PRVREG): Likewise.
40142         [POSIX || XPG3] (ILL_COPROC): Likewise.
40143         [POSIX || XPG3] (ILL_BADSTK): Likewise.
40144         [POSIX || XPG3] (FPE_INTDIV): Likewise.
40145         [POSIX || XPG3] (FPE_INTOVF): Likewise.
40146         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
40147         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
40148         [POSIX || XPG3] (FPE_FLTUND): Likewise.
40149         [POSIX || XPG3] (FPE_FLTRES): Likewise.
40150         [POSIX || XPG3] (FPE_FLTINV): Likewise.
40151         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
40152         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
40153         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
40154         [POSIX || XPG3] (BUS_ADRALN): Likewise.
40155         [POSIX || XPG3] (BUS_ADRERR): Likewise.
40156         [POSIX || XPG3] (BUS_OBJERR): Likewise.
40157         [POSIX || XPG3] (CLD_EXITED): Likewise.
40158         [POSIX || XPG3] (CLD_KILLED): Likewise.
40159         [POSIX || XPG3] (CLD_DUMPED): Likewise.
40160         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
40161         [POSIX || XPG3] (CLD_STOPPED): Likewise.
40162         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
40163         [POSIX || XPG3] (POLL_IN): Likewise.
40164         [POSIX || XPG3] (POLL_OUT): Likewise.
40165         [POSIX || XPG3] (POLL_MSG): Likewise.
40166         [POSIX || XPG3] (POLL_ERR): Likewise.
40167         [POSIX || XPG3] (POLL_PRI): Likewise.
40168         [POSIX || XPG3] (POLL_HUP): Likewise.
40169         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
40170         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
40171         (SIG*): Do not allow.
40172         [XPG3] (si_*): Likewise.
40173         [XPG3] (SI_*): Likewise.
40174         [XPG3 || XPG4] (sigev_*): Likewise.
40175         [XPG3 || XPG4] (SIGEV_*): Likewise.
40176         [XPG3 || XPG4] (sival_*): Likewise.
40177         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
40178         [POSIX || XPG3] (BUS_*): Likewise.
40179         [POSIX || XPG3] (CLD_*): Likewise.
40180         [POSIX || XPG3] (FPE_*): Likewise.
40181         [POSIX || XPG3] (ILL_*): Likewise.
40182         [POSIX || XPG3] (POLL_*): Likewise.
40183         [POSIX || XPG3] (SEGV_*): Likewise.
40184         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
40185         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
40186         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
40187         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
40188         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
40189         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
40190         Specify type and value.
40191         (TVERSLEN): Likewise.
40192         (REGTYPE): Likewise.
40193         (AREGTYPE): Likewise.
40194         (LNKTYPE): Likewise.
40195         (SYMTYPE): Likewise.
40196         (CHRTYPE): Likewise.
40197         (BLKTYPE): Likewise.
40198         (DIRTYPE): Likewise.
40199         (FIFOTYPE): Likewise.
40200         (CONTTYPE): Likewise.
40201         (TSUID): Likewise.
40202         (TSGID): Likewise.
40203         (TSVTX): Likewise.
40204         (TUREAD): Likewise.
40205         (TUWRITE): Likewise.
40206         (TUEXEC): Likewise.
40207         (TGREAD): Likewise.
40208         (TGWRITE): Likewise.
40209         (TGEXEC): Likewise.
40210         (TOREAD): Likewise.
40211         (TOWRITE): Likewise.
40212         (TOEXEC): Likewise.
40213         [POSIX] (TSVTX): Expect constant.
40215 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
40217         * Makefile (tests): Change dependencies to ....
40218         (tests-special): ... additions to this variable.
40219         (tests): Depend on $(tests-special).
40220         * Makerules (check-abi-list): New variable.
40221         (check-abi): Depend on $(check-abi-list).
40222         [$(subdir) = elf] (tests-special): Add
40223         $(objpfx)check-abi-libc.out.
40224         [$(build-shared) = yes && subdir] (tests-special): Add
40225         $(check-abi-list).
40226         [$(build-shared) = yes && subdir] (tests): Do not depend on
40227         check-abi.
40228         * Rules (tests): Depend on $(tests-special).
40229         (xtests): Depend on $(xtests-special).
40230         * catgets/Makefile (tests): Change dependencies to ....
40231         (tests-special): ... additions to this variable.
40232         * conform/Makefile (tests): Change dependencies to ....
40233         (tests-special): ... additions to this variable.
40234         * elf/Makefile (tests): Change dependencies to ....
40235         (tests-special): ... additions to this variable.
40236         * grp/Makefile (tests): Change dependencies to ....
40237         (tests-special): ... additions to this variable.
40238         * iconv/Makefile (xtests): Change dependencies to ....
40239         (xtests-special): ... additions to this variable.
40240         * iconvdata/Makefile (tests): Change dependencies to ....
40241         (tests-special): ... additions to this variable.
40242         * intl/Makefile (tests): Change dependencies to ....
40243         (tests-special): ... additions to this variable.  Also add
40244         $(objpfx)tst-gettext.out.
40245         * io/Makefile (tests): Change dependencies to ....
40246         (tests-special): ... additions to this variable.
40247         * libio/Makefile (tests): Change dependencies to ....
40248         (tests-special): ... additions to this variable.
40249         * malloc/Makefile (tests): Change dependencies to ....
40250         (tests-special): ... additions to this variable.
40251         * misc/Makefile (tests): Change dependencies to ....
40252         (tests-special): ... additions to this variable.
40253         * nptl/Makefile (tests): Change dependencies to ....
40254         (tests-special): ... additions to this variable.
40255         * nptl_db/Makefile (tests): Change dependencies to ....
40256         (tests-special): ... additions to this variable.
40257         * posix/Makefile (tests): Change dependencies to ....
40258         (tests-special): ... additions to this variable.
40259         (xtests): Change dependencies to ....
40260         (xtests-special): ... additions to this variable.
40261         * resolv/Makefile (tests): Change dependencies to ....
40262         (tests-special): ... additions to this variable.
40263         (xtests): Change dependencies to ....
40264         (xtests-special): ... additions to this variable.
40265         * stdio-common/Makefile (tests): Change dependencies to ....
40266         (tests-special): ... additions to this variable.
40267         (do-tst-unbputc): Remove target.
40268         (do-tst-printf): Likewise.
40269         * stdlib/Makefile (tests): Change dependencies to ....
40270         (tests-special): ... additions to this variable.
40271         * string/Makefile (tests): Change dependencies to ....
40272         (tests-special): ... additions to this variable.
40273         * sysdeps/x86/Makefile (tests): Change dependencies to ....
40274         (tests-special): ... additions to this variable.
40276         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
40277         whole file.
40278         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
40279         whole file.
40280         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
40281         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
40283         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
40284         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
40285         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
40286         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
40287         * conform/data/libgen.h-data [XPG3]: Likewise.
40288         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
40289         * conform/data/ndbm.h-data [XPG3]: Likewise.
40290         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40291         * conform/data/netdb.h-data [XPG3]: Likewise.
40292         * conform/data/netinet/in.h-data [XPG3]: Likewise.
40293         * conform/data/poll.h-data [XPG3]: Likewise.
40294         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40295         * conform/data/strings.h-data [XPG3]: Likewise.
40296         * conform/data/stropts.h-data [XPG3]: Likewise.
40297         * conform/data/sys/mman.h-data [XPG3]: Likewise.
40298         * conform/data/sys/resource.h-data [XPG3]: Likewise.
40299         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
40300         Likewise.
40301         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
40302         * conform/data/sys/time.h-data [XPG3]: Likewise.
40303         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
40304         * conform/data/sys/uio.h-data [XPG3]: Likewise.
40305         * conform/data/sys/un.h-data [XPG3]: Likewise.
40306         * conform/data/syslog.h-data [XPG3]: Likewise.
40307         * conform/data/ucontext.h-data [XPG3]: Likewise.
40308         * conform/data/utmpx.h-data [XPG3]: Likewise.
40309         * conform/data/varargs.h-data [UNIX98]: Enable file.
40311         * manual/Makefile (INSTALL_INFO): Remove variable setting.
40313         * math/libm-test.inc (struct test_f_f_data): Move expected results
40314         into structure for each rounding mode.
40315         (struct test_ff_f_data): Likewise.
40316         (struct test_ff_f_data_nexttoward): Likewise.
40317         (struct test_fi_f_data): Likewise.
40318         (struct test_fl_f_data): Likewise.
40319         (struct test_if_f_data): Likewise.
40320         (struct test_fff_f_data): Likewise.
40321         (struct test_c_f_data): Likewise.
40322         (struct test_f_f1_data): Likewise.
40323         (struct test_fF_f1_data): Likewise.
40324         (struct test_ffI_f1_data): Likewise.
40325         (struct test_c_c_data): Likewise.
40326         (struct test_cc_c_data): Likewise.
40327         (struct test_f_i_data): Likewise.
40328         (struct test_ff_i_data): Likewise.
40329         (struct test_f_l_data): Likewise.
40330         (struct test_f_L_data): Likewise.
40331         (struct test_fFF_11_data): Likewise.
40332         (RM_): New macro.
40333         (RM_FE_DOWNWARD): Likewise.
40334         (RM_FE_TONEAREST): Likewise.
40335         (RM_FE_TOWARDZERO): Likewise.
40336         (RM_FE_UPWARD): Likewise.
40337         (RUN_TEST_LOOP_f_f): Update references to expected results.
40338         (RUN_TEST_LOOP_2_f): Likewise.
40339         (RUN_TEST_LOOP_fff_f): Likewise.
40340         (RUN_TEST_LOOP_c_f): Likewise.
40341         (RUN_TEST_LOOP_f_f1): Likewise.
40342         (RUN_TEST_LOOP_fF_f1): Likewise.
40343         (RUN_TEST_LOOP_fI_f1): Likewise.
40344         (RUN_TEST_LOOP_ffI_f1): Likewise.
40345         (RUN_TEST_LOOP_c_c): Likewise.
40346         (RUN_TEST_LOOP_cc_c): Likewise.
40347         (RUN_TEST_LOOP_f_i): Likewise.
40348         (RUN_TEST_LOOP_f_i_tg): Likewise.
40349         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40350         (RUN_TEST_LOOP_f_b): Likewise.
40351         (RUN_TEST_LOOP_f_b_tg): Likewise.
40352         (RUN_TEST_LOOP_f_l): Likewise.
40353         (RUN_TEST_LOOP_f_L): Likewise.
40354         (RUN_TEST_LOOP_fFF_11): Likewise.
40355         * math/gen-libm-test.pl (parse_args): Output four copies of
40356         expected results for each test.
40358         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40359         (__ASSUME_UTIMES): Remove.
40360         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40361         (__ASSUME_UTIMES): Likewise.
40363         * math/gen-auto-libm-tests.c: Update comment on output format.
40364         (output_for_one_input_case): Generate before-rounding and
40365         after-rounding information as conditions on output flags not
40366         floating-point format.
40367         * math/auto-libm-test-out: Regenerated.
40368         * math/gen-libm-test.pl (cond_value): New function.
40369         (or_cond_value): Use cond_value.
40370         (generate_testfile): Handle conditional exceptions.
40372 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
40374         * math/libm-test.inc (max_valid_error): New variable.
40375         (init_max_error): Take new argument specifying whether function
40376         results are exactly determined.  Set max_valid_error and bound
40377         other variables for errors based on this argument.
40378         (set_max_error): Do not record results above max_valid_error.
40379         (check_float_internal): Only accept errors of up to 0.5ulps if
40380         also at most max_valid_error.
40381         (START): Take new argument EXACT and pass it to init_max_error.
40382         (acos_test): Update call to START.
40383         (acos_test_tonearest): Likewise.
40384         (acos_test_towardzero): Likewise.
40385         (acos_test_downward): Likewise.
40386         (acos_test_upward): Likewise.
40387         (acosh_test): Likewise.
40388         (asin_test): Likewise.
40389         (asin_test_tonearest): Likewise.
40390         (asin_test_towardzero): Likewise.
40391         (asin_test_downward): Likewise.
40392         (asin_test_upward): Likewise.
40393         (asinh_test): Likewise.
40394         (atan_test): Likewise.
40395         (atanh_test): Likewise.
40396         (atan2_test): Likewise.
40397         (cabs_test): Likewise.
40398         (cacos_test): Likewise.
40399         (cacosh_test): Likewise.
40400         (carg_test): Likewise.
40401         (casin_test): Likewise.
40402         (casinh_test): Likewise.
40403         (catan_test): Likewise.
40404         (catanh_test): Likewise.
40405         (cbrt_test): Likewise.
40406         (ccos_test): Likewise.
40407         (ccosh_test): Likewise.
40408         (ceil_test): Likewise.
40409         (cexp_test): Likewise.
40410         (cimag_test): Likewise.
40411         (clog_test): Likewise.
40412         (clog10_test): Likewise.
40413         (conj_test): Likewise.
40414         (copysign_test): Likewise.
40415         (cos_test): Likewise.
40416         (cos_test_tonearest): Likewise.
40417         (cos_test_towardzero): Likewise.
40418         (cos_test_downward): Likewise.
40419         (cos_test_upward): Likewise.
40420         (cosh_test): Likewise.
40421         (cosh_test_tonearest): Likewise.
40422         (cosh_test_towardzero): Likewise.
40423         (cosh_test_downward): Likewise.
40424         (cosh_test_upward): Likewise.
40425         (cpow_test): Likewise.
40426         (cproj_test): Likewise.
40427         (creal_test): Likewise.
40428         (csin_test): Likewise.
40429         (csinh_test): Likewise.
40430         (csqrt_test): Likewise.
40431         (ctan_test): Likewise.
40432         (ctan_test_tonearest): Likewise.
40433         (ctan_test_towardzero): Likewise.
40434         (ctan_test_downward): Likewise.
40435         (ctan_test_upward): Likewise.
40436         (ctanh_test): Likewise.
40437         (ctanh_test_tonearest): Likewise.
40438         (ctanh_test_towardzero): Likewise.
40439         (ctanh_test_downward): Likewise.
40440         (ctanh_test_upward): Likewise.
40441         (erf_test): Likewise.
40442         (erfc_test): Likewise.
40443         (exp_test): Likewise.
40444         (exp_test_tonearest): Likewise.
40445         (exp_test_towardzero): Likewise.
40446         (exp_test_downward): Likewise.
40447         (exp_test_upward): Likewise.
40448         (exp10_test): Likewise.
40449         (exp10_test_tonearest): Likewise.
40450         (exp10_test_towardzero): Likewise.
40451         (exp10_test_downward): Likewise.
40452         (exp10_test_upward): Likewise.
40453         (pow10_test): Likewise.
40454         (exp2_test): Likewise.
40455         (expm1_test): Likewise.
40456         (expm1_test_tonearest): Likewise.
40457         (expm1_test_towardzero): Likewise.
40458         (expm1_test_downward): Likewise.
40459         (expm1_test_upward): Likewise.
40460         (fabs_test): Likewise.
40461         (fdim_test): Likewise.
40462         (floor_test): Likewise.
40463         (fma_test): Likewise.
40464         (fma_test_towardzero): Likewise.
40465         (fma_test_downward): Likewise.
40466         (fma_test_upward): Likewise.
40467         (fmax_test): Likewise.
40468         (fmin_test): Likewise.
40469         (fmod_test): Likewise.
40470         (fpclassify_test): Likewise.
40471         (frexp_test): Likewise.
40472         (hypot_test): Likewise.
40473         (ilogb_test): Likewise.
40474         (isfinite_test): Likewise.
40475         (finite_test): Likewise.
40476         (isgreater_test): Likewise.
40477         (isgreaterequal_test): Likewise.
40478         (isinf_test): Likewise.
40479         (isless_test): Likewise.
40480         (islessequal_test): Likewise.
40481         (islessgreater_test): Likewise.
40482         (isnan_test): Likewise.
40483         (isnormal_test): Likewise.
40484         (issignaling_test): Likewise.
40485         (isunordered_test): Likewise.
40486         (j0_test): Likewise.
40487         (j1_test): Likewise.
40488         (jn_test): Likewise.
40489         (ldexp_test): Likewise.
40490         (lgamma_test): Likewise.
40491         (gamma_test): Likewise.
40492         (lrint_test): Likewise.
40493         (lrint_test_tonearest): Likewise.
40494         (lrint_test_towardzero): Likewise.
40495         (lrint_test_downward): Likewise.
40496         (lrint_test_upward): Likewise.
40497         (llrint_test): Likewise.
40498         (llrint_test_tonearest): Likewise.
40499         (llrint_test_towardzero): Likewise.
40500         (llrint_test_downward): Likewise.
40501         (llrint_test_upward): Likewise.
40502         (log_test): Likewise.
40503         (log10_test): Likewise.
40504         (log1p_test): Likewise.
40505         (log2_test): Likewise.
40506         (logb_test): Likewise.
40507         (logb_test_downward): Likewise.
40508         (lround_test): Likewise.
40509         (llround_test): Likewise.
40510         (modf_test): Likewise.
40511         (nearbyint_test): Likewise.
40512         (nextafter_test): Likewise.
40513         (nexttoward_test): Likewise.
40514         (pow_test): Likewise.
40515         (pow_test_tonearest): Likewise.
40516         (pow_test_towardzero): Likewise.
40517         (pow_test_downward): Likewise.
40518         (pow_test_upward): Likewise.
40519         (remainder_test): Likewise.
40520         (drem_test): Likewise.
40521         (remainder_test_tonearest): Likewise.
40522         (drem_test_tonearest): Likewise.
40523         (remainder_test_towardzero): Likewise.
40524         (drem_test_towardzero): Likewise.
40525         (remainder_test_downward): Likewise.
40526         (drem_test_downward): Likewise.
40527         (remainder_test_upward): Likewise.
40528         (drem_test_upward): Likewise.
40529         (remquo_test): Likewise.
40530         (rint_test): Likewise.
40531         (rint_test_tonearest): Likewise.
40532         (rint_test_towardzero): Likewise.
40533         (rint_test_downward): Likewise.
40534         (rint_test_upward): Likewise.
40535         (round_test): Likewise.
40536         (scalb_test): Likewise.
40537         (scalbn_test): Likewise.
40538         (scalbln_test): Likewise.
40539         (signbit_test): Likewise.
40540         (sin_test): Likewise.
40541         (sin_test_tonearest): Likewise.
40542         (sin_test_towardzero): Likewise.
40543         (sin_test_downward): Likewise.
40544         (sin_test_upward): Likewise.
40545         (sincos_test): Likewise.
40546         (sinh_test): Likewise.
40547         (sinh_test_tonearest): Likewise.
40548         (sinh_test_towardzero): Likewise.
40549         (sinh_test_downward): Likewise.
40550         (sinh_test_upward): Likewise.
40551         (sqrt_test): Likewise.
40552         (sqrt_test_tonearest): Likewise.
40553         (sqrt_test_towardzero): Likewise.
40554         (sqrt_test_downward): Likewise.
40555         (sqrt_test_upward): Likewise.
40556         (tan_test): Likewise.
40557         (tan_test_tonearest): Likewise.
40558         (tan_test_towardzero): Likewise.
40559         (tan_test_downward): Likewise.
40560         (tan_test_upward): Likewise.
40561         (tanh_test): Likewise.
40562         (tgamma_test): Likewise.
40563         (trunc_test): Likewise.
40564         (y0_test): Likewise.
40565         (y1_test): Likewise.
40566         (yn_test): Likewise.
40567         (significand_test): Likewise.
40569         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
40570         individual tests in comment.
40571         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
40572         (prev_max_error): New variable.
40573         (prev_real_max_error): Likewise.
40574         (prev_imag_max_error): Likewise.
40575         (compare_ulp_data): Don't refer to test names in comment.
40576         (find_test_ulps): Remove function.
40577         (find_function_ulps): Likewise.
40578         (find_complex_function_ulps): Likewise.
40579         (init_max_error): Take function name as argument.  Look up ulps
40580         for that function.
40581         (print_ulps): Remove function.
40582         (print_max_error): Use prev_max_error instead of calling
40583         find_function_ulps.
40584         (print_complex_max_error): Use prev_real_max_error and
40585         prev_imag_max_error instead of calling find_complex_function_ulps.
40586         (check_float_internal): Take max_ulp parameter instead of calling
40587         find_test_ulps.  Don't call print_ulps.
40588         (check_float): Update call to check_float_internal.
40589         (check_complex): Update calls to check_float_internal.
40590         (START): Pass argument to init_max_error.
40591         * math/gen-libm-test.pl (%results): Don't include "kind"
40592         information.
40593         (parse_ulps): Don't handle ulps of individual tests.
40594         (print_ulps_file): Likewise.
40595         (output_ulps): Likewise.
40596         * math/README.libm-test: Update.
40597         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
40598         individual tests.
40599         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
40600         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
40601         * sysdeps/arm/libm-test-ulps: Likewise.
40602         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
40603         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
40604         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
40605         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
40606         * sysdeps/microblaze/libm-test-ulps: Likewise.
40607         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
40608         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40609         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40610         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
40611         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40612         * sysdeps/sh/libm-test-ulps: Likewise.
40613         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40614         * sysdeps/tile/libm-test-ulps: Likewise.
40615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40617 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
40619         * math/libm-test.inc (print_complex_max_error): Check separately
40620         whether real and imaginary errors are within allowed range and
40621         pass 0 to print_complex_function_ulps instead of value within
40622         allowed range.
40624 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40626         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
40627         formatting.
40628         (get_handles_fopen): Likewise.
40629         (do_write_test): Likewise.
40631         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
40633         * libio/fileops.c (do_ftell): Use cached offset when
40634         available.
40635         * libio/iofwide.c (do_ftell_wide): Likewise.
40636         * libio/iofdopen.c (_IO_new_fdopen): Don't use
40637         _IO_file_attach.
40638         * libio/wfileops.c (_IO_fwide): Don't cache offset.
40640         [BZ #16532]
40641         * libio/libioP.h (get_file_offset): New function.
40642         * libio/fileops.c (get_file_offset): Likewise.
40643         (do_ftell): Likewise.
40644         (_IO_new_file_seekoff): Split out ftell logic.
40645         * libio/wfileops.c (do_ftell_wide): Likewise.
40646         (_IO_wfile_seekoff): Split out ftell logic.
40647         * libio/tst-ftell-active-handler.c: New test case.
40648         * libio/Makefile (tests): Add it.
40650 2014-03-03  Roland McGrath  <roland@hack.frob.com>
40652         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
40653         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
40655 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40657         [BZ #16639]
40658         * nscd/connections.c (nscd_init): Call do_exit.
40659         (start_threads): Call do_exit and notify_parent.
40660         (begin_drop_privileges): Call do_exit.
40661         (finish_drop_privileges): Likewise.
40662         * nscd/selinux.c (preserve_capabilities): Likewise.
40663         (install_real_capabilities): Likewise.
40664         (nscd_selinux_enabled): Likewise.
40665         (avc_create_thread): Likewise.
40666         (avc_alloc_lock): Likewise.
40667         (nscd_avc_init): Likewise.
40668         * nscd/nscd.c (parent_fd): New static variable.
40669         (main): Create a pipe between parent and child processes.
40670         Skip closing parent_fd.
40671         (monitor_child): New function.
40672         (do_exit): Likewise.
40673         (notify_parent): Likewise.
40674         * nscd/nscd.h (notify_parent): Likewise.
40675         (do_exit): Likewise.
40677 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
40679         * malloc/malloc.c (__libc_calloc): Revert last change.
40681 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40685 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40687         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
40688         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
40689         implementation.
40690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40691         (__libc_ifunc_impl_list): Likewise.
40692         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
40693         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
40694         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
40695         * string/strrchr.c: Define STRRCHR.
40697 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
40699         * benchtest/bench-strtok.c (simple_strtok): Delete.
40700         (strtok_string): Use as benchmark.
40701         * string/strtok (STRTOK): New macro.
40703 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
40705         * manual/threads.texi: Add header and standard comments to all
40706         functions.
40708         * elf/dl-lookup.c (check_match): New function.
40709         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
40710         (do_lookup_x): Remove nested function check_match. Use non-nested
40711         function check_match.
40713 2014-02-28  Roland McGrath  <roland@hack.frob.com>
40715         * csu/Makefile (generated, before-compile): Use += rather than =.
40716         * catgets/Makefile (generated, generated-dirs): Likewise.
40717         * debug/Makefile (generated): Likewise.
40718         * dlfcn/Makefile (generated): Likewise.
40719         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
40720         * iconvdata/Makefile (before-compile, generated): Likewise.
40721         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
40722         * libio/Makefile (generated): Likewise.
40723         * malloc/Makefile (generated): Likewise.
40724         * manual/Makefile (generated, generated-dirs): Likewise.
40725         * misc/Makefile (generated): Likewise.
40726         * posix/Makefile (generated): Likewise.
40727         * resolv/Makefile (generated): Likewise.
40728         * sunrpc/Makefile (generated, generated-dirs): Likewise.
40729         * timezone/Makefile (generated, generated-dirs): Likewise.
40731         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
40733 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40735         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40736         power8 implementation.
40737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
40738         file: POWER8 llround ifunc implementation.
40739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
40740         (__lllround): Add POWER8 implementation.
40741         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
40742         POWER8 llround implementation.
40744         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
40745         power8 implementation.
40746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
40747         file: POWER8 llrint ifunc implementation.
40748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
40749         Add POWER8 implementation.
40750         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
40751         POWER8 llrint implementation.
40753         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
40754         power8 implementation.
40755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
40756         file: POWER8 finite ifunc implementation.
40757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
40758         Add POWER8 implementation.
40759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
40760         Likewise.
40761         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
40762         POWER8 finite implementation.
40763         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
40765         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
40766         power8 implementation.
40767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
40768         file: POWER8 isinf ifunc implementation.
40769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
40770         POWER8 implementation.
40771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
40772         Likewise.
40773         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
40774         isinf implementation.
40775         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
40777         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
40778         (INIT_ARCH): Add hwcap2 initialization.
40779         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40780         power8 implementation.
40781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
40782         file: POWER8 isnan ifunc implementation.
40783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
40784         POWER8 implementation.
40785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
40786         Likewise.
40787         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
40788         isnan implementation.
40789         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
40791 2014-02-27  Joey Ye  <joey.ye@arm.com>
40793         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40794         (_FP_NANFRAC_Q): Set to zero.
40796 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40798         [BZ #16623]
40799         * math/auto-libm-test-in: New test inputs.
40800         * math/auto-libm-test-out: Regenerate.
40801         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
40802         and DA.
40803         (__cos): Likewise.
40804         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
40806 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
40808         * scripts/evaluate-test.sh: Take new argument indicating whether
40809         failure is expected.
40810         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
40811         indicating whether failure is expected.
40812         * conform/Makefile (test-xfail-run-conformtest): New variable.
40813         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
40814         level.
40815         * posix/Makefile (test-xfail-annexc): New variable.
40816         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
40818 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
40820         * argp/Makefile: Include Makeconfig immediately after defining
40821         subdir.
40822         * assert/Makefile: Likewise.
40823         * benchtests/Makefile: Likewise.
40824         * catgets/Makefile: Likewise.
40825         * conform/Makefile: Likewise.
40826         * crypt/Makefile: Likewise.
40827         * csu/Makefile: Likewise.
40828         (all): Remove target.
40829         * ctype/Makefile: Include Makeconfig immediately after defining
40830         subdir.
40831         * debug/Makefile: Likewise.
40832         * dirent/Makefile: Likewise.
40833         * dlfcn/Makefile: Likewise.
40834         * gmon/Makefile: Likewise.
40835         * gnulib/Makefile: Likewise.
40836         * grp/Makefile: Likewise.
40837         * gshadow/Makefile: Likewise.
40838         * hesiod/Makefile: Likewise.
40839         * hurd/Makefile: Likewise.
40840         (all): Remove target.
40841         * iconvdata/Makefile: Include Makeconfig immediately after
40842         defining subdir.
40843         * inet/Makefile: Likewise.
40844         * intl/Makefile: Likewise.
40845         * io/Makefile: Likewise.
40846         * libio/Makefile: Likewise.
40847         (all): Remove target.
40848         * locale/Makefile: Include Makeconfig immediately after defining
40849         subdir.
40850         * login/Makefile: Likewise.
40851         * mach/Makefile: Likewise.
40852         (all): Remove target.
40853         * malloc/Makefile: Include Makeconfig immediately after defining
40854         subdir.
40855         (all): Remove target.
40856         * manual/Makefile: Include Makeconfig immediately after defining
40857         subdir.
40858         * math/Makefile: Likewise.
40859         * misc/Makefile: Likewise.
40860         * nis/Makefile: Likewise.
40861         * nss/Makefile: Likewise.
40862         * po/Makefile: Likewise.
40863         (all): Remove target.
40864         * posix/Makefile: Include Makeconfig immediately after defining
40865         subdir.
40866         * pwd/Makefile: Likewise.
40867         * resolv/Makefile: Likewise.
40868         * resource/Makefile: Likewise.
40869         * rt/Makefile: Likewise.
40870         * setjmp/Makefile: Likewise.
40871         * shadow/Makefile: Likewise.
40872         * signal/Makefile: Likewise.
40873         * socket/Makefile: Likewise.
40874         * soft-fp/Makefile: Likewise.
40875         * stdio-common/Makefile: Likewise.
40876         * stdlib/Makefile: Likewise.
40877         * streams/Makefile: Likewise.
40878         * string/Makefile: Likewise.
40879         * sunrpc/Makefile: Likewise.
40880         (all): Remove target.
40881         * sysvipc/Makefile: Include Makeconfig immediately after defining
40882         subdir.
40883         * termios/Makefile: Likewise.
40884         * time/Makefile: Likewise.
40885         * timezone/Makefile: Likewise.
40886         (all): Remove target.
40887         * wcsmbs/Makefile: Include Makeconfig immediately after defining
40888         subdir.
40889         * wctype/Makefile: Likewise.
40891 2014-02-26  Steve Ellcey  <sellcey@mips.com>
40893         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
40894         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
40895         (libc_feholdexcept_setround_mips): Ditto.
40896         (libc_feholdsetround): New.
40897         (libc_feholdsetroundf): New.
40898         (libc_feholdsetroundl): New.
40899         (libc_feupdateenv_test_mips): New.
40900         (libc_feupdateenv_test): New.
40901         (libc_feupdateenv_testf): New.
40902         (libc_feupdateenv_testl): New.
40903         (libc_feresetround): New.
40904         (libc_feresetroundf): New.
40905         (libc_feresetroundl): New.
40906         (libc_fetestexcept_mips): New.
40907         (libc_fetestexcept): New.
40908         (libc_fetestexceptf): New.
40909         (libc_fetestexceptl): New.
40910         (HAVE_RM_CTX): New.
40911         (libc_feholdexcept_setround_mips_ctx): New.
40912         (libc_feholdexcept_setround_ctx): New.
40913         (libc_feholdexcept_setroundf_ctx): New.
40914         (libc_feholdexcept_setroundl_ctx): New.
40915         (libc_fesetenv_mips_ctx): New.
40916         (libc_fesetenv_ctx): New.
40917         (libc_fesetenv_ctxf): New.
40918         (libc_fesetenv_ctxl): New.
40919         (libc_feupdateenv_mips_ctx): New.
40920         (libc_feupdateenv_ctx): New.
40921         (libc_feupdateenvf_ctx): New.
40922         (libc_feupdateenvl_ctx): New.
40923         (libc_feholdsetround_mips_ctx): New.
40924         (libc_feholdsetround_ctx): New.
40925         (libc_feholdsetroundf_ctx): New.
40926         (libc_feholdsetroundl_ctx): New.
40927         (libc_feresetround_mips_ctx): New.
40928         (libc_feresetround_ctx): New.
40929         (libc_feresetroundf_ctx): New.
40930         (libc_feresetroundl_ctx): New.
40932 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
40934         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
40936         * manual/ipc.texi: New file.
40937         * manual/Makefile (chapters): Add ipc.
40938         * manual/job.texi: Add "Inter-Process Communication" to next.
40939         * manual/process.texi: Add "Inter-Process Communication" to prev.
40941 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40945 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
40947         * malloc/malloc.c (__libc_calloc): Simplify implementation.
40949         * manual/arith.texi: Fix spaces after sentences.
40950         * manual/charset.texi: Likewise.
40951         * manual/errno.texi: Likewise.
40952         * manual/install.texi: Likewise.
40953         * manual/llio.texi: Likewise.
40954         * manual/locale.texi: Likewise.
40955         * manual/maint.texi: Likewise.
40956         * manual/math.texi: Likewise.
40957         * manual/memory.texi: Likewise.
40958         * manual/message.texi: Likewise.
40959         * manual/probes.texi: Likewise.
40960         * manual/resource.texi: Likewise.
40961         * manual/signal.texi: Likewise.
40962         * manual/socket.texi: Likewise.
40963         * manual/stdio.texi: Likewise.
40964         * manual/string.texi: Likewise.
40965         * manual/time.texi: Likewise.
40966         * manual/users.texi: Likewise.
40968 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
40970         [BZ #16632]
40971         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
40972         _DEFAULT_SOURCE is defined.
40974 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
40975             Carlos O'Donell  <carlos@redhat.com>
40977         [BZ #16613]
40978         * elf/dl-tls.c (_dl_count_modids): New function.
40979         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
40980         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
40981         audit library and increment generation counter.
40982         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
40983         * elf/tst-audit9.c: New file.
40984         * elf/tst-auditmod9a.c: New file.
40985         * elf/tst-auditmod9b.c: New file.
40986         * elf/Makefile: Add rules to build and run tst-audit9.
40988 2014-02-25  Florian Weimer  <fweimer@redhat.com>
40990         [BZ #15347]
40991         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
40993 2014-02-25  Will Newton  <will.newton@linaro.org>
40995         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
40996         (__longjmp): Restore sp and lr before restoring callee
40997         saved registers.  Add longjmp and longjmp_target
40998         SystemTap probe point.
40999         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
41000         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
41001         Define to zero to match jmpbuf layout.
41002         * sysdeps/arm/setjmp.S: Include stap-probe.h.
41003         (__sigsetjmp): Save sp and lr before saving callee
41004         saved registers.  Add setjmp SystemTap probe point.
41006 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
41008         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41010 2014-02-24  Andreas Schwab  <schwab@suse.de>
41012         [BZ #15804]
41013         * elf/pldd.c (wait_for_ptrace_stop): New function.
41014         (main): Call it after attaching.
41016 2014-02-22  Roland McGrath  <roland@hack.frob.com>
41018         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
41019         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
41020         Versions files is now verboten.
41021         * hurd/Versions (libc: GLIBC_2.0):
41022         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
41023         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
41024         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
41025         * mach/Versions: Likewise.
41027         * csu/Versions: Remove unused %include.
41028         * resolv/Versions: Likewise.
41030 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
41032         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
41033         ($(objpfx)check-local-headers.out): Likewise.
41034         ($(objpfx)begin-end-check.out): Likewise.
41035         * Makerules (check-abi-%.out): Likewise.
41036         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
41037         ($(objpfx)test2.cat): Likewise.
41038         ($(objpfx)de/libc.cat): Likewise.
41039         ($(objpfx)test-gencat.out): Likewise.
41040         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
41041         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
41042         ($(objpfx)noload-mem): Likewise.
41043         ($(objpfx)tst-pathopt.out): Likewise.
41044         ($(objpfx)tst-rtld-load-self.out): Likewise.
41045         ($(objpfx)tst-array1-cmp.out): Likewise.
41046         ($(objpfx)tst-array1-static-cmp.out): Likewise.
41047         ($(objpfx)tst-array2-cmp.out): Likewise.
41048         ($(objpfx)tst-array3-cmp.out): Likewise.
41049         ($(objpfx)tst-array4-cmp.out): Likewise.
41050         ($(objpfx)tst-array5-cmp.out): Likewise.
41051         ($(objpfx)tst-array5-static-cmp.out): Likewise.
41052         ($(objpfx)check-textrel.out): Likewise.
41053         ($(objpfx)check-execstack.out): Likewise.
41054         ($(objpfx)check-localplt.out): Likewise.
41055         ($(objpfx)order2-cmp.out): Likewise.
41056         ($(objpfx)tst-leaks1-mem): Likewise.
41057         ($(objpfx)tst-leaks1-static-mem): Likewise.
41058         ($(objpfx)tst-initorder-cmp.out): Likewise.
41059         ($(objpfx)tst-initorder2-cmp.out): Likewise.
41060         ($(objpfx)tst-unused-dep.out): Likewise.
41061         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
41062         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
41063         * iconv/Makefile (test-iconvconfig): Likewise.
41064         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
41065         ($(objpfx)iconv-test.out): Likewise.
41066         ($(objpfx)tst-tables.out): Likewise.
41067         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
41068         ($(objpfx)tst-gettext.out): Likewise.
41069         ($(objpfx)tst-translit.out): Likewise.
41070         ($(objpfx)tst-gettext2.out): Likewise.
41071         ($(objpfx)tst-gettext4.out): Likewise.
41072         ($(objpfx)tst-gettext6.out): Likewise.
41073         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
41074         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
41075         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
41076         ($(objpfx)tst-fopenloc-mem.out): Likewise.
41077         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
41078         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
41079         * posix/Makefile ($(objpfx)globtest.out): Likewise.
41080         ($(objpfx)wordexp-tst.out): Likewise.
41081         ($(objpfx)annexc.out): Likewise.
41082         ($(objpfx)tst-fnmatch-mem): Likewise.
41083         ($(objpfx)bug-regex2-mem): Likewise.
41084         ($(objpfx)bug-regex14-mem): Likewise.
41085         ($(objpfx)bug-regex21-mem): Likewise.
41086         ($(objpfx)bug-regex31-mem): Likewise.
41087         ($(objpfx)tst-vfork3-mem): Likewise.
41088         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
41089         ($(objpfx)tst-pcre-mem): Likewise.
41090         ($(objpfx)tst-boost-mem): Likewise.
41091         ($(objpfx)tst-getconf.out): Likewise.
41092         ($(objpfx)bug-ga2-mem): Likewise.
41093         ($(objpfx)bug-glob2-mem): Likewise.
41094         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
41095         ($(objpfx)mtrace-tst-leaks2): Likewise.
41096         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
41097         ($(objpfx)tst-printf.out): Likewise.
41098         ($(objpfx)tst-setvbuf1.out): Likewise.
41099         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
41100         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
41101         ($(objpfx)tst-fmtmsg.out): Likewise.
41102         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
41103         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
41105         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
41106         * bits/sigaction.h [__USE_MISC]: Likewise.
41107         * bits/waitstatus.h: Update #endif comments.
41108         * ctype/ctype.h: Likewise.
41109         * dirent/dirent.h: Likewise.
41110         [__USE_MISC]: Remove redundant conditionals.
41111         * grp/grp.h: Update #endif comments.
41112         [__USE_GNU]: Remove redundant conditionals.
41113         [__USE_MISC]: Likewise.
41114         * inet/netinet/in.h [__USE_GNU]: Likewise.
41115         * io/sys/stat.h [__USE_MISC]: Likewise.
41116         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
41117         * libio/bits/stdio.h: Update #endif comments.
41118         [__USE_MISC]: Remove redundant conditionals.
41119         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
41120         * libio/stdio.h: Update #endif comments.
41121         [__USE_MISC]: Remove redundant conditionals.
41122         * math/bits/math-finite.h [__USE_MISC]: Likewise.
41123         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
41124         * math/math.h: Update #else and #endif comments.
41125         [__USE_MISC]: Remove redundant conditionals.
41126         * misc/sys/uio.h: Update #endif comments.
41127         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
41128         * posix/glob.h [__USE_MISC]: Likewise.
41129         * posix/sys/types.h: Update #endif comments.
41130         [__USE_MISC]: Remove redundant conditionals.
41131         * posix/sys/wait.h: Update #endif comments.
41132         [__USE_MISC]: Remove redundant conditionals.
41133         * posix/unistd.h: Update #endif comments.
41134         [__USE_MISC]: Remove redundant conditionals.
41135         * pwd/pwd.h [__USE_GNU]: Likewise.
41136         [__USE_MISC]: Likewise.
41137         * resolv/netdb.h [__USE_GNU]: Likewise.
41138         * signal/signal.h: Update #endif comments.
41139         [__USE_MISC]: Remove redundant conditionals.
41140         * stdlib/stdlib.h: Update #else and #endif comments.
41141         [__USE_MISC]: Remove redundant conditionals.
41142         [__USE_GNU]: Likewise.
41143         * string/bits/string2.h [__USE_MISC]: Likewise.
41144         * string/string.h: Update #endif comments.
41145         [__USE_MISC]: Remove redundant conditionals.
41146         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
41147         Likewise.
41148         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
41149         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
41150         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
41151         Likewise.
41152         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
41153         Likewise.
41154         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
41155         comments.
41156         [__USE_MISC]: Remove redundant conditionals.
41157         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
41158         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
41159         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
41160         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
41161         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
41162         Likewise.
41163         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
41164         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
41165         Likewise.
41166         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
41167         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
41168         Likewise.
41169         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
41170         Likewise.
41171         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
41172         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
41173         Likewise.
41174         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
41175         Likewise.
41176         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
41177         * sysdeps/x86/bits/string.h: Update #endif comments.
41178         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
41179         conditionals.
41180         * time/sys/time.h: Update #endif comments.
41181         * time/time.h: Likewise.
41182         [__USE_MISC]: Remove redundant conditionals.
41184 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
41186         [BZ #16600]
41187         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
41189 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
41191         * Versions.def (librt): Add GLIBC_2.17.
41193 2014-02-21  Adam Conrad  <adconrad@0c3.net>
41195         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
41196         synonym for _SYS_AUXV_H to allow direct inclusion.
41197         * sysdeps/sparc/bits/hwcap.h: Likewise.
41198         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
41199         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
41200         * sysdeps/sparc/sysdep.h: Likewise.
41202 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41204         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
41206 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41208         * benchtests/bench-strrchr.c: Print length instead of position.
41210 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
41212         [BZ #16611]
41213         * sysdeps/unix/sysv/linux/kernel-features.h
41214         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
41215         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
41216         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
41217         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
41218         Likewise.
41219         [__i386__ || __powerpc__ || __sh__ || __sparc__]
41220         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41221         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
41222         (__ASSUME_SENDMMSG): Define instead of using previous
41223         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
41224         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41225         (__ASSUME_SENDMMSG_SYSCALL): Define.
41226         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41227         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
41228         Likewise.
41229         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41230         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41231         Likewise.
41232         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41233         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41234         Likewise.
41235         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
41236         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41237         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41238         [__ASSUME_SENDMMSG]: Change conditionals to
41239         [__ASSUME_SENDMMSG_SOCKETCALL].
41240         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41241         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
41242         Define.
41243         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41244         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
41245         Likewise.
41246         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
41247         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41248         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41249         [!__ASSUME_SENDMMSG]: Change conditional to
41250         [!__ASSUME_SENDMMSG_SOCKETCALL].
41251         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41252         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41253         Define.
41255         [BZ #16610]
41256         * sysdeps/unix/sysv/linux/kernel-features.h
41257         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
41258         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
41259         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
41260         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
41261         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41262         [__i386__ || __sparc__]
41263         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41264         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
41265         (__ASSUME_RECVMMSG): Define instead of using previous
41266         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
41267         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41268         (__ASSUME_RECVMMSG_SYSCALL): Define.
41269         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41270         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41271         Likewise.
41272         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41273         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41274         Likewise.
41275         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41276         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41277         Likewise.
41278         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
41279         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41280         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41281         [__ASSUME_RECVMMSG]: Change condition to
41282         [__ASSUME_RECVMMSG_SOCKETCALL].
41283         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41284         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41285         Define.
41286         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41287         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41288         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41289         Likewise.
41290         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
41291         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41292         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41293         [!__ASSUME_RECVMMSG]: Change condition to
41294         [!__ASSUME_RECVMMSG_SOCKETCALL].
41295         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41296         (__ASSUME_RECVMMSG_SYSCALL): Define.
41298         [BZ #16609]
41299         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
41300         __powerpc__ || __s390__ || __sh__ || __sparc__]
41301         (__ASSUME_SOCKETCALL): Define.
41302         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
41303         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
41304         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
41305         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
41306         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41307         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41308         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
41309         (__ASSUME_ACCEPT4): Define instead of using previous
41310         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
41311         __powerpc__ || __sparc__ || __s390__)] condition.
41312         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41313         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41314         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
41315         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41316         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41317         [!__ASSUME_ACCEPT4]: Change condition to
41318         [!__ASSUME_ACCEPT4_SOCKETCALL].
41319         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41320         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
41321         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
41322         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41323         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
41324         __ASSUME_ACCEPT4_SYSCALL.
41325         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
41326         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
41327         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41328         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
41329         __ASSUME_ACCEPT4_SYSCALL.
41330         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
41331         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41332         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41333         [__ASSUME_ACCEPT4]: Change condition to
41334         [__ASSUME_ACCEPT4_SOCKETCALL].
41335         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41336         (__ASSUME_SOCKETCALL): Define.
41337         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
41338         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41339         (__ASSUME_SOCKETCALL): Define.
41340         (__ASSUME_ACCEPT4): Remove.
41341         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
41342         Define.
41343         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41344         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
41345         Likewise.
41346         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41347         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41349         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
41350         macro.
41351         (HWCAP_ARM_LPAE): Likewise.
41352         (HWCAP_ARM_EVTSTRM): Likewise.
41353         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
41354         Add vpfd32, lpae and evtstrm.
41355         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
41356         Increase to 22.
41358 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
41360         * math/auto-libm-test-in: Add tests of clog10.
41361         * math/auto-libm-test-out: Regenerated.
41362         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
41363         * sysdeps/i386/fpu/libm-test-ulps: Update.
41364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41366 2014-02-18  Andreas Schwab  <schwab@suse.de>
41368         [BZ #16574]
41369         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
41370         Store non-zero if the second buffer was newly allocated.
41371         (send_dg): Likewise.
41372         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
41373         to send_vc and send_dg.
41374         (res_nsend): Pass NULL for ansp2_malloced.
41375         * resolv/res_query.c (__libc_res_nquery): Add parameter
41376         answerp2_malloced and pass it down to __libc_res_nsend.
41377         (res_nquery): Pass additional NULL to __libc_res_nquery.
41378         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
41379         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
41380         second answer buffer if answerp2_malloced was set.
41381         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
41382         (__libc_res_nquerydomain): Add parameter
41383         answerp2_malloced and pass it down to __libc_res_nquery.
41384         (res_nquerydomain): Pass additional NULL to
41385         __libc_res_nquerydomain.
41386         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
41387         additional NULL to __libc_res_nsend and __libc_res_nquery.
41388         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
41389         additional NULL to __libc_res_nsearch.
41390         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
41391         parameter of __libc_res_nsearch to check for separately allocated
41392         second buffer.
41393         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
41394         __libc_res_nquery.
41395         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
41396         additional NULL to __libc_res_nquery.
41397         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
41398         __libc_res_nsearch.
41399         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
41400         * include/resolv.h: Update prototypes of __libc_res_nquery,
41401         __libc_res_nsearch, __libc_res_nsend.
41403 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
41405         * math/auto-libm-test-in: Add tests of fma.
41406         * math/auto-libm-test-out: Regenerated.
41407         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
41408         (fma_towardzero_test_data): Likewise.
41409         (fma_downward_test_data): Likewise.
41410         (fma_upward_test_data): Likewise.
41411         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
41412         mpc_mode.
41413         (rounding_modes): Add values for new field.
41414         (func_calc_method): Add value mpfr_fff_f.
41415         (func_calc_desc): Add mpfr_fff_f union field.
41416         (test_function): Add field exact_args.
41417         (FUNC): Add macro argument EXACT_ARGS.
41418         (FUNC_mpfr_f_f): Update call to FUNC.
41419         (FUNC_mpfr_f_f): Likewise.
41420         (FUNC_mpfr_ff_f): Likewise.
41421         (FUNC_mpfr_if_f): Likewise.
41422         (FUNC_mpc_c_f): Likewise.
41423         (FUNC_mpc_c_c): Likewise.
41424         (test_functions): Add fma.  Update calls to FUNC.
41425         (handle_input_arg): Add argument exact_args.
41426         (add_test): Update call to handle_input_arg.
41427         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
41428         (output_for_one_input_case): Update call to calc_generic_results.
41429         Recalculate exact zero results in each rounding mode.
41431         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
41432         non-negative before setting low bit.
41433         * math/auto-libm-test-in: Mark one asin test possibly having
41434         spurious underflow.
41435         * math/auto-libm-test-out: Regenerated.
41436         * sysdeps/i386/fpu/libm-test-ulps: Update.
41437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41439 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
41441         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
41442         * sysdeps/unix/sysv/linux/microblaze: Move directory from
41443         ports/sysdeps/unix/sysv/linux/microblaze.
41444         * README: Add missing listing for microblaze*-*-linux-gnu.
41446 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
41448         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
41449         duplicate code
41451 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
41453         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
41454         * sysdeps/unix/sysv/linux/ia64: Move directory from
41455         ports/sysdeps/unix/sysv/linux/ia64.
41456         * README: Update listing for ia64-*-linux-gnu.
41458 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
41459             Joseph Myers  <joseph@codesourcery.com>
41461         * Makeconfig (test-name): New variable.
41462         (evaluate-test): Likewise.
41463         * Makerules (do-test-clean): Remove .test-result files.
41464         (common-mostlyclean): Likewise.
41465         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
41466         * scripts/evaluate-test.sh: New file.
41468 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
41470         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
41471         separate $(objpfx)tst-fopenloc-cmp.out and
41472         $(objpfx)tst-fopenloc-mem.out targets.
41473         (tests): Update dependencies.
41474         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
41475         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
41476         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
41477         (tst-rxspencer-no-utf8-ARGS): New variable.
41478         (tst-rxspencer-no-utf8-ENV): Likewise.
41479         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
41480         instead of $(objpfx)tst-rxspencer-mem.
41481         ($(objpfx)tst-rxspencer-mem): Change target to
41482         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
41483         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
41484         * posix/tst-rxspencer-no-utf8.c: New file.
41486         * elf/Makefile ($(objpfx)order.out): Remove rule.
41487         [$(run-built-tests) = yes] (tests): Depend on
41488         $(objpfx)order-cmp.out.
41489         ($(objpfx)order-cmp.out): New rule.
41490         [$(run-built-tests) = yes] (tests): Depend on
41491         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
41492         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
41493         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
41494         $(objpfx)tst-array5-static-cmp.out.
41495         ($(objpfx)tst-array1.out): Remove rule.
41496         ($(objpfx)tst-array1-cmp.out): New rule.
41497         ($(objpfx)tst-array1-static.out): Remove rule.
41498         ($(objpfx)tst-array1-static-cmp.out): New rule.
41499         ($(objpfx)tst-array2.out): Remove rule.
41500         ($(objpfx)tst-array2-cmp.out): New rule.
41501         ($(objpfx)tst-array3.out): Remove rule.
41502         ($(objpfx)tst-array3-cmp.out): New rule.
41503         ($(objpfx)tst-array4.out): Remove rule.
41504         ($(objpfx)tst-array4-cmp.out): New rule.
41505         ($(objpfx)tst-array5.out): Remove rule.
41506         ($(objpfx)tst-array5-cmp.out): New rule.
41507         ($(objpfx)tst-array5-static.out): Remove rule.
41508         ($(objpfx)tst-array5-static-cmp.out): New rule.
41509         [$(run-built-tests) = yes] (tests): Depend on
41510         $(objpfx)order2-cmp.out.
41511         ($(objpfx)order2.out): Remove rule.
41512         ($(objpfx)order2-cmp.out): New rule.
41513         ($(objpfx)tst-initorder.out): Remove rule.
41514         [$(run-built-tests) = yes] (tests): Depend on
41515         $(objpfx)tst-initorder-cmp.out.
41516         ($(objpfx)tst-initorder-cmp.out): New rule.
41517         ($(objpfx)tst-initorder2.out): Remove rule.
41518         [$(run-built-tests) = yes] (tests): Depend on
41519         $(objpfx)tst-initorder2-cmp.out.
41520         ($(objpfx)tst-initorder2-cmp.out): New rule.
41521         [$(run-built-tests) = yes] (tests): Depend on
41522         $(objpfx)tst-unused-dep-cmp.out.
41523         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
41524         ($(objpfx)tst-unused-dep-cmp.out): New rule.
41525         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
41526         on $(objpfx)tst-setvbuf1-cmp.out.
41527         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
41528         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
41529         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
41530         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
41531         ($(objpfx)tst-svc.out): Remove rule.
41532         ($(objpfx)tst-svc-cmp.out): New rule.
41534 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
41536         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
41537         * ctype/ctype.h [__USE_MISC]: Likewise.
41538         * dirent/dirent.h [__USE_MISC]: Likewise.
41539         * grp/grp.h [__USE_MISC]: Likewise.
41540         * io/fcntl.h [__USE_MISC]: Likewise.
41541         * io/sys/stat.h [__USE_MISC]: Likewise.
41542         * libio/stdio.h [__USE_MISC]: Likewise.
41543         * posix/unistd.h [__USE_MISC]: Likewise.
41544         * pwd/pwd.h [__USE_MISC]: Likewise.
41545         * stdlib.h [__USE_MISC]: Likewise.
41546         * string/bits/string2.h [__USE_MISC]: Likewise.
41547         * string/string.h [__USE_MISC]: Likewise.
41548         * time/time.h [__USE_MISC]: Likewise.
41550 2014-02-13  Andreas Schwab  <schwab@suse.de>
41552         [BZ #16574]
41553         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
41554         second answer buffer if it was separately allocated.
41556 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
41558         * sysdeps/mips/math-tests.h: Include <features.h>.
41559         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41560         (ROUNDING_TESTS_long_double): Do not define.
41561         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41562         (EXCEPTION_TESTS_long_double): Likewise.
41563         * sysdeps/mips/mips64/libm-test-ulps: Update.
41565         * include/features.h (__USE_BSD): Remove macro definitions.
41566         (__USE_SVID): Likewise.
41567         (_BSD_SOURCE): Likewise.
41568         (_SVID_SOURCE): Likewise.
41569         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
41570         from definition of _DEFAULT_SOURCE.
41571         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
41572         [_DEFAULT_SOURCE].
41573         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
41574         * bits/mman.h [__USE_BSD]: Likewise.
41575         * bits/termios.h [__USE_BSD]: Likewise.
41576         * bits/waitstatus.h [__USE_BSD]: Likewise.
41577         * ctype/ctype.h [__USE_SVID]: Likewise.
41578         * dirent/dirent.h [__USE_BSD]: Likewise.
41579         * grp/grp.h [__USE_SVID]: Likewise.
41580         [__USE_BSD]: Likewise.
41581         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
41582         * io/fcntl.h [__USE_BSD]: Likewise.
41583         * io/ftw.h [__USE_BSD]: Likewise.
41584         * io/sys/stat.h [__USE_BSD]: Likewise.
41585         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
41586         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
41587         * libio/stdio.h [__USE_SVID]: Likewise.
41588         [__USE_BSD]: Likewise.
41589         * math/math.h [__USE_SVID]: Likewise.
41590         [__USE_BSD]: Likewise.
41591         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
41592         * misc/bits/syslog.h [__USE_BSD]: Likewise.
41593         * misc/search.h [__USE_SVID]: Likewise.
41594         * misc/sys/mman.h [__USE_BSD]: Likewise.
41595         * misc/sys/syslog.h [__USE_BSD]: Likewise.
41596         * misc/sys/uio.h [__USE_BSD]: Likewise.
41597         * posix/bits/unistd.h [__USE_BSD]: Likewise.
41598         * posix/glob.h [__USE_BSD]: Likewise.
41599         * posix/regex.h [__USE_BSD]: Likewise.
41600         * posix/sys/types.h [__USE_BSD]: Likewise.
41601         [__USE_SVID]: Likewise.
41602         * posix/sys/utsname.h [__USE_SVID]: Likewise.
41603         * posix/sys/wait.h [__USE_BSD]: Likewise.
41604         [__USE_SVID]: Likewise.
41605         * posix/unistd.h [__USE_BSD]: Likewise.
41606         [__USE_SVID]: Likewise.
41607         * pwd/pwd.h [__USE_SVID]: Likewise.
41608         * resolv/netdb.h [__USE_BSD]: Likewise.
41609         * setjmp/setjmp.h [__USE_BSD]: Likewise.
41610         * signal/signal.h [__USE_BSD]: Likewise.
41611         [__USE_SVID]: Likewise.
41612         * socket/sys/socket.h [__USE_BSD]: Likewise.
41613         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
41614         * stdlib/stdlib.h [__USE_BSD]: Likewise.
41615         [__USE_SVID]: Likewise.
41616         * string/bits/string2.h [__USE_BSD]: Likewise.
41617         [__USE_SVID]: Likewise.
41618         * string/bits/string3.h [__USE_BSD]: Likewise.
41619         * string/endian.h [__USE_BSD]: Likewise.
41620         * string/string.h [__USE_SVID]: Likewise.
41621         [__USE_BSD]: Likewise.
41622         * string/strings.h [__USE_BSD]: Likewise.
41623         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
41624         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
41625         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
41626         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
41627         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
41628         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
41629         Likewise.
41630         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
41631         Likewise.
41632         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
41633         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
41634         Likewise.
41635         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
41636         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
41637         Likewise.
41638         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
41639         Likewise.
41640         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
41641         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
41642         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
41643         Likewise.
41644         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
41645         Likewise.
41646         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
41647         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
41648         * termios/termios.h [__USE_BSD]: Likewise.
41649         * time/sys/time.h [__USE_BSD]: Likewise.
41650         * time/time.h [__USE_BSD]: Likewise.
41651         [__USE_SVID]: Likewise.
41653         * Makefile (subdir_targets): Remove subdir_lint.out.
41655         * stdio-common/Makefile (do-tst-unbputc): Remove target.
41656         (do-tst-printf): Likewise.
41657         (tests): Depend directly on $(objpfx)tst-unbputc.out and
41658         $(objpfx)tst-printf.out.
41660         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
41662         * Makerules (check-abi-%): Change target to
41663         $(objpfx)check-abi-%.out.
41664         (check-abi target): Update dependencies.
41665         (check-abi-pattern variable): Redirect output of diff to $@.
41666         (check-abi variable): Likewise.
41667         * elf/Makefile (check-abi): Update dependencies.
41669         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
41670         unused.
41671         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
41672         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
41673         subnormal range.
41674         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
41675         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
41676         value has largest subnormal exponent.
41677         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
41678         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
41679         * sysdeps/aarch64/soft-fp/sfp-machine.h
41680         (_FP_TININESS_AFTER_ROUNDING): New macro.
41681         * sysdeps/alpha/soft-fp/sfp-machine.h
41682         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41683         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41684         Likewise.
41685         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
41686         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41687         * sysdeps/mips/soft-fp/sfp-machine.h
41688         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41689         * sysdeps/powerpc/soft-fp/sfp-machine.h
41690         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41691         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41692         Likewise.
41693         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41694         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41695         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41696         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41697         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41698         Likewise.
41700 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
41702         [BZ #16545]
41703         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
41704         model 1.
41706 2014-02-12  Richard Henderson  <rth@redhat.com>
41708         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
41709         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
41710         * sysdeps/unix/sysv/linux/alpha: Move directory from
41711         ports/sysdeps/unix/sysv/linux/alpha.
41712         * README: Update listing for alpha-*-linux-gnu.
41714 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
41716         * include/features.h: Update comment documenting feature test
41717         macros.
41718         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
41719         _DEFAULT_SOURCE.
41720         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
41721         (_SVID_SOURCE): Likewise.
41722         (_DEFAULT_SOURCE): Update description of default features.
41723         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
41724         with _GNU_SOURCE.
41725         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
41726         (S_ISVTX): Likewise.
41727         * manual/math.texi (Mathematical Constants): Likewise.
41728         * manual/signal.texi (Interrupted Primitives): Likewise.
41729         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
41730         * math/test-matherr.c (_SVID_SOURCE): Do not define.
41731         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
41732         Don't refer to _SVID_SOURCE in warning text.
41734         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41736         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
41737         already defined.
41738         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
41739         * sysdeps/mips/dl-lookup.c: Remove.
41740         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
41742 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41744         [BZ #16447]
41745         * math/auto-libm-test-in: Add testcase for expl.
41746         * math/auto-libm-test-out: Regenerate.
41747         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
41748         calculation of unsafe.
41749         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
41751 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41753         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
41754         * sysdeps/unix/sysv/linux/aarch64: Move directory from
41755         ports/sysdeps/unix/sysv/linux/aarch64.
41756         * README: Update listing for aarch64*-*-linux-gnu.
41758 2014-02-11  Will Newton  <will.newton@linaro.org>
41760         * manual/probes.texi (Mathematical Function Probes): Use
41761         "triggered" instead of "hit".
41763         * manual/probes.texi (Internal Probes): Add documentation
41764         of setjmp, longjmp and longjmp_target probes.
41766         * include/stap-probe.h: Add comment about probe argument
41767         format.
41769         * malloc/mtrace.c (attribute_hidden): Remove unused macro
41770         definition.  (tr_where, tr_freehook, tr_mallochook,
41771         tr_reallochook, tr_memalignhook): Use ANSI protoype.
41773 2014-02-11  David S. Miller  <davem@davemloft.net>
41775         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
41776         processing int_tests.
41778 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
41780         * sysdeps/mips: Move directory from ports/sysdeps/mips.
41781         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
41782         * sysdeps/unix/sysv/linux/mips: Move directory from
41783         ports/sysdeps/unix/sysv/linux/mips.
41784         * README: Update listing for mips-*-linux-gnu and
41785         mips64-*-linux-gnu.
41787 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
41789         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
41790         * sysdeps/unix/sysv/linux/m68k: Move directory from
41791         ports/sysdeps/unix/sysv/linux/m68k.
41792         * README: Update listing for m68k-*-linux-gnu.
41794 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
41796         * sysdeps/tile: Move directory from ports/sysdeps/tile.
41797         * sysdeps/unix/sysv/linux/generic: Move directory from
41798         ports/sysdeps/unix/sysv/linux/generic.
41799         * sysdeps/unix/sysv/linux/tile: Move directory from
41800         ports/sysdeps/unix/sysv/linux/tile.
41801         * README: Update listing for tile*-*-linux-gnu.
41803 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
41805         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
41806         __builtin_expect.
41807         * benchtests/bench-memmem.c (simple_memmem): Likewise.
41808         * catgets/open_catalog.c (__open_catalog): Likewise.
41809         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
41810         * debug/confstr_chk.c: Likewise.
41811         * debug/fread_chk.c (__fread_chk): Likewise.
41812         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
41813         * debug/getgroups_chk.c: Likewise.
41814         * debug/mbsnrtowcs_chk.c: Likewise.
41815         * debug/mbsrtowcs_chk.c: Likewise.
41816         * debug/mbstowcs_chk.c: Likewise.
41817         * debug/memcpy_chk.c: Likewise.
41818         * debug/memmove_chk.c: Likewise.
41819         * debug/mempcpy_chk.c: Likewise.
41820         * debug/memset_chk.c: Likewise.
41821         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41822         * debug/strcat_chk.c (__strcat_chk): Likewise.
41823         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
41824         * debug/strncat_chk.c (__strncat_chk): Likewise.
41825         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
41826         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
41827         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
41828         * debug/wcpncpy_chk.c: Likewise.
41829         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41830         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
41831         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
41832         * debug/wcsncpy_chk.c: Likewise.
41833         * debug/wcsnrtombs_chk.c: Likewise.
41834         * debug/wcsrtombs_chk.c: Likewise.
41835         * debug/wcstombs_chk.c: Likewise.
41836         * debug/wmemcpy_chk.c: Likewise.
41837         * debug/wmemmove_chk.c: Likewise.
41838         * debug/wmempcpy_chk.c: Likewise.
41839         * debug/wmemset_chk.c: Likewise.
41840         * dirent/scandirat.c (SCANDIRAT): Likewise.
41841         * dlfcn/dladdr1.c (dladdr1): Likewise.
41842         * dlfcn/dladdr.c (dladdr): Likewise.
41843         * dlfcn/dlclose.c (dlclose_doit): Likewise.
41844         * dlfcn/dlerror.c (__dlerror): Likewise.
41845         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
41846         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
41847         * dlfcn/dlopen.c (dlopen_doit): Likewise.
41848         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
41849         * dlfcn/dlsym.c (dlsym_doit): Likewise.
41850         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
41851         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
41852         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
41853         Likewise.
41854         * elf/dl-conflict.c: Likewise.
41855         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
41856         * elf/dl-dst.h: Likewise.
41857         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
41858         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
41859         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
41860         * elf/dl-init.c (call_init, _dl_init): Likewise.
41861         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
41862         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
41863         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
41864         Likewise.
41865         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
41866         Likewise.
41867         * elf/dl-minimal.c (__libc_memalign): Likewise.
41868         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
41869         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41870         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
41871         * elf/dl-sym.c (do_sym): Likewise.
41872         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
41873         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
41874         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
41875         * elf/dl-writev.h (_dl_writev): Likewise.
41876         * elf/ldconfig.c (search_dir): Likewise.
41877         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
41878         (dl_main): Likewise.
41879         * elf/setup-vdso.h (setup_vdso): Likewise.
41880         * grp/compat-initgroups.c (compat_call): Likewise.
41881         * grp/fgetgrent.c (fgetgrent): Likewise.
41882         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
41883         * grp/putgrent.c (putgrent): Likewise.
41884         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41885         Likewise.
41886         * hurd/hurdinit.c: Likewise.
41887         * iconvdata/8bit-gap.c (struct): Likewise.
41888         * iconvdata/ansi_x3.110.c : Likewise.
41889         * iconvdata/big5.c : Likewise.
41890         * iconvdata/big5hkscs.c : Likewise.
41891         * iconvdata/cp1255.c: Likewise.
41892         * iconvdata/cp1258.c : Likewise.
41893         * iconvdata/cp932.c : Likewise.
41894         * iconvdata/euc-cn.c: Likewise.
41895         * iconvdata/euc-jisx0213.c : Likewise.
41896         * iconvdata/euc-jp.c: Likewise.
41897         * iconvdata/euc-jp-ms.c : Likewise.
41898         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
41899         * iconvdata/gb18030.c : Likewise.
41900         * iconvdata/gbbig5.c (const): Likewise.
41901         * iconvdata/gbgbk.c: Likewise.
41902         * iconvdata/gbk.c : Likewise.
41903         * iconvdata/ibm1364.c : Likewise.
41904         * iconvdata/ibm930.c : Likewise.
41905         * iconvdata/ibm932.c: Likewise.
41906         * iconvdata/ibm933.c : Likewise.
41907         * iconvdata/ibm935.c : Likewise.
41908         * iconvdata/ibm937.c : Likewise.
41909         * iconvdata/ibm939.c : Likewise.
41910         * iconvdata/ibm943.c: Likewise.
41911         * iconvdata/iso_11548-1.c: Likewise.
41912         * iconvdata/iso-2022-cn.c : Likewise.
41913         * iconvdata/iso-2022-cn-ext.c : Likewise.
41914         * iconvdata/iso-2022-jp-3.c: Likewise.
41915         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
41916         * iconvdata/iso-2022-kr.c : Likewise.
41917         * iconvdata/iso646.c (gconv_end): Likewise.
41918         * iconvdata/iso_6937-2.c : Likewise.
41919         * iconvdata/iso_6937.c : Likewise.
41920         * iconvdata/iso8859-1.c: Likewise.
41921         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
41922         * iconvdata/shift_jisx0213.c : Likewise.
41923         * iconvdata/sjis.c : Likewise.
41924         * iconvdata/t.61.c : Likewise.
41925         * iconvdata/tcvn5712-1.c : Likewise.
41926         * iconvdata/tscii.c: Likewise.
41927         * iconvdata/uhc.c : Likewise.
41928         * iconvdata/unicode.c (gconv_end): Likewise.
41929         * iconvdata/utf-16.c (gconv_end): Likewise.
41930         * iconvdata/utf-32.c (gconv_end): Likewise.
41931         * iconvdata/utf-7.c (base64): Likewise.
41932         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
41933         * iconv/gconv_close.c (__gconv_close): Likewise.
41934         * iconv/gconv_open.c (__gconv_open): Likewise.
41935         * iconv/gconv_simple.c (internal_ucs4_loop_single)
41936         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
41937         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
41938         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
41939         (ucs4le_internal_loop_single): Likewise.
41940         * iconv/iconv.c (iconv): Likewise.
41941         * iconv/iconv_close.c: Likewise.
41942         * iconv/loop.c (SINGLE): Likewise.
41943         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
41944         * include/atomic.h: Likewise.
41945         * inet/inet6_option.c (option_alloc): Likewise.
41946         * intl/bindtextdom.c (set_binding_values): Likewise.
41947         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
41948         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
41949         * intl/localealias.c (read_alias_file): Likewise.
41950         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
41951         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
41952         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
41953         * libio/fmemopen.c (fmemopen): Likewise.
41954         * libio/iofgets.c (_IO_fgets): Likewise.
41955         * libio/iofgets_u.c (fgets_unlocked): Likewise.
41956         * libio/iofgetws.c (fgetws): Likewise.
41957         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
41958         * libio/iogetdelim.c (_IO_getdelim): Likewise.
41959         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
41960         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
41961         * locale/findlocale.c (_nl_find_locale): Likewise.
41962         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
41963         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
41964         Likewise.
41965         * locale/setlocale.c (setlocale): Likewise.
41966         * login/programs/pt_chown.c (main): Likewise.
41967         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
41968         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
41969         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
41970         (mmap, mmap64, mremap, munmap): Likewise.
41971         * math/e_exp2l.c: Likewise.
41972         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
41973         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
41974         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
41975         * math/s_catan.c (__catan): Likewise.
41976         * math/s_catanf.c (__catanf): Likewise.
41977         * math/s_catanh.c (__catanh): Likewise.
41978         * math/s_catanhf.c (__catanhf): Likewise.
41979         * math/s_catanhl.c (__catanhl): Likewise.
41980         * math/s_catanl.c (__catanl): Likewise.
41981         * math/s_ccosh.c (__ccosh): Likewise.
41982         * math/s_ccoshf.c (__ccoshf): Likewise.
41983         * math/s_ccoshl.c (__ccoshl): Likewise.
41984         * math/s_cexp.c (__cexp): Likewise.
41985         * math/s_cexpf.c (__cexpf): Likewise.
41986         * math/s_cexpl.c (__cexpl): Likewise.
41987         * math/s_clog10.c (__clog10): Likewise.
41988         * math/s_clog10f.c (__clog10f): Likewise.
41989         * math/s_clog10l.c (__clog10l): Likewise.
41990         * math/s_clog.c (__clog): Likewise.
41991         * math/s_clogf.c (__clogf): Likewise.
41992         * math/s_clogl.c (__clogl): Likewise.
41993         * math/s_csin.c (__csin): Likewise.
41994         * math/s_csinf.c (__csinf): Likewise.
41995         * math/s_csinh.c (__csinh): Likewise.
41996         * math/s_csinhf.c (__csinhf): Likewise.
41997         * math/s_csinhl.c (__csinhl): Likewise.
41998         * math/s_csinl.c (__csinl): Likewise.
41999         * math/s_csqrt.c (__csqrt): Likewise.
42000         * math/s_csqrtf.c (__csqrtf): Likewise.
42001         * math/s_csqrtl.c (__csqrtl): Likewise.
42002         * math/s_ctan.c (__ctan): Likewise.
42003         * math/s_ctanf.c (__ctanf): Likewise.
42004         * math/s_ctanh.c (__ctanh): Likewise.
42005         * math/s_ctanhf.c (__ctanhf): Likewise.
42006         * math/s_ctanhl.c (__ctanhl): Likewise.
42007         * math/s_ctanl.c (__ctanl): Likewise.
42008         * math/w_pow.c: Likewise.
42009         * math/w_powf.c: Likewise.
42010         * math/w_powl.c: Likewise.
42011         * math/w_scalb.c (sysv_scalb): Likewise.
42012         * math/w_scalbf.c (sysv_scalbf): Likewise.
42013         * math/w_scalbl.c (sysv_scalbl): Likewise.
42014         * misc/error.c (error_tail): Likewise.
42015         * misc/pselect.c (__pselect): Likewise.
42016         * nis/nis_callback.c (__nis_create_callback): Likewise.
42017         * nis/nis_call.c (__nisfind_server): Likewise.
42018         * nis/nis_creategroup.c (nis_creategroup): Likewise.
42019         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
42020         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
42021         * nis/nis_getservlist.c (nis_getservlist): Likewise.
42022         * nis/nis_lookup.c (nis_lookup): Likewise.
42023         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
42024         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
42025         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
42026         * nis/nis_xdr.c (xdr_endpoint): Likewise.
42027         * nis/nss_compat/compat-grp.c (getgrent_next_file)
42028         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
42029         * nis/nss_compat/compat-initgroups.c (add_group)
42030         (internal_getgrent_r): Likewise.
42031         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
42032         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
42033         * nis/nss_compat/compat-spwd.c (getspent_next_file)
42034         (internal_getspnam_r): Likewise.
42035         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
42036         (_nss_nis_getaliasbyname_r): Likewise.
42037         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
42038         (_nss_nis_getntohost_r): Likewise.
42039         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
42040         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
42041         (_nss_nis_getgrgid_r): Likewise.
42042         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
42043         (internal_nis_gethostent_r, internal_gethostbyname2_r)
42044         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
42045         (_nss_nis_gethostbyname4_r): Likewise.
42046         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
42047         (initgroups_netid): Likewise.
42048         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
42049         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
42050         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
42051         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
42052         (_nss_nis_getprotobynumber_r): Likewise.
42053         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
42054         (_nss_nis_getsecretkey): Likewise.
42055         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
42056         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
42057         (_nss_nis_getpwuid_r): Likewise.
42058         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
42059         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
42060         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
42061         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
42062         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
42063         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
42064         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
42065         Likewise.
42066         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
42067         (_nss_nisplus_getntohost_r): Likewise.
42068         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
42069         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
42070         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
42071         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
42072         Likewise.
42073         * nis/nss_nisplus/nisplus-initgroups.c
42074         (_nss_nisplus_initgroups_dyn): Likewise.
42075         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
42076         (_nss_nisplus_getnetbyaddr_r): Likewise.
42077         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
42078         (_nss_nisplus_getprotobynumber_r): Likewise.
42079         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
42080         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
42081         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
42082         Likewise.
42083         * nis/nss_nisplus/nisplus-service.c
42084         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
42085         (_nss_nisplus_getservbyport_r): Likewise.
42086         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
42087         (_nss_nisplus_getspnam_r): Likewise.
42088         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
42089         Likewise.
42090         * nscd/aicache.c (addhstaiX): Likewise.
42091         * nscd/cache.c (cache_search, prune_cache): Likewise.
42092         * nscd/connections.c (register_traced_file, send_ro_fd)
42093         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
42094         (main_loop_epoll): Likewise.
42095         * nscd/grpcache.c (addgrbyX): Likewise.
42096         * nscd/hstcache.c (addhstbyX): Likewise.
42097         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42098         * nscd/mem.c (gc, mempool_alloc): Likewise.
42099         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
42100         (addinnetgrX): Likewise.
42101         * nscd/nscd-client.h (__nscd_acquire_maplock)
42102         (__nscd_drop_map_ref): Likewise.
42103         * nscd/nscd_getai.c (__nscd_getai): Likewise.
42104         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
42105         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
42106         Likewise.
42107         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
42108         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42109         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
42110         (__nscd_get_map_ref): Likewise.
42111         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
42112         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
42113         Likewise.
42114         * nscd/pwdcache.c (addpwbyX): Likewise.
42115         * nscd/selinux.c (preserve_capabilities): Likewise.
42116         * nscd/servicescache.c (addservbyX): Likewise.
42117         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
42118         * posix/fnmatch.c (fnmatch): Likewise.
42119         * posix/getopt.c (_getopt_internal_r): Likewise.
42120         * posix/glob.c (glob, glob_in_dir): Likewise.
42121         * posix/wordexp.c (exec_comm_child): Likewise.
42122         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
42123         (getanswer_r, gaih_getanswer_slice): Likewise.
42124         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
42125         * resolv/res_init.c: Likewise.
42126         * resolv/res_mkquery.c (res_nmkquery): Likewise.
42127         * resolv/res_query.c (__libc_res_nquery): Likewise.
42128         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
42129         Likewise.
42130         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
42131         * stdio-common/perror.c (perror): Likewise.
42132         * stdio-common/printf_fp.c (___printf_fp): Likewise.
42133         * stdio-common/tmpnam.c (tmpnam): Likewise.
42134         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42135         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
42136         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
42137         Likewise.
42138         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
42139         * stdlib/putenv.c (putenv): Likewise.
42140         * stdlib/setenv.c (__add_to_environ): Likewise.
42141         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42142         * stdlib/strtol_l.c (INTERNAL): Likewise.
42143         * string/memmem.c (memmem): Likewise.
42144         * string/strerror.c (strerror): Likewise.
42145         * string/strnlen.c (__strnlen): Likewise.
42146         * string/test-memmem.c (simple_memmem): Likewise.
42147         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
42148         * sunrpc/pm_getport.c (__get_socket): Likewise.
42149         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
42150         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
42151         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
42152         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
42153         Likewise.
42154         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
42155         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
42156         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
42157         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
42158         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
42159         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
42160         Likewise.
42161         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
42162         Likewise.
42163         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
42164         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
42165         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42166         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
42167         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
42168         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
42169         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42170         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
42171         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
42172         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
42173         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42174         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
42175         Likewise.
42176         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
42177         Likewise.
42178         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
42179         Likewise.
42180         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
42181         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42182         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
42183         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
42184         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
42185         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
42186         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42187         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
42188         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
42189         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
42190         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
42191         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42192         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42193         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
42194         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42195         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
42196         Likewise.
42197         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
42198         Likewise.
42199         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
42200         Likewise.
42201         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
42202         Likewise.
42203         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42204         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42205         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
42206         Likewise.
42207         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
42208         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
42209         * sysdeps/posix/opendir.c (__opendirat): Likewise.
42210         * sysdeps/posix/sleep.c: Likewise.
42211         * sysdeps/posix/tempname.c: Likewise.
42212         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
42213         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42214         Likewise.
42215         * sysdeps/powerpc/powerpc32/dl-machine.h
42216         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
42217         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42218         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42219         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
42220         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
42221         Likewise.
42222         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
42223         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
42224         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42225         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
42226         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42227         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
42228         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
42229         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
42230         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42231         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
42232         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
42233         (elf_machine_lazy_rel): Likewise.
42234         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42235         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
42236         (elf_machine_lazy_rel): Likewise.
42237         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
42238         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
42239         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
42240         * sysdeps/unix/grantpt.c (grantpt): Likewise.
42241         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
42242         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
42243         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
42244         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42245         Likewise.
42246         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
42247         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
42248         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
42249         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
42250         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
42251         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
42252         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
42253         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
42254         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
42255         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
42256         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42257         Likewise.
42258         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
42259         (__posix_fallocate64_l64): Likewise.
42260         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
42261         (posix_fallocate): Likewise.
42262         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
42263         Likewise.
42264         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42265         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
42266         (getifaddrs_internal): Likewise.
42267         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
42268         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
42269         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
42270         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
42271         * sysdeps/unix/sysv/linux/posix_fallocate64.c
42272         (__posix_fallocate64_l64): Likewise.
42273         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
42274         Likewise.
42275         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
42276         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
42277         (__get_clockfreq): Likewise.
42278         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
42279         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
42280         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
42281         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42282         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42283         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
42284         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
42285         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
42286         Likewise.
42287         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
42288         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
42289         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
42290         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
42291         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42292         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
42293         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
42294         Likewise.
42295         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42296         (posix_fallocate): Likewise.
42297         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42298         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
42299         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
42300         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
42301         (elf_machine_rela, elf_machine_rela_relative)
42302         (elf_machine_lazy_rel): Likewise.
42303         * time/asctime.c (asctime_internal): Likewise.
42304         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
42305         * time/tzset.c (__tzset_parse_tz): Likewise.
42306         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42307         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
42308         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
42309         * wcsmbs/wcsmbsload.h: Likewise.
42311         [BZ #15894]
42312         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
42314         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
42315         (arena_get2): Remove THREAD_STATS conditionals.
42316         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
42317         (__malloc_stats, int): Likewise.
42319 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
42321         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
42322         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
42324         * manual/setjmp.texi: Fix typos/grammar errors.
42326         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
42327         Only return early when n is <= 0.  Delete unused return statement.
42329         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
42330         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
42331         * debug/tst-longjmp_chk3.c: New file.
42333         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
42334         (test_main): Replace code with set_fortify_handler call.
42335         * debug/test-strcpy_chk.c: Likewise.
42336         * debug/tst-chk1.c: Likewise.
42337         * debug/tst-longjmp_chk.c: Likewise.
42338         * test-skeleton.c: Include fcntl.h & paths.h
42339         (set_fortify_handler): Define.
42341         * debug/tst-longjmp_chk.c: Add header comment and include
42342         ../test-skeleton.c.
42343         (do_test): Mark static.
42344         (TEST_FUNCTION): Define.
42346         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
42347         (IP_PMTUDISC_INTERFACE): Likewise.
42348         (IP_MULTICAST_IF): Likewise.
42349         (IP_MULTICAST_TTL): Likewise.
42350         (IP_MULTICAST_LOOP): Likewise.
42351         (IP_ADD_MEMBERSHIP): Likewise.
42352         (IP_DROP_MEMBERSHIP): Likewise.
42353         (IP_UNBLOCK_SOURCE): Likewise.
42354         (IP_BLOCK_SOURCE): Likewise.
42355         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
42356         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
42357         (IP_MSFILTER): Likewise.
42358         (MCAST_JOIN_GROUP): Likewise.
42359         (MCAST_BLOCK_SOURCE): Likewise.
42360         (MCAST_UNBLOCK_SOURCE): Likewise.
42361         (MCAST_LEAVE_GROUP): Likewise.
42362         (MCAST_JOIN_SOURCE_GROUP): Likewise.
42363         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
42364         (MCAST_MSFILTER): Likewise.
42365         (IP_MULTICAST_ALL): Likewise.
42366         (IP_UNICAST_IF): Likewise.
42368         * timezone/Makefile: Delete $(have-ksh) check.
42369         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
42370         * timezone/tzselect.ksh: Add +x mode bits.
42372         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
42373         (ANON_INODE_FS_MAGIC): Likewise.
42374         (BDEVFS_MAGIC): Likewise.
42375         (BINFMTFS_MAGIC): Likewise.
42376         (BTRFS_TEST_MAGIC): Likewise.
42377         (CRAMFS_MAGIC_WEND): Likewise.
42378         (DEBUGFS_MAGIC): Likewise.
42379         (ECRYPTFS_SUPER_MAGIC): Likewise.
42380         (EXT3_SUPER_MAGIC): Likewise.
42381         (EXT4_SUPER_MAGIC): Likewise.
42382         (FUTEXFS_SUPER_MAGIC): Likewise.
42383         (HOSTFS_SUPER_MAGIC): Likewise.
42384         (HUGETLBFS_MAGIC): Likewise.
42385         (MINIX3_SUPER_MAGIC): Likewise.
42386         (MTD_INODE_FS_MAGIC): Likewise.
42387         (NILFS_SUPER_MAGIC): Likewise.
42388         (OPENPROM_SUPER_MAGIC): Likewise.
42389         (PIPEFS_MAGIC): Likewise.
42390         (PSTOREFS_MAGIC): Likewise.
42391         (QNX6_SUPER_MAGIC): Likewise.
42392         (RAMFS_MAGIC): Likewise.
42393         (REISERFS_SUPER_MAGIC_STRING): Likewise.
42394         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
42395         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
42396         (SECURITYFS_MAGIC): Likewise.
42397         (SELINUX_MAGIC): Likewise.
42398         (SMACK_MAGIC): Likewise.
42399         (SOCKFS_MAGIC): Likewise.
42400         (SQUASHFS_MAGIC): Likewise.
42401         (STACK_END_MAGIC): Likewise.
42402         (TMPFS_MAGIC): Likewise.
42403         (USBDEVICE_SUPER_MAGIC): Likewise.
42404         (V9FS_MAGIC): Likewise.
42405         (XENFS_SUPER_MAGIC): Likewise.
42406         (CRAMFS_MAGIC): Fix typo in comment.
42407         (EXT2_SUPER_MAGIC): Update comment.
42408         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
42410 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
42412         * sysdeps/arm: Move directory from ports/sysdeps/arm.
42413         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
42414         * sysdeps/unix/sysv/linux/arm: Move directory from
42415         ports/sysdeps/unix/sysv/linux/arm.
42416         * README: Update listing for arm-*-linux-gnueabi.
42418         * README: Remove mention of am33.
42420 2014-02-07  Roland McGrath  <roland@hack.frob.com>
42422         * bits/sigset.h (__sigemptyset): Use a statement expression rather
42423         than the comma operator, to avoid "rhs of comma has no effect"
42424         compiler warnings.
42425         (__sigfillset, __sigandset, __sigorset): Likewise.
42426         * include/signal.h (__sigemptyset): Likewise.
42427         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
42429 2014-02-07  Allan McRae  <allan@archlinux.org>
42431         * version.h (RELEASE): Set to "development".
42432         (VERSION): Set to "2.19.90"
42433         * NEWS: Add 2.20 section.
42435 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
42437         [BZ #16529]
42438         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
42440 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42442         * manual/contrib.texi: Update entry for Carlos O'Donell,
42443         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
42445 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
42447         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
42449         * sysdeps/unix/sysv/linux/kernel-features.h
42450         [__LINUX_KERNEL_VERSION >= 0x020621]
42451         (__ASSUME_PROC_PID_TASK_COMM): Define.
42453 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42455         [BZ #16398]
42456         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
42457         conversion when destination buffer does not have enough space.
42458         * libio/tst-ftell-partial-wide.c: New test case.
42459         * libio/Makefile (tests): Add tst-ftell-partial-wide.
42461         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
42462         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
42463         Leonard and Allan McRae.
42465 2014-02-04  David S. Miller  <davem@davemloft.net>
42467         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
42468         32-bit.
42470 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42473         New file
42474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42475         New file
42476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42477         New file.
42478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42479         New file.
42480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42481         New file.
42482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42483         New file.
42484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42485         New file.
42486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42487         New file.
42488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42489         New file.
42490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42491         New file.
42492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42493         New file.
42494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42495         New file.
42496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42497         New file.
42499 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42501         * nptl/shlib-versions: Change powerpc*le start to 2.17.
42502         * shlib-versions: Likewise.
42504 2014-02-04  Roland McGrath  <roland@hack.frob.com>
42505             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42507         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
42508         (abilist-pattern): New variable, set to %-le.abilist.
42510         * Makerules (abilist-pattern): New variable.
42511         (vpath): Use $(abilist-pattern) in place of %.abilist.
42512         (check-abi-% pattern rule): Likewise.
42513         (check-abi, update-abi): Likewise.
42515 2014-02-04  Eric Wong  <normalperson@yhbt.net>
42517         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42519 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
42521         * manual/startup.texi: Add next, previous, and top entries for
42522         the `Program Arguments' and `Environment Variables' nodes.
42524 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
42526         * manual/macros.texi: Add comments before MTASC-safety macros.
42528         * manual/users.texi: Document MTASC-safety properties.
42530         * manual/threads.texi (pthread_key_create, pthread_key_delete)
42531         (pthread_getspecific, pthread_setspecific): Format with
42532         @deftypefun, and add @safety note.
42533         * manual/signal.texi: Move comments that analyze the above
42534         functions to their home place.
42536 2014-02-03  Allan McRae  <allan@archlinux.org>
42538         * po/sl.po: Update Slovenian translation from translation project.
42540 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
42542         * manual/time.texi (timegm): Add missing blank after @c.
42543         Reported by Joseph Myers <joseph@codesourcery.com>.
42545 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
42547         * manual/check-safety.sh: New.
42548         * manual/Makefile ($(objpfx)stamp-summary): Run it.
42550         * manual/terminal.texi: Document MTASC-safety properties.
42552         * manual/filesys.texi: Document MTASC-safety properties.
42554         * manual/errno.texi: Document MTASC-safety properties.
42556         * manual/intro.texi: Document safety identifiers and
42557         conditionals.
42559         * manual/string.texi (wcstok): Fix prototype.
42560         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
42562         * manual/time.texi: Document MTASC-safety properties.
42564         * manual/string.texi: Document MTASC-safety properties.
42566         * manual/threads.texi: Document MTASC-safety properties.
42568         * manual/stdio.texi: Document MTASC-safety properties.
42570         * manual/syslog.texi: Document MTASC-safety properties.
42572         * manual/sysinfo.texi: Document MTASC-safety properties.
42574         * manual/startup.texi: Document MTASC-safety properties.
42576         * manual/socket.texi: Document MTASC-safety properties.
42578         * manual/signal.texi: Document MTASC-safety properties.
42580 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
42582         * manual/setjmp.texi: Document MTASC-safety properties.
42584         * manual/search.texi: Document MTASC-safety properties.
42586         * manual/resource.texi: Document MTASC-safety properties.
42588         * manual/process.texi: Document MTASC-safety properties.
42590         * manual/platform.texi: Document MTASC-safety properties.
42592         * manual/pipe.texi: Document MTASC-safety properties.
42594         * manual/pattern.texi: Document MTASC-safety properties.
42596         * manual/message.texi: Document MTASC-safety properties.
42598         [BZ #12751]
42599         * manual/memory.texi: Document MTASC-safety properties.
42601         * manual/math.texi: Document MTASC-safety properties.
42603         * manual/locale.texi: Document MTASC-safety properties.
42605         * manual/llio.texi: Document MTASC-safety properties.
42607         * manual/libdl.texi: New.
42609         * manual/lang.texi: Document MTASC-safety properties.
42611         * manual/job.texi: Document MTASC-safety properties.
42613         * manual/getopt.texi: Document MTASC-safety properties.
42615         * manual/ctype.texi: Document MTASC-safety properties.
42617 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
42619         [BZ #16046]
42620         * csu/libc-tls.c (static_map): Remove variable.
42621         (__libc_setup_tls): Use main executable's link map for TLS data.
42622         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
42623         casing for LM_ID_BASE and GL(dl_nns).
42624         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
42625         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
42626         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
42627         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
42628         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
42629         member.
42630         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
42631         l_phnum members.
42633 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
42635         * manual/debug.texi: Document MTASC-safety properties.
42637 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
42639         [BZ #16510]
42640         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
42641         of __x86_64__ when disabling x87 inline functions.
42643 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
42645         * manual/charset.texi: Document MTASC-safety properties.
42647         * manual/crypt.texi: Document MTASC-safety properties.
42649         * manual/conf.texi: Document MTASC-safety properties.
42651         * manual/arith.texi: Document MTASC-safety properties.
42653         * manual/argp.texi: Document MTASC-safety properties.
42655         * manual/macros.texi: Introduce macros to document multi
42656         thread, asynchronous signal and asynchronous cancellation
42657         safety properties.
42658         * manual/intro.texi: Introduce the properties themselves.
42660 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42662         * sysdeps/sh/sh4/Makefile: New file.
42664 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
42666         * math/gen-libm-test.pl ($srcdir): New variable.
42667         ($auto_input): Use it.
42669 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42671         [BZ #16506]
42672         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
42673         access beyond array bounds when parsing netgroups file.
42675         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
42676         the old buffer before realloc.
42678 2014-01-27  Allan McRae  <allan@archlinux.org>
42680         * po/fr.po: Update French translation from translation project.
42682 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42684         * sysdeps/sh/libm-test-ulps: Regenerate.
42686 2014-01-24  David S. Miller  <davem@davemloft.net>
42688         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
42690 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42692         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
42693         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
42695 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42697         [BZ #16474]
42698         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
42699         string pointers after reallocation.
42701 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42703         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
42704         __SH4A__ instead of __SH_FPU_ANY__.
42706 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42708         * sysdeps/sh/fpu_control.h: New file.
42709         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
42710         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
42711         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
42712         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
42713         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
42714         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
42715         * sysdeps/sh/sys/ucontext.h: Remove.
42716         * sysdeps/sh/sys: Remove directory.
42718 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42720         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
42721         s390/sys/ucontext.h.
42722         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
42723         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
42725 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
42727         [BZ #15605]
42728         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
42730 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42732         [BZ#16431]
42733         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42734         Adjust the vDSO correctly for internal calls.
42735         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
42737 2014-01-20  Allan McRae  <allan@archlinux.org>
42739         * po/ca.po: Update Catalan translation from translation project.
42741 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
42743         * sysdeps/s390/sotruss-lib.c: New file.
42745 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42747         [BZ#16430]
42748         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
42749         (__GI___gettimeofday): Alias for a different internal symbol to avoid
42750         local calls issues by not having a PLT stub required for IFUNC calls.
42751         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
42753 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
42755         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
42756         * math/test-fpucw-static.c: Likewise.
42758 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42760         [BZ #16453]
42761         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
42763 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42765         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
42766         implementation for powerpc.
42768 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
42770         [BZ #14782]
42771         * sysdeps/posix/system.c (__libc_system): Do not enable
42772         asynchronous cancellation.
42774 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42776         [BZ #16427]
42777         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
42778         handling only for numbers special also in the IEEE case.
42780 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42782         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42784 2014-01-11  Allan McRae  <allan@archlinux.org>
42786         * po/bg.po: Update Bulgarian translation from translation project.
42788         * po/de.po: Update German translation from translation project.
42790 2014-01-10  Roland McGrath  <roland@hack.frob.com>
42792         * sysdeps/generic/gcc-compat.h: New file.
42794 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42796         * benchtests/asin-inputs: Correct slow inputs.
42797         * benchtests/acos-inputs: Likewise.
42799 2014-01-10  Allan McRae  <allan@archlinux.org>
42801         * po:sv.po: Update Swedish translation from translation project.
42803         * po/vi.po: Update Vietnamese translation from translation project.
42805         * po/eo.po: Update Esperanto translation from translation project.
42807         * po/cs.po: Update Czech translation from translation project.
42809         * po/nl.po: Update Dutch translation from translation project.
42811         * po/pl.po: Update Polish translation from translation project.
42813         * po/ru.po: Update Russian translation from translation project.
42815         * po/uk.po: Update Ukrainian translation from translation project.
42817 2014-01-08  Brooks Moses  <bmoses@google.com>
42819         * elf/dl-load.c: Fix comment typo.
42821 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
42823         * po/header.pot: Rename to...
42824         * po/pot.header: ... this.
42825         * po/Makefile: Use pot.header.
42827 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
42828             Maxim Kuvyrkov  <maxim@kugelworks.com>
42830         [BZ #16394]
42831         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
42832         SRC and DEST against LEN.
42834 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42836         [BZ #16414]
42837         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
42838         implementation.
42839         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
42841 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42845 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
42847         [BZ #16408]
42848         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
42849         for large positive arguments.
42851 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
42853         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42855         * math/auto-libm-test-in: Mark various tests with
42856         xfail-rounding:ldbl-128ibm.
42857         * math/auto-libm-test-out: Regenerated.
42859         [BZ #16407]
42860         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42861         Increase overflow threshold.
42863 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
42865         [BZ #14286]
42866         * stdio-common/vfprintf.c: Check for integer overflow.
42868 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42870         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
42871         the first argument and return value of __tls_get_addr_internal.
42873 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42875         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
42876         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
42878 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42880         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
42881         * sysdeps/s390/rtld-global-offsets.sym: New file.
42882         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
42883         GLIBC_2.19 symbol.
42884         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
42885         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
42886         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42887         ... this.
42888         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
42889         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42890         ... this.
42891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42892         Regenerate.
42893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42894         Regenerate.
42895         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
42896         halfs of GPRs for high_gprs contexts.
42897         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
42898         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
42899         field.
42900         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
42901         uc_flags field.
42902         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
42903         64 bit versions:
42904         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
42905         for high GPRs (uc_high_gprs) and for future extensions
42906         (__reserved).
42907         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
42908         for future extensions (__reserved).
42909         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
42910         64 bit versions:
42911         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
42912         SC_HIGHGPRS offset definition.
42913         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
42914         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
42916         * Versions.def: Add GLIBC_2.19 for libpthread.
42917         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
42918         siglongjmp for libpthread with GLIBC_2.19 symver.
42919         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
42920         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
42921         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
42922         * sysdeps/s390/__longjmp.c: New file.
42923         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
42924         * sysdeps/s390/longjmp.c: New file.
42925         * sysdeps/s390/setjmp.S: New file.
42926         * sysdeps/s390/sigjmp.S: New file.
42927         * sysdeps/s390/v1-longjmp.c: New file.
42928         * sysdeps/s390/v1-setjmp.h: New file.
42929         * sysdeps/s390/v1-sigjmp.c: New file.
42930         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
42931         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
42932         GLIBC_2.19 version.
42933         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
42934         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
42935         versioned symbols for ____longjmp_chk.
42936         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42937         Likewise.
42938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42939         Regenerate.
42940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42941         Regenerate.
42942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42943         Regenerate.
42944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42945         Regenerate.
42946         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
42947         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
42948         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
42949         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
42950         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
42951         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
42952         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
42953         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
42954         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
42955         * sysdeps/s390/rtld-__longjmp.c: New file.
42956         * sysdeps/s390/rtld-setjmp.S: New file.
42958 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
42960         [BZ #16400]
42961         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42962         Return -__logl (x) for small positive arguments without evaluating
42963         a polynomial.
42965 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
42967         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
42968         Rename to ...
42969         (__ptrace_peeksiginfo_args): ... this.
42970         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42971         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42972         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42974 2014-01-06  Allan McRae  <allan@archlinux.org>
42976         * inet/netinet/in.h: Fix typo in comment.
42978 2014-01-05  Andreas Jaeger  <aj@suse.de>
42980         * sysdeps/i386/fpu/libm-test-ulps: Update.
42982 2014-01-05  Allan McRae  <allan@archlinux.org>
42984         * po/libc.pot: Regenerated.
42986         * malloc/memusagestat.c: Fix gettext call formatting.
42988 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
42990         * nscd/nscd.c: Improve usage() output.
42992 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
42994         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
42995         * sysdeps/unix/sysv/linux/configure: Regenerated.
42996         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
42997         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
42999 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43001         [BZ #16390]
43002         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43003         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
43005 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43007         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
43008         extra tokens at end of #undef directive.
43009         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
43010         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
43011         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43013 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43015         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43017         * math/auto-libm-test-in: Mark various tests with
43018         xfail-rounding:ldbl-128ibm.
43019         * math/auto-libm-test-out: Regenerated.
43021 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
43023         [BZ #16386]
43024         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
43025         numbers with subnormal high part when calculating exponent.
43027         [BZ #16385]
43028         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
43029         fabs.
43031         [BZ #16384]
43032         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
43033         M_LN2l.
43034         (__ieee754_acoshl): Use __log1pl not __log1p.
43036 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
43038         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
43039         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
43040         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
43041         (grow_heap, heap_trim, _int_new_arena, get_free_list)
43042         (reused_arena, arena_get2): Convert to GNU style.
43043         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
43044         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
43045         (memalign_check, __malloc_set_state): Likewise.
43046         * malloc/mallocbug.c (main): Likewise.
43047         * malloc/malloc.c (__malloc_assert, malloc_init_state)
43048         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
43049         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
43050         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
43051         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
43052         (__posix_memalign, malloc_info): Likewise.
43053         * malloc/malloc.h: Likewise.
43054         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
43055         (mallochook, memalignhook, reallochook, mabort): Likewise.
43056         * malloc/mcheck.h: Likewise.
43057         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
43058         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
43059         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
43060         * malloc/morecore.c (__default_morecore): Likewise.
43061         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
43062         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
43063         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
43064         (print_and_abort): Likewise.
43065         * malloc/obstack.h: Likewise.
43066         * malloc/set-freeres.c (__libc_freeres): Likewise.
43067         * malloc/tst-mallocstate.c (main): Likewise.
43068         * malloc/tst-mtrace.c (main): Likewise.
43069         * malloc/tst-realloc.c (do_test): Likewise.
43071 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43073         [BZ #16366]
43074         * nscd/netgroupcache.c (do_notfound): New function.
43075         (addgetnetgrentX): Use it.
43077         [BZ # 16365]
43078         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
43079         NSS_STATUS_NOTFOUND.
43081 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
43083         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43086 2014-01-01  Allan McRae  <allan@archlinux.org>
43088         * scripts/update-copyrights: Update configure input file suffix.
43090         * NEWS: Update copyright year.
43091         * catgets/gencat.c: Likewise.
43092         * csu/version.c: Likewise.
43093         * debug/catchsegv.sh: Likewise.
43094         * debug/pcprofiledump.c: Likewise.
43095         * debug/xtrace.sh: Likewise.
43096         * elf/ldconfig.c: Likewise.
43097         * elf/ldd.bash.in: Likewise.
43098         * elf/pldd.c: Likewise.
43099         * elf/sotruss.ksh: Likewise.
43100         * elf/sprof.c: Likewise.
43101         * iconv/iconv_prog.c: Likewise.
43102         * iconv/iconvconfig.c: Likewise.
43103         * locale/programs/locale.c: Likewise.
43104         * locale/programs/localedef.c: Likewise.
43105         * login/programs/pt_chown.c: Likewise.
43106         * malloc/memusage.sh: Likewise.
43107         * malloc/memusagestat.c: Likewise.
43108         * malloc/mtrace.pl: Likewise.
43109         * manual/libc.texinfo: Likewise.
43110         * nscd/nscd.c: Likewise.
43111         * nss/getent.c: Likewise.
43112         * nss/makedb.c: Likewise.
43113         * posix/getconf.c: Likewise.
43114         * scripts/test-installation.pl: Likewise.
43116         * All files with FSF copyright notices: Update copyright dates
43117         using scripts/update-copyrights.
43118         * intl/plural.c: Regenerated.
43119         * locale/programs/charmap-kw.h: Likewise.
43120         * locale/programs/locfile-kw.h: Likewise.
43122 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
43124         * sysdeps/unix/sysv/linux/configure: Regenerated.
43125         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
43126         the linux/fanotify.h header.
43127         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
43128         HAVE_LINUX_FANOTIFY_H is defined.
43130 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43132         * benchtests/cos-inputs: New inputs.
43133         * benchtests/sin-inputs: Likewise.
43135         * benchtests/atan-inputs: New inputs. Fix name of multiple
43136         precision fallback inputs.
43138         * benchtests/atanh-inputs: New inputs.
43139         * benchtests/tanh-inputs: Likewise.
43141         * benchtests/acosh-inputs: New inputs.
43142         * benchtests/asinh-inputs: Likewise.
43144         * benchtests/cosh-inputs: New inputs.
43145         * benchtests/sinh-inputs: Likewise.
43147         * benchtests/acos-inputs: Add more inputs.
43148         * benchtests/asin-inputs: Likewise.
43150 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
43152         [BZ #16375]
43153         * manual/arith.texi: Fix spelling.
43154         * manual/charset.texi: Likewise.
43155         * manual/errno.texi: Likewise.
43156         * manual/filesys.texi: Likewise.
43157         * manual/lang.texi: Likewise.
43158         * manual/llio.texi: Likewise.
43159         * manual/locale.texi: Likewise.
43160         * manual/message.texi: Likewise.
43161         * manual/resource.texi: Likewise.
43162         * manual/search.texi: Likewise.
43163         * manual/setjmp.texi: Likewise.
43164         * manual/stdio.texi: Likewise.
43165         * manual/string.texi: Likewise.
43166         * manual/sysinfo.texi: Likewise.
43167         * manual/time.texi: Likewise.
43169 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
43171         * po/sl.po: New file.
43173 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
43175         * .gitignore: Add core/.gdbinit/.gdb_history.
43177 2013-12-27  Allan McRae  <allan@archlinux.org>
43179         [BZ #16369]
43180         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
43181         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
43183 2013-12-24  Brooks Moses  <bmoses@google.com>
43185         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
43186         all compilers that claim C++98 compliance, not just GCC.
43187         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
43188         Likewise.
43190 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43192         * NEWS: Restore accidentally deleted bug-fix entries.
43194 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43195             Ondřej Bílka  <neleai@seznam.cz>
43197         [BZ #15073]
43198         * malloc/malloc.c (_int_free): Perform sanity check only if we
43199         have_lock.
43201 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
43203         [BZ #12986]
43204         * manual/stdio.texi (String Input Conversions): Clarify that character
43205         classes are not supported.
43207 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43211 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
43213         [BZ #16337]
43214         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43215         Calculate results for small negative arguments directly rather
43216         than using reflection formula with special underflow handling.
43218         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
43219         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
43220         sysdeps/unix/bsd/bsd4.4/syscalls.list.
43221         (fchflags): Likewise.
43222         (revoke): Likewise.
43223         (setlogin): Likewise.
43224         (sigaltstack): Likewise.
43225         (wait4): Likewise.
43226         (sigblock): Remove.
43227         (sigsetmask): Likewise.
43228         (wait3): Likewise.
43229         (waitpid): Likewise.
43230         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
43231         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
43232         file.
43233         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
43234         * sysdeps/unix/bsd/Makefile: ... here.
43235         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
43236         * sysdeps/unix/bsd/Versions: ... here.
43237         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
43238         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
43239         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
43240         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
43241         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
43242         * sysdeps/unix/bsd/sigblock.c: ... here.
43243         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
43244         * sysdeps/unix/bsd/sigsetmask.c: ... here.
43245         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
43246         * sysdeps/unix/bsd/sigvec.c: ... here.
43247         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
43248         * sysdeps/unix/bsd/tcdrain.c: ... here.
43249         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
43250         * sysdeps/unix/bsd/tcgetattr.c: ... here.
43251         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
43252         * sysdeps/unix/bsd/tcsetattr.c: ... here.
43253         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
43254         * sysdeps/unix/bsd/wait.c: ... here.
43255         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
43256         * sysdeps/unix/bsd/wait3.c: ... here.
43257         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
43258         * sysdeps/unix/bsd/waitpid.c: ... here.
43260 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
43262         [BZ #16356]
43263         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
43264         round-to-nearest for [!USE_AS_EXPM1L].
43265         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
43266         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
43267         more tests of exp and exp10.  Expect some exp10 tests to miss
43268         exceptions or fail in directed rounding modes.
43269         * math/auto-libm-test-out: Regenerated.
43270         * math/libm-test.inc (exp10_tonearest_test_data): New array.
43271         (exp10_test_tonearest): New function.
43272         (exp10_towardzero_test_data): New array.
43273         (exp10_test_towardzero): New function.
43274         (exp10_downward_test_data): New array.
43275         (exp10_test_downward): New function.
43276         (exp10_upward_test_data): New array.
43277         (exp10_test_upward): New function.
43278         (main): Call the new functions.
43279         * sysdeps/i386/fpu/libm-test-ulps: Update.
43280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43282 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
43284         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
43285         asinh, atan, atan2, atanh, cbrt, cos and cosh.
43286         * math/auto-libm-test-out: Regenerated.
43287         * math/libm-test.inc (acosh_test_data): Add more tests.
43288         (atanh_test_data): Likewise.
43289         (ceil_test_data): Likewise.
43290         (copysign_test_data): Likewise.
43291         * sysdeps/i386/fpu/libm-test-ulps: Update.
43292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43294         * timezone/checktab.awk: Update from tzcode 2013i.
43295         * timezone/private.h: Likewise.
43296         * timezone/scheck.c: Likewise.
43297         * timezone/tzfile.h: Likewise.
43298         * timezone/tzselect.ksh: Likewise.
43299         * timezone/zdump.c: Likewise.
43300         * timezone/zic.c: Likewise.
43302         * math/auto-libm-test-in: Add tests of cpow.
43303         * math/auto-libm-test-out: Regenerated.
43304         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
43305         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43306         mpc_cc_c.
43307         (func_calc_desc): Add mpc_cc_c union field.
43308         (test_functions): Add cpow.
43309         (special_fill_2pi): New function.
43310         (special_real_inputs): Add 2pi.
43311         (calc_generic_results): Handle mpc_cc_c.
43312         * sysdeps/i386/fpu/libm-test-ulps: Update.
43313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43315         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
43316         csqrt, ctan and ctanh.
43317         * math/auto-libm-test-out: Regenerated.
43318         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43319         (TEST_COND_x86): Likewise.
43320         (ccos_test_data): Use AUTO_TESTS_c_c.
43321         (ccosh_test_data): Likewise.
43322         (cexp_test_data): Likewise.
43323         (clog_test_data): Likewise.
43324         (csqrt_test_data): Likewise.
43325         (ctan_test_data): Likewise.
43326         (ctan_tonearest_test_data): Likewise.
43327         (ctan_towardzero_test_data): Likewise.
43328         (ctan_downward_test_data): Likewise.
43329         (ctan_upward_test_data): Likewise.
43330         (ctanh_test_data): Likewise.
43331         (ctanh_tonearest_test_data): Likewise.
43332         (ctanh_towardzero_test_data): Likewise.
43333         (ctanh_downward_test_data): Likewise.
43334         (ctanh_upward_test_data): Likewise.
43335         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43336         mpc_c_c.
43337         (func_calc_desc): Add mpc_c_c union field.
43338         (FUNC_mpc_c_c): New macro.
43339         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
43340         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
43341         ctanh.
43342         (special_fill_min_subnorm_p120): New function.
43343         (special_real_inputs): Add min_subnorm_p120.
43344         (calc_generic_results): Handle mpc_c_c.
43345         * sysdeps/i386/fpu/libm-test-ulps: Update.
43346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43348 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43350         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
43351         (do_sin_slow): New functions.
43352         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
43353         (cslow2, csloww1, csloww2): Use the new functions.
43355         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
43356         Use M to change sign of result instead of X.  Assume X is
43357         positive.
43358         (csloww1): Likewise.
43359         (__sin): Adjust.
43360         (__cos): Adjust.
43362         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
43363         arguments A and DA.
43364         (__sin): Adjust.
43365         (__cos): Likewise.
43367         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
43368         (__cos): Likewise.
43369         (sloww1): Don't adjust sign of DX.
43370         (csloww1): Likewise.
43371         (sloww2): Use X directly and don't adjust sign of DX.
43372         (csloww2): Likewise.
43374 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43376         * math/auto-libm-test-in: Add tests of cabs and carg.
43377         * math/auto-libm-test-out: Regenerated.
43378         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
43379         (carg_test_data): Likewise.
43380         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43381         mpc_c_f.
43382         (func_calc_desc): Add mpc_c_f union field.
43383         (test_functions): Add cabs and carg.
43384         (calc_generic_results): Handle mpc_c_f.
43386         * sysdeps/powerpc/powerpc32/libgcc-compat.S
43387         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
43388         as a macro and a compat symbol.
43389         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43390         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43391         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43392         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43393         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
43394         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
43395         not use .hidden.
43396         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
43397         Likewise.
43398         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
43399         Likewise.
43400         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
43401         Likewise.
43402         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
43403         Likewise.
43404         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
43405         Likewise.
43406         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
43407         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
43408         from GLIBC_2.3.2.
43410 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43414 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43416         * manual/texinfo.tex: Update to version 2013-11-26.10 with
43417         trailing whitespace removed.
43418         * scripts/config.guess: Update to version 2013-11-29.
43419         * scripts/config.sub: Update to version 2013-10-01.
43421         * math/auto-libm-test-in: Add tests of sincos.
43422         * math/auto-libm-test-out: Regenerated.
43423         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
43424         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43425         mpfr_f_11.
43426         (func_calc_desc): Add mpfr_f_11 union field.
43427         (test_functions): Add sincos.
43428         (calc_generic_results): Handle mpfr_f_11.
43429         * sysdeps/i386/fpu/libm-test-ulps: Update.
43430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43432 2013-12-19  Andreas Schwab  <schwab@suse.de>
43434         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
43435         CALL_MCOUNT.
43436         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
43437         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
43438         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
43440 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43442         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
43443         * sysdeps/i386/fpu/libm-test-ulps: Update.
43444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43446         [BZ #16293]
43447         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
43448         round-to-nearest mode when using frndint.
43449         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
43450         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43451         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43452         Likewise.
43453         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
43454         sinh test to fail.
43455         * math/auto-libm-test-out: Regenerated.
43456         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
43457         (TEST_COND_x86): Likewise.
43458         (expm1_tonearest_test_data): New array.
43459         (expm1_test_tonearest): New function.
43460         (expm1_towardzero_test_data): New array.
43461         (expm1_test_towardzero): New function.
43462         (expm1_downward_test_data): New array.
43463         (expm1_test_downward): New function.
43464         (expm1_upward_test_data): New array.
43465         (expm1_test_upward): New function.
43466         (main): Run the new test functions.
43467         * sysdeps/i386/fpu/libm-test-ulps: Update.
43468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43470         * include/features.h: Update comment documenting feature test
43471         macros.  Mention _DEFAULT_SOURCE in comment.
43472         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
43473         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
43474         _BSD_SOURCE and _SVID_SOURCE.
43475         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
43476         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
43477         !_SVID_SOURCE]: Likewise.
43478         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43479         (__USE_POSIX_IMPLICITLY): Define.
43480         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43481         (_POSIX_SOURCE): Undefine and redefine.
43482         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43483         (_POSIX_C_SOURCE): Likewise.
43484         * manual/creature.texi (_DEFAULT_SOURCE): Document.
43485         (Feature Test Macros): Update documentation of default features.
43487 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43489         * benchtests/Makefile: Add bench-strtok.
43490         * benchtests/bench-strtok.c: New file: strtok benchtest.
43492 2013-12-19  Allan McRae  <allan@archlinux.org>
43494         * manual/install.texi: Suppress menu for plain text output.
43495         * INSTALL: Regenerated.
43497 2013-12-18  Brooks Moses  <bmoses@google.com>
43499         [BZ #15846]
43500         * misc/getauxval.c: Include errno.h.
43501         (__getauxval): Set errno to ENOENT if the requested type is not
43502         found.
43503         * misc/sys/auxv.h (getauxval): Document that it may set errno;
43504         don't declare with __attribute_const__.
43505         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
43506         * manual/startup.texi: Document that getauxval sets errno.
43508 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43510         * math/auto-libm-test-in: Add tests of jn and yn.
43511         * math/auto-libm-test-out: Regenerated.
43512         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
43513         (yn_test_data): Likewise.
43514         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43515         mpfr_if_f.
43516         (func_calc_desc): Add mpfr_if_f union field.
43517         (FUNC_mpfr_if_f): New macro.
43518         (test_functions): Add jn and yn.
43519         (calc_generic_results): Assert type of second input for
43520         mpfr_ff_f.  Handle mpfr_if_f.
43521         (output_for_one_input_case): Disable all checking for arguments
43522         fitting floating-point types in case of an integer argument.
43523         * sysdeps/i386/fpu/libm-test-ulps: Update.
43524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43527         Don't expect fegetround reference in libm.so.
43529 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43531         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
43532         $(config-cflags-nofma).
43534 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43536         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
43537         * math/auto-libm-test-out: Regenerated.
43539         [BZ #16338]
43540         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
43541         to determine exponent and adjust argument to have exponent of -1.
43542         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
43543         log2.
43544         * math/auto-libm-test-out: Regenerated.
43545         * sysdeps/i386/fpu/libm-test-ulps: Update.
43546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43548 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
43550         * manual/probes.texi: Remove cases when per-thread arenas are
43551         disabled.
43553 2013-12-18  Andreas Schwab  <schwab@suse.de>
43555         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
43556         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
43557         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
43558         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
43559         * sysdeps/i386/i686/multiarch/Makefile: Update.
43560         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
43562 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43564         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
43565         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
43567 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
43569         [BZ #15968]
43570         Support TZ transition times < 00:00:00.
43571         This is needed for version-3 tz-format files; it supports time
43572         stamps past 2037 for America/Godthab (the only entry in the tz
43573         database for which this change is relevant).
43574         * manual/time.texi (TZ Variable): Document transition times
43575         from -167:59:59 through -00:00:01.
43576         * time/tzset.c (tz_rule): Time of day is now signed.
43577         (__tzset_parse_tz): Parse negative time of day.
43579         Document TZ transition times >= 25:00:00.
43580         * manual/time.texi (TZ Variable): Document transition times from
43581         25:00:00 through 167:59:59.  These are already supported, and this
43582         support will help with version-3 tz-format files.
43584         * manual/time.texi (TZ Variable): Modernize North America example
43585         to reflect current (i.e., 2007-and-later) daylight saving rules.
43587         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
43589 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43591         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
43592         * sysdeps/unix/bsd/bits/stat.h: Likewise.
43593         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
43594         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43595         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
43596         * sysdeps/unix/bsd/bsdstat.h: Likewise.
43597         * sysdeps/unix/bsd/clock.c: Likewise.
43598         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
43599         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
43600         * sysdeps/unix/bsd/init-posix.c: Likewise.
43601         * sysdeps/unix/bsd/poll.c: Likewise.
43602         * sysdeps/unix/bsd/ptsname.c: Likewise.
43603         * sysdeps/unix/bsd/seekdir.c: Likewise.
43604         * sysdeps/unix/bsd/setegid.c: Likewise.
43605         * sysdeps/unix/bsd/seteuid.c: Likewise.
43606         * sysdeps/unix/bsd/setgid.c: Likewise.
43607         * sysdeps/unix/bsd/setrgid.c: Likewise.
43608         * sysdeps/unix/bsd/setruid.c: Likewise.
43609         * sysdeps/unix/bsd/setsid.c: Likewise.
43610         * sysdeps/unix/bsd/setuid.c: Likewise.
43611         * sysdeps/unix/bsd/sigaction.c: Likewise.
43612         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
43613         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
43614         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
43615         * sysdeps/unix/bsd/telldir.c: Likewise.
43616         * sysdeps/unix/bsd/times.c: Likewise.
43617         * sysdeps/unix/bsd/usleep.c: Likewise.
43619         * misc/Makefile (install-lib): Remove libbsd-compat.a.
43620         ($(objpfx)libbsd-compat.a): Remove rule.
43622         * include/features.h (__FAVOR_BSD): Do not define.
43623         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
43624         features conflicting with POSIX.
43625         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
43626         (_BSD_SOURCE): Remove description of not being a subset of other
43627         feature test macros.
43628         * manual/job.texi (getpgrp): Do not document BSD version.
43629         (getpgid): Do not document by reference to BSD getpgrp.
43630         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
43631         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
43632         * signal/signal.h [__FAVOR_BSD]: Likewise.
43633         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
43634         instead of making contents conditional on [__FAVOR_BSD].
43635         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
43637 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43641 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43643         [BZ #16314]
43644         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
43645         values below 2**-450, not 2**-500.
43646         * math/auto-libm-test-in: Don't allow spurious underflow from
43647         hypot.
43648         * math/auto-libm-test-out: Regenerated.
43650         [BZ #16316]
43651         [BZ #16330]
43652         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
43653         values of ha and hb and sort them after adjusting subnormal
43654         arguments.
43655         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
43656         Likewise.
43657         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
43658         values of ea and eb and sort them after adjusting subnormal
43659         arguments.
43660         * math/auto-libm-test-in: Do not expect some hypot tests of
43661         subnormals to fail.  Add more hypot tests.
43662         * math/auto-libm-test-out: Regenerated.
43664 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43666         [BZ #13304]
43667         * sysdeps/sh/s_fma.c: New file.
43668         * sysdeps/sh/s_fmaf.c: New file.
43669         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
43670         version.
43671         * sysdeps/sh/Implies: Add sh/soft-fp.
43673 2013-12-16  Roland McGrath  <roland@hack.frob.com>
43675         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
43676         level of indirection to members `objname', `errstring', `malloced'.
43677         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
43678         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
43679         it as the __longjmp argument (just pass 1 instead).
43680         (_dl_catch_error): Initialize C with argument pointers and address of
43681         volatile local ERRCODE rather than copying values out of C at return.
43683 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
43685         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
43686         * math/auto-libm-test-out: Regenerated.
43687         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
43688         (hypot_test_data): Likewise.
43689         (pow_test_data): Likewise.
43690         (pow_tonearest_test_data): Likewise.
43691         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43692         mpfr_ff_f.
43693         (func_calc_desc): Add mpfr_ff_f union field.
43694         (FUNC_mpfr_ff_f): New macro.
43695         (test_functions): Add atan2, hypot and pow.
43696         (special_fill_min): New function.
43697         (special_fill_minus_min): Likewise.
43698         (special_fill_min_subnorm): Likewise.
43699         (special_fill_minus_min_subnorm): Likewise.
43700         (special_real_inputs): Add min, -min, min_subnorm and
43701         -min_subnorm.
43702         (calc_generic_results): Handle mpfr_ff_f.
43703         * sysdeps/i386/fpu/libm-test-ulps: Update.
43704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43706 2013-12-16  Will Newton  <will.newton@linaro.org>
43708         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
43709         (Aligned Memory Blocks): Add documentation for aligned_alloc
43710         and suggest it as an alternative to posix_memalign.
43711         (Hooks for Malloc): Document __memalign_hook is also called
43712         for aligned_alloc.  (Summary of Malloc): Add summary for
43713         aligned alloc.  Document __memalign_hook is also called
43714         for aligned_alloc.
43716 2013-12-16  Will Newton  <will.newton@linaro.org>
43718         * manual/memory.texi (Malloc Examples): Clarify default
43719         alignment documentation.  Suggest posix_memalign rather
43720         than memalign or valloc.
43721         (Aligned Memory Blocks): Remove suggestion to use memalign
43722         or valloc.  Remove obsolete comment about BSD.
43723         Document memalign errno values and mark the function obsolete.
43724         Document posix_memalign returned error codes.  Mark valloc
43725         as obsolete.  (Hooks for Malloc): __memalign_hook is also
43726         called for posix_memalign and valloc.
43727         (Summary of Malloc): Add posix_memalign to function summary.
43728         __memalign_hook is also called for posix_memalign and valloc.
43730 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43732         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
43733         TAYLOR_SIN.
43734         (__sin): Adjust.
43735         (__cos): Likewise.
43736         (sloww): Use mynumber union.  Expand ternary operator into
43737         if-else statements.
43738         (cslow): use mynumber union.
43740 2013-12-16  Allan McRae  <allan@archlinux.org>
43742         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
43743         * configure: Regenerated.
43745         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
43747         [BZ #14120]
43748         * configure.ac: Added --enable-maintainer-mode. Check for
43749         autoconf when enabled.
43750         * configure: Regenerated.
43752         * nscd/nscd.service: New file.
43753         * nscd/nscd.tmpfiles: New file.
43755 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
43757         [BZ #12100]
43758         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
43759         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
43760         * sysdeps/x86_64/multiarch/strstr.c: ... here.
43761         (strstr): Add __strstr_sse2_unaligned ifunc.
43762         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
43763         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
43764         (strcasestr): Remove __strcasestr_sse42 ifunc.
43765         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
43766         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43767         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43769 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43771         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
43772         * sysdeps/sh/bits/fenv.h: ... here.
43773         * sysdeps/sh/sh4/fpu/bits: Remove directory.
43775 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43777         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
43779         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
43780         hypotf multiarch implementations.
43781         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
43782         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
43783         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
43784         multiarch hypot for PPC64.
43785         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
43786         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
43787         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
43788         multiarch hypotf for PPC64.
43790         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
43791         modff multiarch implementations.
43792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
43793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
43794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
43795         multiarch modf for PPC64.
43796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
43797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
43798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
43799         multiarch modff for PPC64.
43801         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
43802         and logl multiarch implementations.
43803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
43804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
43805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
43806         multiarch logb for PPC64.
43807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
43808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
43809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
43810         multiarch logb for PPC64.
43811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
43812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
43813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
43814         multiarch logb for PPC64.
43816         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
43817         isinff multiarch implementation.
43818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
43819         file.
43820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
43821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
43822         multiarch isinf for PPC64.
43823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
43824         file.
43825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
43826         multiarch isinff for PPC64.
43828         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
43829         finitef multiarch implementation.
43830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
43831         file.
43832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
43833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
43834         multiarch finite for PPC64.
43835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
43836         file.
43837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
43838         multiarch finitef for PPC64.
43840         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
43841         lrint multiarch implementation.
43842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
43843         file.
43844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
43845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
43846         multiarch llrint for PPC64.
43847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
43848         multiarch lrint for PPC64.
43850         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
43851         copysignf multiarch implementation.
43852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
43853         file.
43854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
43855         file.
43856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
43857         multiarch copysign for PPC64.
43858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
43859         multiarch copysignf for PPC64.
43861         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
43862         multiarch implementation.
43863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
43864         file.
43865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
43866         file.
43867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
43868         file.
43869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
43870         file.
43871         multiarch llround for PPC64.
43872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
43873         multiarch trunc for PPC64.
43874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
43875         multiarch truncf for PPC64.
43877         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
43878         multiarch implementation.
43879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
43880         file.
43881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
43882         file.
43883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
43884         file.
43885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
43886         file.
43887         multiarch llround for PPC64.
43888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
43889         multiarch round for PPC64.
43890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
43891         multiarch roundf for PPC64.
43893         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
43894         multiarch implementation.
43895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
43896         file.
43897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
43898         file.
43899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
43900         file.
43901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
43902         file.
43903         multiarch llround for PPC64.
43904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
43905         multiarch floor for PPC64.
43906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
43907         multiarch floorf for PPC64.
43909         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
43910         multiarch implementation.
43911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
43912         file.
43913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
43914         file.
43915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
43916         file.
43917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
43918         file.
43919         multiarch llround for PPC64.
43920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
43921         multiarch ceil for PPC64.
43922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
43923         multiarch ceilf for PPC64.
43925         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43926         multiarch implementation.
43927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
43928         file.
43929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
43930         file.
43931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
43932         file.
43933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
43934         multiarch llround for PPC64.
43935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
43936         multiarch lround for PPC64.
43938         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43939         multiarch implementation.
43940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
43941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
43942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
43943         file.
43944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
43945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
43946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
43947         multiarch isnan for PPC64.
43948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
43949         multiarch isnanf for PPC64.
43951         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
43952         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
43953         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
43954         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
43955         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
43956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
43958         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
43959         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43960         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43961         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43963         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
43964         multiarch implementations.
43965         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43966         (__libc_ifunc_impl_list): Likewise.
43967         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
43968         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
43969         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
43970         multiarch stpcpy for PPC64.
43972         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
43973         multiarch implementations.
43974         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43975         (__libc_ifunc_impl_list): Likewise.
43976         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
43977         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
43978         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
43979         multiarch strcpy for PPC64.
43981         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
43982         redefine function name.
43983         (_wordcopy_fwd_dest_aligned): Likewise.
43984         (_wordcopy_bwd_aligned): Likewise.
43985         (_wordcopy_bwd_dest_aligned): Likewise.
43986         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
43987         multiarch implementations.
43988         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43989         (__libc_ifunc_impl_list): Likewise.
43990         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
43991         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
43992         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
43993         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
43994         multiarch wcscpy for PPC64.
43996         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
43997         multiarch implementations.
43998         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43999         (__libc_ifunc_impl_list): Likewise.
44000         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
44001         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
44002         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
44003         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
44004         multiarch wcscpy for PPC64.
44006         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
44007         multiarch implementations.
44008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44009         (__libc_ifunc_impl_list): Likewise.
44010         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
44011         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
44012         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
44013         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
44014         multiarch wcsrchr for PPC64.
44016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
44017         multiarch implementations.
44018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44019         (__libc_ifunc_impl_list): Likewise.
44020         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
44021         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
44022         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
44023         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
44024         multiarch wcschr for PPC64.
44026         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
44027         multiarch implementations.
44028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44029         (__libc_ifunc_impl_list): Likewise.
44030         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
44031         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
44032         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
44033         multiarch strchrnul for PPC64.
44035         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
44036         implementations.
44037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44038         (__libc_ifunc_impl_list): Likewise.
44039         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
44040         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
44041         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
44042         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
44043         strchr for PPC64.
44045         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
44046         implementations.
44047         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44048         (__libc_ifunc_impl_list): Likewise.
44049         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
44050         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
44051         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
44052         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
44053         strncmp for PPC64.
44055         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
44056         multiarch implementations.
44057         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44058         (__libc_ifunc_impl_list): Likewise.
44059         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
44060         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
44061         strncasecmp for PPC64.
44062         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
44063         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
44064         multiarch strncasecmp_l for PPC64.
44066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
44067         multiarch implementations.
44068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44069         (__libc_ifunc_impl_list): Likewise.
44070         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
44071         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
44072         multiarch strcasecmp for PPC64.
44073         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
44074         file.
44075         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
44076         multiarch strcasecmp_l for PPC64.
44078         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
44079         implementations.
44080         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44081         (__libc_ifunc_impl_list): Likewise.
44082         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
44083         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
44084         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
44085         strnlen for PPC64.
44087         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
44088         implementations.
44089         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44090         (__libc_ifunc_impl_list): Likewise.
44091         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
44092         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
44093         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
44094         strlen for PPC64.
44096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
44097         implementations.
44098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44099         (__libc_ifunc_impl_list): Likewise.
44100         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
44101         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
44102         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
44103         rawmemrchr for PPC64.
44105         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
44106         implementation.
44107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44108         (__libc_ifunc_impl_list): Likewise.
44109         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
44110         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
44111         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
44112         memrchr for PPC64.
44114         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
44115         implementation.
44116         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44117         (__libc_ifunc_impl_list): Likewise.
44118         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
44119         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
44120         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
44121         memchr for PPC64.
44123         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
44124         implementation.
44125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44126         (__libc_ifunc_impl_list): Likewise.
44127         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
44128         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
44129         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
44130         mempcpy for PPC64.
44132         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
44133         avoid cretion of __bzero symbol.
44134         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
44135         Likewise.
44136         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
44137         Likewise.
44138         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
44139         Likewise.
44140         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
44141         multiarch implementations.
44142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44143         (__libc_ifunc_impl_list): Likewise.
44144         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
44145         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
44146         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
44147         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
44148         bzero for PPC32.
44149         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
44150         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
44151         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
44152         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
44153         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
44154         memset for PPC64.
44155         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
44157         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
44158         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
44159         implementations.
44160         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44161         (__libc_ifunc_impl_list): Likewise.
44162         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
44163         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
44164         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
44165         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
44166         memcmp for PPC64.
44168         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
44169         multiarch for POWER/PPC64.
44170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
44171         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
44172         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
44173         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
44174         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
44175         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
44176         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
44177         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
44178         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
44179         memcpy for PPC64.
44181         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
44182         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
44183         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
44184         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
44185         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
44186         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
44187         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
44188         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
44189         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
44190         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
44191         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
44192         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
44193         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
44194         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
44195         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
44196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
44197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
44198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
44199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
44200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
44201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
44202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
44204 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44206         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
44208 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44210         * benchtests/Makefile (bench): Add exp2 and log2.
44211         (LDLIBS-bench-exp2): Add -lm.
44212         (LDLIBS-bench-log2): Likewise.
44213         * benchtests/exp2-inputs: New inputs file.
44214         * benchtests/log2-inputs: New inputs file.
44215         * benchtests/log-inputs: Add new inputs.
44216         * benchtests/tan-inputs: Likewise.
44218 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44220         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
44221         definition...
44222         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
44223         (csloww2): ... from here.
44225         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
44226         instead of structures.
44227         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
44228         (POLYNOMIAL): Likewise.
44229         (TAYLOR_SLOW): Likewise.
44230         (__sin): Likewise.
44231         (__cos): Likewise.
44232         (slow1): Likewise.
44233         (slow2): Likewise.
44234         (sloww): Likewise.
44235         (sloww1); Likewise.
44236         (sloww2): Likewise.
44237         (bsloww1): Likewise.
44238         (bsloww2): Likewise.
44239         (cslow2): Likewise.
44240         (csloww): Likewise.
44241         (csloww1): Likewise.
44242         (csloww2): Likewise.
44244 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
44246         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
44247         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
44248         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
44249         * malloc/hooks.c (realloc_check): Likewise.
44251         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
44252         * malloc/arena.c: Remove PER_THREAD conditional.
44253         [!PER_THREAD]: Remove code.
44254         (ptmalloc_unlock_all2): Likewise.
44255         (ptmalloc_init): Likewise.
44256         (_int_new_arena): Likewise.
44257         (arena_get2): Likewise.
44258         * malloc/hooks.c (__malloc_get_state): Likewise.
44259         (__malloc_set_state): Likewise.
44260         * malloc/malloc.c: Likewise.
44261         (struct malloc_state): Likewise.
44262         (struct malloc_par): Likewise.
44263         (__libc_realloc): Likewise.
44264         (__libc_mallopt): Likewise.
44266 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44268         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
44270 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
44272         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
44273         macro to a function.  Check for zero perturb_byte.
44274         (_int_malloc, _int_free): Remove zero perturb_byte checks.
44276         * malloc/malloc.c: (force_reg): Remove.
44277         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
44278         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
44279         force_reg by atomic_forced_read.
44280         * malloc/arena.c (ptmalloc_init): Likewise.
44281         * malloc/hooks.c (top_check): Likewise.
44283 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44287 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
44289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44291 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
44293         * math/auto-libm-test-in: Add tests of lgamma.
44294         * math/auto-libm-test-out: Regenerated.
44295         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
44296         (M_LOG_2_SQRT_PIl): Likewise.
44297         (lgamma_test_data): Use AUTO_TESTS_f_f1.
44298         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44299         mpfr_f_f1.
44300         (func_calc_desc): Add mpfr_f_f1 union field.
44301         (ARGS1): New macro.
44302         (ARGS2): Likewise.
44303         (ARGS3): Likewise.
44304         (ARGS4): Likewise.
44305         (RET1): Likewise.
44306         (RET2): Likewise.
44307         (CALC): Likewise.
44308         (FUNC): Likewise.
44309         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
44310         (test_functions): Add lgamma.
44311         (calc_generic_results): Handle mpfr_f_f1.
44312         * sysdeps/i386/fpu/libm-test-ulps: Update.
44313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44315 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44317         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
44318         __mpn_add_n for PowerPC64/POWER7.
44319         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
44320         __mpn_sub_n for PowerPC64/POWER7.
44322         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
44323         __mpn_addmul_1 for PowerPC64.
44324         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
44325         __mpn_submul_1 for PowerPC64.
44326         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
44327         for PowerPC64.
44328         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
44329         for PowerPC64.
44331 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
44333         [BZ #15089]
44334         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
44336 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44338         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
44340         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
44341         add multiarch folders.
44342         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
44343         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
44344         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
44345         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
44346         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
44347         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
44348         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
44349         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
44350         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
44351         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
44352         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
44353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
44354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
44355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
44356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
44357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
44358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
44360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44361         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
44362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
44363         New file.
44364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
44365         New file.
44366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
44367         multiarch __ieee754_hypot for PowerPC32.
44368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
44369         New file.
44370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
44371         New file.
44372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
44373         multiarch __ieee754_hypotf for PowerPC32.
44375         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
44376         long_double_symbol only if __logbl is defined.
44377         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
44378         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
44379         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
44380         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
44381         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
44382         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
44383         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
44384         path for implementation.
44385         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
44386         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
44387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
44388         logb, and logbl multiarch implementations for PowerPC32.
44389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
44390         file.
44391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
44392         file.
44393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
44394         multiarch logb for PowerPC32.
44395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
44396         file.
44397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
44398         file.
44399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
44400         multiarch logbf for PowerPC32.
44401         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
44402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
44403         file.
44404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
44405         multiarch logbl implementation for PowerPC32.
44407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
44408         and modff multiarch implementations.
44409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
44410         New file.
44411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
44412         New file.
44413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
44414         multiarch modf for PowerPC32.
44415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
44416         New file.
44417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
44418         New file.
44419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
44420         multiarch modff for PowerPC32.
44422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
44423         and lrintf multiarch implementations.
44424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
44425         New file.
44426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
44427         New file.
44428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
44429         multiarch lrint for PowerPC32.
44430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
44431         file: multiarch lrintf for PowerPC32.
44433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
44434         and lroundf multiarch implementations.
44435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
44436         New file.
44437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
44438         New file.
44439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
44440         New file.
44441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
44442         multiarch lround for PowerPC32.
44443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
44444         file: multiarch lroundf for PowerPC32.
44446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44447         copysign and copysignf multiarch implementations.
44448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
44449         New file.
44450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
44451         New file.
44452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
44453         file: multiarch copysign for PowerPC32.
44454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
44455         file: multiarch copysignf for PowerPC32.
44457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
44458         and truncf multiarch implementations.
44459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
44460         New file.
44461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
44462         file.
44463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
44464         multiarch trunc for PowerPC32.
44465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
44466         New file.
44467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
44468         New file.
44469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
44470         multiarch truncf for PowerPC32.
44472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
44473         and roundf multiarch implementations.
44474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
44475         New file.
44476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
44477         file.
44478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
44479         multiarch round for PowerPC32.
44480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
44481         New file.
44482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
44483         New file.
44484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
44485         multiarch roundf for PowerPC32.
44487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
44488         and floorf multiarch implementations.
44489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
44490         New file.
44491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
44492         file.
44493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
44494         multiarch floor for PowerPC32.
44495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
44496         New file.
44497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
44498         New file.
44499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
44500         multiarch floorf for PowerPC32.
44502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
44503         and ceilf multiarch implementations.
44504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
44505         New file.
44506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
44507         file.
44508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
44509         multiarch ceil for PowerPC32.
44510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
44511         New file.
44512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
44513         file.
44514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
44515         multiarch ceilf for PowerPC32.
44517         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
44518         is defined.
44519         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
44520         FINITEF is defined.
44521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
44522         and finitef multiarch implementations.
44523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
44524         New file.
44525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
44526         file.
44527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
44528         multiarch finite for PowerPC32.
44529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
44530         New file.
44531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
44532         file: multiarch finitef for PowerPC32.
44534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
44535         and isinff multiarch implementations.
44536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
44537         file.
44538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
44539         file.
44540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
44541         multiarch isinf for PowerPC32.
44542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
44543         New file.
44544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
44545         multiarch isinff for PowerPC32.
44547         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
44548         alias when __isnan is defined.
44549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
44550         and isnanf multiarch implementations.
44551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
44552         file.
44553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
44554         file.
44555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
44556         file.
44557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
44558         file.
44559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
44560         multiarch isnan for PowerPC32.
44561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
44562         New file.
44563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
44564         New file.
44565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
44566         multiarch isnanf for PowerPC32.
44568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
44569         and sqrtf multiarch implementations.
44570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
44571         file.
44572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
44573         file.
44574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
44575         multiarch sqrt for PowerPC32.
44576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
44577         file.
44578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
44579         file.
44580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
44581         multiarch sqrtf for PowerPC32.
44583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
44584         and llroundf multiarch implementations.
44585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
44586         New file.
44587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
44588         New file.
44589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
44590         New file.
44591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
44592         file: multiarch llround for PowerPC32.
44593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
44594         file: multiarch llroundf for PowerPC32.
44596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
44597         multiarch PowerPC32 fpu implementations.
44598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
44599         New file.
44600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
44601         New file.
44602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
44603         multiarch llrint for PowerPC32.
44604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
44605         New file.
44606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
44607         New file.
44608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
44609         file.
44611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
44613         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
44614         file.
44615         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
44616         file.
44617         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
44618         file.
44619         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
44620         multiarch wordcopy for PPC32.
44621         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44622         wordcopy objects.
44623         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44624         (__libc_ifunc_impl_list): Likewise.
44625         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
44626         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
44627         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
44628         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
44629         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
44630         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
44632         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
44633         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
44634         file.
44635         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
44636         file.
44637         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
44638         file.
44639         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
44640         multiarch wcscpy for PPC32.
44641         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44642         multiarch objects.
44643         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44644         (__libc_ifunc_impl_list): Likewise.
44645         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44646         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44647         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
44648         sysdeps/powerpc/power6/wcscpy.c.
44650         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
44651         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
44652         file.
44653         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
44654         file.
44655         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
44656         file.
44657         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
44658         multiarch wcsrchr for PPC32.
44659         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44660         multiarch objects.
44661         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44662         (__libc_ifunc_impl_list): Likewise.
44663         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44664         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44665         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
44666         sysdeps/powerpc/power6/wcsrchr.c.
44668         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
44669         file.
44670         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
44671         file.
44672         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
44673         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
44674         multiarch wcschr for PPc32.
44675         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44676         multiarch objects.
44677         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44678         (__libc_ifunc_impl_list): Likewise.
44679         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
44680         * sysdeps/powerpc/power6/wcschr.c: ... to here.
44681         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
44682         sysdeps/powerpc/power6/wcschr.c.
44684         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
44685         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
44686         file.
44687         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
44688         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
44689         file: multiarch strchr for PPC32.
44690         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
44691         multiarch objects.
44692         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44693         (__libc_ifunc_impl_list): Likewise.
44695         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
44696         name.
44697         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
44698         file.
44699         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
44700         file.
44701         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
44702         multiarch strchrnul for PPC32.
44703         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
44704         multiarch objects.
44705         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44706         (__libc_ifunc_impl_list): Likewise.
44708         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
44709         file.
44710         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
44711         multiarch strncasecmp for PPC32.
44712         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
44713         file.
44714         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
44715         multiarch strncasecmp_l for PPC32.
44716         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
44717         strncasecmp multiarch objects.
44718         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44719         (__libc_ifunc_impl_list): Likewise.
44721         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
44722         file.
44723         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
44724         multiarch strncasecmp for PPC32.
44725         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44726         New file.
44727         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
44728         multiarch strcasecmp_l for PPC32.
44729         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
44730         multiarch objects.
44731         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44732         (__libc_ifunc_impl_list): Likewise.
44734         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
44735         file.
44736         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
44737         file.
44738         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
44739         multiarch strncmp for PPC32.
44740         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
44741         multiarch objects.
44742         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44743         (__libc_ifunc_impl_list): Likewise.
44745         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
44746         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
44747         file.
44748         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
44749         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
44750         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
44751         multiarch objects.
44752         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44753         (__libc_ifunc_impl_list): Likewise.
44755         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
44756         file.
44757         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
44758         file.
44759         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
44760         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
44761         multiarch objects.
44762         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44763         (__libc_ifunc_impl_list): Likewise.
44765         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
44766         file.
44767         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
44768         file.
44769         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
44770         multiarch rawmemchr for PPC32.
44771         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
44772         multiarch objects.
44773         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44774         (__libc_ifunc_impl_list): Likewise.
44776         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
44777         file.
44778         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
44779         file.
44780         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
44781         file: memrchr multiarch for PPC32.
44782         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
44783         multiarch objects.
44784         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44785         (__libc_ifunc_impl_list): Likewise.
44787         * string/memchr.c (__memchr): Using macro to redefine symbol name.
44788         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
44789         file.
44790         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
44791         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
44792         multiarch memchr for PPC32.
44793         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
44794         multiarch objects.
44795         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44796         (__libc_ifunc_impl_list): Likewise.
44798         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
44799         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
44800         file.
44801         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
44802         file.
44803         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
44804         file: multiarch mempcpy for PPC32.
44805         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
44806         multiarch objects.
44807         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44808         (__libc_ifunc_impl_list): Likewise.
44810         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
44811         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
44812         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
44813         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
44814         multiarch bzero for PPC32.
44815         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
44816         file.
44817         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
44818         file.
44819         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
44820         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
44821         file: multiarch memset for PPC32.
44822         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
44823         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
44824         memset multiarch objects.
44825         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44826         (__libc_ifunc_impl_list): Likewise.
44828         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
44829         file.
44830         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
44831         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
44832         memcmp for PPC32.
44833         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
44834         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
44835         multiarch objects.
44836         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44837         (__libc_ifunc_impl_list): Likewise.
44839         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
44840         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
44841         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
44842         file.
44843         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
44844         file.
44845         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
44846         file.
44847         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
44848         multiarch memcpy for PPC32.
44849         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
44850         multiarch objects.
44851         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44852         (__libc_ifunc_impl_list): Likewise.
44854         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
44855         support multiarch for POWER/PPC32.
44856         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
44857         Likewise.
44858         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
44859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
44860         Implies file to make multiarch folder appers before the fpu and
44861         default folder for power4 configuration.
44863 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44865         * scripts/bench.pl: Append volatile keyword to type.
44867 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44869         * sysdeps/sh/sotruss-lib.c: New file.
44870         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
44872 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44876 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
44878         [BZ #6810]
44879         * math/w_tgamma.c: Include <errno.h>.
44880         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
44881         * math/w_tgammaf.c: Include <errno.h>.
44882         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
44883         * math/w_tgammal.c: Include <errno.h>.
44884         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
44885         * math/auto-libm-test-in: Do not allow missing errno on tgamma
44886         underflow.  Add more tgamma tests.
44887         * math/auto-libm-test-out: Regenerated.
44888         * sysdeps/i386/fpu/libm-test-ulps: Update.
44889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44891         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
44892         sin, sinh, tan, tanh, tgamma, y0 and y1.
44893         * math/auto-libm-test-out: Regenerated.
44894         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44895         (TEST_COND_x86): Likewise.
44896         (M_E2l): Remove macro.
44897         (M_E3l): Likewise.
44898         (M_2_SQRT_PIl): Likewise.
44899         (M_SQRT_PIl): Likewise.
44900         (M_1_DIV_El): Likewise.
44901         (log_test_data): Use AUTO_TESTS_f_f.
44902         (log10_test_data): Likewise.
44903         (log1p_test_data): Likewise.
44904         (log2_test_data): Likewise.
44905         (sin_test_data): Likewise.
44906         (sin_tonearest_test_data): Likewise.
44907         (sin_towardzero_test_data): Likewise.
44908         (sin_downward_test_data): Likewise.
44909         (sin_upward_test_data): Likewise.
44910         (sinh_test_data): Likewise.
44911         (sinh_tonearest_test_data): Likewise.
44912         (sinh_towardzero_test_data): Likewise.
44913         (sinh_downward_test_data): Likewise.
44914         (sinh_upward_test_data): Likewise.
44915         (tan_test_data): Likewise.
44916         (tan_tonearest_test_data): Likewise.
44917         (tan_towardzero_test_data): Likewise.
44918         (tan_downward_test_data): Likewise.
44919         (tan_upward_test_data): Likewise.
44920         (tanh_test_data): Likewise.
44921         (tgamma_test_data): Likewise.
44922         (y0_test_data): Likewise.
44923         (y1_test_data): Likewise.
44924         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
44925         (special_real_inputs): Add pi/4.
44926         * sysdeps/i386/fpu/libm-test-ulps: Update.
44927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44929 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44931         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
44932         "longjmp_target" static probes.
44933         (__longjmp): Rename to __longjmp_symbol.
44934         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44935         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
44936         on which longjmp to generate.
44937         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44938         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
44939         probe.
44940         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44941         (__sigjmp_save): Rename to __sigjmp_save_symbol.
44942         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44943         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
44944         and __sigjmp_save_symbol based on which sigsetjmp to generated.
44945         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
44947         __longjmp_symbol based on which __longjmp to generate.
44948         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
44949         probe.
44950         (setjmp): Rename to setjmp_symbol.
44951         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44952         (_setjmp): Rename to _setjmp_symbol.
44953         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44954         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
44955         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
44956         which setjmp to generate.
44957         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
44958         "longjmp_target" static probes.
44960 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44962         * benchtests/README: Add note about output arguments.
44963         * benchtests/bench-sincos.c: Remove file.
44964         * benchtests/sincos-inputs: New file.
44965         * scripts/bench.pl: Identify output arguments and define
44966         static variables for them.
44968         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
44970         [BZ #15941]
44971         * Makefile (INSTALL): Add install-plain.texi as the primary
44972         dependency.
44973         * manual/install-plain.texi: New file.
44974         * manual/install.texi: Include node directive only for
44975         non-plaintext output.
44977 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
44979         * stdlib/longlong.h: Update from GCC.
44981         [BZ #6807]
44982         [BZ #15901]
44983         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
44984         * math/w_j0f.c (y0f): Likewise.
44985         * math/w_j0l.c (__y0l): Likewise.
44986         * math/w_j1.c (y1): Likewise.
44987         * math/w_j1f.c (y1f): Likewise.
44988         * math/w_j1l.c (__y1l): Likewise.
44989         * math/w_jn.c (yn): Likewise.
44990         * math/w_jnf.c (ynf): Likewise.
44991         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
44992         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
44993         value for Bessel function domain errors outside _SVID_ mode.
44994         Adjust sign of return value for yn (negative integer, 0).
44995         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
44996         by zero in return for negative x and set sign appropriately for
44997         negative n.
44998         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
44999         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45000         * math/libm-test.inc (y0_test_data): Add more tests and adjust
45001         expectations in error cases.
45002         (y1_test_data): Likewise.
45003         (yn_test_data): Likewise.
45004         * sysdeps/i386/fpu/libm-test-ulps: Update.
45005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45007 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45009         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
45010         "64" to "64-v1".  Add "64-v2".
45011         (abi-64-options): Rename to ...
45012         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
45013         (abi-64-condition): Rename to ...
45014         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
45015         (abi-64-ld-soname): Rename to ...
45016         (abi-64-v1-ld-soname): ... this.
45017         (abi-64-v2-options): Define.
45018         (abi-64-v2-condition): Likewise.
45019         (abi-64-v2-ld-soname): Likewise.
45020         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
45021         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
45022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
45023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
45024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
45026 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45027             Alan Modra  <amodra@gmail.com>
45029         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
45030         New versions for use with the ELFv2 ABI.
45031         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
45032         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
45033         declaration.
45034         (struct La_ppc64v2_retval): Likewise.
45035         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
45036         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
45037         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
45038         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
45039         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
45040         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45041         Do not save or restore CR.
45042         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
45043         (_dl_profile_resolve): Do no save or restore CR.  Support extended
45044         return values for ELFv2 ABI.  Fix location of FPR return registers.
45045         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
45046         updated values for _CALL_ELF == 2.
45047         (La_regs, La_retval, int_retval): Likewise.
45049 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45051         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
45052         (FRAME_MIN_SIZE_PARM): Likewise.
45053         (FRAME_BACKCHAIN): Likewise.
45054         (FRAME_CR_SAVE): Likewise.
45055         (FRAME_LR_SAVE): Likewise.
45056         (FRAME_TOC_SAVE): Likewise.
45057         (FRAME_PARM_SAVE): Likewise.
45058         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
45059         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
45060         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45061         (call_mcount_parm_offset): New macro.
45062         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
45063         (PROF): Use symbolic stack frame offsets.
45064         (TAIL_CALL_SYSCALL_ERROR): Likewise.
45065         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
45066         Redefine in terms of FRAME_MIN_SIZE.
45067         (_dl_runtime_resolve): Use symbolic stack frame offsets.
45068         (_dl_profile_resolve): Likewise.  Update comment.
45069         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
45070         symbols stack frame offsets.
45071         (__sigsetjmp): Likewise.
45072         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
45073         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
45074         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
45075         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
45077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
45078         (FRAME_BACKCHAIN): Remove.
45079         (FRAME_CR_SAVE): Likewise.
45080         (FRAME_LR_SAVE): Likewise.
45081         (FRAME_COMPILER_DW): Likewise.
45082         (FRAME_LINKER_DW): Likewise.
45083         (FRAME_TOC_SAVE): Likewise.
45084         (FRAME_PARM_SAVE): Likewise.
45085         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
45086         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
45087         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
45089         (CHECK_SP): Use symbolic stack frame offsets.
45090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
45091         zone" instead of caller's parameter save area for temp storage.
45092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45093         Likewise.  Also, use symbolic stack frame offsets.
45094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
45095         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
45096         our own stack frame instead of the caller's.
45097         (__socket): Use symbolic stack frame offsets.
45099 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45100             Alan Modra  <amodra@gmail.com>
45102         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
45103         Define.
45104         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
45105         (PPC64_LOCAL_ENTRY_OFFSET): Define.
45106         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
45107         New function.
45108         (elf_machine_fixup_plt): Call it.
45109         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
45110         reloc arguments.
45111         (elf_machine_rela): Update call to elf_machine_plt_conflict.
45112         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45113         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
45114         r2 before calling target.
45116 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45117             Alan Modra  <amodra@gmail.com>
45119         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
45120         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
45121         versions of macros to support ELFv2 ABI.
45122         (LOCALENTRY): New macro.
45123         (ENTRY, EALIGN): Use it.
45124         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
45125         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
45126         fall through into ENTRY entry point.
45127         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
45128         Only define if _CALL_ELF != 2.
45130         (elf_machine_matches_host): Verify ABI version matches.
45131         (RTLD_START): Use LOCALENTRY.
45132         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
45133         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
45134         (PLT_ENTRY_WORDS): New macro.
45135         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
45136         (elf_machine_runtime_setup): Support ELFv2 ABI.
45137         (elf_machine_fixup_plt): Likewise.
45138         (elf_machine_plt_conflict): Likewise.
45139         (resolve_ifunc): Likewise.
45140         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
45141         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45142         Likewise.
45143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
45144         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
45145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45146         (makecontext): Support ELFv2 ABI.
45147         * elf/elf.h (EF_PPC64_ABI): Define.
45149 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45151         * sysdeps/powerpc/powerpc64/sysdep.h
45152         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
45153         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
45154         (ENTRY) [ASSEMBLER]: ... but instead here ...
45155         (EALIGN) [ASSEMBLER]: ... and here.
45156         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
45157         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
45158         (ENTRY_2) [!ASSEMBLER]: Use it.
45159         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
45160         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
45161         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45162         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
45163         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
45164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
45165         Use PPC64_LOAD_FUNCPTR.
45167         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
45169 2013-12-04  Alan Modra  <amodra@gmail.com>
45171         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
45172         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
45173         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
45174         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
45176         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
45177         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
45178         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
45179         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
45180         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
45181         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
45183 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45186         (__makecontext): Fix incorrect CFI when backtracing out of
45187         context created via makecontext.
45188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
45189         (__setcontext): Fix incorrect CFI during switch to new context.
45190         (__novec_setcontext): Likewise.
45192 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45194         [BZ #4772]
45195         * time/strptime_l.c (__strptime_internal): Allow modifiers
45196         in strptime.
45197         * time/tst-strptime.c (day_tests): Add testcase.
45199 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45201         * scripts/bench.pl: Skip over blank lines.
45203 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
45205         [BZ #926]
45206         * manual/time.texi (Calendar Time): Clarify what timezone functions
45207         use.
45209 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45213 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45215         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
45216         implementation.
45217         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
45218         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
45219         * debug/memset_chk.c (__memset_chk): Likewise.
45220         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
45221         * debug/strncpy_chk.c: Likewise.
45223 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45225         [BZ #15268]
45226         [BZ #15425]
45227         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
45228         (__ieee754_exp): For possibly underflowing results, check size of
45229         result and force underflow exception if required.
45230         * math/auto-libm-test-in: Add more tests of exp.
45231         * math/auto-libm-test-out: Regenerated.
45232         * sysdeps/i386/fpu/libm-test-ulps: Update.
45233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45235         [BZ #16283]
45236         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
45237         * math/w_exp2f.c (__exp2f): Likewise.
45238         * math/w_exp2l.c (__exp2l): Likewise.
45239         * math/auto-libm-test-in: Do not allow missing errno on exp2
45240         underflow.
45241         * math/auto-libm-test-out: Regenerated.
45243 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
45245         [BZ #16274]
45246         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
45247         handle filename validation.
45248         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
45249         (do_open): Delete.
45251 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45253         [BZ #6786]
45254         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
45255         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
45256         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
45257         <float.h>.
45258         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
45259         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
45260         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45261         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
45262         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45263         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
45264         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45265         * math/auto-libm-test-in: Don't allow missing errno from erfc.
45266         Add more erfc tests.
45267         * math/auto-libm-test-out: Regenerated.
45268         * sysdeps/i386/fpu/libm-test-ulps: Update.
45269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45271         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
45272         exp2, expm1, j0 and j1.
45273         * math/auto-libm-test-out: Regenerated.
45274         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
45275         (erfc_test_data): Likewise.
45276         (exp_test_data): Likewise.
45277         (exp_tonearest_test_data): Likewise.
45278         (exp_towardzero_test_data): Likewise.
45279         (exp_downward_test_data): Likewise.
45280         (exp_upward_test_data): Likewise.
45281         (exp10_test_data): Likewise.
45282         (exp2_test_data): Likewise.
45283         (expm1_test_data): Likewise.
45284         (j0_test_data): Likewise.
45285         (j1_test_data): Likewise.
45286         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
45287         (input_flag_type): Add flag_xfail_rounding.
45288         (input_flags): Add xfail-rounding.
45289         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
45290         (output_for_one_input_case): Handle flag_xfail_rounding.
45291         * sysdeps/i386/fpu/libm-test-ulps: Update.
45292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45294 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
45296         [BZ #16289]
45297         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
45298         division by 0.
45300 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45302         [BZ #16195]
45303         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
45304         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
45305         (STAP_PROBE0): New macro.
45306         (STAP_PROBE1): Likewise.
45307         (STAP_PROBE2): Likewise.
45308         (STAP_PROBE3): Likewise.
45309         (STAP_PROBE4): Likewise.
45311 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
45313         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
45315 2013-12-02  Steve Ellcey  <sellcey@mips.com>
45317         * benchtests/Makefile (bench): Add sqrt.
45318         (LDLIBS-bench-sqrt): New.
45319         * benchtests/sqrt-input: New.
45321 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
45323         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
45324         (GAIH_EAI): Likewise.
45325         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
45326         (gaih_inet): Likewise.
45327         (getaddrinfo): Don't use GAIH_EAI.
45329         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
45330         (struct gaih): Remove definition.
45332 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45334         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
45335         Use HERRNOP directly.
45337 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45341 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
45343         * math/gen-auto-libm-tests.c (test_functions): Add more
45344         single-argument functions.
45345         (special_fill_pi_2): New function.
45346         (special_fill_minus_pi_2): Likewise.
45347         (special_fill_pi_6): Likewise.
45348         (special_fill_minus_pi_6): Likewise.
45349         (special_fill_pi_3): Likewise.
45350         (special_fill_2pi_3): Likewise.
45351         (special_fill_e): Likewise.
45352         (special_fill_1_e): Likewise.
45353         (special_fill_e_minus_1): Likewise.
45354         (special_real_inputs): Add more special inputs.
45355         (output_for_one_input_case): Do not require ERANGE on underflow to
45356         zero if round-to-nearest result does not underflow to zero, unless
45357         exact results required.
45358         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
45359         atan, atanh, cbrt, cos and cosh.
45360         * math/auto-libm-test-out: Regenerated.
45361         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
45362         (acos_tonearest_test_data): Likewise.
45363         (acos_towardzero_test_data): Likewise.
45364         (acos_downward_test_data): Likewise.
45365         (acos_upward_test_data): Likewise.
45366         (acosh_test_data): Likewise.
45367         (asin_test_data): Likewise.
45368         (asin_tonearest_test_data): Likewise.
45369         (asin_towardzero_test_data): Likewise.
45370         (asin_upward_test_data): Likewise.
45371         (asinh_test_data): Likewise.
45372         (atan_test_data): Likewise.
45373         (atanh_test_data): Likewise.
45374         (cbrt_test_data): Likewise.
45375         (cos_test_data): Likewise.
45376         (cos_tonearest_test_data): Likewise.
45377         (cos_towardzero_test_data): Likewise.
45378         (cos_downward_test_data): Likewise.
45379         (cos_upward_test_data): Likewise.
45380         (cosh_test_data): Likewise.
45381         (cosh_tonearest_test_data): Likewise.
45382         (cosh_towardzero_test_data): Likewise.
45383         (cosh_downward_test_data): Likewise.
45384         (cosh_upward_test_data): Likewise.
45385         * sysdeps/i386/fpu/libm-test-ulps: Update.
45386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45388 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
45390         [BZ #6787]
45391         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
45392         * math/w_exp10f.c (__exp10f): Likewise.
45393         * math/w_exp10l.c (__exp10l): Likewise.
45394         * math/libm-test.inc (exp10_test_data): Add more tests and expect
45395         errno settings in existing tests.
45397         [BZ #14032]
45398         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
45399         precision control set to double precision.
45400         * sysdeps/i386/fpu/w_sqrt.c: New file.
45401         * math/auto-libm-test-in: Add more tests.
45402         * math/auto-libm-test-out: Update.
45404         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
45405         (sqrt_test_tonearest): New function.
45406         (sqrt_towardzero_test_data): New variable.
45407         (sqrt_test_towardzero): New function.
45408         (sqrt_downward_test_data): New variable.
45409         (sqrt_test_downward): New function.
45410         (sqrt_upward_test_data): New variable.
45411         (sqrt_test_upward): New function.
45412         (main): Call the new functions.
45414         * math/gen-auto-libm-tests.c: New file.
45415         * math/auto-libm-test-in: Likewise.
45416         * math/auto-libm-test-out: New generated file.
45417         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
45418         variables.
45419         (%beautify): Add generated representations of zero.
45420         (top level): Set $auto_input and call parse_auto_input.
45421         (beautify): Remove trailing "f" from hex float constants.
45422         (parse_args): Handle XFAIL_TEST.
45423         (convert_condition): New function.
45424         (or_value): Likewise.
45425         (or_cond_value): Likewise.
45426         (generate_testfile): Handle AUTO_TESTS_* lines.
45427         (parse_auto_input): New function.
45428         * math/libm-test.inc (XFAIL_TEST): New macro.
45429         (ERRNO_UNCHANGED): Update value.
45430         (ERRNO_EDOM): Likewise.
45431         (ERRNO_ERANGE): Likewise.
45432         (IGNORE_RESULT): Likewise.
45433         (TEST_COND_flt_32): New macro.
45434         (TEST_COND_dbl_64): Likewise.
45435         (TEST_COND_ldbl_96_intel): Likewise.
45436         (TEST_COND_ldbl_96_m68k): Likewise.
45437         (TEST_COND_ldbl_128): Likewise.
45438         (TEST_COND_ldbl_128ibm): Likewise.
45439         (TEST_COND_long32): Likewise.
45440         (TEST_COND_long64): Likewise.
45441         (TEST_COND_before_rounding): Likewise.
45442         (TEST_COND_after_rounding): Likewise.
45443         (enable_test): Handle XFAIL_TEST flag.
45444         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
45445         with finite results.
45446         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
45447         auto-libm-test-out.
45449 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45450             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45452         [BZ #16214]
45453         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
45454         __tls_get_addr_internal instead of __tls_get_offset in order to
45455         avoid GOT pointer dependency.  Make rtld export
45456         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
45457         __tls_get_addr since we are a __tls_get_offset platform.
45458         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
45459         GOT pointer being set up before.
45460         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
45462 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
45464         * manual/math.texi (Errors in Math Functions): Document accuracy
45465         goals.
45467         [BZ #15004]
45468         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
45469         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
45470         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45471         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45472         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45473         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45474         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45475         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45476         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45477         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45478         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45479         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45480         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45481         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45482         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45483         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45485         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
45486         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
45487         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
45488         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
45489         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
45490         Likewise.
45491         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
45492         Likewise.
45493         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
45494         Likewise.
45495         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
45496         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
45497         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
45498         atomic-feupdateenv and flt-rounds.
45499         * sysdeps/powerpc/nofpu/Versions (libc): Add
45500         __atomic_feholdexcept, __atomic_feclearexcept,
45501         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
45502         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
45503         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
45504         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
45505         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
45506         here.
45507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45508         Update.
45510         * manual/arith.texi (FP Exceptions): Document that exceptions may
45511         not be raised when matherr is used.
45512         (Math Error Reporting): Document overflow in directed rounding
45513         modes.  Document that errno may not be set when finite values are
45514         returned on overflow.  Document intent to set errno on underflow
45515         only for underflow to zero.
45517         [BZ #16271]
45518         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
45519         round-to-nearest then adjust result for other rounding modes.
45520         * include/fenv.h (fegetround): Use libm_hidden_proto.
45521         * math/fegetround.c (fegetround): Use libm_hidden_def.
45522         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
45523         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
45524         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45525         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
45526         Likewise.
45527         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
45528         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45529         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
45530         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
45532 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45534         [BZ #16077]
45535         * nss/Versions (libnss_files): Add
45536         _nss_files_gethostbyname3_r.
45537         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
45538         New function.
45539         (HOST_DB_LOOKUP): Remove macro.
45540         (_nss_files_gethostbyname_r): Implement function without the
45541         HOST_DB_LOOKUP macro.
45542         (_nss_files_gethostbyname2_r): Likewise.
45544 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
45546         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
45548 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
45550         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
45551         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
45552         warning.
45554 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45556         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
45557         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
45558         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45559         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
45560         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
45561         __fe_nomask_env_priv and attribute_hidden.
45562         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
45563         (libc_feupdateenv_test_ppc): Likewise.
45564         (libc_feresetround_ppc): Likewise.
45565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45566         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
45567         compat_symbol macro.
45568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45569         (__fe_nomask_env): Likewise.
45570         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
45572 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45574         * string/Makefile: Remove ifunc tests.
45575         * string/test-string.h: Define TEST_IFUNC.
45576         * string/test-bcopy-ifunc.c: Remove.
45577         * string/test-bzero-ifunc.c: Likewise.
45578         * string/test-memccpy-ifunc.c: Likewise.
45579         * string/test-memchr-ifunc.c: Likewise.
45580         * string/test-memcmp-ifunc.c: Likewise.
45581         * string/test-memcpy-ifunc.c: Likewise.
45582         * string/test-memmem-ifunc.c: Likewise.
45583         * string/test-memmove-ifunc.c: Likewise.
45584         * string/test-mempcpy-ifunc.c: Likewise.
45585         * string/test-memrchr-ifunc.c: Likewise.
45586         * string/test-memset-ifunc.c: Likewise.
45587         * string/test-rawmemchr-ifunc.c: Likewise.
45588         * string/test-stpcpy-ifunc.c: Likewise.
45589         * string/test-stpncpy-ifunc.c: Likewise.
45590         * string/test-strcasecmp-ifunc.c: Likewise.
45591         * string/test-strcasestr-ifunc.c: Likewise.
45592         * string/test-strcat-ifunc.c: Likewise.
45593         * string/test-strchr-ifunc.c: Likewise.
45594         * string/test-strchrnul-ifunc.c: Likewise.
45595         * string/test-strcmp-ifunc.c: Likewise.
45596         * string/test-strcpy-ifunc.c: Likewise.
45597         * string/test-strcspn-ifunc.c: Likewise.
45598         * string/test-strlen-ifunc.c: Likewise.
45599         * string/test-strncasecmp-ifunc.c: Likewise.
45600         * string/test-strncat-ifunc.c: Likewise.
45601         * string/test-strncmp-ifunc.c: Likewise.
45602         * string/test-strncpy-ifunc.c: Likewise.
45603         * string/test-strnlen-ifunc.c: Likewise.
45604         * string/test-strpbrk-ifunc.c: Likewise.
45605         * string/test-strrchr-ifunc.c: Likewise.
45606         * string/test-strspn-ifunc.c: Likewise.
45607         * string/test-strstr-ifunc.c: Likewise.
45609 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45611         * benchtests/Makefile: Remove ifunc tests.
45612         * benchtests/bench-string.h: Define TEST_IFUNC.
45613         * benchtests/bench-bcopy-ifunc.c: Remove.
45614         * benchtests/bench-bzero-ifunc.c: Likewise.
45615         * benchtests/bench-memccpy-ifunc.c: Likewise.
45616         * benchtests/bench-memchr-ifunc.c: Likewise.
45617         * benchtests/bench-memcmp-ifunc.c: Likewise.
45618         * benchtests/bench-memcpy-ifunc.c: Likewise.
45619         * benchtests/bench-memmem-ifunc.c: Likewise.
45620         * benchtests/bench-memmove-ifunc.c: Likewise.
45621         * benchtests/bench-mempcpy-ifunc.c: Likewise.
45622         * benchtests/bench-memrchr-ifunc.c: Likewise.
45623         * benchtests/bench-memset-ifunc.c: Likewise.
45624         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
45625         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
45626         * benchtests/bench-stpcpy-ifunc.c: Likewise.
45627         * benchtests/bench-stpncpy-ifunc.c: Likewise.
45628         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
45629         * benchtests/bench-strcasestr-ifunc.c: Likewise.
45630         * benchtests/bench-strcat-ifunc.c: Likewise.
45631         * benchtests/bench-strchr-ifunc.c: Likewise.
45632         * benchtests/bench-strchrnul-ifunc.c: Likewise.
45633         * benchtests/bench-strcmp-ifunc.c: Likewise.
45634         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
45635         * benchtests/bench-strcpy-ifunc.c: Likewise.
45636         * benchtests/bench-strcspn-ifunc.c: Likewise.
45637         * benchtests/bench-strlen-ifunc.c: Likewise.
45638         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
45639         * benchtests/bench-strncat-ifunc.c: Likewise.
45640         * benchtests/bench-strncmp-ifunc.c: Likewise.
45641         * benchtests/bench-strncpy-ifunc.c: Likewise.
45642         * benchtests/bench-strnlen-ifunc.c: Likewise.
45643         * benchtests/bench-strpbrk-ifunc.c: Likewise.
45644         * benchtests/bench-strrchr-ifunc.c: Likewise.
45645         * benchtests/bench-strsep-ifunc.c: Likewise.
45646         * benchtests/bench-strspn-ifunc.c: Likewise.
45647         * benchtests/bench-strstr-ifunc.c: Likewise.
45649 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45651         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
45653 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45655         * resolv/netdb.h: Use __glibc_reserved instead __unused.
45656         * rt/aio.h: Likewise.
45657         * sysdeps/gnu/bits/utmp.h: Likewise.
45658         * sysdeps/gnu/bits/utmpx.h: Likewise.
45659         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45660         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
45661         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
45662         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
45663         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
45664         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
45665         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
45666         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
45667         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
45668         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
45669         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
45670         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
45671         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
45672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
45673         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45674         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
45675         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
45676         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
45677         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
45678         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
45679         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
45680         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
45681         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
45682         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45683         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
45684         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45685         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
45686         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
45687         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
45688         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
45689         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
45690         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
45691         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
45692         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45693         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
45694         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
45695         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
45696         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
45697         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
45698         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
45699         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
45700         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45702 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
45704         [BZ #16245]
45705         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
45706         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
45708 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
45710         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
45711         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
45712         Likewise.
45714 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45716         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
45717         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
45718         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
45719         (__fesetround): Remove define.
45720         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
45721         rounding and exceptions handling.
45722         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
45723         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
45724         (__fe_nomask_env): Likewise.
45725         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
45726         __fegetround instead of fegetround.
45727         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
45728         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
45730 2013-11-21  Roland McGrath  <roland@hack.frob.com>
45732         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
45733         it's there.
45735         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
45737 2013-11-21  Meador Inge  <meadori@codesourcery.com>
45739         [BZ #11157]
45740         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
45741         (encrypt_r): Likewise.
45742         * malloc/obstack.h (obstack_free): Likewise.
45743         * posix/unistd.h (encrypt): Likewise.
45745 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
45747         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
45748         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
45749         DL_CALL_DT_FINI() that call the functions directly.
45750         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
45751         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
45752         * elf/dl-fini.c: Likewise.
45754 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
45756         * malloc/hooks.c (memalign_check): Add alignment rounding.
45757         * malloc/malloc.c (_mid_memalign): New function.
45758         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
45759         Implement by calling _mid_memalign.
45760         * manual/probes.texi (Memory Allocation Probes): Remove
45761         memory_valloc_retry and memory_pvalloc_retry.
45763 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45765         * locale/programs/locarchive.c (open_archive): Add const
45766         qualifier to ARCHIVEFNAME and copy default fname to
45767         DEFAULT_FNAME.
45769         [BZ #15601]
45770         * libio/tst-widetext.input: Rename Oriya to Odia.
45771         * locale/iso-639.def: Likewise.
45773         * manual/probes.texi (Mathematical Function Probes): Add
45774         documentation for sin, cos, asin and acos probes.
45775         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
45776         (__sin32): Add slowasin probe.
45777         (__cos32): Add slowacos probe.
45778         (__mpsin): Add slowsin probe.
45779         (__mpcos): Add slowcos probe.
45781 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
45783         [BZ #15483]
45784         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
45785         thread-local __sim_exceptions_thread and global
45786         __sim_exceptions_global.
45787         (__sim_disabled_exceptions): Change to thread-local
45788         __sim_disabled_exceptions_thread and global
45789         __sim_disabled_exceptions_global.
45790         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45791         and global __sim_round_mode_global.
45792         (__simulate_exceptions): Use thread-local floating-point state and
45793         set global state from it as needed.
45794         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
45795         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
45796         __sim_round_mode_thread.
45797         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
45798         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
45799         and global __sim_exceptions_global.
45800         (__sim_disabled_exceptions): Change to thread-local
45801         __sim_disabled_exceptions_thread and global
45802         __sim_disabled_exceptions_global.
45803         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45804         and global __sim_round_mode_global.
45805         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
45806         (SIM_SET_GLOBAL): Likewise.
45807         * sysdeps/powerpc/soft-fp/sfp-machine.h
45808         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
45809         __sim_round_mode_thread.
45810         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
45811         __sim_disabled_exceptions_thread.
45812         (__sim_exceptions): Change to __sim_exceptions_thread.
45813         (__sim_disabled_exceptions): Change to
45814         __sim_disabled_exceptions_thread.
45815         (__sim_round_mode): Change to __sim_round_mode_thread.
45816         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
45817         thread-local floating-point state and set global state from it as
45818         needed.
45819         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
45820         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
45821         (__sim_disabled_exceptions): Remove extern declaration.
45822         (feenableexcept): Use thread-local floating-point state and set
45823         global state from it as needed.
45824         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
45825         extern declaration.
45826         (__sim_disabled_exceptions): Likewise.
45827         (__sim_round_mode): Likewise.
45828         (__fegetenv): Use thread-local floating-point state.
45829         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
45830         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45831         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
45832         floating-point state and set global state from it as needed.
45833         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
45834         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
45835         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
45836         Likewise.
45837         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
45838         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
45839         Likewise.
45840         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
45841         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
45842         Use __sim_round_mode_thread.
45843         * math/test-fenv-tls.c: New file.
45844         * math/Makefile (tests): Add test-fenv-tls.
45845         ($(objpfx)test-fenv-tls): Depend on
45846         $(common-objpfx)nptl/libpthread.so.
45848 2013-11-19  Andreas Schwab  <schwab@suse.de>
45850         * locale/programs/locale.c (show_info): Decode wordarray elements.
45851         * locale/categories.def (LC_MONETARY): Add element for
45852         _NL_MONETARY_CRNCYSTR.
45853         * locale/C-monetary.c (conversion_rate): New variable.
45854         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
45855         element.
45857 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
45859         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
45860         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
45862 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45864         * elf/Makefile (tst-auxv): New test.
45865         * elf/tst-auxv.c: New
45866         * elf/rtld.c (dl_main): Adjust AT_EXECFN
45868 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
45870         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
45871         (hidden_proto): Caller changed.
45872         (hidden_tls_proto): New macro.
45873         (libc_hidden_tls_proto): Likewise.
45874         (rtld_hidden_tls_proto): Likewise.
45875         (libm_hidden_tls_proto): Likewise.
45876         (libresolv_hidden_tls_proto): Likewise.
45877         (librt_hidden_tls_proto): Likewise.
45878         (libdl_hidden_tls_proto): Likewise.
45879         (libnss_files_hidden_tls_proto): Likewise.
45880         (libnsl_hidden_tls_proto): Likewise.
45881         (libnss_nisplus_hidden_tls_proto): Likewise.
45882         (libutil_hidden_tls_proto): Likewise.
45884 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
45886         [BZ #10253]
45887         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
45888         (decompose_rpath): Defer expansion to fillin_rpath.
45889         (_dl_init_paths): Pass linkmap to fillin_rpath.
45891 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45893         * benchtests/Makefile: Add strsep.
45894         * benchtests/bench-strsep.c: New file: strsep benchtest.
45895         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
45897 2013-11-18  Andreas Schwab  <schwab@suse.de>
45899         * locale/programs/locale.c (show_info) [case byte]: Check for
45900         '\377' instead of '\177'.
45901         * locale/C-monetary.c (not_available): Always use "\377".
45902         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
45903         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
45904         detect unavailable sign_posn locale elements.
45905         * locale/localeconv.c (__localeconv): For grouping and
45906         mon_grouping handle "\177" and "\377" like no grouping.
45907         (INT_ELEM): New macro.  Use it to set all numeric members.
45908         * locale/programs/ld-monetary.c (monetary_read)
45909         <tok_mon_grouping>: Normalize single -1 to the empty string.
45910         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
45911         Likewise.
45913 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45915         [BZ #16055]
45916         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
45917         when we match (nil).
45918         * stdio-common/tst-sscanf.c (struct test): Add testcase.
45920 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
45922         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
45923         (NO_TEST_INLINE): Update value.
45924         (ERRNO_UNCHANGED): Likewise.
45925         (ERRNO_EDOM): Likewise.
45926         (ERRNO_ERANGE): Likewise.
45927         (IGNORE_RESULT): Likewise.
45928         (check_float_internal): Check signs of NaN results if
45929         TEST_NAN_SIGN used.
45930         (check_complex): Pass TEST_NAN_SIGN flag through to second
45931         check_float_internal call.
45932         (copysign_test_data): Add tests with quiet NaNs as second
45933         argument.  Use TEST_NAN_SIGN.
45934         (fabs_test_data): Add test of negative quiet NaN argument.  Use
45935         TEST_NAN_SIGN.
45936         (signbit_test_data): Add tests of quiet NaN argument.
45937         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
45939         * math/gen-libm-test.pl (show_exceptions): Take extra argument
45940         $ignore_result.
45941         (parse_args): Handle function results specified as IGNORE.
45942         * math/libm-test.inc (IGNORE_RESULT): New macro.
45943         (check_float_internal): Do not check numerical result if flag
45944         IGNORE_RESULT set.
45945         (check_complex): Pass through IGNORE_RESULT to second
45946         check_float_internal call.
45947         (check_int): Do not check numerical result if flag IGNORE_RESULT
45948         set.
45949         (check_long): Likewise.
45950         (check_bool): Likewise.
45951         (check_longlong): Likewise.
45952         (lrint_test_data): Add tests of infinite and NaN arguments.
45953         (lrint_tonearest_test_data): Likewise.
45954         (lrint_towardzero_test_data): Likewise.
45955         (lrint_downward_test_data): Likewise.
45956         (lrint_upward_test_data): Likewise.
45957         (llrint_test_data): Likewise.
45958         (llrint_tonearest_test_data): Likewise.
45959         (llrint_towardzero_test_data): Likewise.
45960         (llrint_downward_test_data): Likewise.
45961         (llrint_upward_test_data): Likewise.
45962         (lround_test_data): Likewise.
45963         (llround_test_data): Likewise.
45965         * math/libm-test.inc (NO_TEST_INLINE): New macro.
45966         (ERRNO_UNCHANGED): Update value.
45967         (ERRNO_EDOM): Likewise.
45968         (ERRNO_ERANGE): Likewise.
45969         (NO_TEST_INLINE_FLOAT): New macro.
45970         (NO_TEST_INLINE_DOUBLE): Likewise.
45971         (enable_test): New function.
45972         (RUN_TEST_f_f): Check enable_test before running test.
45973         (RUN_TEST_2_f): Likewise.
45974         (RUN_TEST_fff_f): Likewise.
45975         (RUN_TEST_c_f): Likewise.
45976         (RUN_TEST_f_f1): Likewise.
45977         (RUN_TEST_fF_f1): Likewise.
45978         (RUN_TEST_fI_f1): Likewise.
45979         (RUN_TEST_ffI_f1): Likewise.
45980         (RUN_TEST_c_c): Likewise.
45981         (RUN_TEST_cc_c): Likewise.
45982         (RUN_TEST_f_i): Likewise.
45983         (RUN_TEST_f_i_tg): Likewise.
45984         (RUN_TEST_ff_i_tg): Likewise.
45985         (RUN_TEST_f_b): Likewise.
45986         (RUN_TEST_f_b_tg): Likewise.
45987         (RUN_TEST_f_l): Likewise.
45988         (RUN_TEST_f_L): Likewise.
45989         (RUN_TEST_fFF_11): Likewise.
45990         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
45991         conditionals.
45992         (cosh_test_data): Likewise.
45993         (exp_test_data): Likewise.
45994         (expm1_test_data): Likewise.
45995         (hypot_test_data): Likewise.
45996         (pow_test_data): Likewise.
45997         (sinh_test_data): Likewise.
45998         (tanh_test_data): Likewise.
45999         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
46000         flags argument.
46002         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
46003         tests with quiet NaN input and output.
46004         (acosh_test_data): Likewise.
46005         (asin_test_data): Likewise.
46006         (asinh_test_data): Likewise.
46007         (atan_test_data): Likewise.
46008         (atanh_test_data): Likewise.
46009         (atan2_test_data): Likewise.
46010         (cbrt_test_data): Likewise.
46011         (cos_test_data): Likewise.
46012         (cosh_test_data): Likewise.
46013         (erf_test_data): Likewise.
46014         (erfc_test_data): Likewise.
46015         (exp_test_data): Likewise.
46016         (exp10_test_data): Likewise.
46017         (exp2_test_data): Likewise.
46018         (expm1_test_data): Likewise.
46019         (hypot_test_data): Likewise.
46020         (j0_test_data): Likewise.
46021         (j1_test_data): Likewise.
46022         (jn_test_data): Likewise.
46023         (lgamma_test_data): Likewise.
46024         (log_test_data): Likewise.
46025         (log10_test_data): Likewise.
46026         (log1p_test_data): Likewise.
46027         (log2_test_data): Likewise.
46028         (pow_test_data): Likewise.
46029         (scalb_test_data): Likewise.
46030         (sin_test_data): Likewise.
46031         (sincos_test_data): Likewise.
46032         (sinh_test_data): Likewise.
46033         (tan_test_data): Likewise.
46034         (tanh_test_data): Likewise.
46035         (tgamma_test_data): Likewise.
46036         (y0_test_data): Likewise.
46037         (y1_test_data): Likewise.
46038         (yn_test_data): Likewise.
46040         [BZ #16167]
46041         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
46042         argument being NaN and avoid computations with second argument in
46043         that case.
46044         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46045         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
46046         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46048 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
46050         * locale/iso-639.def: Add Chitwani Tharu (the).
46052 2013-11-14  Andreas Schwab  <schwab@suse.de>
46054         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
46055         word instead of empty string.
46057 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46060         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
46061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46062         (__fe_nomask_env): Likewise.
46064 2013-11-13  Steve Ellcey  <sellcey@mips.com>
46066         * benchtests/bench-timing.h: Include time.h.
46068 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
46070         [BZ #15997]
46071         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
46072         to 3.4.0 for x32.
46073         * sysdeps/unix/sysv/linux/configure: Regenerated.
46075 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
46077         [BZ #16151]
46078         * stdlib/strtod_l.c (round_and_return): Do not consider
46079         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
46080         exponent one less than half the least subnormal exponent.
46081         * stdlib/test-strtod-round-data: Add more tests.
46082         * stdlib/tst-strtod-round.c (tests): Regenerated.
46084 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46086         [BZ #14143]
46087         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
46088         (__fe_mask_env): Likewise.
46089         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
46090         libm_hidden_proto and add function prototype.
46091         (__fe_mask_env): Add function prototype.
46092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46093         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
46094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46095         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
46096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46097         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
46099 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46101         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
46102         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
46104 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46106         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
46107         of htab_find_slot().
46109 2013-11-11  David S. Miller  <davem@davemloft.net>
46111         [BZ #16150]
46112         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
46113         symbol in the non-vis3 case in static builds.
46114         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
46115         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
46116         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
46117         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
46119 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
46121         [BZ #387]
46122         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
46123         it is empty.
46125 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46127         * benchtests/Makefile: Add bench-strtod.
46128         * benchtests/bench-strtod.c: New file: strtod benchtest
46130 2013-11-11  Andreas Schwab  <schwab@suse.de>
46132         [BZ #16153]
46133         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
46134         terminating NUL in key length.
46136 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46138         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
46139         Add artificial ODP entry for vDSO symbol for PPC64.
46140         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
46141         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
46143 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
46145         [BZ #15374]
46146         * nss/getent.c (services_keys): Recognize services starting with digit.
46148 2013-11-06  David S. Miller  <davem@davemloft.net>
46150         [BZ #15985]
46151         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
46152         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
46154 2013-11-06  Will Newton  <will.newton@linaro.org>
46156         * manual/memory.texi (Malloc Examples): Remove register
46157         keyword from examples.
46159 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
46161         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
46163 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
46165         [BZ #6981]
46166         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
46167         depending on [__GCC_IEC_559 > 0].
46168         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
46169         depending on [__GCC_IEC_559_COMPLEX > 0].
46171 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
46173         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
46174         to iso-639.def.
46176 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
46178         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
46180 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
46182         [BZ #16112]
46183         * malloc/malloc (malloc_info): Do not handle first bin as
46184         special case.
46186 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
46188         * locale/iso-639.def: Add Central Nahuatl (nhn).
46190 2013-11-01  Bruno Haible  <bruno@clisp.org>
46192         [BZ #7003]
46193         * manual/math.texi (BSD Random): Specify range upper bound as
46194         in POSIX.
46196 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
46198         * locale/iso-639.def: Add Meadow Mari (mhr).
46200 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
46202         [BZ #14752], [BZ #15763]
46203         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
46204         Validate name.
46205         * rt/tst_shm.c: Add test for escaping directory.
46207 2013-10-31  Andreas Schwab  <schwab@suse.de>
46209         [BZ #15917]
46210         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
46211         followed by 'x' as part of digit sequence.
46212         * stdio-common/tst-sscanf.c (double_tests2): New tests.
46214 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
46216         [BZ #16037]
46217         * configure.ac: allow GNU Make 4.0 and greater.
46218         * configure: Regenerated.
46220 2013-10-30  Will Newton  <will.newton@linaro.org>
46222         [BZ #16038]
46223         * malloc/hooks.c (memalign_check): Limit alignment to the
46224         maximum representable power of two.
46225         * malloc/malloc.c (__libc_memalign): Likewise.
46226         * malloc/tst-memalign.c (do_test): Add test for very
46227         large alignment values.
46228         * malloc/tst-posix_memalign.c (do_test): Likewise.
46230 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46232         [BZ #11087]
46233         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
46234         (munmap_chunk): Likewise.
46235         (mremap_chunk): Likewise.
46237 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46239         [BZ #15799]
46240         * stdlib/div.c (div): Remove obsolete code.
46241         * stdlib/ldiv.c (ldiv): Likewise.
46242         * stdlib/lldiv.c (lldiv): Likewise.
46244 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46246         [BZ #16071]
46247         * nss/nss_files/files-XXX.c (get_contents_ret): New
46248         enumerator.
46249         (get_contents): New function.
46250         (internal_getent): Use it.  Expand size of LINEBUFLEN.
46252 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
46254         * configure.in: Moved to ...
46255         * configure.ac: ... here. Change reference to configure.in
46256         to configure.ac.
46257         * sysdeps/arm/preconfigure.ac: ... here.
46258         configure.in to configure.ac.
46259         * sysdeps/gnu/configure.in: Moved to ...
46260         * sysdeps/gnu/configure.ac: ... here.
46261         * sysdeps/i386/configure.in: Moved to ...
46262         * sysdeps/i386/configure.ac: ... here.
46263         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
46264         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
46265         * sysdeps/mach/configure.in: Moved to ...
46266         * sysdeps/mach/configure.ac: ... here.
46267         * sysdeps/mach/hurd/configure.in: Moved to ...
46268         * sysdeps/mach/hurd/configure.ac: ... here.
46269         * sysdeps/powerpc/configure.in: Moved to ...
46270         * sysdeps/powerpc/configure.ac: ... here.
46271         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
46272         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
46273         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
46274         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
46275         * sysdeps/s390/s390-32/configure.in: Moved to ...
46276         * sysdeps/s390/s390-32/configure.ac: ... here.
46277         * sysdeps/s390/s390-64/configure.in: Moved to ...
46278         * sysdeps/s390/s390-64/configure.ac: ... here.
46279         * sysdeps/sh/configure.in: Moved to ...
46280         * sysdeps/sh/configure.ac: ... here.
46281         * sysdeps/sparc/configure.in: Moved to ...
46282         * sysdeps/sparc/configure.ac: ... here.
46283         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
46284         * sysdeps/unix/sysv/linux/configure.ac: ... here.
46285         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
46286         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
46287         * sysdeps/x86_64/configure.in: Moved to ...
46288         * sysdeps/x86_64/configure.ac: ... here.
46289         * sysdeps/x86_64/preconfigure.in: Moved to ...
46290         * sysdeps/x86_64/preconfigure.ac: ... here.
46291         * aclocal.m4: Change reference to configure.in to configure.ac.
46292         * config.h.in: Likewise.
46293         * manual/install.texi: Likewise.
46294         * manual/maint.texi: Likewise.
46295         * Makefile: Likewise.
46296         * malloc/Makefile: Likewise.
46297         * nscd/Makefile: Likewise.
46298         * Makeconfig: Change reference to configure.in and
46299         preconfigure.in to configure.ac and preconfigure.ac
46300         respectively.
46301         * INSTALL: Regenerated.
46302         * configure: Likewise.
46303         * sysdeps/gnu/configure: Likewise.
46304         * sysdeps/i386/configure: Likewise.
46305         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
46306         * sysdeps/mach/configure: Likewise.
46307         * sysdeps/mach/hurd/configure: Likewise.
46308         * sysdeps/powerpc/configure: Likewise.
46309         * sysdeps/powerpc/powerpc32/configure: Likewise.
46310         * sysdeps/powerpc/powerpc64/configure: Likewise.
46311         * sysdeps/s390/s390-32/configure: Likewise.
46312         * sysdeps/s390/s390-64/configure: Likewise.
46313         * sysdeps/sh/configure: Likewise.
46314         * sysdeps/sparc/configure: Likewise.
46315         * sysdeps/unix/sysv/linux/configure: Likewise.
46316         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
46317         * sysdeps/x86_64/configure: Likewise.
46318         * sysdeps/x86_64/preconfigure: Likewise.
46320 2013-10-29  Andreas Schwab  <schwab@suse.de>
46322         * stdio-common/Makefile (tst-swscanf-ENV): Define.
46324 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46326         * benchtests/pow-inputs: Add new inputs.
46328         * benchtests/exp-inputs: Add new inputs.
46330         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
46331         conditional check for return value.
46332         (__cos32): Likewise.
46334 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46336         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
46337         to provide a boost for large inputs with word alignment.
46338         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
46339         implementation based on optimized PPC64 strcpy.
46340         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
46341         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
46342         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
46343         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
46345 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46347         [BZ #2801]
46348         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
46350 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46352         [BZ #14876]
46353         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
46354         * time/tst-strptime.c (day_tests): Add testcase.
46356 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46358         [BZ #14029]
46359         * manual/pattern.texi: Acknowledge that fnmatch can fail.
46361 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
46363         [BZ #16074]
46364         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
46365         MAP_FAILED on error.
46367 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46369         [BZ #16072]
46370         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
46371         heap for large requests.
46373 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
46375         [BZ #9954]
46376         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
46377         result if the result has no associated interface.
46378         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
46379         interface for all 127.X.Y.Z addresses.
46381 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
46383         * locale/iso-639.def: Add Ligurian (lij)
46385 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
46387         [BZ #15825]
46388         * sunrpc/rpc_main.c: Document rpcgen -5.
46390 2013-10-19  Michael Stahl  <mstahl@redhat.com>
46392         * elf/rtld.c (do_preload): Print the reason why preloading failed.
46394 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46396         [BZ #10278]
46397         * posix/glob.c: Match only directories when trailing slash is present.
46398         * posix/tst-gnuglob.c (my_opendir): Do not open files.
46399         (main): Add testcase.
46401 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46403         [BZ #15670]
46404         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
46406 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
46408         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
46409         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
46410         AUTH_DES and cindex for FIPS 140-2.
46411         (DES Encryption): Add cindex FIPS 46-3.
46413         * locale/locarchive.h (struct locarhandle): Add fname.
46414         * locale/programs/localedef.c (main): Pass ARGV[remaining]
46415         if an optional argument was specified to --list-archive,
46416         otherwise NULL.
46417         * locale/programs/locarchive.c (show_archive_content): Take new
46418         argument fname and pass it via ah.fname to open_archive.
46419         * locale/programs/localedef.h: Update decl.
46420         (open_archive): If AH->fname is non-null, open that file
46421         rather than the default file name, and don't ignore ENOENT.
46422         (create_archive): Set AH.fname to NULL.
46423         (delete_locales_from_archive): Likewise.
46424         (add_locales_to_archive): Likewise.
46425         * locale/programs/locfile.c (write_all_categories): Likewise.
46427 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
46428             Aldy Hernandez  <aldyh@redhat.com>
46430         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
46431         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
46432         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
46433         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
46434         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
46435         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
46436         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
46437         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
46438         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
46439         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
46440         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
46441         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
46442         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
46443         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
46444         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
46445         Likewise.
46446         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
46447         Likewise.
46448         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
46449         Likewise.
46450         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
46451         Likewise.
46452         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
46453         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
46454         Likewise.
46455         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
46456         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
46457         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
46458         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
46459         Likewise.
46460         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
46461         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
46462         * sysdeps/powerpc/preconfigure: Likewise.
46463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
46464         Likewise.
46465         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
46466         Replace contents of file by #include of <fenv_libc.h>.
46467         * sysdeps/powerpc/soft-fp/sfp-machine.h
46468         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
46469         and <sys/prctl.h>.
46470         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
46471         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
46472         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
46473         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
46474         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
46475         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
46476         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
46477         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
46478         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
46479         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
46480         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
46481         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
46482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46483         Allow copysignl PLT reference to be missing.
46485 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
46486             Joseph Myers  <joseph@codesourcery.com
46488         [BZ #15948]
46489         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
46490         single character.
46491         (add_to_tablewc): Assert sequence of wide characters is nonempty.
46493 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46495         * elf/tst-tls-dlinfo.c: Don't include tls.h.
46496         * elf/tst-tls1.c: Likewise.
46497         * elf/tst-tls10.h: Likewise.
46498         * elf/tst-tls14.c: Likewise.
46499         * elf/tst-tls2.c: Likewise.
46500         * elf/tst-tls3.c: Likewise.
46501         * elf/tst-tls4.c: Likewise.
46502         * elf/tst-tls5.c: Likewise.
46503         * elf/tst-tls6.c: Likewise.
46504         * elf/tst-tls7.c: Likewise.
46505         * elf/tst-tls8.c: Likewise.
46506         * elf/tst-tls9.c: Likewise.
46507         * elf/tst-tlsmod1.c: Likewise.
46508         * elf/tst-tlsmod13.c: Likewise.
46509         * elf/tst-tlsmod13a.c: Likewise.
46510         * elf/tst-tlsmod14a.c: Likewise.
46511         * elf/tst-tlsmod16a.c: Likewise.
46512         * elf/tst-tlsmod16b.c: Likewise.
46513         * elf/tst-tlsmod2.c: Likewise.
46514         * elf/tst-tlsmod3.c: Likewise.
46515         * elf/tst-tlsmod4.c: Likewise.
46516         * elf/tst-tlsmod5.c: Likewise.
46517         * elf/tst-tlsmod6.c: Likewise.
46519 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
46521         [BZ #12486]
46522         * malloc/malloc.c: remove checks for statistics.
46524 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46526         [BZ #15277]
46527         * inet/inet_net.c (inet_network): Detect additional invalid strings.
46528         * inet/tst-network.c: Add testcase.
46530 2013-10-17  Andreas Schwab  <schwab@suse.de>
46532         [BZ #15218]
46533         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
46534         to determine canonical name.
46536 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46538         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
46539         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
46540         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46541         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46542         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46543         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46544         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46545         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46546         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46547         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46548         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46549         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46550         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46551         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46552         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46553         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46554         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46555         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46556         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46557         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46558         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46559         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46560         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46561         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
46562         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
46563         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46564         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46565         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
46566         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46567         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
46568         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46569         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46570         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46571         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46572         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46573         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46574         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46575         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46576         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46577         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46578         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46579         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46580         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46581         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46582         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46583         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46584         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46585         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46586         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46587         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46588         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46589         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46590         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46591         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46592         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46593         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46594         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46595         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46597 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
46599         [BZ #16041]
46600         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
46601         make result into a quiet NaN.
46603 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
46605         * soft-fp/adddf3.c: Fix horizontal whitespace.
46606         * soft-fp/addsf3.c: Likewise.
46607         * soft-fp/addtf3.c: Likewise.
46608         * soft-fp/divdf3.c: Likewise.
46609         * soft-fp/divsf3.c: Likewise.
46610         * soft-fp/divtf3.c: Likewise.
46611         * soft-fp/double.h: Likewise.
46612         * soft-fp/eqdf2.c: Likewise.
46613         * soft-fp/eqsf2.c: Likewise.
46614         * soft-fp/eqtf2.c: Likewise.
46615         * soft-fp/extenddftf2.c: Likewise.
46616         * soft-fp/extended.h: Likewise.
46617         * soft-fp/extendsfdf2.c: Likewise.
46618         * soft-fp/extendsftf2.c: Likewise.
46619         * soft-fp/extendxftf2.c: Likewise.
46620         * soft-fp/fixdfdi.c: Likewise.
46621         * soft-fp/fixdfsi.c: Likewise.
46622         * soft-fp/fixdfti.c: Likewise.
46623         * soft-fp/fixsfdi.c: Likewise.
46624         * soft-fp/fixsfsi.c: Likewise.
46625         * soft-fp/fixsfti.c: Likewise.
46626         * soft-fp/fixtfdi.c: Likewise.
46627         * soft-fp/fixtfsi.c: Likewise.
46628         * soft-fp/fixtfti.c: Likewise.
46629         * soft-fp/fixunsdfdi.c: Likewise.
46630         * soft-fp/fixunsdfsi.c: Likewise.
46631         * soft-fp/fixunsdfti.c: Likewise.
46632         * soft-fp/fixunssfdi.c: Likewise.
46633         * soft-fp/fixunssfsi.c: Likewise.
46634         * soft-fp/fixunssfti.c: Likewise.
46635         * soft-fp/fixunstfdi.c: Likewise.
46636         * soft-fp/fixunstfsi.c: Likewise.
46637         * soft-fp/fixunstfti.c: Likewise.
46638         * soft-fp/floatdidf.c: Likewise.
46639         * soft-fp/floatdisf.c: Likewise.
46640         * soft-fp/floatditf.c: Likewise.
46641         * soft-fp/floatsidf.c: Likewise.
46642         * soft-fp/floatsisf.c: Likewise.
46643         * soft-fp/floatsitf.c: Likewise.
46644         * soft-fp/floattidf.c: Likewise.
46645         * soft-fp/floattisf.c: Likewise.
46646         * soft-fp/floattitf.c: Likewise.
46647         * soft-fp/floatundidf.c: Likewise.
46648         * soft-fp/floatundisf.c: Likewise.
46649         * soft-fp/floatunditf.c: Likewise.
46650         * soft-fp/floatunsidf.c: Likewise.
46651         * soft-fp/floatunsisf.c: Likewise.
46652         * soft-fp/floatunsitf.c: Likewise.
46653         * soft-fp/floatuntidf.c: Likewise.
46654         * soft-fp/floatuntisf.c: Likewise.
46655         * soft-fp/floatuntitf.c: Likewise.
46656         * soft-fp/fmadf4.c: Likewise.
46657         * soft-fp/fmasf4.c: Likewise.
46658         * soft-fp/fmatf4.c: Likewise.
46659         * soft-fp/gedf2.c: Likewise.
46660         * soft-fp/gesf2.c: Likewise.
46661         * soft-fp/getf2.c: Likewise.
46662         * soft-fp/ledf2.c: Likewise.
46663         * soft-fp/lesf2.c: Likewise.
46664         * soft-fp/letf2.c: Likewise.
46665         * soft-fp/muldf3.c: Likewise.
46666         * soft-fp/mulsf3.c: Likewise.
46667         * soft-fp/multf3.c: Likewise.
46668         * soft-fp/negdf2.c: Likewise.
46669         * soft-fp/negsf2.c: Likewise.
46670         * soft-fp/negtf2.c: Likewise.
46671         * soft-fp/op-1.h: Likewise.
46672         * soft-fp/op-2.h: Likewise.
46673         * soft-fp/op-4.h: Likewise.
46674         * soft-fp/op-8.h: Likewise.
46675         * soft-fp/op-common.h: Likewise.
46676         * soft-fp/quad.h: Likewise.
46677         * soft-fp/single.h: Likewise.
46678         * soft-fp/soft-fp.h: Likewise.
46679         * soft-fp/sqrtdf2.c: Likewise.
46680         * soft-fp/sqrtsf2.c: Likewise.
46681         * soft-fp/sqrttf2.c: Likewise.
46682         * soft-fp/subdf3.c: Likewise.
46683         * soft-fp/subsf3.c: Likewise.
46684         * soft-fp/subtf3.c: Likewise.
46685         * soft-fp/truncdfsf2.c: Likewise.
46686         * soft-fp/trunctfdf2.c: Likewise.
46687         * soft-fp/trunctfsf2.c: Likewise.
46688         * soft-fp/trunctfxf2.c: Likewise.
46689         * soft-fp/unorddf2.c: Likewise.
46690         * soft-fp/unordsf2.c: Likewise.
46691         * soft-fp/unordtf2.c: Likewise.
46693 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
46695         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
46696         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
46698 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
46700         * elf/dl-libc.c: Clear initfini list after freeing.
46702 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
46704         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
46705         * soft-fp/addsf3.c: Likewise.
46706         * soft-fp/addtf3.c: Likewise.
46707         * soft-fp/divdf3.c: Likewise.
46708         * soft-fp/divsf3.c: Likewise.
46709         * soft-fp/divtf3.c: Likewise.
46710         * soft-fp/double.h: Likewise.
46711         * soft-fp/eqdf2.c: Likewise.
46712         * soft-fp/eqsf2.c: Likewise.
46713         * soft-fp/eqtf2.c: Likewise.
46714         * soft-fp/extenddftf2.c: Likewise.
46715         * soft-fp/extended.h: Likewise.
46716         * soft-fp/extendsfdf2.c: Likewise.
46717         * soft-fp/extendsftf2.c: Likewise.
46718         * soft-fp/extendxftf2.c: Likewise.
46719         * soft-fp/fixdfdi.c: Likewise.
46720         * soft-fp/fixdfsi.c: Likewise.
46721         * soft-fp/fixdfti.c: Likewise.
46722         * soft-fp/fixsfdi.c: Likewise.
46723         * soft-fp/fixsfsi.c: Likewise.
46724         * soft-fp/fixsfti.c: Likewise.
46725         * soft-fp/fixtfdi.c: Likewise.
46726         * soft-fp/fixtfsi.c: Likewise.
46727         * soft-fp/fixtfti.c: Likewise.
46728         * soft-fp/fixunsdfdi.c: Likewise.
46729         * soft-fp/fixunsdfsi.c: Likewise.
46730         * soft-fp/fixunsdfti.c: Likewise.
46731         * soft-fp/fixunssfdi.c: Likewise.
46732         * soft-fp/fixunssfsi.c: Likewise.
46733         * soft-fp/fixunssfti.c: Likewise.
46734         * soft-fp/fixunstfdi.c: Likewise.
46735         * soft-fp/fixunstfsi.c: Likewise.
46736         * soft-fp/fixunstfti.c: Likewise.
46737         * soft-fp/floatdidf.c: Likewise.
46738         * soft-fp/floatdisf.c: Likewise.
46739         * soft-fp/floatditf.c: Likewise.
46740         * soft-fp/floatsidf.c: Likewise.
46741         * soft-fp/floatsisf.c: Likewise.
46742         * soft-fp/floatsitf.c: Likewise.
46743         * soft-fp/floattidf.c: Likewise.
46744         * soft-fp/floattisf.c: Likewise.
46745         * soft-fp/floattitf.c: Likewise.
46746         * soft-fp/floatundidf.c: Likewise.
46747         * soft-fp/floatundisf.c: Likewise.
46748         * soft-fp/floatunsidf.c: Likewise.
46749         * soft-fp/floatunsisf.c: Likewise.
46750         * soft-fp/floatuntidf.c: Likewise.
46751         * soft-fp/floatuntisf.c: Likewise.
46752         * soft-fp/floatuntitf.c: Likewise.
46753         * soft-fp/fmadf4.c: Likewise.
46754         * soft-fp/fmasf4.c: Likewise.
46755         * soft-fp/fmatf4.c: Likewise.
46756         * soft-fp/gedf2.c: Likewise.
46757         * soft-fp/gesf2.c: Likewise.
46758         * soft-fp/getf2.c: Likewise.
46759         * soft-fp/ledf2.c: Likewise.
46760         * soft-fp/lesf2.c: Likewise.
46761         * soft-fp/letf2.c: Likewise.
46762         * soft-fp/muldf3.c: Likewise.
46763         * soft-fp/mulsf3.c: Likewise.
46764         * soft-fp/multf3.c: Likewise.
46765         * soft-fp/negdf2.c: Likewise.
46766         * soft-fp/negsf2.c: Likewise.
46767         * soft-fp/negtf2.c: Likewise.
46768         * soft-fp/op-1.h: Likewise.
46769         * soft-fp/op-2.h: Likewise.
46770         * soft-fp/op-4.h: Likewise.
46771         * soft-fp/op-8.h: Likewise.
46772         * soft-fp/op-common.h: Likewise.
46773         * soft-fp/quad.h: Likewise.
46774         * soft-fp/single.h: Likewise.
46775         * soft-fp/soft-fp.h: Likewise.
46776         * soft-fp/sqrtdf2.c: Likewise.
46777         * soft-fp/sqrtsf2.c: Likewise.
46778         * soft-fp/sqrttf2.c: Likewise.
46779         * soft-fp/subdf3.c: Likewise.
46780         * soft-fp/subsf3.c: Likewise.
46781         * soft-fp/subtf3.c: Likewise.
46782         * soft-fp/truncdfsf2.c: Likewise.
46783         * soft-fp/trunctfdf2.c: Likewise.
46784         * soft-fp/trunctfsf2.c: Likewise.
46785         * soft-fp/trunctfxf2.c: Likewise.
46786         * soft-fp/unorddf2.c: Likewise.
46787         * soft-fp/unordsf2.c: Likewise.
46788         * soft-fp/unordtf2.c: Likewise.
46790 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
46792         [BZ #15672]
46793         * misc/error.c (error_tail): Fix possible buffer overflow.
46795 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
46797         [BZ #13028]
46798         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
46799         address.
46801 2013-10-14  P. J. McDermott  <pj@pehjota.net>
46803         [BZ #832]
46804         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
46805         testing pipefail option.
46807 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46809         * soft-fp/double.h: Indent preprocessor directives inside #if.
46810         * soft-fp/extended.h: Likewise.
46811         * soft-fp/op-2.h: Likewise.
46812         * soft-fp/op-4.h: Likewise.
46813         * soft-fp/op-common.h: Likewise.
46814         * soft-fp/quad.h: Likewise.
46815         * soft-fp/single.h: Likewise.
46816         * soft-fp/soft-fp.h: Likewise.
46818 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
46820         * iconv/iconv_prog.c: Fix typos.
46821         * stdio-common/psiginfo-data.h: Likewise.
46823 2013-10-12   Reuben Thomas <rrt@sc3d.org>
46825         [BZ #15764]
46826         * locale/setlocale.c: Fix typo.
46828 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46830         [BZ #16036]
46831         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
46832         signaling NaN arguments.
46833         * soft-fp/unordsf2.c (__unordsf2): Likewise.
46834         * soft-fp/unordtf2.c (__unordtf2): Likewise.
46836         [BZ #14910]
46837         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
46838         unordered operands.
46839         * soft-fp/gesf2.c (__gesf2): Likewise.
46840         * soft-fp/getf2.c (__getf2): Likewise.
46841         * soft-fp/ledf2.c (__ledf2): Likewise.
46842         * soft-fp/lesf2.c (__lesf2): Likewise.
46843         * soft-fp/letf2.c (__letf2): Likewise.
46845         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
46846         * soft-fp/eqsf2.c (__eqsf2): Likewise.
46847         * soft-fp/eqtf2.c (__eqtf2): Likewise.
46848         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
46849         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
46850         * soft-fp/fixdfti.c (__fixdfti): Likewise.
46851         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
46852         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
46853         * soft-fp/fixsfti.c (__fixsfti): Likewise.
46854         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
46855         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
46856         * soft-fp/fixtfti.c (__fixtfti): Likewise.
46857         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
46858         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
46859         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
46860         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
46861         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
46862         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
46863         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
46864         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
46865         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
46866         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
46867         * soft-fp/floatdisf.c (__floatdisf): Likewise.
46868         * soft-fp/floatsisf.c (__floatsisf): Likewise.
46869         * soft-fp/floattidf.c (__floattidf): Likewise.
46870         * soft-fp/floattisf.c (__floattisf): Likewise.
46871         * soft-fp/floattitf.c (__floattitf): Likewise.
46872         * soft-fp/floatundidf.c (__floatundidf): Likewise.
46873         * soft-fp/floatundisf.c (__floatundisf): Likewise.
46874         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
46875         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
46876         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
46877         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
46878         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
46879         * soft-fp/gesf2.c (__gesf2): Likewise.
46880         * soft-fp/getf2.c (__getf2): Likewise.
46881         * soft-fp/ledf2.c (__ledf2): Likewise.
46882         * soft-fp/lesf2.c (__lesf2): Likewise.
46883         * soft-fp/letf2.c (__letf2): Likewise.
46885         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
46886         Undefine and redefine.
46887         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
46888         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
46889         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
46890         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
46891         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46892         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
46893         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46894         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
46895         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46896         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
46897         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46898         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
46899         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46900         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
46901         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46903         [BZ #16032]
46904         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
46905         without decrementing exponent if mantissa >= that for the
46906         denominator, not >.
46907         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
46908         denominator, not >.  Decrement exponent in < case instead of
46909         incrementing in >= case.
46910         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
46911         without decrementing exponent if mantissa >= that for the
46912         denominator, not >.
46914         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
46915         computing saturated result for unsigned overflow.
46917 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46918             Jeff Law  <law@redhat.com>
46920         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
46921         (atan2Mp): Add systemtap probe marker.
46922         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
46923         (__ieee754_log): Add systemtap probe marker.
46924         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
46925         (atanMp): Add systemtap probe marker.
46926         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
46927         (tanMp): Add systemtap probe marker.
46928         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
46929         (__slowexp): Add systemtap probe marker.
46930         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
46931         (__slowpow): Add systemtap probe marker.
46932         * manual/probes.texi: Document probes.
46934 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
46936         [BZ #15362]
46937         * libio/fileops.c (_IO_new_file_write): Return count of bytes
46938         written.
46939         (_IO_new_file_xsputn): Don't return EOF if nothing has been
46940         written.
46941         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
46942         written to buffer but not flushed.
46943         * libio/iofwrite_u.c:  Likewise.
46944         * libio/iopadn.c:  Return bytes returned even if EOF was
46945         encountered.
46946         * libio/iowpadn.c:  Likewise.
46947         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
46948         if _IO_padn does not write the whole buffer.
46949         [!COMPILE_WPRINTF] (PAD): Likewise.
46951 2013-10-10  David S. Miller  <davem@davemloft.net>
46953         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
46954         directory block.
46956 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46958         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
46959         instead of FSF address.
46960         * soft-fp/fixdfti.c: Likewise.
46961         * soft-fp/fixsfti.c: Likewise.
46962         * soft-fp/fixtfti.c: Likewise.
46963         * soft-fp/fixunsdfti.c: Likewise.
46964         * soft-fp/fixunssfti.c: Likewise.
46965         * soft-fp/fixunstfti.c: Likewise.
46966         * soft-fp/floattidf.c: Likewise.
46967         * soft-fp/floattisf.c: Likewise.
46968         * soft-fp/floattitf.c: Likewise.
46969         * soft-fp/floatuntidf.c: Likewise.
46970         * soft-fp/floatuntisf.c: Likewise.
46971         * soft-fp/floatuntitf.c: Likewise.
46972         * soft-fp/trunctfxf2.c: Likewise.
46974         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
46975         * soft-fp/fixdfti.c: Likewise.
46976         * soft-fp/fixsfti.c: Likewise.
46977         * soft-fp/fixtfti.c: Likewise.
46978         * soft-fp/fixunsdfti.c: Likewise.
46979         * soft-fp/fixunssfti.c: Likewise.
46980         * soft-fp/fixunstfti.c: Likewise.
46981         * soft-fp/floattidf.c: Likewise.
46982         * soft-fp/floattisf.c: Likewise.
46983         * soft-fp/floattitf.c: Likewise.
46984         * soft-fp/floatuntidf.c: Likewise.
46985         * soft-fp/floatuntisf.c: Likewise.
46986         * soft-fp/floatuntitf.c: Likewise.
46987         * soft-fp/trunctfxf2.c: Likewise.
46989 2013-10-10  David S. Miller  <davem@davemloft.net>
46991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46993 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
46995         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46996         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
46997         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
46998         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
46999         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
47000         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
47001         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
47003         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
47004         for NaNs before doing comparisons on argument.
47005         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
47006         Likewise.
47008 2013-10-10  Will Newton  <will.newton@linaro.org>
47010         * malloc/hooks.c (memalign_check): Ensure the value of bytes
47011         passed to _int_memalign does not overflow.
47013 2013-10-10  Torvald Riegel  <triegel@redhat.com>
47015         * scripts/bench.pl: Add include-sources directive.
47016         * benchtests/README: Update documentation.
47018 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47020         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
47021         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
47022         instead of FP_INIT_ROUNDMODE.
47023         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
47024         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
47026         [BZ #16034]
47027         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
47028         copy class of input value.
47029         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
47030         not handle exceptions.
47031         * soft-fp/negsf2.c (__negsf2): Likewise.
47032         * soft-fp/negtf2.c (__negtf2): Likewise.
47033         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
47035 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
47037         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
47038         semicolon.  From Linux kernel.
47040 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
47042         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
47044 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
47046         [BZ #156]
47047         * manual/socket.texi: Added statement about buffer
47048         for gethostbyname2_r.
47050 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
47052         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
47053         Use .p2align directive instead, throughout.
47054         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47055         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
47056         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
47057         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47058         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47059         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
47060         * sysdeps/x86_64/strchr.S: Likewise.
47061         * sysdeps/x86_64/strrchr.S: Likewise.
47063 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47065         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
47067         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
47069         * sysdeps/generic/math_private.h (__mpsin1): Remove
47070         declaration.
47071         (__mpcos1): Likewise.
47072         (__mpsin): New argument __range_reduce.
47073         (__mpcos): Likewise.
47074         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47075         (slow): Use __mpsin and __mpcos.
47076         (slow1): Likewise.
47077         (slow2): Likewise.
47078         (sloww): Likewise.
47079         (sloww1): Likewise.
47080         (sloww2): Likewise.
47081         (bsloww): Likewise.
47082         (bsloww1): Likewise.
47083         (bsloww2): Likewise.
47084         (cslow2): Likewise.
47085         (csloww): Likewise.
47086         (csloww1): Likewise.
47087         (csloww2): Likewise.
47088         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
47089         range_reduce.  Merge in __mpsin1.
47090         (__mpcos): Likewise.
47091         (__mpsin1): Remove.
47092         (__mpcos1): Likewise.
47094 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
47096         * locale/loadlocale.c (_nl_intern_locale_data): Use
47097         LOCFILE_ALIGNED_P.
47098         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
47099         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
47100         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
47101         obstack data is appropriately aligned.
47102         (obstack_int32_grow_fast): Likewise.
47103         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
47104         * locale/programs/locfile.c (add_locale_uint32): Likewise.
47105         (add_locale_uint32_array): Likewise.
47107 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47109         * benchtests/Makefile: Remove ARGLIST and RET variables.
47110         ($(objpfx)bench-%.c): Pass only function name to the script.
47111         * benchtests/README: Update documentation.
47112         * benchtests/acos-inputs: Add new directives.
47113         * benchtests/acosh-inputs: Likewise.
47114         * benchtests/asin-inputs: Likewise.
47115         * benchtests/asinh-inputs: Likewise.
47116         * benchtests/atan-inputs: Likewise.
47117         * benchtests/atanh-inputs: Likewise.
47118         * benchtests/cos-inputs: Likewise.
47119         * benchtests/cosh-inputs: Likewise.
47120         * benchtests/exp-inputs: Likewise.
47121         * benchtests/log-inputs: Likewise.
47122         * benchtests/pow-inputs: Likewise.
47123         * benchtests/rint-inputs: Likewise.
47124         * benchtests/sin-inputs: Likewise.
47125         * benchtests/sinh-inputs: Likewise.
47126         * benchtests/tan-inputs: Likewise.
47127         * benchtests/tanh-inputs: Likewise.
47128         * scripts/bench.pl: Add support for new directives.
47130 2013-10-07  Alan Modra  <amodra@gmail.com>
47132         * README: Fix careless merge.
47134 2013-10-05  Alan Modra  <amodra@gmail.com>
47136         * NEWS: Mention powerpc64le support and bugs fixed.
47137         * README: Both big-endian and little-endian powerpc64 supported.
47139 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47141         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
47142         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
47143         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
47144         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
47146 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
47148         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
47149         match prototype.
47151 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
47153         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
47154         Move -mhard-float appending from
47155         ports/sysdeps/powerpc/powerpc32/Makefile.
47156         [$(with-fp) = yes] (ASFLAGS): Likewise.
47157         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
47158         * sysdeps/powerpc/nofpu: Move directory from
47159         ports/sysdeps/powerpc/nofpu.
47160         * sysdeps/powerpc/soft-fp: Move directory from
47161         ports/sysdeps/powerpc/soft-fp.
47162         * sysdeps/powerpc/powerpc32/405: Move directory from
47163         ports/sysdeps/powerpc/powerpc32/405.
47164         * sysdeps/powerpc/powerpc32/440: Move directory from
47165         ports/sysdeps/powerpc/powerpc32/440.
47166         * sysdeps/powerpc/powerpc32/464: Move directory from
47167         ports/sysdeps/powerpc/powerpc32/464.
47168         * sysdeps/powerpc/powerpc32/476: Move directory from
47169         ports/sysdeps/powerpc/powerpc32/476.
47170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
47171         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
47172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
47173         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
47174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
47175         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
47176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
47177         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
47178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
47179         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
47180         * README: Update for powerpc-*-linux-gnu software floating point
47181         support in libc.
47183         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
47184         case to powerpc/powerpc32*.
47185         * sysdeps/unix/sysv/linux/configure: Regenerated.
47187         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
47188         (_FPU_MASK_OM): Define as 0x04.
47189         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
47190         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
47191         0x00c10080.
47192         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
47193         0x0000003c.
47194         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
47196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
47197         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47198         getcontext_e500.
47199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
47200         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47201         setcontext_e500.
47202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
47203         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
47204         and setcontext_e500.
47206 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
47208         * locale/iso-3166.def: Update iso-1366.def and related occurrences
47210 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47212         * manual/threads.texi (Default Thread Attributes): Fix typo.
47214 2013-10-04  Will Newton  <will.newton@linaro.org>
47216         * malloc/Makefile: Add tst-memalign.
47217         * malloc/tst-memalign.c: New file.
47219         * malloc/tst-posix_memalign.c: Add comments.
47220         (do_test): Add comments and call free on all potentially
47221         allocated pointers. Add space after cast.
47223         * malloc/tst-pvalloc.c: Add comments.
47224         (do_test): Add comments and call free on all potentially
47225         allocated pointers. Remove duplicate check for NULL pointer.
47226         Add space after cast.
47228         * malloc/tst-valloc.c: Add comments.
47229         (do_test): Add comments and call free on all potentially
47230         allocated pointers. Remove duplicate check for NULL pointer.
47231         Add space after cast.
47233 2013-10-04  Alan Modra  <amodra@gmail.com>
47235         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47236         Use stdint types in rather than __attribute__((mode())).
47237         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47239 2013-10-04  Alan Modra  <amodra@gmail.com>
47241         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47242         Correct handling of unaligned relocs for little-endian.
47243         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47245 2013-10-04  Alan Modra  <amodra@gmail.com>
47247         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
47248         * configure: Regenerate.
47249         * nptl/shlib-versions: Powerpc*le starts at 2.18.
47250         * shlib-versions: Likewise.
47252 2013-10-04  Alan Modra  <amodra@gmail.com>
47254         * string/tester.c (test_memrchr): Increment reported test cycle.
47256 2013-10-04  Alan Modra  <amodra@gmail.com>
47258         * string/test-memcpy.c (do_one_test): When reporting errors, print
47259         string address and don't overrun end of string.
47261 2013-10-04  Alan Modra  <amodra@gmail.com>
47263         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
47264         insrdi.  Make better use of reg selection to speed exit slightly.
47265         Schedule entry path a little better.  Remove useless "are we done"
47266         checks on entry to main loop.  Handle wrapping around zero address.
47267         Correct main loop count.  Handle single left-over word from main
47268         loop inline rather than by using loop_small.  Remove extra word
47269         case in loop_small caused by wrong loop count.  Add little-endian
47270         support.
47271         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47272         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
47273         cache hint.
47274         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47275         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
47276         support.  Avoid rlwimi.
47277         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
47279 2013-10-04  Alan Modra  <amodra@gmail.com>
47281         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
47282         insrdi.  Formatting.
47283         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
47284         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47285         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
47286         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47287         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47288         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
47290 2013-10-04  Alan Modra  <amodra@gmail.com>
47292         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
47293         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47294         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47295         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
47296         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47297         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47298         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47299         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47300         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
47301         use of regs.  Use power7 mtocrf.  Tidy function tails.
47303 2013-10-04  Alan Modra  <amodra@gmail.com>
47305         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
47306         Formatting.  Consistently use rXXX register defines or rN defines.
47307         Use early exit labels that avoid restoring unused non-volatile regs.
47308         Make cr field use more consistent with rWORDn compares.  Rename
47309         regs used as shift registers for unaligned loop, using rN defines
47310         for short lifetime/multiple use regs.
47311         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47312         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
47313         addi 1,1,64 to pop stack frame.  Simplify return value code.
47314         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47316 2013-10-04  Alan Modra  <amodra@gmail.com>
47318         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
47319         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
47320         rather than rlwimi.
47321         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
47322         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
47323         little-endian support.  Correct typos.
47324         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
47325         rather than rlwimi.
47326         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
47327         in loop and entry code to keep "and." results.
47328         (strchr): Add little-endian support.  Comment.  Move cntlzd
47329         earlier in tail.
47330         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
47332 2013-10-04  Alan Modra  <amodra@gmail.com>
47334         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
47335         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
47336         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
47337         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
47339 2013-10-04  Alan Modra  <amodra@gmail.com>
47341         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
47342         (rTMP): Define as r11.
47343         (strcmp): Add little-endian support.  Optimise tail.
47344         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
47345         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47346         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47347         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47348         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47349         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47350         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47352 2013-10-04  Alan Modra  <amodra@gmail.com>
47354         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
47355         little-endian support.  Remove unnecessary "are we done" tests.
47356         Handle "s" wrapping around zero and extremely large "size".
47357         Correct main loop count.  Handle single left-over word from main
47358         loop inline rather than by using small_loop.  Correct comments.
47359         Delete "zero" tail, use "end_max" instead.
47360         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
47362 2013-10-04  Alan Modra  <amodra@gmail.com>
47364         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
47365         support.  Don't branch over align.
47366         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
47367         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
47368         support.  Rearrange tmp reg use to suit.  Comment.
47369         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
47371 2013-10-04  Alan Modra  <amodra@gmail.com>
47373         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
47375 2013-10-04  Alan Modra  <amodra@gmail.com>
47377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
47378         conditional form of branch and link when obtaining pc.
47379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47381 2013-10-04  Alan Modra  <amodra@gmail.com>
47383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
47384         HIWORD/LOWORD.
47385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
47386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
47388 2013-10-04  Alan Modra  <amodra@gmail.com>
47390         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
47391         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
47392         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
47393         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
47394         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47395         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47396         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
47397         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47398         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
47399         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
47401 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47402             Alistair Popple <alistair@ozlabs.au.ibm.com>
47403             Alan Modra <amodra@gmail.com>
47405         [BZ #15723]
47406         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
47407         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
47408         _dl_hwcap access for little-endian.
47409         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
47410         destroy vmx regs when saving unaligned.
47411         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
47412         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
47413         destroy vmx regs when saving unaligned.
47415 2013-10-04  Alan Modra  <amodra@gmail.com>
47417         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
47418         Don't use a union to pack hi/low value.
47420 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47422         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
47423         for little-endian.
47424         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47425         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
47426         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
47427         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47428         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47430 2013-10-04  Alan Modra  <amodra@gmail.com>
47432         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
47433         constants to usual value for .cst8 section, and remove redundant
47434         high address load.
47435         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
47436         constant for 0x1p52.  Load little-endian words of double from
47437         correct stack offsets.
47439 2013-10-04  Alan Modra  <amodra@gmail.com>
47441         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
47442         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
47443         words of double from correct stack offsets.
47444         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
47445         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
47446         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47447         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47448         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47449         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47450         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47451         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
47452         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
47453         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47454         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47455         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47456         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47457         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47458         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47459         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
47460         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
47462 2013-10-04  Alan Modra  <amodra@gmail.com>
47464         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
47465         64-bit int/double union.
47466         (_FPU_SETCW): Likewise.
47467         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
47468         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
47470 2013-10-04  Alan Modra  <amodra@gmail.com>
47472         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
47473         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
47475 2013-10-04  Alan Modra  <amodra@gmail.com>
47477         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
47478         use vector int constants.
47479         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
47481 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47483         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
47484         array with long long.
47485         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
47486         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
47487         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
47488         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
47489         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
47490         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
47491         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
47492         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
47493         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
47494         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
47495         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
47496         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
47497         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
47499 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47501         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
47502         (__signbit): Likewise.  Correct for little-endian.
47503         (__signbitl): Call __signbit.
47504         (lrint): Correct for little-endian.
47505         (lrintf): Call lrint.
47507 2013-10-04  Alan Modra  <amodra@gmail.com>
47509         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
47510         union 32-bit int array member with 64-bit int array.
47511         (t515, tm256): Double rather than long double.
47512         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
47514 2013-10-04  Alan Modra  <amodra@gmail.com>
47516         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
47517         Delete.
47518         (IEEE854_LONG_DOUBLE_BIAS): Delete.
47519         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
47520         version of math_ldbl.h.
47522 2013-10-04  Alan Modra  <amodra@gmail.com>
47524         [BZ #15734], [BZ #15735]
47525         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
47526         all uses of ieee875 long double macros and unions.  Simplify test
47527         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
47528         ldbl_extract_mantissa value for ix,iy exponents.  Properly
47529         normalize after ldbl_extract_mantissa, and don't add hidden bit
47530         already handled.  Don't treat low word of ieee854 mantissa like
47531         low word of IBM long double and mask off bit when testing for
47532         zero.
47533         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
47534         all uses of ieee875 long double macros and unions.  Simplify tests
47535         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
47536         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
47537         two1022, instead use their values.  Recognise that tests for large
47538         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
47539         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
47540         Rewrite all uses of ieee875 long double macros and unions.  Simplify
47541         test for 0.0L and nan.  Correct negation.
47542         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
47543         ieee875 long double macros and unions.  Correct output for large
47544         magnitude x.  Correct absolute value calculation.
47545         (__erfcl): Likewise.
47546         * math/libm-test.inc: Add tests for errors discovered in IBM long
47547         double versions of fmodl, remainderl, erfl and erfcl.
47549 2013-10-04  Alan Modra  <amodra@gmail.com>
47551         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
47552         all uses of ieee854 long double macros and unions.  Simplify tests
47553         for long doubles that are fully specified by the high double.
47554         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
47555         Likewise.
47556         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
47557         Remove dead code too.
47558         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
47559         (__ieee754_ynl): Likewise.
47560         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
47561         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
47562         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
47563         Remove dead code too.
47564         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
47565         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
47566         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
47567         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
47568         Simplify.
47569         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
47570         Simplify.
47571         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
47572         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
47573         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
47574         Comment on variable precision.
47575         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
47576         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47577         Likewise.
47578         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
47579         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47580         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47581         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
47582         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
47584 2013-10-04  Alan Modra  <amodra@gmail.com>
47586         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
47587         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
47588         all uses of ieee854 long double macros and unions.
47589         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
47590         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47591         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
47592         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
47593         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
47594         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47595         Likewise.
47596         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
47597         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47598         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
47599         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47600         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
47601         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
47602         Simplify sign and nan test too.
47603         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
47604         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
47605         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
47606         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
47607         Likewise.
47608         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47609         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
47610         Likewise.
47611         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47612         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
47613         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
47614         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
47615         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
47616         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
47618 2013-10-04  Alan Modra  <amodra@gmail.com>
47620         * stdio-common/printf_size.c (__printf_size): Don't use
47621         union ieee854_long_double in fpnum union.
47622         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
47623         signbit macro to retrieve sign from long double.
47624         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
47625         retrieve sign from long double.
47626         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
47627         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
47628         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
47629         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47630         * math/test-misc.c (main): Don't use union ieee854_long_double.
47632 2013-10-04  Alan Modra  <amodra@gmail.com>
47634         [BZ #15680]
47635         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
47636         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
47637         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
47638         calculation.  Remove unnecessary test for denormal exponent.
47639         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
47640         Correct handling of denormals.  Avoid undefined shift behaviour.
47641         Correct normalisation of low mantissa when low double is denormal.
47642         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
47643         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
47644         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
47645         Correct normalisation of low mantissa.  Test for overflow of high
47646         mantissa and normalise.
47647         (ldbl_nearbyint): Use more readable constant for two52.
47648         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
47649         (__mpn_construct_long_double): Fix test for overflow of high
47650         mantissa and correct normalisation.  Avoid undefined shift.
47652 2013-10-04  Alan Modra  <amodra@gmail.com>
47654         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47655         (union ibm_extended_long_double): Define as an array of ieee754_double.
47656         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
47657         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
47658         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
47659         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47660         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47661         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
47662         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47663         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47664         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47665         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
47666         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47668 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
47670         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
47671         page size instead of calling getpagesize.
47673         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
47674         (LOCFILE_ALIGN_MASK): Likewise.
47675         (LOCFILE_ALIGN_UP): Likewise.
47676         (LOCFILE_ALIGNED_P): Likewise.
47677         * locale/programs/ld-collate.c (collate_output): Use the new
47678         macros instead of __alignof__ (int32_t).
47679         * locale/weight.h (findidx): Likewise.
47681 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
47683         [BZ #431]
47684         * manual/string.texi: Fix strncat and wcsncat.
47686 2013-10-03  Brooks Moses  <bmoses@google.com>
47688         [BZ #15915]
47689         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
47690         * Makerules: ...here, and adjust associated comments.
47692 2013-10-02  Will Newton  <will.newton@linaro.org>
47694         * malloc/Makefile: Add tst-pvalloc.
47695         * malloc/tst-pvalloc.c: New file.
47697 2013-10-02  Will Newton  <will.newton@linaro.org>
47699         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
47700         improve test coverage.
47702 2013-10-02  Will Newton  <will.newton@linaro.org>
47704         * malloc/Makefile: Add tst-posix_memalign.
47705         * malloc/tst-posix_memalign.c: New file.
47707 2013-10-01  Eric Blake  <eblake@redhat.com>
47709         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
47710         Use __THROWNL rather than __THROW on static functions.
47712 2013-09-30  Petr Machata  <pmachata@redhat.com>
47714         * elf/elf.h (R_AARCH64_ABS16): New macro.
47715         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
47716         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
47717         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
47718         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
47719         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
47720         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
47721         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
47722         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
47723         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
47724         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
47725         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
47726         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
47727         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
47728         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
47729         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
47730         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
47731         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
47732         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
47733         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
47734         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
47735         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
47736         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
47737         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
47738         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
47739         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
47740         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
47741         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
47742         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
47743         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
47744         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
47745         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
47746         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
47747         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
47748         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
47749         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
47750         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
47751         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
47752         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
47753         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
47754         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
47755         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
47756         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
47757         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
47758         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
47759         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
47760         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
47761         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
47762         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
47763         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
47764         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
47765         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
47766         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
47767         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
47768         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
47769         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
47770         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
47771         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
47772         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
47773         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
47774         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
47775         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
47776         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
47777         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
47778         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
47779         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
47780         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
47781         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
47782         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
47783         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
47784         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
47785         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
47786         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
47787         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
47788         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
47789         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
47790         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
47791         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
47792         (R_AARCH64_TLSDESC_LDR): Likewise.
47793         (R_AARCH64_TLSDESC_ADD): Likewise.
47794         (R_AARCH64_TLSDESC_CALL): Likewise.
47796 2013-09-30  Andreas Schwab  <schwab@suse.de>
47798         [BZ #15048]
47799         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
47800         the nss database lookup.
47801         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47802         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47804 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
47806         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
47808 2013-09-28  P. J. McDermott  <pj@pehjota.net>
47810         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
47811         ${Bash-specific parameter/pattern/string} parameter expansion.
47812         * sysdeps/unix/make-syscalls.sh: Likewise.
47814 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47816         * sysdeps/sh/stackguard-macros.h: New file.
47818 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
47820         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47821         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
47822         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
47823         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
47824         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47825         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
47827 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47829         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
47830         Fix thread ID register.
47832 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
47834         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
47835         [POSIX || UNIX98]: Require rather than permitting all symbols from
47836         <time.h>.
47837         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
47838         element of struct sched_param.
47839         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
47840         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
47841         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
47842         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
47843         constant.
47845 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
47847         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
47848         argument calculation.
47850 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47852         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
47853         Expect macro.
47854         [POSIX] (pthread_attr_t): Do not require type.
47855         [POSIX] (pthread_cond_t): Likewise.
47856         [POSIX] (pthread_condattr_t): Likewise.
47857         [POSIX] (pthread_key_t): Likewise.
47858         [POSIX] (pthread_mutex_t): Likewise.
47859         [POSIX] (pthread_mutexattr_t): Likewise.
47860         [POSIX] (pthread_once_t): Likewise.
47861         [POSIX] (pthread_t): Likewise.
47862         [POSIX-based standards] (pthread_atfork): Expect function.
47864 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47865             Richard Sandiford  <richard@codesourcery.com>
47867         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
47868         (swap_endianness_p): New extern variable.
47869         (set_big_endian): New inline function.
47870         (maybe_swap_uint32): Likewise.
47871         (maybe_swap_uint32_array): Likewise.
47872         (maybe_swap_uint32_obstack): Likewise.
47873         * locale/programs/locfile.c: Include <stdbool.h>.
47874         (swap_endianness_p): New variable.
47875         (add_locale_uint32): Call maybe_swap_uint32.
47876         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
47877         (write_locale_data): Call maybe_swap_uint32_array.
47878         * locale/programs/ld-collate.c (obstack_int32_grow): Call
47879         maybe_swap_uint32.
47880         (obstack_int32_grow_fast): Likewise.
47881         (output_weightwc): Call maybe_swap_uint32_obstack.
47882         (collate_output): Likewise.
47883         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
47884         (OPT_LITTLE_ENDIAN): Likewise.
47885         (options): Add --little-endian and --big-endian options.
47886         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
47887         * locale/programs/locarchive.c: Include "locfile.h".
47888         (GET): New macro.
47889         (SET): Likewise.
47890         (INC): Likewise.
47891         (create_archive): Use the new macros to access fields of
47892         structures directly mapped from or written to locale archives.
47893         (oldlocrecentcmp): Likewise.
47894         (enlarge_archive): Likewise.
47895         (insert_name): Likewise.
47896         (add_alias): Likewise.
47897         (add_locale): Likewise.
47898         (delete_locales_from_archive): Likewise.
47899         (show_archive_content): Likewise.
47900         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
47901         locale data.
47903 2013-09-24  Roland McGrath  <roland@hack.frob.com>
47905         * manual/freemanuals.texi: Updated from (newly) canonical copy at
47906         http://www.gnu.org/doc/freemanuals.texi.
47907         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
47909 2013-09-24  Will Newton  <will.newton@linaro.org>
47911         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
47912         macro.
47914 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
47916         * locale/hashval.h (compute_hashval): Interpret bytes of key as
47917         unsigned char.
47919 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
47921         * manual/threads.texi (POSIX Threads): Fix a typo.
47923 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47925         [BZ #14547]
47926         * string/tst-strcoll-overflow.c: New test case.
47927         * string/Makefile (xtests): Add tst-strcoll-overflow.
47928         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
47929         cache if string sizes may cause integer overflow.
47931         [BZ #14547]
47932         * string/strcoll_l.c (coll_seq): New members rule, idx,
47933         save_idx and back_us.
47934         (get_next_seq_nocache): New function.
47935         (do_compare_nocache): New function.
47936         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
47937         when malloc fails.
47939 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
47941         [BZ #15754]
47942         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
47943         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
47944         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
47946         [BZ #15754]
47947         * elf/Makefile (tests): Add tst-ptrguard1.
47948         (tests-static): Add tst-ptrguard1-static.
47949         (tst-ptrguard1-ARGS): Define.
47950         (tst-ptrguard1-static-ARGS): Define.
47951         * elf/tst-ptrguard1.c: New file.
47952         * elf/tst-ptrguard1-static.c: New file.
47953         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
47954         * sysdeps/i386/stackguard-macros.h: Likewise.
47955         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47956         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47957         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47958         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47959         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47960         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47962 2013-09-23  Hector Marco  <hecmargi@upv.es>
47963             Ismael Ripoll  <iripoll@disca.upv.es>
47964             Carlos O'Donell  <carlos@redhat.com>
47966         [BZ #15754]
47967         * sysdeps/generic/stackguard-macros.h: Define
47968         __pointer_chk_guard_local and POINTER_CHK_GUARD.
47969         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
47970         Define __pointer_chk_guard_local.
47971         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
47972         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
47974 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
47976         [BZ #15859]
47977         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
47979 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
47981         * include/string.h (__ffs): Declare as hidden.
47982         * string/ffs.c (__ffs): Define as hidden.
47983         * sysdeps/i386/ffs.c (__ffs): Likewise.
47984         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
47985         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
47986         * sysdeps/s390/ffs.c (__ffs): Likewise.
47987         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
47989 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
47991         * NEWS: Mention malloc probes.
47993         * malloc/arena.c (new_heap): New memory_heap_new probe.
47994         (grow_heap): New memory_heap_more probe.
47995         (shrink_heap): New memory_heap_less probe.
47996         (heap_trim): New memory_heap_free probe.
47997         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
47998         (systrim): New memory_sbrk_less probe.
47999         * manual/probes.texi: Document them.
48001         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
48002         * manual/probes.texi: Document it.
48004         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
48005         (__libc_realloc): Add memory_realloc_retry probe.
48006         (__libc_memalign): Add memory_memalign_retry probe.
48007         (__libc_valloc): Add memory_valloc_retry probe.
48008         (__libc_pvalloc): Add memory_pvalloc_retry probe.
48009         (__libc_calloc): Add memory_calloc_retry probe.
48010         * manual/probes.texi: Document them.
48012         * malloc/arena.c (get_free_list): Add probe
48013         memory_arena_reuse_free_list.
48014         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
48015         and memory_arena_reuse.
48016         (arena_get2) [!PER_THREAD]: Likewise.
48017         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
48018         memory_arena_reuse_realloc.
48019         * manual/probes.texi: Document them.
48021         * malloc/malloc.c (__libc_free): Add
48022         memory_mallopt_free_dyn_thresholds probe.
48023         (__libc_mallopt): Add multiple memory_mallopt probes.
48024         * manual/probes.texi: Document them.
48026         * malloc/malloc.c: Include stap-probe.h.
48027         (__libc_mallopt): Add memory_mallopt probe.
48028         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
48029         * manual/probes.texi: New.
48030         * manual/Makefile (chapters): Add probes.
48031         * manual/threads.texi: Set next node.
48033 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
48035         [BZ #15963, #13985]
48036         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
48037         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
48038         Add `Chinese' to `nan' entry name.
48040 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48042         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
48043         (POLYNOMIAL): Likewise.
48044         (TAYLOR_SINCOS): Likewise.
48045         (TAYLOR_SLOW): Likewise.
48046         (__sin): Use TAYLOR_SINCOS.
48047         (__cos): Likewise.
48048         (slow): Use TAYLOR_SLOW.
48049         (sloww): Likewise.
48050         (bsloww): Likewise.
48051         (csloww): Likewise.
48053 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48055         * stdlib/strtod_l.c: Fix buffer overrun.
48057 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48059         * benchtests/Makefile (bench): Add sincos.
48060         * benchtests/bench-sincos.c: New file.
48062         * math/libm-test.inc (cos_test_data): New test inputs.
48063         (sin_test_data): Likewise.
48065         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
48066         macro.
48067         (__sin): Use it.
48068         (__cos): Likewise.
48069         (slow1): Likewise.
48070         (slow2): Likewise.
48071         (sloww1): Likewise.
48072         (sloww2): Likewise.
48073         (bsloww1): Likewise.
48074         (bsloww2): Likewise.
48075         (cslow2): Likewise.
48076         (csloww1): Likewise.
48077         (csloww2): Likewise.
48079         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
48080         function.
48081         (__sin): Use it.
48082         (__cos): Likewise.
48084         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
48085         gotos.
48086         (__cos): Likewise.
48088 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
48090         * config.h.in (HAVE_MIPS_NAN2008): New macro.
48091         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
48092         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
48093         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
48094         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
48095         * elf/cache.c (print_entry): Handle the new cache flags.
48097 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48098             Aldy Hernandez  <aldyh@redhat.com>
48100         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
48101         Change condition to [_SOFT_FLOAT].
48102         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
48103         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
48104         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
48105         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
48106         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
48107         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
48108         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
48109         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
48110         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
48111         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
48112         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
48113         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
48114         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
48115         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
48116         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
48117         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
48118         declaration.
48120 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48122         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
48123         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48124         (__longjmp): Use LOAD_GP to load saved GPRs.
48125         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
48126         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48127         (__sigsetjmp): Use SAVE_GP to save GPRs.
48129         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
48130         Do not append -msoft-float.
48131         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
48133 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48135         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
48137 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
48139         [BZ #15966]
48140         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
48141         (_FPU_GETCW): Use initial "__" on variable and field names but not
48142         on macro parameter name.
48143         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
48144         parentheses around reference to macro parameter.
48146 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
48148         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
48149         prototype.
48150         (ctype_startup): Use uint32_t in cast and sizeof for
48151         ctype->charnames.
48153 2013-09-11  Jia Liu  <proljc@gmail.com>
48155         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
48156         __daddr_t_defined.
48157         [__FreeBSD__]: Likewise.
48159 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
48161         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
48162         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
48163         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
48164         (strchr): Remove __strchr_sse42 ifunc selection.
48165         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
48166         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
48168 2013-09-11  Will Newton  <will.newton@linaro.org>
48170         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
48171         parameter to RES. Remove hardcoded 1000 value.
48172         * benchtests/bench-skeleton.c (main): Pass RES parameter
48173         to TIMING_INIT and multiply result by 1000.
48175 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48179 2013-09-11  Andreas Schwab  <schwab@suse.de>
48181         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
48182         if not defined.
48183         (O_TMPFILE) [__USE_GNU]: Define.
48184         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
48185         Define.
48187 2013-09-11  Will Newton  <will.newton@linaro.org>
48189         [BZ #15857]
48190         * malloc/malloc.c (__libc_memalign): Check the value of bytes
48191         does not overflow.
48193 2013-09-11  Will Newton  <will.newton@linaro.org>
48195         [BZ #15856]
48196         * malloc/malloc.c (__libc_valloc): Check the value of bytes
48197         does not overflow.
48199 2013-09-11  Will Newton  <will.newton@linaro.org>
48201         [BZ #15855]
48202         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
48203         does not overflow.
48205 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
48207         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
48208         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48209         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48210         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48211         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48213 2013-09-10  Allan McRae  <allan@archlinux.org>
48215         [BZ #15748]
48216         * manual/arith.texi (Parsing of Floats): Clarify
48217         cross-reference.
48219         [BZ #15849]
48220         * manual/install.texi (Running make install): Mention
48221         --enable-pt-chown.
48222         * INSTALL: Regenerated.
48224 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
48226         * csu/init-first.c (_init): Remove the !SHARED condition around
48227         FPU control word initialization.
48228         * elf/dl-support.c (_dl_fpu_control): New variable.
48229         (_dl_aux_init) <AT_FPUCW>: Initialize it.
48230         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
48231         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
48232         * math/test-fpucw-static.c: New file.
48233         * math/test-fpucw-ieee.c: New file.
48234         * math/test-fpucw-ieee-static.c: New file.
48235         * math/Makefile (tests): Add `test-fpucw-ieee' and
48236         `$(tests-static)'.
48237         (tests-static): New variable.
48238         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
48239         dependency to...
48240         [($(build-shared),yes)]
48241         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48242         ... this.
48243         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
48244         New dependency.
48246 2013-09-09  Allan McRae  <allan@archlinux.org>
48248         [BZ #15939]
48249         * manual/string.texi (Collation Functions): Fix typo in
48250         strcoll example.
48251         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
48253         [BZ #15893]
48254         * stdlib/isomac.c (get_null_defines): Fix memory leak.
48256         [BZ #15892]
48257         * libio/memstream.c (open_memstream): Fix memory leak.
48258         * libio/wmemstream.c (open_wmemstream): Likewise.
48260         [BZ #15895]
48261         * nscd/netgroupcache.c: Fix nesting of ifdefs.
48263 2013-09-09  Will Newton  <will.newton@linaro.org>
48265         * malloc/Makefile: Add tst-realloc to tests.
48266         * malloc/tst-realloc.c: New file.
48268 2013-09-09  Allan McRae  <allan@archlinux.org>
48270         [BZ #15844]
48271         * COPYING: Update from GNU website to fix FSF address.
48272         * COPYING.LIB: Likewise.
48274 2013-09-06  David S. Miller  <davem@davemloft.net>
48276         * po/zh_TW.po: Update Chinese (traditional) translation from
48277         translation project.
48279 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
48280             Joseph Myers  <joseph@codesourcery.com>
48282         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
48283         "localeinfo.h".
48284         (obstack_chunk_alloc): New macro.
48285         (obstack_chunk_free): Likewise.
48286         (record_offset): New function.
48287         (init_locale_data): Likewise.
48288         (align_locale_data): Likewise.
48289         (add_locale_empty): Likewise.
48290         (add_locale_raw_data): Likewise.
48291         (add_locale_raw_obstack): Likewise.
48292         (add_locale_string): Likewise.
48293         (add_locale_wstring): Likewise.
48294         (add_locale_uint32): Likewise.
48295         (add_locale_uint32_array): Likewise.
48296         (add_locale_char): Likewise.
48297         (start_locale_structure): Likewise.
48298         (end_locale_structure): Likewise.
48299         (start_locale_prelude): Likewise.
48300         (end_locale_prelude): Likewise.
48301         (write_locale_data): Take locale_file structure rather than an
48302         iovec.
48303         * locale/programs/locfile.h: Include "obstack.h".
48304         (struct locale_file): Change to store locale file contents instead
48305         of header.
48306         (init_locale_data): New prototype.
48307         (align_locale_data): Likewise.
48308         (add_locale_empty): Likewise.
48309         (add_locale_raw_data): Likewise.
48310         (add_locale_raw_obstack): Likewise.
48311         (add_locale_string): Likewise.
48312         (add_locale_wstring): Likewise.
48313         (add_locale_uint32): Likewise.
48314         (add_locale_uint32_array): Likewise.
48315         (add_locale_char): Likewise.
48316         (start_locale_structure): Likewise.
48317         (end_locale_structure): Likewise.
48318         (start_locale_prelude): Likewise.
48319         (end_locale_prelude): Likewise.
48320         (write_locale_data): Update prototype.
48321         * locale/programs/3level.h (struct TABLE): Remove result field.
48322         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
48323         Use new locale_file interface.
48324         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
48325         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
48326         * locale/programs/ld-address.c (address_output): Use new
48327         locale_file interface.
48328         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
48329         NO_ADD_LOCALE.
48330         (collate_finish): Don't call collseq_table_finalize.
48331         (collate_output): Use new locale_file interface.
48332         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
48333         in file.
48334         (NO_FINALIZE): Change to NO_ADD_LOCALE.
48335         (TABLE): Move defines earlier in file.
48336         (ELEMENT): Likewise.
48337         (DEFAULT): Likewise.
48338         (wctrans_table_add): Move macro and inline function earlier in
48339         file.
48340         (struct wctype_table): Move type earlier in file.
48341         (add_locale_wctype_table): New static prototype.
48342         (struct locale_ctype_t): Use logical types instead of struct iovec
48343         pointers for members.
48344         (ctype_output): Use new locale_file interface.
48345         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
48346         new locale_file interface.
48347         (allocate_arrays): Update for use of new locale_file interface.
48348         * locale/programs/ld-identification.c (identification_output): Use
48349         new locale_file interface.
48350         * locale/programs/ld-measurement.c (measurement_output): Likewise.
48351         * locale/programs/ld-messages.c (messages_output): Likewise.
48352         * locale/programs/ld-monetary.c (monetary_output): Likewise.
48353         * locale/programs/ld-name.c (name_output): Likewise.
48354         * locale/programs/ld-numeric.c (numeric_output): Likewise.
48355         * locale/programs/ld-paper.c (paper_output): Likewise.
48356         * locale/programs/ld-telephone.c (telephone_output): Likewise.
48357         * locale/programs/ld-time.c (time_output): Likewise.
48359 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48361         * benchtests/Makefile: Add memrchr benchmark.
48362         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
48363         benchmark as memrchr.
48364         * benchtests/bench-memrchr-ifunc.c: New file.
48365         * benchtests/bench-memrchr.c: New file.
48367 2013-09-06   Will Newton  <will.newton@linaro.org>
48369         * benchtests/Makefile (string-bench): Add memcpy.
48371 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
48372             Cong Wang  <amwang@redhat.com>
48374         [BZ #15850]
48375         * sysdeps/unix/sysv/linux/bits/in.h
48376         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
48377         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
48378         before __USE_KERNEL_IPV6_DEFS uses.
48379         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
48380         IPPROTO_BEETPH.
48381         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
48382         sockaddr_in6, or ipv6_mreq.
48384 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48386         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
48387         memory access for final bytes in some large inputs.
48388         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
48390 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48392         * string/test-memrchr.c: New file.
48393         * string/test-memrchr-ifunc.c: New file.
48394         * string/Makefile: Add new memrchr testcase.
48396 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
48398         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
48399         fanotify_init returns EPERM.
48401 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48403         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
48404         errors.
48405         (top level): Treat second token from macro or constant entries for
48406         allowed headers as allowed.
48407         * include/complex.h: Condition internal declarations on
48408         [!_ISOMAC].
48409         * include/fenv.h: Condition include of <stdbool.h> and internal
48410         declarations on [!_ISOMAC].
48412 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
48414         [BZ #15923]
48415         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
48417 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48419         * configure.in (--enable-versioning): Remove configure option.
48420         (libc_cv_asm_symver_directive): Remove configure test.
48421         (libc_cv_ld_version_script_option): Likewise.
48422         (VERSIONING): Remove variable and AC_SUBST.
48423         (DO_VERSIONING): Remove AC_DEFINE.
48424         * configure: Regenerated.
48425         * config.h.in (DO_VERSIONING): Remove macro.
48426         * Makerules [$(versioning) = yes]: Change conditionals to
48427         [$(build-shared) = yes].
48428         * config.make.in (versioning): Remove variable.
48429         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
48430         [$(build-shared) = yes].
48431         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
48432         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
48433         * elf/Makefile [$(versioning) = yes]: Change conditionals to
48434         [$(build-shared) = yes].
48435         * extra-lib.mk [$(versioning) = yes]: Likewise.
48436         * hurd/Makefile [$(versioning) = yes]: Likewise.
48437         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
48438         [SHARED].
48439         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
48440         [SHARED].
48441         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48442         [SHARED && !NO_HIDDEN].
48443         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
48444         [SHARED].
48445         [SHARED && DO_VERSIONING]: Likewise..
48446         * libio/Makefile [$(versioning) = yes]: Change conditionals to
48447         [$(build-shared) = yes].
48448         * manual/install.texi (--disable-versioning): Remove
48449         documentation.
48450         * INSTALL: Regenerated.
48451         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
48452         to [SHARED].
48453         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
48454         [$(build-shared) = yes].
48455         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
48456         * sysdeps/i386/i686/multiarch/strstr-c.c
48457         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48458         [SHARED && !NO_HIDDEN].
48459         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
48460         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
48461         * sysdeps/powerpc/powerpc32/dl-machine.c
48462         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
48463         * sysdeps/powerpc/powerpc32/sysdep.h
48464         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
48465         to [SHARED && PIC && !NO_HIDDEN].
48466         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
48467         conditional to [SHARED].
48469 2013-09-04   Will Newton  <will.newton@linaro.org>
48471         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
48472         * benchtests/bench-string.h: Include bench-timing.h instead
48473         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
48474         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
48475         call to HP_TIMING_DIFF_INIT.
48476         * benchtests/bench-memccpy.c: Use bench-timing.h macros
48477         instead of hp-timing.h macros.
48478         * benchtests/bench-memchr.c: Likewise.
48479         * benchtests/bench-memcmp.c: Likewise.
48480         * benchtests/bench-memcpy.c: Likewise.
48481         * benchtests/bench-memmem.c: Likewise.
48482         * benchtests/bench-memmove.c: Likewise.
48483         * benchtests/bench-memset.c: Likewise.
48484         * benchtests/bench-rawmemchr.c: Likewise.
48485         * benchtests/bench-strcasecmp.c: Likewise.
48486         * benchtests/bench-strcasestr.c: Likewise.
48487         * benchtests/bench-strcat.c: Likewise.
48488         * benchtests/bench-strchr.c: Likewise.
48489         * benchtests/bench-strcmp.c: Likewise.
48490         * benchtests/bench-strcpy.c: Likewise.
48491         * benchtests/bench-strcpy_chk.c: Likewise.
48492         * benchtests/bench-strlen.c: Likewise.
48493         * benchtests/bench-strncasecmp.c: Likewise.
48494         * benchtests/bench-strncat.c: Likewise.
48495         * benchtests/bench-strncmp.c: Likewise.
48496         * benchtests/bench-strncpy.c: Likewise.
48497         * benchtests/bench-strnlen.c: Likewise.
48498         * benchtests/bench-strpbrk.c: Likewise.
48499         * benchtests/bench-strrchr.c: Likewise.
48500         * benchtests/bench-strspn.c: Likewise.
48501         * benchtests/bench-strstr.c: Likewise.
48503 2013-09-04  Will Newton  <will.newton@linaro.org>
48505         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
48507 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
48509         [BZ #15427]
48510         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
48511         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
48512         * math/libm-test.inc (lgamma_test_data): Add more tests.
48513         * sysdeps/i386/fpu/libm-test-ulps: Update.
48514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48516 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
48518         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
48519         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48520         Add ifunc.
48521         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48522         Add strcmp-sse2-unaligned
48523         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
48525 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48527         * Versions.def (libc): Add GLIBC_2.19.
48529 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48531         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
48532         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
48534 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
48536         [BZ #14155]
48537         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
48538         intermediate calculations in recurrence.
48539         (__ieee754_ynf): Likewise.
48540         * math/libm-test.inc (jn_test_data): Do not allow spurious
48541         underflow exception.  Add more tests.
48542         (yn_test_data): Add more tests.
48543         * sysdeps/i386/fpu/libm-test-ulps: Update.
48544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48546 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
48548         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
48550 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48552         * csu/init-first.c: Fix then/than typos.
48553         * locale/programs/ld-collate.c: Likewise.
48554         * locale/programs/linereader.h: Likewise.
48555         * manual/charset.texi: Likewise.
48556         * manual/filesys.texi: Likewise.
48557         * manual/stdio.texi: Likewise.
48558         * manual/string.texi: Likewise.
48559         * stdlib/fmtmsg.c: Likewise.
48560         * sysdeps/i386/stpncpy.S: Likewise.
48561         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48562         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48563         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48564         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48566 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48568         * elf/dl-open.c: Fix typos.
48569         * iconvdata/gbbig5.c: Likewise.
48570         * iconvdata/iso-2022-jp.c: Likewise.
48571         * iconv/gconv_int.h: Likewise.
48572         * iconv/loop.c: Likewise.
48573         * nis/rpcsvc/nis.h: Likewise.
48574         * resolv/ns_name.c: Likewise.
48575         * stdio-common/vfscanf.c: Likewise.
48576         * streams/stropts.h: Likewise.
48577         * sunrpc/rpc_thread.c: Likewise.
48578         * sysdeps/i386/strpbrk.S: Likewise.
48579         * sysdeps/ieee754/k_standard.c: Likewise.
48580         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48581         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48582         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
48583         * sysdeps/mach/hurd/profil.c: Likewise.
48584         * sysdeps/s390/dl-procinfo.h: Likewise.
48585         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
48586         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
48587         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
48588         * sysdeps/x86_64/dl-trampoline.S: Likewise.
48589         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48591 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
48593         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
48594         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
48596 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
48598         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
48599         aix specific files.
48600         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
48601         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
48602         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
48603         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
48604         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
48605         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
48606         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
48607         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
48609 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48610             Roland McGrath  <roland@hack.frob.com>
48612         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
48613         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
48615 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48617         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
48618         __executable_start symbol instead of _start.
48620 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48622         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
48623         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
48624         Move macros to...
48625         * sysdeps/gnu/ldsodefs.h: ... this new file.
48627         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
48628         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
48629         instead of ELFOSABI_LINUX.
48631         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
48632         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
48633         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
48634         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
48635         Likewise.
48636         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
48637         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
48638         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
48639         Likewise.
48640         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48641         (ibm_extended_long_double): Add ieee_nan member.
48642         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
48643         (do_test): New function.
48645         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
48646         TEST_TRUNC.
48647         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
48648         functions, renamed from truncdfsf_test, trunctfsf_test,
48649         trunctfdf_test.
48650         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
48651         functions.
48652         (do_test): Run all these.
48654 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
48656         * argp/argp-help.c: Fix typos.
48657         * argp/argp-parse.c: Likewise.
48658         * debug/backtracesyms.c: Likewise.
48659         * elf/elf.h: Likewise.
48660         * malloc/malloc.c: Likewise.
48661         * nis/nis_print.c: Likewise.
48662         * resolv/res_comp.c: Likewise.
48663         * stdlib/stdlib.h: Likewise.
48664         * sunrpc/clnt_tcp.c: Likewise.
48665         * sunrpc/clnt_udp.c: Likewise.
48666         * sunrpc/clnt_unix.c: Likewise.
48667         * sysdeps/unix/bsd/ptsname.c: Likewise.
48668         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48669         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
48670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
48671         Likewise.
48672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
48673         Likewise.
48674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
48675         Likewise.
48676         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48678 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48680         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
48681         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48683 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
48685         [BZ #15897]
48686         * dlfcn/Makefile (tests): Add bug-dl-leaf.
48687         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
48688         ($(objpfx)bug-dl-leaf): New rule.
48689         ($(objpfx)bug-dl-leaf.so): Likewise.
48690         ($(objpfx)bug-dl-leaf.out): Likewise.
48691         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
48692         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
48693         * dlfcn/bug-dl-leaf.c: New test.
48694         * dlfcn/bug-dl-leaf-lib.c: Likewise.
48695         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
48696         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
48697         (dlclose): Likewise.
48698         (dlmopen): Likewise.
48700 2013-08-27  Roland McGrath  <roland@hack.frob.com>
48702         * include/netdb.h [!_ISOMAC]:
48703         Don't include <tls.h>.
48704         (h_errno, __libc_h_errno): Move declaration and macros out of
48705         [_LIBC_REENTRANT].
48707         * include/resolv.h [_RESOLV_H_]:
48708         Don't include <tls.h>.
48709         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
48710         * resolv/res_libc.c: Don't include <tls.h>.
48711         (_res): Use __attribute__ ((nocommon)) in place of
48712         __attribute__ ((section (".bss"))).
48714         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
48715         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
48717         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
48719         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
48720         only under [SIOCGIFCONF && SIOCGIFNETMASK].
48722         * resolv/res_mkquery.c: Include <sys/time.h>.
48724         * inet/ifreq.c: Moved to ...
48725         * sysdeps/unix/ifreq.c: ... here.
48726         * inet/ifreq.c: New file, true stub version.
48728         * socket/sa_len.c: New file.
48729         * socket/Makefile (aux): Add it.
48730         * sysdeps/unix/sysv/linux/Makefile
48731         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
48732         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
48733         and #include <socket/sa_len.c>.
48734         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
48735         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
48737         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
48738         * bits/socket.h: ... here.
48740         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
48741         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
48742         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
48744 2013-08-27  Andreas Schwab  <schwab@suse.de>
48746         [BZ #15736]
48747         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
48748         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
48749         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
48750         * string/test-strcasecmp.c (test_main): Run tests in several
48751         locales.
48752         * string/test-strncasecmp.c (test_main): Likewise.
48754         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
48755         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
48756         to __strcasecmp_nonascii and __strncasecmp_nonascii.
48757         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
48758         (__strncasecmp_ssse3) [PIC]: Likewise.
48760 2013-08-26  Roland McGrath  <roland@hack.frob.com>
48762         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
48764         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
48765         instead of explicitly declaring xdecrypt.
48766         * nis/nss_nis/nis-publickey.c: Likewise.
48768 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48770         [BZ #15890]
48771         * nscd/aicache.c: Include res_hconf.h.
48772         (addhstaiX): Initialize res_hconf.
48774 2013-08-26  Andreas Schwab  <schwab@suse.de>
48776         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
48777         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
48779 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48781         * nscd/aicache.c (addhstaiX): Fix indentation.
48783 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
48785         * configure.ac: Quote $build_pt_chown test.
48786         * configure: Regenerated.
48788 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
48790         [BZ #15532]
48791         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
48792         * math/s_cexpf.c (__cexpf): Likewise.
48793         * math/s_cexpl.c (__cexpl): Likewise.
48794         * math/libm-test.inc (cexp_test_data): Correct expected return
48795         value for NaN + i0.  Add another test.
48797 2013-08-22  David S. Miller  <davem@davemloft.net>
48799         * po/ca.po: Update Catalan translation from translation project.
48800         * po/uk.po: Add Ukrainian translations from translation project.
48802 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
48804         [BZ #15797]
48805         * math/s_fdim.c (__fdim): Check for infinite arguments if result
48806         is infinite, not alongside NaN test.
48807         * math/s_fdimf.c (__fdimf): Likewise.
48808         * math/s_fdiml.c (__fdiml): Likewise.
48809         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
48810         errno is unchanged.
48812 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
48814         * argp/argp-help.c: Fix typos.
48815         * crypt/speeds.c: Likewise.
48816         * csu/check_fds.c: Likewise.
48817         * elf/dl-load.c: Likewise.
48818         * elf/dl-open.c: Likewise.
48819         * elf/reldep3.c: Likewise.
48820         * elf/reldep.c: Likewise.
48821         * elf/sprof.c: Likewise.
48822         * iconv/iconv_charmap.c: Likewise.
48823         * iconv/skeleton.c: Likewise.
48824         * iconv/strtab.c: Likewise.
48825         * io/lockf64.c: Likewise.
48826         * libio/libioP.h: Likewise.
48827         * resolv/gai_notify.c: Likewise.
48828         * resolv/ns_name.c: Likewise.
48829         * resolv/ns_samedomain.c: Likewise.
48830         * resolv/res_send.c: Likewise.
48831         * stdlib/random.c: Likewise.
48832         * sunrpc/rpc/xdr.h: Likewise.
48833         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
48834         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48835         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48836         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48837         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48838         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48839         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48840         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48841         * sysdeps/mach/hurd/check_fds.c: Likewise.
48842         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48843         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48844         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48845         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48846         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48847         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48848         * sysdeps/pthread/aio_notify.c: Likewise.
48849         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
48850         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
48851         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
48852         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48853         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48855 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48857         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
48858         version if bit_Slow_SSE4_2 is set.
48859         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48860         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48862 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48864         [BZ #15867]
48865         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
48866         trampoline stack frame information.
48867         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
48868         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
48869         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
48870         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
48871         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
48872         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48873         (_libc_vdso_platform_setup): Initialize the signal trampolines.
48874         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
48875         sa_flags value.
48876         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
48877         interrupting a syscall and set with option SA_SIGINFO.
48879 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48881         [BZ #15531]
48882         * math/s_cproj.c (__cproj): Only return an infinity if one part of
48883         argument is infinite.
48884         * math/s_cprojf.c (__cprojf): Likewise.
48885         * math/s_cprojl.c (__cprojl): Likewise.
48886         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
48887         * math/libm-test.inc (cproj_test_data): Add more tests.
48889         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
48891         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
48892         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
48893         size.  Use __ffs to determine corresponding shift.
48895 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48896             Roland McGrath  <roland@hack.frob.com>
48898         * Makefile (INSTALL): Remove trailing blank lines from output of
48899         makeinfo.
48901 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48903         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
48904         Align 32 bit compat elf_greg to 8 bytes.
48906 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
48908         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
48910 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48912         * string/strcoll_l.c (coll_seq): New structure.
48913         (get_next_seq_cached): New function.
48914         (get_next_seq): New function.
48915         (do_compare): New function.
48916         (STRCOLL): Use GNU style definition.  Simplify implementation
48917         by using get_next_seq, get_next_seq_cached and do_compare.
48919 2013-08-16  Florian Weimer  <fweimer@redhat.com>
48921         [BZ #14699]
48922         CVE-2013-4237
48923         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
48924         member.
48925         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
48926         member.
48927         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
48928         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
48929         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
48930         conditional.
48931         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
48932         GETDENTS_64BIT_ALIGNED.
48933         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48934         * manual/filesys.texi (Reading/Closing Directory): Document
48935         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
48936         strongly.
48937         * manual/conf.texi (Limits for Files): Add portability note to
48938         NAME_MAX, PATH_MAX.
48939         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
48941 2013-08-13  Andreas Schwab  <schwab@suse.de>
48943         [BZ #15749]
48944         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
48945         of fabs.
48946         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
48947         LDBL_MAX_EXP >= 16384]: Add tests for it.
48949 2013-08-12  David S. Miller  <davem@davemloft.net>
48951         * version.h (RELEASE): Set to "development".
48952         (VERSION): Set to "2.18.90".
48953         * NEWS: Add 2.19 section.
48955 2013-08-03  David S. Miller  <davem@davemloft.net>
48957         * po/ko.po: Update Korean translation from translation project.
48959 2013-08-01  David S. Miller  <davem@davemloft.net>
48961         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
48962         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
48963         Bilka.
48965 2013-07-30  David S. Miller  <davem@davemloft.net>
48967         * po/fr.po: Update French translation from translation project.
48969 2013-07-28  David S. Miller  <davem@davemloft.net>
48971         * po/cs.po: Update Czech translation from translation project.
48973         * po/sv.po: Update Swedish translation from translation project.
48975 2013-07-27  David S. Miller  <davem@davemloft.net>
48977         * po/eo.po: Update Esperanto translation from translation project.
48979         * po/vi.po: Update Vietnamese translation from translation project.
48981         * po/de.po: Update German translation from translation project.
48983 2013-07-26  David S. Miller  <davem@davemloft.net>
48985         * po/bg.po: Update Bulgarian translation from translation project.
48987         * po/nl.po: Update Dutch translation from translation project.
48988         * po/pl.po: Update Polish translation from translation project.
48989         * po/ru.po: Update Russian translation from translation project.
48991 2013-07-24  David S. Miller  <davem@davemloft.net>
48993         * po/libc.pot: Update.
48995 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48997         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
48998         variable page size.
48999         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
49000         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
49001         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
49003 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49005         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
49007 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49008             Andreas Schwab  <schwab@suse.de>
49009             Roland McGrath  <roland@hack.frob.com>
49010             Joseph Myers  <joseph@codesourcery.com>
49011             Carlos O'Donell  <carlos@redhat.com>
49013         [BZ #15755]
49014         * config.h.in: Define HAVE_PT_CHOWN.
49015         * config.make.in (build-pt-chown): New variable.
49016         * configure.in (--enable-pt_chown): New configure option.
49017         * configure: Regenerate.
49018         * login/Makefile: Include Makeconfig.  Build pt_chown only if
49019         build-pt-chown is enabled.
49020         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
49021         pt_chown to fix pty ownership.
49022         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
49023         CLOSE_ALL_FDS.
49024         * manual/install.texi (Configuring and compiling): Mention
49025         --enable-pt_chown. Add @findex for grantpt.
49026         * INSTALL: Regenerate.
49028 2013-07-20  David S. Miller  <davem@davemloft.net>
49030         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
49031         difference between 32-bit and 64-bit.
49033 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
49035         [BZ #15711]
49036         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
49037         Avoid system header dependency with -ffreestanding.
49038         ($(objpfx)bits/syscall%d): Likewise.
49040 2013-07-13  David S. Miller  <davem@davemloft.net>
49042         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
49043         underflows from atanl/atan2l due to bug 15319.
49044         (casinh_test_data): Likewise.
49046 2013-07-07  David S. Miller  <davem@davemloft.net>
49048         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
49050 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
49052         * sysdeps/i386/fpu/libm-test-ulps: Update.
49053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49055 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49057         * configure.in (--enable-lock-elision): Fix message text.
49058         * INSTALL: Regenerate.
49059         * configure: Regenerate.
49061 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49065 2013-07-03  Andreas Jaeger  <aj@suse.de>
49067         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
49068         define.
49069         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
49070         (ptrace_peeksiginfo_args): Add.
49071         (__ptrace_peeksiginfo_flags): Add.
49072         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49073         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49074         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49076 2013-07-03  Allan McRae  <allan@archlinux.org>
49078         * sysdeps/i386/fpu/libm-test-ulps: Update.
49080 2013-07-02  David S. Miller  <davem@davemloft.net>
49082         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49084 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
49086         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49088 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49090         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49093 2013-07-02  Andi Kleen <ak@linux.intel.com>
49095         * config.h.in (ENABLE_LOCK_ELISION): Add.
49096         * configure.in (--enable-lock-elision): Add option.
49097         * manual/install.texi: Document --enable lock elision.
49098         * configure: Regenerate
49099         * INSTALL: Regenerate.
49101 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
49103         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
49104         SSE4.2 strcasecmp for libc.a.
49105         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
49107 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49109         [BZ #13304]
49110         * soft-fp/op-common.h (_FP_FMA): New macro.
49111         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
49112         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
49113         (_FP_MUL_MEAT_1_imm): ... here.
49114         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
49115         (_FP_MUL_MEAT_1_wide): ... here.
49116         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
49117         (_FP_MUL_MEAT_1_hard): ... here.
49118         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
49119         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
49120         (_FP_MUL_MEAT_2_wide): ... here.
49121         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
49122         (_FP_MUL_MEAT_2_wide_3mul): ... here.
49123         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
49124         (_FP_MUL_MEAT_2_gmp): ... here.
49125         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
49126         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
49127         (_FP_MUL_MEAT_4_wide): ... here.
49128         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
49129         (_FP_MUL_MEAT_4_gmp): ... here.
49130         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
49131         (_FP_WFRACBITS_DW_S): Likewise.
49132         (_FP_WFRACXBITS_DW_S): Likewise.
49133         (_FP_HIGHBIT_DW_S): Likewise.
49134         (FP_FMA_S): Likewise.
49135         (_FP_FRAC_HIGH_DW_S): Likewise.
49136         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
49137         (_FP_WFRACBITS_DW_D): Likewise.
49138         (_FP_WFRACXBITS_DW_D): Likewise.
49139         (_FP_HIGHBIT_DW_D): Likewise.
49140         (FP_FMA_D): Likewise.
49141         (_FP_FRAC_HIGH_DW_D): Likewise.
49142         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
49143         (_FP_WFRACBITS_DW_E): Likewise.
49144         (_FP_WFRACXBITS_DW_E): Likewise.
49145         (_FP_HIGHBIT_DW_E): Likewise.
49146         (FP_FMA_E): Likewise.
49147         (_FP_FRAC_HIGH_DW_E): Likewise.
49148         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
49149         (_FP_WFRACBITS_DW_Q): Likewise.
49150         (_FP_WFRACXBITS_DW_Q): Likewise.
49151         (_FP_HIGHBIT_DW_Q): Likewise.
49152         (FP_FMA_Q): Likewise.
49153         (_FP_FRAC_HIGH_DW_Q): Likewise.
49154         * soft-fp/fmasf4.c: New file.
49155         * soft-fp/fmadf4.c: Likewise.
49156         * soft-fp/fmatf4.c: Likewise.
49158 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49160         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49161         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
49162         Silvermont.
49163         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
49164         macro.
49165         (index_Slow_SSE4_2): Likewise.
49166         (index_Prefer_PMINUB_for_stringop): Likewise.
49167         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
49168         bit_Slow_SSE4_2 is set.
49169         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
49170         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49172 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49174         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
49175         rtld_global._dl_hwcap2.
49176         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
49177         POWER8.
49178         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
49179         POWER8 feature descriptions defined in _dl_hwcap2.
49180         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
49181         string handling for POWER8 feature bits.
49182         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
49183         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
49184         _dl_powerpc_cap_flags.
49185         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
49186         * sysdeps/powerpc/rtld-global-offsets.sym
49187         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
49188         _dl_hwcap2 in the rtld_global_ro structure.
49190 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49192         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
49193         hardware capabilities in support of AT_HWCAP2.
49194         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
49195         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
49196         GLRO(dl_hwcap2).
49197         (_dl_show_auxv): Add support for calling _dl_procinfo to display
49198         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
49199         explicitly the unknown a_type display mechanism is used.
49200         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
49201         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
49202         struct member.
49203         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
49204         to macro prototype for AT_HWCAP2 support.
49205         * sysdeps/i386/dl-procinfo.h: Likewise.
49206         * sysdeps/s390/dl-procinfo.h: Likewise.
49207         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
49208         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
49209         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
49210         return -1 for unknown a_type display fallback.
49211         * sysdeps/sparc/dl-procinfo.h: Likewise.
49212         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
49213         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
49215 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
49217         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
49218         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
49220 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
49222         [BZ #12492]
49223         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
49224         mprotect making __stack_prot writable.
49226 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
49227             Joseph Myers  <joseph@codesourcery.com>
49229         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
49230         as being properly aligned.
49232 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
49234         * dlfcn/modstatic5.c: New file.
49235         * dlfcn/tststatic5.c: New file.
49236         * dlfcn/Makefile (tests): Add tststatic5.
49237         (tests-static): Likewise.
49238         (modules-names): Add modstatic5.
49239         (tststatic5-ENV): New variable.
49240         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
49242         [BZ #15022]
49243         * elf/dl-support.c (_dl_main_map): New variable.
49244         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
49245         (_dl_nns, _dl_load_adds): Set to 1.
49246         (_dl_initial_searchlist): Refer to _dl_main_map.
49247         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
49248         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
49249         call to _dl_get_origin.
49250         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
49251         around call_map.
49252         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
49253         * dlfcn/modstatic3.c: New file.
49254         * dlfcn/tststatic3.c: New file.
49255         * dlfcn/tststatic4.c: New file.
49256         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
49257         (tests-static): Likewise.
49258         (modules-names): Add modstatic3.
49259         (tststatic3-ENV, tststatic4-ENV): New variables.
49260         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
49261         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
49263 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
49265         * configure.in (CC): Require GCC version 4.4 or later.
49266         * configure: Regenerated.
49267         * manual/install.texi (Tools for Compilation): Update GCC version
49268         requirement.
49269         * INSTALL: Regenerated.
49271 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49273         [BZ #15674]
49274         * string/test-memcmp.c (check2): New.
49275         (main): Call check2.
49277         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
49279 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
49281         [BZ #15022]
49282         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
49283         over to...
49284         (dl_open_worker) [!SHARED]: ... here.
49286 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49288         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
49290 2013-06-25  Richard Henderson  <rth@redhat.com>
49292         * locale/programs/locarchive.c: Include <libc-internal.h>
49294 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
49296         * manual/texinfo.tex: Update to version 2013-06-21.17, with
49297         trailing whitespace removed.
49299 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49301         [BZ #10283]
49302         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
49303         * locale/programs/locarchive.c: Include libc-mmap.h.
49304         (prepare_address_space): Take two new outputs (the mmap base and len).
49305         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
49306         values.
49307         (create_archive): Declare new mmap base and len values for
49308         prepare_address_space, and store the result in ah.
49309         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
49310         (enlarge_archive): If ah->mmap_base is not NULL, use that and
49311         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49312         Declare new mmap base and len values for
49313         prepare_address_space, and store the result in new_ah.
49314         (open_archive): Declare new mmap base and len values for
49315         prepare_address_space, and store the result in ah.
49316         (close_archive): If ah->mmap_base is not NULL, use that and
49317         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49318         * sysdeps/generic/libc-mmap.h: New file.
49320 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49322         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
49323         (ALIGN_UP): Likewise.
49324         (PTR_ALIGN_DOWN): Likewise.
49325         (PTR_ALIGN_UP): Likewise.
49327 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49329         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
49330         entry mapped to PPC_PLATFORM_POWER8.
49331         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
49332         POWER8.
49333         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
49334         (_dl_string_platform): Add case for exporting platform position for
49335         POWER8.
49336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
49337         search path to sysdeps/powerpc/powerpc32/power8 directory.
49338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
49339         search path to sysdeps/powerpc/powerpc64/power8 directory.
49340         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
49341         power7 directories.
49342         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
49343         power7 directories.
49345 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49347         * INSTALL: Regenerate.
49349         * nscd/connections.c (nscd_init): Fix comment.
49351 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
49353         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
49355         [BZ #15667]
49356         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
49357         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
49359 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49361         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
49362         DL_DST_REQ_STATIC.
49363         (DL_DST_REQ_STATIC): Remove macro.
49365 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
49367         [BZ #7006]
49368         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
49369         with a shift of 0 bits.
49371 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49373         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
49374         $(tststatic-ENV).
49376 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49378         [BZ #15655]
49379         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
49381 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49383         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
49384         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
49385         accepts -fno-tree-loop-distribute-patterns.
49386         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
49387         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
49388         recursive call.
49389         * string/memset.c (memset): Likewise.
49390         * string/test-memmove.c (simple_memmove): Disable loop transformation
49391         to library calls.
49392         * string/test-memset.c (simple_memset): Likewise.
49393         * benchtests/bench-memmove.c (simple_memmove): Likewise.
49394         * benchtests/bench-memset.c (simple_memset): Likewise.
49395         * configure: Regenerated.
49397 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
49399         * math/test-misc.c (main): Ignore fesetround failure when failures
49400         of subsequent rounding tests would be ignored.
49402         [BZ #15654]
49403         * math/fedisblxcpt.c (fedisableexcept): Return 0.
49404         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
49405         * math/fegetenv.c (__fegetenv): Return 0.
49406         * math/fegetexcept.c (fegetexcept): Return 0.
49407         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
49408         FE_TONEAREST.
49409         * math/feholdexcpt.c (feholdexcept): Return 0.
49410         * math/fesetenv.c (__fesetenv): Return 0.
49411         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
49412         argument FE_TONEAREST.
49413         * math/feupdateenv.c (__feupdateenv): Return 0.
49414         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
49416 2013-06-18  Roland McGrath  <roland@hack.frob.com>
49418         * elf/rtld-Rules (rtld-compile-command.S): New variable.
49419         (rtld-compile-command.s, rtld-compile-command.c): New variables.
49420         ($(objpfx)rtld-%.os rules): Use them.
49422 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49424         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
49425         fields.
49427 2013-06-17  Roland McGrath  <roland@hack.frob.com>
49429         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
49430         length of target pattern, then descending length of dependency pattern.
49431         * configure.in (AWK): Require gawk 3.1.2 or newer.
49432         * manual/install.texi (Tools for Compilation): Say that we do.
49433         * configure: Regenerated.
49435         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
49436         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
49437         * scripts/sysd-rules.awk: ... this new script.
49438         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
49439         than a glob-style pattern.
49441 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
49443         * math/test-misc.c (main): Do not treat incorrectly rounded
49444         conversions as failure unless ROUNDING_TESTS passes.
49446 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
49448         [BZ #15631]
49449         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
49450         restore exception state around main square root computation, then
49451         check for inexactness explicitly.
49453         * math/libm-test.inc (fma_test_data): Add another test.
49455 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49457         * manual/threads.texi (Non-POSIX Extensions): New document
49458         node.  Document pthread_getattr_default_np and
49459         pthread_setattr_default_np.
49461         * Versions.def (libpthread): Add GLIBC_2.18.
49462         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
49463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49464         Likewise.
49465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49466         Likewise.
49467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49468         Likewise.
49469         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49470         Likewise.
49471         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
49472         Likewise.
49473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49474         Likewise.
49475         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49476         Likewise.
49477         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49478         Likewise.
49479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49480         Likewise.
49482 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49484         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49485         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
49487 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49488             H.J. Lu  <hjl.tools@gmail.com>
49490         [BZ #15627]
49491         * sysdeps/x86_64/rtld-memset.c: Remove file.
49492         * sysdeps/x86_64/rtld-memset.S: New file.
49494 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
49496         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
49497         (test_in_one_mode): Take arguments for whether the rounding mode
49498         is supported for each floating-point type.
49499         (do_test): Pass new arguments to test_in_one_mode using
49500         ROUNDING_TESTS.
49502 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49504         * posix/tst-waitid.c (do_test): Distinguish different instances of
49505         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
49506         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
49507         before entering the kernel for waitpid.
49509 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49511         * NEWS: Fix note on clock function precision.  Text by Roland
49512         McGrath.
49514 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49516         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
49517         it into place only when and if the sanity check passes.
49519 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
49521         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
49522         output for whether conversion result is exact.  Take argument
49523         indicating whether type is IBM long double.
49524         (round_for_all): Change need_exact field to ibm_ld.
49525         * stdlib/tst-strtod-round.c (struct exactness): New type.
49526         (struct test): Change bool ld_ok field to struct exactness exact.
49527         (TEST): Update all definitions for change to field.
49528         (tests): Regenerate array contents.
49529         (test_in_one_mode): Take pointer to new field instead of old ld_ok
49530         field value.  Check for IBM long double here.
49531         (do_test): Update calls to test_in_one_mode.
49533 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49535         [BZ #12515]
49536         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
49537         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
49539 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49541         [BZ #15605]
49542         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
49543         generated by the compiler on loop optimizations.
49544         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
49545         general definitions.
49547 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
49549         * math/bug-nextafter.c: Include <math-tests.h>.
49550         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49551         the relevant type.
49552         * math/bug-nexttoward.c: Include <math-tests.h>.
49553         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49554         the relevant type.
49555         * math/test-misc.c: Include <math-tests.h>.
49556         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49557         the relevant type.
49559 2013-06-12  Andreas Jaeger  <aj@suse.de>
49561         * po/ia.po: Update Interlingua translation from translation
49562         project.
49564 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49566         * include/fenv.h: Include stdbool.h.
49567         (struct rm_ctx): New structure.
49568         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
49569         Define macro.
49570         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
49571         (SET_RESTORE_ROUNDF): Likewise.
49572         (SET_RESTORE_ROUNDL): Likewise.
49573         (SET_RESTORE_ROUND_NOEX): Likewise.
49574         (SET_RESTORE_ROUND_NOEXF): Likewise.
49575         (SET_RESTORE_ROUND_NOEXL): Likewise.
49576         (SET_RESTORE_ROUND_53BIT): Likewise.
49577         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
49578         (libc_feresetround_noexf_ctx): Likewise.
49579         (libc_feresetround_noexl_ctx): Likewise.
49580         (libc_feholdsetround_53bit_ctx): Likewise.
49581         (libc_feresetround_53bit_ctx): Likewise.
49582         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
49583         (libc_feholdexcept_setround_sse_ctx): New function.
49584         (libc_fesetenv_sse_ctx): Likewise.
49585         (libc_feupdateenv_sse_ctx): Likewise.
49586         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
49587         (libc_feholdexcept_setround_387_ctx): Likewise.
49588         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
49589         (libc_feholdsetround_387_prec_ctx): Likewise.
49590         (libc_feholdsetround_387_ctx): Likewise.
49591         (libc_feholdsetround_387_53bit_ctx): Likewise.
49592         (libc_feholdsetround_sse_ctx): Likewise.
49593         (libc_feresetround_sse_ctx): Likewise.
49594         (libc_feresetround_387_ctx): Likewise.
49595         (libc_feupdateenv_387_ctx): Likewise.
49596         (libc_feholdexcept_setroundf_ctx): Define macro.
49597         (libc_fesetenvf_ctx): Likewise.
49598         (libc_feupdateenvf_ctx): Likewise.
49599         (libc_feholdsetroundf_ctx): Likewise.
49600         (libc_feresetroundf_ctx): Likewise.
49601         (libc_feholdexcept_setround_ctx): Likewise.
49602         (libc_fesetenv_ctx): Likewise.
49603         (libc_feupdateenv_ctx): Likewise.
49604         (libc_feholdsetround_ctx): Likewise.
49605         (libc_feresetround_ctx): Likewise.
49606         (libc_feholdexcept_setroundl_ctx): Likewise.
49607         (libc_feupdateenvl_ctx): Likewise.
49608         (libc_feholdsetroundl_ctx): Likewise.
49609         (libc_feresetroundl_ctx): Likewise.
49610         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
49611         (libc_feresetround_53bit_ctx): Likewise.
49613 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49615         * locale/iso-639.def: Convert to UTF-8.
49617 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
49619         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
49620         (EXCEPTION_TESTS_double): Likewise.
49621         (EXCEPTION_TESTS_long_double): Likewise.
49622         (EXCEPTION_TESTS): Likewise.
49623         * math/libm-test.inc (test_exceptions): Only test exceptions if
49624         EXCEPTION_TESTS (FLOAT).
49626 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49628         * benchtests/Makefile (string-bench): Add strcpy_chk and
49629         stpcpy_chk.
49630         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
49631         * benchtests/bench-stpcpy_chk.c: New file.
49632         * benchtests/bench-strcpy_chk-ifunc.c: New file.
49633         * benchtests/bench-strcpy_chk.c: New file.
49634         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
49635         code.
49636         (do_test): Likewise.
49638 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49640         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
49641         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
49642         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
49643         with tabs where appropriate.
49644         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
49645         dl-procinfo.h.
49646         [PPC_PLATFORM_PPC440]: Likewise.
49647         [PPC_PLATFORM_PPC464]: Likewise.
49648         [PPC_PLATFORM_PPC476]: Likewise.
49649         (_dl_string_platform): Add support for detecting ppc405, ppc440,
49650         ppc464, and ppc476 platform strings merging from ports/
49651         dl-procinfo.h.
49653 2013-06-11  Andreas Schwab  <schwab@suse.de>
49655         [BZ #14991]
49656         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
49657         (from_ucs4_idx): Regenerate.
49658         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
49659         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
49660         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
49661         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
49662         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
49663         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
49664         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
49665         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
49666         from FROM_LOOP and TO_LOOP specific macros.
49667         (BODY): Handle combining characters.
49668         * iconvdata/BIG5HKSCS.irreversible: Update.
49669         * iconvdata/BIG5HKSCS.precomposed: New file.
49670         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
49671         characters.
49672         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
49674 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49676         * include/sys/time.h: Fix indentation and add copyright header.
49678         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
49679         (do_test): Likewise.
49680         * string/test-memchr.c (do_one_test): Likewise.
49681         (do_test): Likewise.
49682         * string/test-memcmp.c (do_one_test): Likewise.
49683         (do_test): Likewise.
49684         * string/test-memcpy.c (do_one_test): Likewise.
49685         (do_test): Likewise.
49686         * string/test-memmem.c (do_one_test): Likewise.
49687         (do_test): Likewise.
49688         (do_random_tests): Likewise.
49689         * string/test-memmove.c (do_one_test): Likewise.
49690         (do_test): Likewise.
49691         * string/test-memset.c (do_one_test): Likewise.
49692         (do_test): Likewise.
49693         * string/test-rawmemchr.c (do_one_test): Likewise.
49694         (do_test): Likewise.
49695         * string/test-strcasecmp.c (do_one_test): Likewise.
49696         (do_test): Likewise.
49697         * string/test-strcasestr.c (do_one_test): Likewise.
49698         (do_test): Likewise.
49699         * string/test-strcat.c (do_one_test): Likewise.
49700         (do_test): Likewise.
49701         * string/test-strchr.c (do_one_test): Likewise.
49702         (do_test): Likewise.
49703         * string/test-strcmp.c (do_one_test): Likewise.
49704         (do_test): Likewise.
49705         * string/test-strcpy.c (do_one_test): Likewise.
49706         (do_test): Likewise.
49707         * string/test-string.h: Likewise.
49708         (test_init): Likewise.
49709         * string/test-strlen.c (do_one_test): Likewise.
49710         (do_test): Likewise.
49711         * string/test-strncasecmp.c (do_one_test): Likewise.
49712         (do_test): Likewise.
49713         * string/test-strncat.c (do_one_test): Likewise.
49714         (do_test): Likewise.
49715         * string/test-strncmp.c (do_one_test): Likewise.
49716         (do_test_limit): Likewise.
49717         (do_test): Likewise.
49718         * string/test-strncpy.c (do_one_test): Likewise.
49719         (do_test): Likewise.
49720         * string/test-strnlen.c (do_one_test): Likewise.
49721         (do_test): Likewise.
49722         * string/test-strpbrk.c (do_one_test): Likewise.
49723         (do_test): Likewise.
49724         * string/test-strrchr.c (do_one_test): Likewise.
49725         (do_test): Likewise.
49726         * string/test-strspn.c (do_one_test): Likewise.
49727         (do_test): Likewise.
49728         * string/test-strstr.c (do_one_test): Likewise.
49729         (do_test): Likewise.
49731         * benchtests/Makefile (string-bench): Add string benchmarks.
49732         * benchtests/bench-bcopy-ifunc.c: New file.
49733         * benchtests/bench-bcopy.c: New file.
49734         * benchtests/bench-bzero-ifunc.c: New file.
49735         * benchtests/bench-bzero.c: New file.
49736         * benchtests/bench-memccpy-ifunc.c: New file.
49737         * benchtests/bench-memccpy.c: New file.
49738         * benchtests/bench-memchr-ifunc.c: New file.
49739         * benchtests/bench-memchr.c: New file.
49740         * benchtests/bench-memcmp-ifunc.c: New file.
49741         * benchtests/bench-memcmp.c: New file.
49742         * benchtests/bench-memmem-ifunc.c: New file.
49743         * benchtests/bench-memmem.c: New file.
49744         * benchtests/bench-memmove-ifunc.c: New file.
49745         * benchtests/bench-memmove.c: New file.
49746         * benchtests/bench-mempcpy-ifunc.c: New file.
49747         * benchtests/bench-mempcpy.c: New file.
49748         * benchtests/bench-memset-ifunc.c: New file.
49749         * benchtests/bench-memset.c: New file.
49750         * benchtests/bench-rawmemchr-ifunc.c: New file.
49751         * benchtests/bench-rawmemchr.c: New file.
49752         * benchtests/bench-stpcpy-ifunc.c: New file.
49753         * benchtests/bench-stpcpy.c: New file.
49754         * benchtests/bench-stpncpy-ifunc.c: New file.
49755         * benchtests/bench-stpncpy.c: New file.
49756         * benchtests/bench-strcasecmp-ifunc.c: New file.
49757         * benchtests/bench-strcasecmp.c: New file.
49758         * benchtests/bench-strcasestr-ifunc.c: New file.
49759         * benchtests/bench-strcasestr.c: New file.
49760         * benchtests/bench-strcat-ifunc.c: New file.
49761         * benchtests/bench-strcat.c: New file.
49762         * benchtests/bench-strchr-ifunc.c: New file.
49763         * benchtests/bench-strchr.c: New file.
49764         * benchtests/bench-strchrnul-ifunc.c: New file.
49765         * benchtests/bench-strchrnul.c: New file.
49766         * benchtests/bench-strcmp-ifunc.c: New file.
49767         * benchtests/bench-strcmp.c: New file.
49768         * benchtests/bench-strcpy-ifunc.c: New file.
49769         * benchtests/bench-strcpy.c: New file.
49770         * benchtests/bench-strcspn-ifunc.c: New file.
49771         * benchtests/bench-strcspn.c: New file.
49772         * benchtests/bench-strlen-ifunc.c: New file.
49773         * benchtests/bench-strlen.c: New file.
49774         * benchtests/bench-strncasecmp-ifunc.c: New file.
49775         * benchtests/bench-strncasecmp.c: New file.
49776         * benchtests/bench-strncat-ifunc.c: New file.
49777         * benchtests/bench-strncat.c: New file.
49778         * benchtests/bench-strncmp-ifunc.c: New file.
49779         * benchtests/bench-strncmp.c: New file.
49780         * benchtests/bench-strncpy-ifunc.c: New file.
49781         * benchtests/bench-strncpy.c: New file.
49782         * benchtests/bench-strnlen-ifunc.c: New file.
49783         * benchtests/bench-strnlen.c: New file.
49784         * benchtests/bench-strpbrk-ifunc.c: New file.
49785         * benchtests/bench-strpbrk.c: New file.
49786         * benchtests/bench-strrchr-ifunc.c: New file.
49787         * benchtests/bench-strrchr.c: New file.
49788         * benchtests/bench-strspn-ifunc.c: New file.
49789         * benchtests/bench-strspn.c: New file.
49790         * benchtests/bench-strstr-ifunc.c: New file.
49791         * benchtests/bench-strstr.c: New file.
49793         * benchtests/Makefile: Disable parallel execution of targets.
49794         (string-bench): Add memcpy.
49795         (benchset): New variable to store a list of benchmark sets.
49796         (bench-func): Renamed from bench.
49797         (bench-set): New target.
49798         (bench): Depend on bench-func and bench-set.
49799         * benchtests/README: Add section on benchmark sets.
49800         * benchtests/bench-memcpy-ifunc.c: New file.
49801         * benchtests/bench-memcpy.c: New file.
49802         * benchtests/bench-string.h: New file.
49804 2013-06-11  Andreas Schwab  <schwab@suse.de>
49806         [BZ #15577]
49807         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
49808         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
49809         values in the triple.
49810         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
49811         terminator in the group key.
49813 2013-06-11  Andreas Jaeger  <aj@suse.de>
49815         * po/zh_TW.po: Update Chinese (traditional) translation from
49816         translation project.
49818 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49820         * include/time.h (__clock_gettime): Add libc_hidden_proto.
49821         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
49822         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
49823         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49824         (clock_getcpuclockid): Likewise.
49825         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
49826         Add weak_alias and libc_hidden_def.
49827         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
49828         * rt/clock_gettime.c (clock_gettime): Rename to
49829         __clock_gettime.  Add weak_alias and libc_hidden_def.
49830         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
49831         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
49832         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
49833         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
49834         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
49835         Likewise.
49836         * rt/clock_settime.c (clock_settime): Rename to
49837         __clock_settime.  Add weak_alias and libc_hidden_def.
49838         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
49840 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
49842         * mach/err_boot.sub: Remove trailing whitespace.
49843         * mach/err_ipc.sub: Likewise.
49844         * mach/err_mach.sub: Likewise.
49846         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
49847         (ROUNDING_TESTS_double): Likewise.
49848         (ROUNDING_TESTS_long_double): Likewise.
49849         (ROUNDING_TESTS): Likewise.
49850         * math/libm-test.inc: Include <math-tests.h>.
49851         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
49852         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49853         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49854         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49856 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49858         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
49859         of assigning.
49861 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
49863         * sysdeps/gnu/errlist.awk: Do not generate space at end of
49864         otherwise empty TRANS lines.
49865         * sysdeps/gnu/errlist.c: Regenerated.
49867         * catgets/gencat.c (error_print): Use (void) in function
49868         definition.
49869         * crypt/crypt_util.c (__init_des): Likewise.
49870         * crypt/speeds.c (Stop): Likewise.
49871         (main): Likewise.
49872         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
49873         * inet/ruserpass.c (token): Likewise.
49874         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
49875         * intl/localealias.c (extend_alias_table): Likewise.
49876         * intl/plural-exp.c (init_germanic_plural): Likewise.
49877         * libio/fcloseall.c (__fcloseall): Likewise.
49878         * libio/genops.c (_IO_flush_all): Likewise.
49879         (_IO_flush_all_linebuffered): Likewise.
49880         (_IO_cleanup): Likewise.
49881         (_IO_iter_begin): Likewise.
49882         (_IO_iter_end): Likewise.
49883         (_IO_list_lock): Likewise.
49884         (_IO_list_unlock): Likewise.
49885         (_IO_list_resetlock): Likewise.
49886         * libio/getchar.c (getchar): Likewise.
49887         * libio/getchar_u.c (getchar_unlocked): Likewise.
49888         * libio/getwchar.c (getwchar): Likewise.
49889         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
49890         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
49891         * login/getpt.c (__getpt): Likewise.
49892         * login/tst-utmp.c (main): Likewise.
49893         * malloc/hooks.c (__malloc_check_init): Likewise.
49894         * malloc/malloc.c (__malloc_stats): Likewise.
49895         * malloc/mtrace.c (tr_break): Likewise.
49896         (mtrace): Likewise.
49897         (muntrace): Likewise.
49898         * misc/fstab.c (endfsent): Likewise.
49899         * misc/getclktck.c (__getclktck): Likewise.
49900         * misc/getdtsz.c (__getdtablesize): Likewise.
49901         * misc/gethostid.c (gethostid): Likewise.
49902         * misc/getpagesize.c (__getpagesize): Likewise.
49903         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
49904         (__get_nprocs): Likewise.
49905         (__get_phys_pages): Likewise.
49906         (__get_avphys_pages): Likewise.
49907         * misc/getttyent.c (getttyent): Likewise.
49908         (setttyent): Likewise.
49909         (endttyent): Likewise.
49910         * misc/getusershell.c (getusershell): Likewise.
49911         (endusershell): Likewise.
49912         (setusershell): Likewise.
49913         (initshells): Likewise.
49914         * misc/hsearch.c (__hdestroy): Likewise.
49915         * misc/sync.c (sync): Likewise.
49916         * misc/syslog.c (closelog_internal): Likewise.
49917         (closelog): Likewise.
49918         * misc/ttyslot.c (ttyslot): Likewise.
49919         * misc/vhangup.c (vhangup): Likewise.
49920         * posix/fork.c (__fork): Likewise.
49921         * posix/getegid.c (__getegid): Likewise.
49922         * posix/geteuid.c (__geteuid): Likewise.
49923         * posix/getgid.c (__getgid): Likewise.
49924         * posix/getpid.c (__getpid): Likewise.
49925         * posix/getppid.c (__getppid): Likewise.
49926         * posix/getuid.c (__getuid): Likewise.
49927         * posix/pause.c (pause): Likewise.
49928         * posix/setpgrp.c (setpgrp): Likewise.
49929         * posix/setsid.c (__setsid): Likewise.
49930         * posix/test-vfork.c (noop): Likewise.
49931         * resolv/gethnamaddr.c (_endhtent): Likewise.
49932         (_gethtent): Likewise.
49933         (ht_endhostent): Likewise.
49934         (gethostent): Likewise.
49935         (dns_service): Likewise.
49936         * stdlib/drand48.c (drand48): Likewise.
49937         * stdlib/lrand48.c (lrand48): Likewise.
49938         * stdlib/mrand48.c (mrand48): Likewise.
49939         * stdlib/rand.c (rand): Likewise.
49940         * stdlib/random.c (__random): Likewise.
49941         * stdlib/setenv.c (clearenv): Likewise.
49942         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
49943         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
49944         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
49945         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
49946         (__get_nprocs): Likewise.
49947         (__get_phys_pages): Likewise.
49948         (__get_avphys_pages): Likewise.
49949         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
49950         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
49951         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
49952         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
49953         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
49954         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
49955         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
49956         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
49957         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
49958         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
49959         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
49960         * sysdeps/mach/hurd/sync.c (sync): Likewise.
49961         * sysdeps/posix/clock.c (clock): Likewise.
49962         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
49963         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
49964         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
49965         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
49966         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
49967         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
49968         (__get_nprocs_conf): Likewise.
49969         (__get_phys_pages): Likewise.
49970         (__get_avphys_pages): Likewise.
49971         * time/clock.c (clock): Likewise.
49972         * time/tzset.c (__tzname_max): Likewise.
49974 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
49976         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
49977         (__bswap_32): Do not use "register".
49978         * crypt/crypt.c (_ufc_doit_r): Likewise.
49979         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49980         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49981         * gmon/gmon.c (__monstartup): Likewise.
49982         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
49983         * hurd/hurdmalloc.c (more_memory): Likewise.
49984         (malloc): Likewise.
49985         (free): Likewise.
49986         (realloc): Likewise.
49987         (malloc_fork_prepare): Likewise.
49988         (malloc_fork_parent): Likewise.
49989         (malloc_fork_child): Likewise.
49990         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
49991         (_svcauth_des): Likewise.
49992         * inet/inet_lnaof.c (inet_lnaof): Likewise.
49993         * inet/inet_net.c (inet_network): Likewise.
49994         * inet/inet_netof.c (inet_netof): Likewise.
49995         * inet/rcmd.c (__validuser2_sa): Likewise.
49996         * io/fts.c (fts_open): Likewise.
49997         (fts_load): Likewise.
49998         (fts_close): Likewise.
49999         (fts_read): Likewise.
50000         (fts_children): Likewise.
50001         (fts_build): Likewise.
50002         (fts_stat): Likewise.
50003         (fts_sort): Likewise.
50004         (fts_alloc): Likewise.
50005         (fts_lfree): Likewise.
50006         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
50007         (_IO_file_xsgetn): Likewise.
50008         (_IO_file_xsgetn_mmap): Likewise.
50009         * libio/iofopncook.c (_IO_cookie_read): Likewise.
50010         (_IO_cookie_write): Likewise.
50011         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
50012         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
50013         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
50014         * malloc/obstack.c (_obstack_begin): Likewise.
50015         (_obstack_begin_1): Likewise.
50016         (_obstack_newchunk): Likewise.
50017         (_obstack_allocated_p): Likewise.
50018         (obstack_free): Likewise.
50019         (_obstack_memory_used): Likewise.
50020         * misc/getttyent.c (getttynam): Likewise.
50021         (getttyent): Likewise.
50022         (skip): Likewise.
50023         (value): Likewise.
50024         * misc/getusershell.c (initshells): Likewise.
50025         * misc/syslog.c (__vsyslog_chk): Likewise.
50026         * misc/ttyslot.c (ttyslot): Likewise.
50027         * nis/nis_hash.c (__nis_hash): Likewise.
50028         * posix/fnmatch_loop.c (FCT): Likewise.
50029         * posix/getconf.c (print_all): Likewise.
50030         (main): Likewise.
50031         * posix/getopt.c (exchange): Likewise.
50032         * posix/glob.c (globfree): Likewise.
50033         (prefix_array): Likewise.
50034         (__glob_pattern_type): Likewise.
50035         * resolv/arpa/nameser.h (NS_GET16): Likewise.
50036         (NS_GET32): Likewise.
50037         (NS_PUT16): Likewise.
50038         (NS_PUT32): Likewise.
50039         * resolv/gethnamaddr.c (getanswer): Likewise.
50040         (gethostbyname2): Likewise.
50041         (gethostbyaddr): Likewise.
50042         (_gethtent): Likewise.
50043         (_gethtbyname2): Likewise.
50044         (_gethtbyaddr): Likewise.
50045         * resolv/ns_print.c (dst_s_get_int16): Likewise.
50046         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
50047         * resolv/res_init.c (__res_vinit): Likewise.
50048         (net_mask): Likewise.
50049         * resolv/res_mkquery.c (outchar): Likewise.
50050         (PRINT): Likewise.
50051         * stdio-common/printf_fp.c (outchar): Likewise.
50052         (PRINT): Likewise.
50053         * stdio-common/printf_fphex.c (outchar): Likewise.
50054         (PRINT): Likewise.
50055         * stdio-common/printf_size.c (outchar): Likewise.
50056         (PRINT): Likewise.
50057         * stdio-common/test_rdwr.c (main): Likewise.
50058         * stdio-common/tfformat.c (matches): Likewise.
50059         * stdio-common/vfprintf.c (outchar): Likewise.
50060         (printf_unknown): Likewise.
50061         (buffered_vfprintf): Likewise.
50062         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50063         * stdio-common/xbug.c (AppendToBuffer): Likewise.
50064         (ReadFile): Likewise.
50065         * stdlib/qsort.c (SWAP): Likewise.
50066         (_quicksort): Likewise.
50067         * stdlib/setenv.c (__add_to_environ): Likewise.
50068         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50069         * stdlib/strtol_l.c (__strtol_l): Likewise.
50070         * stdlib/tst-strtod.c (main): Likewise.
50071         * stdlib/tst-strtol.c (main): Likewise.
50072         * stdlib/tst-strtoll.c (main): Likewise.
50073         * string/bits/string2.h (__strcmp_cc): Likewise.
50074         (__strcmp_cg): Likewise.
50075         (__strcspn_c1): Likewise.
50076         (__strcspn_c2): Likewise.
50077         (__strcspn_c3): Likewise.
50078         (__strspn_c1): Likewise.
50079         (__strspn_c2): Likewise.
50080         (__strspn_c3): Likewise.
50081         (__strsep_1c): Likewise.
50082         (__strsep_2c): Likewise.
50083         (__strsep_3c): Likewise.
50084         * string/memccpy.c (__memccpy): Likewise.
50085         * string/stpcpy.c (__stpcpy): Likewise.
50086         * string/strcmp.c (strcmp): Likewise.
50087         * string/strrchr.c (strrchr): Likewise.
50088         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
50089         Likewise.
50090         * sysdeps/mach/hurd/getcwd.c
50091         (_hurd_canonicalize_directory_name_internal): Likewise.
50092         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
50093         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
50094         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
50095         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
50096         Likewise, in both definitions.
50097         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
50098         definitions.
50099         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
50100         64] (__bswap_64): Likewise.
50101         * time/test_time.c (main): Likewise.
50102         * time/tzfile.c (__tzfile_read): Likewise.
50103         (__tzfile_compute): Likewise.
50104         * time/tzset.c (__tzset_parse_tz): Likewise.
50105         (tzset_internal): Likewise.
50106         (compute_change): Likewise.
50107         * wcsmbs/wcscat.c (__wcscat): Likewise.
50108         * wcsmbs/wcschr.c (wcschr): Likewise.
50109         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
50110         * wcsmbs/wcscspn.c (wcscspn): Likewise.
50111         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
50112         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
50113         * wcsmbs/wcsspn.c (wcsspn): Likewise.
50114         * wcsmbs/wcsstr.c (wcsstr): Likewise.
50115         * wcsmbs/wmemchr.c (wmemchr): Likewise.
50116         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50117         * wcsmbs/wmemset.c (wmemset): Likewise.
50119 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
50121         * scripts/config.guess: Update to version 2013-05-16.
50122         * scripts/config.sub: Update to version 2013-04-24.
50123         * scripts/install-sh: Update to version 2011-11-20.07.
50124         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
50125         * scripts/move-if-change: Update to version 2012-01-06 07:23.
50127 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
50129         * debug/fgetws_u_chk.c: Fix leading whitespaces.
50130         * elf/sln.c: Likewise.
50131         * hurd/hurd/ioctl.h: Likewise.
50132         * hurd/hurdmalloc.c: Likewise.
50133         * hurd/xattr.c: Likewise.
50134         * include/shlib-compat.h: Likewise.
50135         * inet/ruserpass.c: Likewise.
50136         * libio/iofgets_u.c: Likewise.
50137         * libio/iofgetws_u.c: Likewise.
50138         * locale/programs/ld-identification.c: Likewise.
50139         * locale/programs/ld-time.c: Likewise.
50140         * mach/msg-destroy.c: Likewise.
50141         * nss/nss_files/files-netgrp.c: Likewise.
50142         * resolv/res_data.c: Likewise.
50143         * soft-fp/op-1.h: Likewise.
50144         * soft-fp/op-2.h: Likewise.
50145         * soft-fp/op-4.h: Likewise.
50146         * soft-fp/op-common.h: Likewise.
50147         * stdio-common/printf_fphex.c: Likewise.
50148         * stdlib/strtod_l.c: Likewise.
50149         * sunrpc/rpc/clnt.h: Likewise.
50150         * sysdeps/generic/framestate.c: Likewise.
50151         * sysdeps/i386/bsd-_setjmp.S: Likewise.
50152         * sysdeps/i386/bsd-setjmp.S: Likewise.
50153         * sysdeps/i386/__longjmp.S: Likewise.
50154         * sysdeps/i386/setjmp.S: Likewise.
50155         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50156         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50157         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50158         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50159         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50160         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50161         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50162         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50163         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50164         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50165         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50166         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50167         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50168         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50169         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50170         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50171         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50172         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
50173         * sysdeps/ieee754/support.c: Likewise.
50174         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50175         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
50176         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
50177         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
50178         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
50179         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
50180         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
50181         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
50182         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
50183         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
50184         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
50185         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
50186         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
50187         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
50188         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
50189         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
50190         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
50193 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
50195         * posix/transbug.c: Remove executable mode.
50197 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
50199         * crypt/speeds.c: Remove trailing whitespace.
50200         * dlfcn/default.c: Likewise.
50201         * elf/ifuncdep2.c: Likewise.
50202         * elf/ifuncmain1.c: Likewise.
50203         * elf/ifuncmain1vis.c: Likewise.
50204         * elf/testobj.h: Likewise.
50205         * elf/tst-stackguard1.c: Likewise.
50206         * gmon/sys/gmon.h: Likewise.
50207         * hurd/hurdmsg.c: Likewise.
50208         * hurd/new-fd.c: Likewise.
50209         * hurd/ports-get.c: Likewise.
50210         * iconvdata/ibm1008_420.c: Likewise.
50211         * inet/tst-getni1.c: Likewise.
50212         * inet/tst-getni2.c: Likewise.
50213         * libio/ioungetc.c: Likewise.
50214         * libio/wfiledoalloc.c: Likewise.
50215         * manual/libm-err-tab.pl: Likewise.
50216         * math/w_dremf.c: Likewise.
50217         * misc/ftruncate.c: Likewise.
50218         * posix/bug-glob2.c: Likewise.
50219         * posix/tst-pcre.c: Likewise.
50220         * posix/wait4.c: Likewise.
50221         * resolv/README: Likewise.
50222         * resolv/res_debug.h: Likewise.
50223         * resolv/tst-inet_ntop.c: Likewise.
50224         * setjmp/bug269-setjmp.c: Likewise.
50225         * soft-fp/extended.h: Likewise.
50226         * soft-fp/op-1.h: Likewise.
50227         * soft-fp/op-2.h: Likewise.
50228         * soft-fp/op-4.h: Likewise.
50229         * soft-fp/op-8.h: Likewise.
50230         * soft-fp/testit.c: Likewise.
50231         * stdio-common/bug16.c: Likewise.
50232         * stdlib/random.c: Likewise.
50233         * sunrpc/rpcsvc/rquota.x: Likewise.
50234         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
50235         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50236         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50237         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50238         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50239         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50240         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50241         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50242         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50243         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50244         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50245         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50246         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50247         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50248         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50249         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50250         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50251         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50252         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50253         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50254         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50255         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50256         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
50257         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50258         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50259         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50260         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50261         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50262         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50263         * sysdeps/ieee754/s_lib_version.c: Likewise.
50264         * sysdeps/mach/hurd/check_fds.c: Likewise.
50265         * sysdeps/mach/hurd/getsockname.c: Likewise.
50266         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
50267         * sysdeps/mach/hurd/recvfrom.c: Likewise.
50268         * sysdeps/powerpc/bits/link.h: Likewise.
50269         * sysdeps/powerpc/dl-procinfo.c: Likewise.
50270         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
50271         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
50272         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
50273         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
50274         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50275         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
50276         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
50277         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
50278         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50279         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
50280         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
50281         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
50282         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50283         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50284         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50285         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
50286         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
50287         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50288         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50289         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50290         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
50291         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50292         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
50293         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
50294         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
50295         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
50296         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50297         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50298         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
50299         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
50300         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
50301         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50302         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50303         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
50304         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
50305         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
50306         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
50307         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
50308         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
50309         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
50310         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
50311         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
50312         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
50313         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
50314         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
50315         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
50316         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
50317         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
50318         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
50319         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50320         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50321         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50322         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50323         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
50324         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
50325         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
50326         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50327         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
50328         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
50329         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
50330         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
50331         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
50332         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50333         * sysdeps/powerpc/sysdep.h: Likewise.
50334         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
50335         * sysdeps/s390/s390-64/sub_n.S: Likewise.
50336         * sysdeps/sh/dl-trampoline.S: Likewise.
50337         * sysdeps/sh/memset.S: Likewise.
50338         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
50339         * sysdeps/sh/strlen.S: Likewise.
50340         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
50341         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
50342         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
50343         * sysdeps/sparc/sparc32/rem.S: Likewise.
50344         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
50345         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
50346         * sysdeps/sparc/sparc32/strchr.S: Likewise.
50347         * sysdeps/sparc/sparc32/udiv.S: Likewise.
50348         * sysdeps/sparc/sparc32/urem.S: Likewise.
50349         * sysdeps/sparc/sparc64/add_n.S: Likewise.
50350         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50351         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
50352         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
50353         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
50354         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
50355         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
50356         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
50357         * sysdeps/unix/bsd/times.c: Likewise.
50358         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
50359         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
50360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
50361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
50362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
50363         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
50364         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50365         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
50366         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
50367         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
50368         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
50369         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50370         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
50371         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50372         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50373         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
50374         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50375         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
50376         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
50377         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
50378         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
50379         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
50380         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50381         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
50382         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
50383         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
50384         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
50385         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50386         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
50387         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
50388         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
50389         * sysdeps/x86_64/strcspn.S: Likewise.
50391 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50393         * locale/C-translit.h: Revert #include <stdint.h> because this is a
50394         generated file.  Regenerate properly from gen-translit.pl.
50395         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
50396         locale/C-translit.h.
50398 2013-06-05  Andreas Schwab  <schwab@suse.de>
50400         [BZ #15100]
50401         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
50402         week as 6 instead of -1.
50403         * time/tst-strptime.c (day_tests): Add test case.
50405 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50407         * sysdeps/generic/math_private.h
50408         (libc_feholdexcept_setround_53bit): Replace with
50409         libc_feholdsetround_53bit.
50410         (libc_feupdateenv_53bit): Replace with
50411         libc_feresetround_53bit.
50412         (SET_RESTORE_ROUND_53BIT): Adjust.
50414 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50416         * string/test-strchrnul.c: Add copyright header.
50418         * posix/tst-getaddrinfo4.c: Increase test timeout.
50420 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
50422         [BZ #15536]
50423         * math/libm-test.inc (MAX_EXP): Remove
50424         (MIN_EXP): Define.
50425         (ulp): Use MIN_EXP - MANT_DIG.
50426         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
50428 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
50430         * po/be.po: Revert last change.
50431         * po/zh_CN.po: Likewise.
50432         * po/header.pot: Likewise.
50434 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
50436         * Makefile ($(common-objpfx)linkobj/libc.so): Define
50437         link-libc-deps to empty as target-specific variable.
50438         * Makerules (link-libc-args): New variable.
50439         (libc-for-link): Likewise.
50440         (link-libc-deps): Likewise.
50441         (lib%.so): Depend on $(link-libc-deps).  Link with
50442         $(link-libc-args).
50443         (build-module): Link with $(link-libc-args).
50444         (build-module-asneeded): Likewise.
50445         (build-module-helper-objlist): Filter out $(link-libc-deps) from
50446         list of objects.
50447         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
50448         target-specific variable.
50449         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
50450         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
50451         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
50452         libc.
50453         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
50454         libc and ld.so.
50455         ($(objpfx)libpcprofile.so): Likewise.
50456         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
50457         libc_nonshared.a.
50458         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
50459         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
50460         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
50461         $(link-libc-deps).
50462         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
50463         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
50464         * login/Makefile ($(objpfx)libutil.so): Likewise.
50465         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
50466         * math/Makefile ($(objpfx)libm.so): Likewise.
50467         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
50468         $(objpfx)libnsl.so): Define libc-for-link as target-specific
50469         variable instead of depending directly on libc.
50470         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
50471         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
50472         $(link-libc-deps).
50473         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
50474         libc.
50475         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
50476         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
50477         ($(objpfx)libanl.so): Likewise.
50478         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
50479         ld.so.
50480         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
50481         $(link-libc-deps).
50482         * sysdeps/i386/fpu/Makefile: Remove file.
50483         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
50484         ($(objpfx)libm.so): Remove dependency on ld.so.
50486 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
50488         [BZ # 15553]
50489         * nis/yp_xdr.c (XDRMAXNAME): Define.
50490         (XDRMAXRECORD): Define.
50491         (xdr_domainname): Use XDRMAXNAME.
50492         (xdr_mapname): Likewise.
50493         (xdr_peername): Likewise.
50494         (xdr_keydat): Use XDRMAXRECORD.
50495         (xdr_valdat): Likewise.
50497 2013-05-30  Jeff Law  <law@redhat.com>
50499         [BZ #14256]
50500         * manual/errno.texi (ESTALE): Update to account for more than
50501         just NFS file systems.
50502         * sysdeps/gnu/errlist.c: Regenerated.
50504 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50506         [BZ #15465]
50507         * elf/Makefile (tests): Add tst-null-argv.
50508         (modules-names):  Add tst-null-argv-lib.
50509         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
50510         (tst-null-argv-ENV): Set environment for tst-null-argv.
50511         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
50512         (RTLD_PROGNAME): New macro.
50513         * elf/tst-null-argv.c: New test case.
50514         * elf/tst-null-argv-lib.c: Library for test case.
50515         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
50516         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
50517         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
50518         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
50519         * elf/dl-init.c (call_init): Likewise.
50520         (_dl_init): Likewise.
50521         * elf/dl-load.c (print_search_path): Likewise.
50522         (_dl_map_object): Likewise.
50523         * elf/dl-lookup.c (do_lookup_x): Likewise.
50524         (add_dependency): Likewise.
50525         (_dl_lookup_symbol_x): Likewise.
50526         (_dl_debug_bindings): Likewise.
50527         * elf/dl-open.c (_dl_show_scope): Likewise.
50528         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
50529         * elf/dl-version.c (match_symbol): Likewise.
50530         (_dl_check_map_versions): Likewise.
50531         * elf/rtld.c (dl_main): Likewise.
50532         (print_unresolved): Use RTLD_PROGNAME.
50533         (print_missing_version): Likewise.
50534         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
50535         (elf_machine_rela): Likewise.
50536         * sysdeps/powerpc/powerpc32/dl-machine.c
50537         (__process_machine_rela): Likewise.
50538         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50539         Likewise.
50540         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
50541         Likewise.
50542         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
50543         Likewise.
50544         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50545         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
50546         Likewise.
50547         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
50548         Likewise.
50549         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50551 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
50553         * po/be.po: Add descriptive title.
50554         * po/zh_CN.po: Likewise.
50555         * po/header.pot: Likewise.
50557 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
50559         * locale/programs/locarchive.c (create_archive): Inlucde fname in
50560         error message.
50561         (enlarge_archive): Likewise.
50563 2013-05-28  Ben North  <ben@redfrontdoor.org>
50565         * manual/arith.texi (frexp): It is the magnitude of the return
50566         value which lies in [0.5, 1), not the return value itself.
50568 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50572 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
50574         * stdio-common/bug26.c (main): Correct fscanf template.
50576         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
50577         declare _dl_skip_args.
50579         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
50580         Don't declare.
50582         * manual/platform.texi: Add missing @end deftypefun.
50584 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50586         [BZ #15529]
50587         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
50588         bit of mantissa of 2^16382.
50589         * math/libm-test.inc (hypot_test_data): Add more tests.
50591         * math/libm-test.inc: Add drem and pow10 to list of tested
50592         functions.
50593         (pow10_test): New function.
50594         (drem_test): Likewise.
50595         (drem_test_tonearest): Likewise.
50596         (drem_test_towardzero): Likewise.
50597         (drem_test_downward): Likewise.
50598         (drem_test_upward): Likewise.
50599         (main): Call the new functions.
50601         * math/libm-test.inc (finite_test_data): Remove.
50602         (finite_test): Run tests from isfinite_test_data.
50603         (gamma_test_data): Remove.
50604         (gamma_test): Run tests from lgamma_test_data.
50605         * sysdeps/i386/fpu/libm-test-ulps: Update.
50606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50608 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50610         * manual/platform.texi: Add PowerPC PPR function set documentation.
50611         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
50612         implementation.
50614 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
50616         * math/libm-test.inc (MAX_EXP): Define.
50617         (ULPDIFF): Define.
50618         (ulp): New function.
50619         (check_float_internal): Use ULPDIFF.
50620         (cpow_test): Disable failing test.
50621         (check_ulp): Test ulp() implemetnation.
50622         (main): Call check_ulp before starting tests.
50624 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50626         * math/gen-libm-test.pl (generate_testfile): Do not handle
50627         START_DATA and END_DATA.
50628         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
50629         END_DATA.
50630         (acos_tonearest_test_data): Likewise.
50631         (acos_towardzero_test_data): Likewise.
50632         (acos_downward_test_data): Likewise.
50633         (acos_upward_test_data): Likewise.
50634         (acosh_test_data): Likewise.
50635         (asin_test_data): Likewise.
50636         (asin_tonearest_test_data): Likewise.
50637         (asin_towardzero_test_data): Likewise.
50638         (asin_downward_test_data): Likewise.
50639         (asin_upward_test_data): Likewise.
50640         (asinh_test_data): Likewise.
50641         (atan_test_data): Likewise.
50642         (atanh_test_data): Likewise.
50643         (atan2_test_data): Likewise.
50644         (cabs_test_data): Likewise.
50645         (cacos_test_data): Likewise.
50646         (cacosh_test_data): Likewise.
50647         (carg_test_data): Likewise.
50648         (casin_test_data): Likewise.
50649         (casinh_test_data): Likewise.
50650         (catan_test_data): Likewise.
50651         (catanh_test_data): Likewise.
50652         (cbrt_test_data): Likewise.
50653         (ccos_test_data): Likewise.
50654         (ccosh_test_data): Likewise.
50655         (ceil_test_data): Likewise.
50656         (cexp_test_data): Likewise.
50657         (cimag_test_data): Likewise.
50658         (clog_test_data): Likewise.
50659         (clog10_test_data): Likewise.
50660         (conj_test_data): Likewise.
50661         (copysign_test_data): Likewise.
50662         (cos_test_data): Likewise.
50663         (cos_tonearest_test_data): Likewise.
50664         (cos_towardzero_test_data): Likewise.
50665         (cos_downward_test_data): Likewise.
50666         (cos_upward_test_data): Likewise.
50667         (cosh_test_data): Likewise.
50668         (cosh_tonearest_test_data): Likewise.
50669         (cosh_towardzero_test_data): Likewise.
50670         (cosh_downward_test_data): Likewise.
50671         (cosh_upward_test_data): Likewise.
50672         (cpow_test_data): Likewise.
50673         (cproj_test_data): Likewise.
50674         (creal_test_data): Likewise.
50675         (csin_test_data): Likewise.
50676         (csinh_test_data): Likewise.
50677         (csqrt_test_data): Likewise.
50678         (ctan_test_data): Likewise.
50679         (ctan_tonearest_test_data): Likewise.
50680         (ctan_towardzero_test_data): Likewise.
50681         (ctan_downward_test_data): Likewise.
50682         (ctan_upward_test_data): Likewise.
50683         (ctanh_test_data): Likewise.
50684         (ctanh_tonearest_test_data): Likewise.
50685         (ctanh_towardzero_test_data): Likewise.
50686         (ctanh_downward_test_data): Likewise.
50687         (ctanh_upward_test_data): Likewise.
50688         (erf_test_data): Likewise.
50689         (erfc_test_data): Likewise.
50690         (exp_test_data): Likewise.
50691         (exp_tonearest_test_data): Likewise.
50692         (exp_towardzero_test_data): Likewise.
50693         (exp_downward_test_data): Likewise.
50694         (exp_upward_test_data): Likewise.
50695         (exp10_test_data): Likewise.
50696         (exp2_test_data): Likewise.
50697         (expm1_test_data): Likewise.
50698         (fabs_test_data): Likewise.
50699         (fdim_test_data): Likewise.
50700         (finite_test_data): Likewise.
50701         (floor_test_data): Likewise.
50702         (fma_test_data): Likewise.
50703         (fma_towardzero_test_data): Likewise.
50704         (fma_downward_test_data): Likewise.
50705         (fma_upward_test_data): Likewise.
50706         (fmax_test_data): Likewise.
50707         (fmin_test_data): Likewise.
50708         (fmod_test_data): Likewise.
50709         (fpclassify_test_data): Likewise.
50710         (frexp_test_data): Likewise.
50711         (gamma_test_data): Likewise.
50712         (hypot_test_data): Likewise.
50713         (ilogb_test_data): Likewise.
50714         (isfinite_test_data): Likewise.
50715         (isgreater_test_data): Likewise.
50716         (isgreaterequal_test_data): Likewise.
50717         (isinf_test_data): Likewise.
50718         (isless_test_data): Likewise.
50719         (islessequal_test_data): Likewise.
50720         (islessgreater_test_data): Likewise.
50721         (isnan_test_data): Likewise.
50722         (isnormal_test_data): Likewise.
50723         (issignaling_test_data): Likewise.
50724         (isunordered_test_data): Likewise.
50725         (j0_test_data): Likewise.
50726         (j1_test_data): Likewise.
50727         (jn_test_data): Likewise.
50728         (ldexp_test_data): Likewise.
50729         (lgamma_test_data): Likewise.
50730         (lrint_test_data): Likewise.
50731         (lrint_tonearest_test_data): Likewise.
50732         (lrint_towardzero_test_data): Likewise.
50733         (lrint_downward_test_data): Likewise.
50734         (lrint_upward_test_data): Likewise.
50735         (llrint_test_data): Likewise.
50736         (llrint_tonearest_test_data): Likewise.
50737         (llrint_towardzero_test_data): Likewise.
50738         (llrint_downward_test_data): Likewise.
50739         (llrint_upward_test_data): Likewise.
50740         (log_test_data): Likewise.
50741         (log10_test_data): Likewise.
50742         (log1p_test_data): Likewise.
50743         (log2_test_data): Likewise.
50744         (logb_test_data): Likewise.
50745         (logb_downward_test_data): Likewise.
50746         (lround_test_data): Likewise.
50747         (llround_test_data): Likewise.
50748         (modf_test_data): Likewise.
50749         (nearbyint_test_data): Likewise.
50750         (nextafter_test_data): Likewise.
50751         (nexttoward_test_data): Likewise.
50752         (pow_test_data): Likewise.
50753         (pow_tonearest_test_data): Likewise.
50754         (pow_towardzero_test_data): Likewise.
50755         (pow_downward_test_data): Likewise.
50756         (pow_upward_test_data): Likewise.
50757         (remainder_test_data): Likewise.
50758         (remainder_tonearest_test_data): Likewise.
50759         (remainder_towardzero_test_data): Likewise.
50760         (remainder_downward_test_data): Likewise.
50761         (remainder_upward_test_data): Likewise.
50762         (remquo_test_data): Likewise.
50763         (rint_test_data): Likewise.
50764         (rint_tonearest_test_data): Likewise.
50765         (rint_towardzero_test_data): Likewise.
50766         (rint_downward_test_data): Likewise.
50767         (rint_upward_test_data): Likewise.
50768         (round_test_data): Likewise.
50769         (scalb_test_data): Likewise.
50770         (scalbn_test_data): Likewise.
50771         (scalbln_test_data): Likewise.
50772         (signbit_test_data): Likewise.
50773         (sin_test_data): Likewise.
50774         (sin_tonearest_test_data): Likewise.
50775         (sin_towardzero_test_data): Likewise.
50776         (sin_downward_test_data): Likewise.
50777         (sin_upward_test_data): Likewise.
50778         (sincos_test_data): Likewise.
50779         (sinh_test_data): Likewise.
50780         (sinh_tonearest_test_data): Likewise.
50781         (sinh_towardzero_test_data): Likewise.
50782         (sinh_downward_test_data): Likewise.
50783         (sinh_upward_test_data): Likewise.
50784         (sqrt_test_data): Likewise.
50785         (tan_test_data): Likewise.
50786         (tan_tonearest_test_data): Likewise.
50787         (tan_towardzero_test_data): Likewise.
50788         (tan_downward_test_data): Likewise.
50789         (tan_upward_test_data): Likewise.
50790         (tanh_test_data): Likewise.
50791         (tgamma_test_data): Likewise.
50792         (trunc_test_data): Likewise.
50793         (y0_test_data): Likewise.
50794         (y1_test_data): Likewise.
50795         (yn_test_data): Likewise.
50796         (significand_test_data): Likewise.
50798         * math/gen-libm-test.pl (@functions): Remove variable.
50799         (generate_testfile): Don't handle START and END lines.
50800         * math/libm-test.inc (START): New macro.
50801         (END): Likewise.
50802         (END_COMPLEX): Likewise.
50803         (acos_test): Use END macro without arguments.
50804         (acos_test_tonearest): Likewise.
50805         (acos_test_towardzero): Likewise.
50806         (acos_test_downward): Likewise.
50807         (acos_test_upward): Likewise.
50808         (acosh_test): Likewise.
50809         (asin_test): Likewise.
50810         (asin_test_tonearest): Likewise.
50811         (asin_test_towardzero): Likewise.
50812         (asin_test_downward): Likewise.
50813         (asin_test_upward): Likewise.
50814         (asinh_test): Likewise.
50815         (atan_test): Likewise.
50816         (atanh_test): Likewise.
50817         (atan2_test): Likewise.
50818         (cabs_test): Likewise.
50819         (cacos_test): Use END_COMPLEX macro without arguments.
50820         (cacosh_test): Likewise.
50821         (carg_test): Use END macro without arguments.
50822         (casin_test): Use END_COMPLEX macro without arguments.
50823         (casinh_test): Likewise.
50824         (catan_test): Likewise.
50825         (catanh_test): Likewise.
50826         (cbrt_test): Use END macro without arguments.
50827         (ccos_test): Use END_COMPLEX macro without arguments.
50828         (ccosh_test): Likewise.
50829         (ceil_test): Use END macro without arguments.
50830         (cexp_test): Use END_COMPLEX macro without arguments.
50831         (cimag_test): Use END macro without arguments.
50832         (clog_test): Use END_COMPLEX macro without arguments.
50833         (clog10_test): Likewise.
50834         (conj_test): Likewise.
50835         (copysign_test): Use END macro without arguments.
50836         (cos_test): Likewise.
50837         (cos_test_tonearest): Likewise.
50838         (cos_test_towardzero): Likewise.
50839         (cos_test_downward): Likewise.
50840         (cos_test_upward): Likewise.
50841         (cosh_test): Likewise.
50842         (cosh_test_tonearest): Likewise.
50843         (cosh_test_towardzero): Likewise.
50844         (cosh_test_downward): Likewise.
50845         (cosh_test_upward): Likewise.
50846         (cpow_test): Use END_COMPLEX macro without arguments.
50847         (cproj_test): Likewise.
50848         (creal_test): Use END macro without arguments.
50849         (csin_test): Use END_COMPLEX macro without arguments.
50850         (csinh_test): Likewise.
50851         (csqrt_test): Likewise.
50852         (ctan_test): Likewise.
50853         (ctan_test_tonearest): Likewise.
50854         (ctan_test_towardzero): Likewise.
50855         (ctan_test_downward): Likewise.
50856         (ctan_test_upward): Likewise.
50857         (ctanh_test): Likewise.
50858         (ctanh_test_tonearest): Likewise.
50859         (ctanh_test_towardzero): Likewise.
50860         (ctanh_test_downward): Likewise.
50861         (ctanh_test_upward): Likewise.
50862         (erf_test): Use END macro without arguments.
50863         (erfc_test): Likewise.
50864         (exp_test): Likewise.
50865         (exp_test_tonearest): Likewise.
50866         (exp_test_towardzero): Likewise.
50867         (exp_test_downward): Likewise.
50868         (exp_test_upward): Likewise.
50869         (exp10_test): Likewise.
50870         (exp2_test): Likewise.
50871         (expm1_test): Likewise.
50872         (fabs_test): Likewise.
50873         (fdim_test): Likewise.
50874         (finite_test): Likewise.
50875         (floor_test): Likewise.
50876         (fma_test): Likewise.
50877         (fma_test_towardzero): Likewise.
50878         (fma_test_downward): Likewise.
50879         (fma_test_upward): Likewise.
50880         (fmax_test): Likewise.
50881         (fmin_test): Likewise.
50882         (fmod_test): Likewise.
50883         (fpclassify_test): Likewise.
50884         (frexp_test): Likewise.
50885         (gamma_test): Likewise.
50886         (hypot_test): Likewise.
50887         (ilogb_test): Likewise.
50888         (isfinite_test): Likewise.
50889         (isgreater_test): Likewise.
50890         (isgreaterequal_test): Likewise.
50891         (isinf_test): Likewise.
50892         (isless_test): Likewise.
50893         (islessequal_test): Likewise.
50894         (islessgreater_test): Likewise.
50895         (isnan_test): Likewise.
50896         (isnormal_test): Likewise.
50897         (issignaling_test): Likewise.
50898         (isunordered_test): Likewise.
50899         (j0_test): Likewise.
50900         (j1_test): Likewise.
50901         (jn_test): Likewise.
50902         (ldexp_test): Likewise.
50903         (lgamma_test): Likewise.
50904         (lrint_test): Likewise.
50905         (lrint_test_tonearest): Likewise.
50906         (lrint_test_towardzero): Likewise.
50907         (lrint_test_downward): Likewise.
50908         (lrint_test_upward): Likewise.
50909         (llrint_test): Likewise.
50910         (llrint_test_tonearest): Likewise.
50911         (llrint_test_towardzero): Likewise.
50912         (llrint_test_downward): Likewise.
50913         (llrint_test_upward): Likewise.
50914         (log_test): Likewise.
50915         (log10_test): Likewise.
50916         (log1p_test): Likewise.
50917         (log2_test): Likewise.
50918         (logb_test): Likewise.
50919         (logb_test_downward): Likewise.
50920         (lround_test): Likewise.
50921         (llround_test): Likewise.
50922         (modf_test): Likewise.
50923         (nearbyint_test): Likewise.
50924         (nextafter_test): Likewise.
50925         (nexttoward_test): Likewise.
50926         (pow_test): Likewise.
50927         (pow_test_tonearest): Likewise.
50928         (pow_test_towardzero): Likewise.
50929         (pow_test_downward): Likewise.
50930         (pow_test_upward): Likewise.
50931         (remainder_test): Likewise.
50932         (remainder_test_tonearest): Likewise.
50933         (remainder_test_towardzero): Likewise.
50934         (remainder_test_downward): Likewise.
50935         (remainder_test_upward): Likewise.
50936         (remquo_test): Likewise.
50937         (rint_test): Likewise.
50938         (rint_test_tonearest): Likewise.
50939         (rint_test_towardzero): Likewise.
50940         (rint_test_downward): Likewise.
50941         (rint_test_upward): Likewise.
50942         (round_test): Likewise.
50943         (scalb_test): Likewise.
50944         (scalbn_test): Likewise.
50945         (scalbln_test): Likewise.
50946         (signbit_test): Likewise.
50947         (sin_test): Likewise.
50948         (sin_test_tonearest): Likewise.
50949         (sin_test_towardzero): Likewise.
50950         (sin_test_downward): Likewise.
50951         (sin_test_upward): Likewise.
50952         (sincos_test): Likewise.
50953         (sinh_test): Likewise.
50954         (sinh_test_tonearest): Likewise.
50955         (sinh_test_towardzero): Likewise.
50956         (sinh_test_downward): Likewise.
50957         (sinh_test_upward): Likewise.
50958         (sqrt_test): Likewise.
50959         (tan_test): Likewise.
50960         (tan_test_tonearest): Likewise.
50961         (tan_test_towardzero): Likewise.
50962         (tan_test_downward): Likewise.
50963         (tan_test_upward): Likewise.
50964         (tanh_test): Likewise.
50965         (tgamma_test): Likewise.
50966         (trunc_test): Likewise.
50967         (y0_test): Likewise.
50968         (y1_test): Likewise.
50969         (yn_test): Likewise.
50970         (significand_test): Likewise.
50972 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
50974         [BZ #15381]
50975         * libio/genops.c (_IO_no_init): Initialize wide struct info.
50977 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50979         [BZ #14894]
50980         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
50981         __ppc_mdoio and __ppc_mdoom.
50982         * manual/platform.texi: Document new functions __ppc_yield,
50983         __ppc_mdoio and __ppc_mdoom.
50985 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
50987         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
50988         (main): Mention "tls" pseudo-hwcap is legacy.
50989         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
50991 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50993         * math/gen-libm-test.pl (parse_args): Output only string of
50994         arguments as text for test name, not full call or descriptions of
50995         tests for extra outputs.
50996         (generate_testfile): Do not pass function name to parse_args.
50997         Generate this_func variable from START.
50998         * math/libm-test.inc (struct test_f_f_data): Rename test_name
50999         field to arg_str.
51000         (struct test_ff_f_data): Likewise.
51001         (test_ff_f_data_nexttoward): Likewise.
51002         (struct test_fi_f_data): Likewise.
51003         (struct test_fl_f_data): Likewise.
51004         (struct test_if_f_data): Likewise.
51005         (struct test_fff_f_data): Likewise.
51006         (struct test_c_f_data): Likewise.
51007         (struct test_f_f1_data): Likewise.  Remove field extra_name.
51008         (struct test_fF_f1_data): Likewise.
51009         (struct test_ffI_f1_data): Likewise.
51010         (struct test_c_c_data): Rename test_name field to arg_str.
51011         (struct test_cc_c_data): Likewise.
51012         (struct test_f_i_data): Likewise.
51013         (struct test_ff_i_data): Likewise.
51014         (struct test_f_l_data): Likewise.
51015         (struct test_f_L_data): Likewise.
51016         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
51017         and extra2_name.
51018         (COMMON_TEST_SETUP): New macro.
51019         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
51020         (COMMON_TEST_CLEANUP): Likewise.
51021         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
51022         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
51023         macros.
51024         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
51025         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
51026         macros.
51027         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
51028         (RUN_TEST_fff_f): Take argument string.  Call new setup and
51029         cleanup macros.
51030         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
51031         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
51032         macros.
51033         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
51034         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
51035         macros.
51036         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51037         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
51038         cleanup macros.
51039         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51040         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
51041         cleanup macros.
51042         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51043         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
51044         cleanup macros.
51045         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51046         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
51047         macros.
51048         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
51049         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
51050         macros.
51051         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
51052         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
51053         macros.
51054         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
51055         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
51056         cleanup macros.
51057         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
51058         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
51059         cleanup macros.
51060         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
51061         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
51062         macros.
51063         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
51064         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
51065         cleanup macros.
51066         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
51067         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
51068         macros.
51069         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
51070         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
51071         macros.
51072         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
51073         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
51074         cleanup macros.
51075         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
51077 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
51079         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
51080         to _sifields.sigfault.
51081         (si_addr_lsb): Define new macro.
51082         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51083         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51084         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
51086 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
51088         [BZ #15441]
51089         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
51090         returns -1.
51091         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
51092         null return -1.
51093         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
51094         loading the domain.
51096 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
51098         * math/gen-libm-test.pl (parse_args): Do not include expected
51099         result in test name.
51100         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
51101         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51102         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51103         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51104         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51107 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51109         * benchtests/Makefile: Sort function entries.
51111         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
51112         tanh, asinh, acosh, atanh.
51113         * benchtests/acos-inputs: New file.
51114         * benchtests/acosh-inputs: New file.
51115         * benchtests/asin-inputs: New file.
51116         * benchtests/asinh-inputs: New file.
51117         * benchtests/atanh-inputs: New file.
51118         * benchtests/cosh-inputs: New file.
51119         * benchtests/log-inputs: New file.
51120         * benchtests/sinh-inputs: New file.
51121         * benchtests/tanh-inputs: New file.
51123 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
51125         [BZ #15339]
51126         * posix/tst-getaddrinfo4.c: New test.
51127         * posix/Makefile (tests): Add it.
51129 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51131         [BZ #15339]
51132         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
51133         when no services were used.
51134         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
51135         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
51137 2013-05-21  Andreas Schwab  <schwab@suse.de>
51139         [BZ #15014]
51140         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
51141         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
51142         successful.
51143         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
51144         redundant variable declarations and reallocation of buffer when
51145         parsing as IPv6 address.  Always set NSS status when called from
51146         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
51147         buffer too small.  Correct computation of needed size.
51148         * nss/Makefile (tests): Add test-digits-dots.
51149         * nss/test-digits-dots.c: New test.
51151 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51153         * benchtests/Makefile: Remove instructions for adding
51154         benchmark tests.
51155         * benchtests/README: New file to explain how to execute and
51156         enhance the benchmark tests.
51158 2013-05-21  Andreas Schwab  <schwab@suse.de>
51160         [BZ #15493]
51161         * setjmp/Makefile (tests): Add tst-sigsetjmp.
51162         * setjmp/tst-sigsetjmp.c: New test.
51164 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51166         * sysdeps/x86_64/memset.S (memset): New implementation.
51167         (__bzero): Likewise.
51168         (__memset_tail): New function.
51170 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51172         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
51173         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
51174         __memcpy_sse2_unaligned ifunc selection.
51175         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51176         Add memcpy-sse2-unaligned.S.
51177         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51178         Add: __memcpy_sse2_unaligned.
51180 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
51182         [BZ #15490]
51183         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51184         math_force_eval before restoring floating-point envrionment.
51185         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
51186         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
51187         Likewise.
51188         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
51189         <math_private.h>.
51190         (__nearbyintl): Use math_force_eval before restoring
51191         floating-point environment.
51192         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
51194         * math/gen-libm-test.pl (special_functions): Remove.
51195         (parse_args): Don't handle TEST_extra.  Handle functions with no
51196         return value.
51197         * math/libm-test.inc (struct test_sincos_data): Replace with
51198         struct test_fFF_11_data.
51199         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
51200         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
51201         (sincos_test_data): Change element type to struct
51202         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
51203         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
51204         RUN_TEST_LOOP_sincos.
51205         * math/README.libm-test: Don't mention special handling of
51206         individual functions.
51207         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
51208         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51209         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51210         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51211         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51214         * math/gen-libm-test.pl (get_variable): Remove function.
51215         (parse_args): Don't show pointer parameters to call in test
51216         names.  Use "extra output N" in test names for extra outputs
51217         rather than naming variables.
51219 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
51221         [BZ #15488]
51222         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
51223         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
51224         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
51225         double tests.
51226         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
51227         disable.
51228         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
51229         check_long_double.
51231         * math/gen-libm-test.pl (@tests): Remove variable.
51232         ($count): Likewise.
51233         (new_test): Remove function.
51234         (show_exceptions): New function.
51235         (special_functions): Use show_exceptions instead of new_test.
51236         (parse_args): Likewise.
51237         (generate_testfile): Pass only function name in generated call to
51238         print_max_error or print_complex_max_error.
51239         (get_ulps): Do not handle complex tests specially.
51240         (output_test): Rename to ...
51241         (get_all_ulps_for_test): ... this.  Return a string rather than
51242         printing to a file.  Require ulps to be present.
51243         (output_ulps): Generate arrays rather than #defines.
51244         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
51245         (struct ulp_data): New type.
51246         (BUILD_COMPLEX_ULP): Remove macro.
51247         (compare_ulp_data): New function.
51248         (find_ulps): Likewise.
51249         (find_test_ulps): Likewise.
51250         (find_function_ulps): Likewise.
51251         (find_complex_function_ulps): Likewise.
51252         (print_max_error): Determine allowed ulps using
51253         find_function_ulps.
51254         (print_complex_max_error): Determine allowed ulps using
51255         find_complex_function_ulps.
51256         (check_float_internal): Determine max ulps using find_test_ulps.
51257         (check_float): Do not take max_ulp parameter.  Update call to
51258         check_float_internal.
51259         (check_complex): Likewise.
51260         (check_int): Do not take max_ulp parameter.
51261         (check_long): Likewise.
51262         (check_bool): Likewise.
51263         (check_longlong): Likewise.
51264         (struct test_f_f_data): Remove max_ulp field.
51265         (struct test_ff_f_data): Likewise.
51266         (struct test_ff_f_data_nexttoward): Likewise.
51267         (struct test_fi_f_data): Likewise.
51268         (struct test_fl_f_data): Likewise.
51269         (struct test_if_f_data): Likewise.
51270         (struct test_fff_f_data): Likewise.
51271         (struct test_c_f_data): Likewise.
51272         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
51273         (struct test_fF_f1_data): Likewise.
51274         (struct test_ffI_f1_data): Likewise.
51275         (struct test_c_c_data): Remove max_ulp field.
51276         (struct test_cc_c_data): Likewise.
51277         (struct test_f_i_data): Likewise.
51278         (struct test_ff_i_data): Likewise.
51279         (struct test_f_l_data): Likewise.
51280         (struct test_f_L_data): Likewise.
51281         (struct test_sincos_data): Likewise.
51282         (RUN_TEST_f_f): Do not handle ulps.
51283         (RUN_TEST_LOOP_f_f): Likewise.
51284         (RUN_TEST_2_f): Likewise.
51285         (RUN_TEST_LOOP_2_f): Likewise.
51286         (RUN_TEST_fff_f): Likewise.
51287         (RUN_TEST_LOOP_fff_f): Likewise.
51288         (RUN_TEST_c_f): Likewise.
51289         (RUN_TEST_LOOP_c_f): Likewise.
51290         (RUN_TEST_f_f1): Likewise.
51291         (RUN_TEST_LOOP_f_f1): Likewise.
51292         (RUN_TEST_fF_f1): Likewise.
51293         (RUN_TEST_LOOP_fF_f1): Likewise.
51294         (RUN_TEST_fI_f1): Likewise.
51295         (RUN_TEST_LOOP_fI_f1): Likewise.
51296         (RUN_TEST_ffI_f1): Likewise.
51297         (RUN_TEST_LOOP_ffI_f1): Likewise.
51298         (RUN_TEST_c_c): Likewise.
51299         (RUN_TEST_LOOP_c_c): Likewise.
51300         (RUN_TEST_cc_c): Likewise.
51301         (RUN_TEST_LOOP_cc_c): Likewise.
51302         (RUN_TEST_f_i): Likewise.
51303         (RUN_TEST_LOOP_f_i): Likewise.
51304         (RUN_TEST_f_i_tg): Likewise.
51305         (RUN_TEST_LOOP_f_i_tg): Likewise.
51306         (RUN_TEST_ff_i_tg): Likewise.
51307         (RUN_TEST_LOOP_ff_i_tg): Likewise.
51308         (RUN_TEST_f_b): Likewise.
51309         (RUN_TEST_LOOP_f_b): Likewise.
51310         (RUN_TEST_f_b_tg): Likewise.
51311         (RUN_TEST_LOOP_f_b_tg): Likewise.
51312         (RUN_TEST_f_l): Likewise.
51313         (RUN_TEST_LOOP_f_l): Likewise.
51314         (RUN_TEST_f_L): Likewise.
51315         (RUN_TEST_LOOP_f_L): Likewise.
51316         (RUN_TEST_sincos): Likewise.
51317         (RUN_TEST_LOOP_sincos): Likewise.
51319 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
51321         [BZ #15480]
51322         [BZ #15485]
51323         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
51324         main case of finite arguments, set rounding mode to FE_TONEAREST
51325         and discard exceptions.
51326         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
51327         exceptions.
51328         (remainder_tonearest_test_data): New variable.
51329         (remainder_test_tonearest): New function.
51330         (remainder_towardzero_test_data): New variable.
51331         (remainder_test_towardzero): New function.
51332         (remainder_downward_test_data): New variable.
51333         (remainder_test_downward): New function.
51334         (remainder_upward_test_data): New variable.
51335         (remainder_test_upward): New function.
51336         (main): Call the new test functions.
51338         * math/libm-test.inc (struct test_f_f1_data): Remove field
51339         extra_init.
51340         (struct test_fF_f1_data): Likewise.
51341         (struct test_ffI_f1_data): Likewise.
51342         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
51343         based on value of EXTRA_EXPECTED.
51344         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51345         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
51346         EXTRA_VAR based on value of EXTRA_EXPECTED.
51347         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51348         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
51349         EXTRA_VAR based on value of EXTRA_EXPECTED.
51350         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51351         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
51352         EXTRA_VAR based on value of EXTRA_EXPECTED.
51353         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51354         * math/gen-libm-test.pl (parse_args): Don't output initializers
51355         for extra output values.
51357         * math/libm-test.inc (check_int): Expect result to be exactly
51358         equal to expected value and do not handle ulps.
51359         (check_long): Likewise.
51360         (check_longlong): Likewise.
51362         * math/libm-test.inc (ceil_test_data): Test for "inexact"
51363         exceptions.
51364         (cimag_test_data): Likewise.
51365         (conj_test_data): Likewise.
51366         (copysign_test_data): Likewise.
51367         (cproj_test_data): Likewise.
51368         (creal_test_data): Likewise.
51369         (fabs_test_data): Likewise.
51370         (fdim_test_data): Likewise.
51371         (finite_test_data): Likewise.
51372         (floor_test_data): Likewise.
51373         (fmax_test_data): Likewise.
51374         (fmin_test_data): Likewise.
51375         (fmod_test_data): Likewise.
51376         (fpclassify_test_data): Likewise.
51377         (frexp_test_data): Likewise.
51378         (ilogb_test_data): Likewise.
51379         (isfinite_test_data): Likewise.
51380         (isgreater_test_data): Likewise.
51381         (isgreaterequal_test_data): Likewise.
51382         (isinf_test_data): Likewise.
51383         (isless_test_data): Likewise.
51384         (islessequal_test_data): Likewise.
51385         (islessgreater_test_data): Likewise.
51386         (isnan_test_data): Likewise.
51387         (isnormal_test_data): Likewise.
51388         (issignaling_test_data): Likewise.
51389         (isunordered_test_data): Likewise.
51390         (ldexp_test_data): Likewise.
51391         (lrint_test_data): Likewise.
51392         (lrint_test_data) [TEST_FLOAT]: Disable one test.
51393         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
51394         (lrint_tonearest_test_data): Test for "inexact" exceptions.
51395         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51396         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
51397         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51398         test input.
51399         (lrint_towardzero_test_data): Test for "inexact" exceptions.
51400         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51401         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
51402         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
51403         that test input.
51404         (lrint_downward_test_data): Test for "inexact" exceptions.
51405         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51406         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
51407         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51408         test input.
51409         (lrint_upward_test_data): Test for "inexact" exceptions.
51410         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
51411         test input.
51412         (llrint_test_data): Test for "inexact" exceptions.
51413         (llrint_test_data) [TEST_FLOAT]: Disable one test.
51414         (llrint_tonearest_test_data): Test for "inexact" exceptions.
51415         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51416         (llrint_towardzero_test_data): Test for "inexact" exceptions.
51417         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51418         (llrint_downward_test_data): Test for "inexact" exceptions.
51419         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51420         (llrint_upward_test_data): Test for "inexact" exceptions.
51421         (logb_test_data): Likewise.
51422         (logb_downward_test_data): Likewise.
51423         (nextafter_test_data): Likewise.
51424         (nexttoward_test_data): Likewise.
51425         (remainder_test_data): Likewise.
51426         (remquo_test_data): Likewise.
51427         (scalbn_test_data): Likewise.
51428         (scalbln_test_data): Likewise.
51429         (signbit_test_data): Likewise.
51430         (sqrt_test_data): Likewise.
51431         (significand_test_data): Likewise.
51433 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51435         [BZ #15424]
51436         * benchtests/bench-modf.c (struct args): Mark arg0 as
51437         volatile.
51438         * scripts/bench.pl: Mark members of struct args as volatile.
51440 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51442         [BZ # 15497]
51443         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
51444         negative infinity on POWER6 or lower.
51445         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
51447 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
51449         [BZ #15442]
51450         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
51451         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
51452         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
51453         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
51454         (_FP_SETQNAN): New macro.
51455         (_FP_SETQNAN_SEMIRAW): Likewise.
51456         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
51457         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
51458         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
51459         (FP_EXTEND): Use _FP_FRAC_SNANP.
51460         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
51461         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
51462         into account.
51463         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51464         New macro.
51465         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51466         Likewise.
51468 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51470         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
51471         with DIVIDE_BY_ZERO_EXCEPTION.
51472         (gamma_test_data): Likewise.
51473         (lgamma_test_data): Likewise.
51474         (log_test_data): Likewise.
51475         (log10_test_data): Likewise.
51476         (log2_test_data): Likewise.
51477         (tgamma_test_data): Likewise.
51479         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
51480         (acos_test_tonearest): Likewise.
51481         (acos_test_towardzero): Likewise.
51482         (acos_test_downward): Likewise.
51483         (acos_test_upward): Likewise.
51484         (acosh_test): Likewise.
51485         (asin_test): Likewise.
51486         (asin_test_tonearest): Likewise.
51487         (asin_test_towardzero): Likewise.
51488         (asin_test_downward): Likewise.
51489         (asin_test_upward): Likewise.
51490         (asinh_test): Likewise.
51491         (atan_test): Likewise.
51492         (atanh_test): Likewise.
51493         (atan2_test): Likewise.
51494         (cabs_test): Likewise.
51495         (cacos_test): Likewise.
51496         (cacosh_test): Likewise.
51497         (casin_test): Likewise.
51498         (casinh_test): Likewise.
51499         (catan_test): Likewise.
51500         (catanh_test): Likewise.
51501         (cbrt_test): Likewise.
51502         (ccos_test): Likewise.
51503         (ccosh_test): Likewise.
51504         (cexp_test): Likewise.
51505         (clog_test): Likewise.
51506         (clog10_test): Likewise.
51507         (cos_test): Likewise.
51508         (cos_test_tonearest): Likewise.
51509         (cos_test_towardzero): Likewise.
51510         (cos_test_downward): Likewise.
51511         (cos_test_upward): Likewise.
51512         (cosh_test): Likewise.
51513         (cosh_test_tonearest): Likewise.
51514         (cosh_test_towardzero): Likewise.
51515         (cosh_test_downward): Likewise.
51516         (cosh_test_upward): Likewise.
51517         (cpow_test): Likewise.
51518         (csin_test): Likewise.
51519         (csinh_test): Likewise.
51520         (csqrt_test): Likewise.
51521         (ctan_test): Likewise.
51522         (ctan_test_tonearest): Likewise.
51523         (ctan_test_towardzero): Likewise.
51524         (ctan_test_downward): Likewise.
51525         (ctan_test_upward): Likewise.
51526         (ctanh_test): Likewise.
51527         (ctanh_test_tonearest): Likewise.
51528         (ctanh_test_towardzero): Likewise.
51529         (ctanh_test_downward): Likewise.
51530         (ctanh_test_upward): Likewise.
51531         (erf_test): Likewise.
51532         (erfc_test): Likewise.
51533         (exp_test): Likewise.
51534         (exp_test_tonearest): Likewise.
51535         (exp_test_towardzero): Likewise.
51536         (exp_test_downward): Likewise.
51537         (exp_test_upward): Likewise.
51538         (exp10_test): Likewise.
51539         (exp2_test): Likewise.
51540         (expm1_test): Likewise.
51541         (fmod_test): Likewise.
51542         (gamma_test): Likewise.
51543         (hypot_test): Likewise.
51544         (j0_test): Likewise.
51545         (j1_test): Likewise.
51546         (jn_test): Likewise.
51547         (lgamma_test): Likewise.
51548         (log_test): Likewise.
51549         (log10_test): Likewise.
51550         (log1p_test): Likewise.
51551         (log2_test): Likewise.
51552         (logb_test_downward): Likewise.
51553         (pow_test): Likewise.
51554         (pow_test_tonearest): Likewise.
51555         (pow_test_towardzero): Likewise.
51556         (pow_test_downward): Likewise.
51557         (pow_test_upward): Likewise.
51558         (remainder_test): Likewise.
51559         (remquo_test): Likewise.
51560         (sin_test): Likewise.
51561         (sin_test_tonearest): Likewise.
51562         (sin_test_towardzero): Likewise.
51563         (sin_test_downward): Likewise.
51564         (sin_test_upward): Likewise.
51565         (sincos_test): Likewise.
51566         (sinh_test): Likewise.
51567         (sinh_test_tonearest): Likewise.
51568         (sinh_test_towardzero): Likewise.
51569         (sinh_test_downward): Likewise.
51570         (sinh_test_upward): Likewise.
51571         (sqrt_test): Likewise.
51572         (tan_test): Likewise.
51573         (tan_test_tonearest): Likewise.
51574         (tan_test_towardzero): Likewise.
51575         (tan_test_downward): Likewise.
51576         (tan_test_upward): Likewise.
51577         (tanh_test): Likewise.
51578         (tgamma_test): Likewise.
51579         (y0_test): Likewise.
51580         (y1_test): Likewise.
51581         (yn_test): Likewise.
51583         * math/gen-libm-test.pl (adjust_arg): Remove function.
51584         (special_function): Remove argument $in_func.  Only handle
51585         generating output for tables of tests, not inside functions.
51586         (parse_args): Likewise.
51587         (generate_testfile): Remove variable $in_func.  Update call to
51588         parse_args.
51589         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
51590         (MINUS_ZERO_INIT): Rename macro to minus_zero.
51591         (PLUS_INFTY_INIT): Rename macro to plus_infty.
51592         (MINUS_INFTY_INIT): Rename macro to minus_infty.
51593         (QNAN_VALUE_INIT): Rename macro to qnan_value.
51594         (MAX_VALUE_INIT): Rename macro to max_value.
51595         (MIN_VALUE_INIT): Rename macro to min_value.
51596         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
51597         (plus_zero): Remove variable.
51598         (minus_zero): Likewise.
51599         (plus_infty): Likewise.
51600         (minus_infty): Likewise.
51601         (qnan_value): Likewise.
51602         (max_value): Likewise.
51603         (min_value): Likewise.
51604         (min_subnorm_value): Likewise.
51606 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51608         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
51609         uint64_t or uint32_t usage.
51610         * crypt/sha256-block.c: Likewise.
51611         * crypt/sha256-crypt.c: Likewise.
51612         * crypt/sha256.c: Likewise.
51613         * crypt/sha512-block.c: Likewise.
51614         * crypt/sha512-crypt.c: Likewise.
51615         * crypt/sha512.c: Likewise.
51616         * debug/backtrace-tst.c: Likewise.
51617         * debug/pcprofiledump.c: Likewise.
51618         * elf/cache.c: Likewise.
51619         * elf/dl-cache.c: Likewise.
51620         * elf/dl-misc.c: Likewise.
51621         * elf/dl-profile.c: Likewise.
51622         * elf/dl-support.c: Likewise.
51623         * elf/ldconfig.c: Likewise.
51624         * elf/sprof.c: Likewise.
51625         * iconv/dummy-repertoire.c: Likewise.
51626         * iconv/iconv_charmap.c: Likewise.
51627         * iconv/skeleton.c: Likewise.
51628         * iconvdata/8bit-generic.c: Likewise.
51629         * iconvdata/cp737.h: Likewise.
51630         * iconvdata/cp775.h: Likewise.
51631         * iconvdata/ibm1008.h: Likewise.
51632         * iconvdata/ibm1025.h: Likewise.
51633         * iconvdata/ibm1046.h: Likewise.
51634         * iconvdata/ibm1097.h: Likewise.
51635         * iconvdata/ibm1112.h: Likewise.
51636         * iconvdata/ibm1122.h: Likewise.
51637         * iconvdata/ibm1123.h: Likewise.
51638         * iconvdata/ibm1124.h: Likewise.
51639         * iconvdata/ibm1129.h: Likewise.
51640         * iconvdata/ibm1130.h: Likewise.
51641         * iconvdata/ibm1132.h: Likewise.
51642         * iconvdata/ibm1133.h: Likewise.
51643         * iconvdata/ibm1137.h: Likewise.
51644         * iconvdata/ibm1140.h: Likewise.
51645         * iconvdata/ibm1141.h: Likewise.
51646         * iconvdata/ibm1142.h: Likewise.
51647         * iconvdata/ibm1143.h: Likewise.
51648         * iconvdata/ibm1144.h: Likewise.
51649         * iconvdata/ibm1145.h: Likewise.
51650         * iconvdata/ibm1146.h: Likewise.
51651         * iconvdata/ibm1147.h: Likewise.
51652         * iconvdata/ibm1148.h: Likewise.
51653         * iconvdata/ibm1149.h: Likewise.
51654         * iconvdata/ibm1153.h: Likewise.
51655         * iconvdata/ibm1154.h: Likewise.
51656         * iconvdata/ibm1155.h: Likewise.
51657         * iconvdata/ibm1156.h: Likewise.
51658         * iconvdata/ibm1157.h: Likewise.
51659         * iconvdata/ibm1158.h: Likewise.
51660         * iconvdata/ibm1160.h: Likewise.
51661         * iconvdata/ibm1161.h: Likewise.
51662         * iconvdata/ibm1162.h: Likewise.
51663         * iconvdata/ibm1163.h: Likewise.
51664         * iconvdata/ibm1164.h: Likewise.
51665         * iconvdata/ibm1166.h: Likewise.
51666         * iconvdata/ibm1167.h: Likewise.
51667         * iconvdata/ibm12712.h: Likewise.
51668         * iconvdata/ibm1390.h: Likewise.
51669         * iconvdata/ibm1399.h: Likewise.
51670         * iconvdata/ibm16804.h: Likewise.
51671         * iconvdata/ibm4517.h: Likewise.
51672         * iconvdata/ibm4899.h: Likewise.
51673         * iconvdata/ibm4909.h: Likewise.
51674         * iconvdata/ibm4971.h: Likewise.
51675         * iconvdata/ibm5347.h: Likewise.
51676         * iconvdata/ibm803.h: Likewise.
51677         * iconvdata/ibm856.h: Likewise.
51678         * iconvdata/ibm901.h: Likewise.
51679         * iconvdata/ibm902.h: Likewise.
51680         * iconvdata/ibm9030.h: Likewise.
51681         * iconvdata/ibm9066.h: Likewise.
51682         * iconvdata/ibm921.h: Likewise.
51683         * iconvdata/ibm922.h: Likewise.
51684         * iconvdata/ibm9448.h: Likewise.
51685         * iconvdata/isiri-3342.h: Likewise.
51686         * iconvdata/jis0201.h: Likewise.
51687         * include/link.h: Likewise.
51688         * include/netdb.h: Likewise.
51689         * inet/check_native.c: Likewise.
51690         * inet/check_pf.c: Likewise.
51691         * inet/getipv4sourcefilter.c: Likewise.
51692         * inet/getnameinfo.c: Likewise.
51693         * inet/getsourcefilter.c: Likewise.
51694         * inet/htonl.c: Likewise.
51695         * inet/setipv4sourcefilter.c: Likewise.
51696         * inet/setsourcefilter.c: Likewise.
51697         * inet/test-inet6_opt.c: Likewise.
51698         * inet/tst-network.c: Likewise.
51699         * locale/C-collate.c: Likewise.
51700         * locale/C-ctype.c: Likewise.
51701         * locale/C-time.c: Likewise.
51702         * locale/C-translit.h: Likewise.
51703         * locale/loadarchive.c: Likewise.
51704         * locale/programs/3level.h: Likewise.
51705         * locale/programs/charmap.c: Likewise.
51706         * locale/programs/charmap.h: Likewise.
51707         * locale/programs/ld-address.c: Likewise.
51708         * locale/programs/ld-collate.c: Likewise.
51709         * locale/programs/ld-ctype.c: Likewise.
51710         * locale/programs/ld-identification.c: Likewise.
51711         * locale/programs/ld-measurement.c: Likewise.
51712         * locale/programs/ld-messages.c: Likewise.
51713         * locale/programs/ld-monetary.c: Likewise.
51714         * locale/programs/ld-name.c: Likewise.
51715         * locale/programs/ld-numeric.c: Likewise.
51716         * locale/programs/ld-paper.c: Likewise.
51717         * locale/programs/ld-telephone.c: Likewise.
51718         * locale/programs/ld-time.c: Likewise.
51719         * locale/programs/linereader.c: Likewise.
51720         * locale/programs/locale.c: Likewise.
51721         * locale/programs/locarchive.c: Likewise.
51722         * locale/programs/locfile.h: Likewise.
51723         * locale/programs/repertoire.c: Likewise.
51724         * locale/programs/simple-hash.c: Likewise.
51725         * locale/programs/simple-hash.h: Likewise.
51726         * malloc/memusage.c: Likewise.
51727         * malloc/memusagestat.c: Likewise.
51728         * nis/nis_defaults.c: Likewise.
51729         * nis/nis_hash.c: Likewise.
51730         * nis/nis_print.c: Likewise.
51731         * nis/nis_xdr.c: Likewise.
51732         * nscd/connections.c: Likewise.
51733         * nscd/hstcache.c: Likewise.
51734         * nscd/nscd_gethst_r.c: Likewise.
51735         * nscd/nscd_getserv_r.c: Likewise.
51736         * nscd/nscd_helper.c: Likewise.
51737         * nscd/servicescache.c: Likewise.
51738         * nss/makedb.c: Likewise.
51739         * nss/nss_db/db-XXX.c: Likewise.
51740         * nss/nss_db/db-initgroups.c: Likewise.
51741         * nss/nss_db/db-netgrp.c: Likewise.
51742         * nss/nss_files/files-network.c: Likewise.
51743         * nss/nss_files/files-parse.c: Likewise.
51744         * posix/bug-regex5.c: Likewise.
51745         * posix/fnmatch_loop.c: Likewise.
51746         * posix/regcomp.c: Likewise.
51747         * posix/regexec.c: Likewise.
51748         * posix/tst-rfc3484-2.c: Likewise.
51749         * posix/tst-rfc3484-3.c: Likewise.
51750         * posix/tst-rfc3484.c: Likewise.
51751         * resolv/nss_dns/dns-canon.c: Likewise.
51752         * resolv/nss_dns/dns-network.c: Likewise.
51753         * resolv/res_init.c: Likewise.
51754         * resolv/res_mkquery.c: Likewise.
51755         * resolv/tst-aton.c: Likewise.
51756         * stdlib/cxa_atexit.c: Likewise.
51757         * stdlib/cxa_finalize.c: Likewise.
51758         * stdlib/gen-fpioconst.c: Likewise.
51759         * stdlib/strtol_l.c: Likewise.
51760         * string/tst-endian.c: Likewise.
51761         * sunrpc/auth_des.c: Likewise.
51762         * sunrpc/clnt_udp.c: Likewise.
51763         * sunrpc/rtime.c: Likewise.
51764         * sunrpc/svcauth_des.c: Likewise.
51765         * sunrpc/xdr.c: Likewise.
51766         * sunrpc/xdr_intXX_t.c: Likewise.
51767         * sunrpc/xdr_rec.c: Likewise.
51768         * sysdeps/generic/ldconfig.h: Likewise.
51769         * sysdeps/generic/ldsodefs.h: Likewise.
51770         * sysdeps/generic/memusage.h: Likewise.
51771         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51772         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
51773         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
51774         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51775         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51776         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51777         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51778         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51779         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51780         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51781         * sysdeps/posix/getaddrinfo.c: Likewise.
51782         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51783         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51784         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51785         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51786         * sysdeps/powerpc/test-gettimebase.c: Likewise.
51787         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
51788         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
51789         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
51790         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
51791         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
51792         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51793         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51794         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
51795         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
51796         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
51797         * sysdeps/x86_64/dl-tls.h: Likewise.
51798         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
51799         * time/alt_digit.c: Likewise.
51800         * time/era.c: Likewise.
51801         * wcsmbs/tst-c16c32-1.c: Likewise.
51803 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51805         * math/libm-test.inc (struct test_sincos_data): New type.
51806         (RUN_TEST_LOOP_sincos): New macro.
51807         (sincos_test_data): New variable.
51808         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
51810 2013-05-16  Richard Henderson  <rth@redhat.com>
51812         * math/atest-exp2.c (LIMB64): New macro.
51813         (CONSTSZ): New macro.
51814         (mp_exp1, mp_exp_m1, mp_log2): New variables.
51815         (hexdig): Move ...
51816         (print_mpn_fp): ... to function scope.
51817         (read_mpn_hex): Remove.
51818         (get_log2): Remove.
51819         (exp2_mpn): Use mp_log2.
51820         (main): Use mp_exp1.
51822 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51824         * math/libm-test.inc: Remove comment about not testing "inexact"
51825         exceptions.
51826         (INEXACT_EXCEPTION): New macro.
51827         (NO_INEXACT_EXCEPTION): Likewise.
51828         (INVALID_EXCEPTION_OK): Update value.
51829         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51830         (OVERFLOW_EXCEPTION_OK): Likewise.
51831         (UNDERFLOW_EXCEPTION_OK): Likewise.
51832         (IGNORE_ZERO_INF_SIGN): Likewise.
51833         (ERRNO_UNCHANGED): Likewise.
51834         (ERRNO_EDOM): Likewise.
51835         (ERRNO_ERANGE): Likewise.
51836         (test_exceptions): Handle testing "inexact" exceptions.
51837         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
51838         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
51839         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
51840         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
51841         INEXACT_EXCEPTION.
51842         (rint_towardzero_test_data): Likewise.
51843         (rint_downward_test_data): Likewise.
51844         (rint_upward_test_data): Likewise.
51846         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
51847         with OVERFLOW_EXCEPTION.
51848         (exp10_test_data): Likewise.
51849         (exp2_test_data): Likewise.
51850         (expm1_test_data): Likewise.
51851         (lgamma_test_data): Likewise.
51852         (pow_test_data): Likewise.
51853         (tgamma_test_data): Likewise.
51854         (yn_test_data): Remove duplicate test of overflow.
51856         * math/libm-test.inc (struct test_cc_c_data): New type.
51857         (RUN_TEST_LOOP_cc_c): New macro.
51858         (cpow_test_data): New variable.
51859         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
51861         * math/libm-test.inc (struct test_f_L_data): New type.
51862         (RUN_TEST_LOOP_f_L): New macro.
51863         (llrint_test_data): New variable.
51864         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
51865         (llrint_tonearest_test_data): New variable.
51866         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
51867         (llrint_towardzero_test_data): New variable.
51868         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
51869         (llrint_downward_test_data): New variable.
51870         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
51871         (llrint_upward_test_data): New variable.
51872         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
51873         (llround_test_data): New variable.
51874         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
51876 2013-05-13  Peter Collingbourne  <pcc@google.com>
51878         * math/atest-exp2.c (get_log2): Remove const attribute.
51880 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51882         * math/libm-test.inc (struct test_f_l_data): New type.
51883         (RUN_TEST_LOOP_f_l): New macro.
51884         (lrint_test_data): New variable.
51885         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
51886         (lrint_tonearest_test_data): New variable.
51887         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
51888         (lrint_towardzero_test_data): New variable.
51889         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
51890         (lrint_downward_test_data): New variable.
51891         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
51892         (lrint_upward_test_data): New variable.
51893         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
51894         (lround_test_data): New variable.
51895         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
51897 2013-05-15  Peter Collingbourne  <pcc@google.com>
51899         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
51900         (EXTRACT_WORDS64) Use where appropriate.
51901         (INSERT_WORDS64) Likewise.
51903         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
51904         constraints with x constraints.
51905         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
51907         * malloc/obstack.c (_obstack_compat): Add initializer.
51909 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51911         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
51912         si_trapno and add si_addr_lsb to _sifields.sigfault.
51913         (si_trapno): Remove macro.
51914         (si_addr_lsb): Define new macro.
51915         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51917 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51919         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
51920         instead of TEST_f_l.
51921         (llrint_test_tonearest): Likewise.
51922         (llrint_test_towardzero): Likewise.
51923         (llrint_test_downward): Likewise.
51924         (llrint_test_upward): Likewise.
51925         (llround_test): Likewise.
51927         * math/libm-test.inc (struct test_f_i_data): Add comment.
51928         (RUN_TEST_LOOP_f_b): New macro.
51929         (RUN_TEST_LOOP_f_b_tg): Likewise.
51930         (finite_test_data): New variable.
51931         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
51932         (isfinite_test_data): New variable.
51933         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51934         (isinf_test_data): New variable.
51935         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51936         (isnan_test_data): New variable.
51937         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51938         (isnormal_test_data): New variable.
51939         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51940         (issignaling_test_data): New variable.
51941         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51942         (signbit_test_data): New variable.
51943         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51945         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
51946         with INVALID_EXCEPTION.
51947         (acosh_test_data): Likewise.
51948         (asin_test_data): Likewise.
51949         (atanh_test_data): Likewise.
51950         (fmod_test_data): Likewise.
51951         (log_test_data): Likewise.
51952         (log10_test_data): Likewise.
51953         (log2_test_data): Likewise.
51954         (pow_test_data): Likewise.
51955         (sqrt_test_data): Likewise.
51956         (y0_test_data): Likewise.
51957         (y1_test_data): Likewise.
51958         (yn_test_data): Likewise.
51960         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
51961         function contents.
51963         * math/libm-test.inc (struct test_ff_i_data): New type.
51964         (RUN_TEST_LOOP_ff_i_tg): New macro.
51965         (isgreater_test_data): New variable.
51966         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51967         (isgreaterequal_test_data): New variable.
51968         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51969         (isless_test_data): New variable.
51970         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51971         (islessequal_test_data): New variable.
51972         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51973         (islessgreater_test_data): New variable.
51974         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51975         (isunordered_test_data): New variable.
51976         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51978 2013-05-14  David S. Miller  <davem@davemloft.net>
51980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51982 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
51984         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
51986         * math/libm-test.inc (struct test_fF_f1_data): Change type of
51987         extra_test to int.
51988         (struct test_f_i_data): Change type of max_ulp to int.
51990         * math/libm-test.inc (test_ffI_f1_data): New type.
51991         (RUN_TEST_LOOP_ffI_f1): New macro.
51992         (remquo_test_data): New variable.
51993         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
51995         * setjmp/tst-setjmp-fp.c: New file.
51996         * setjmp/Makefile (tests): Add tst-setjmp-fp.
51997         (link-libm): New variable.
51998         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
52000         * math/libm-test.inc (struct test_f_i_data): New type.
52001         (RUN_TEST_LOOP_f_i): New macro.
52002         (RUN_TEST_LOOP_f_i_tg): Likewise.
52003         (fpclassify_test_data): New variable.
52004         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
52005         (ilogb_test_data): New variable.
52006         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
52008         * math/libm-test.inc (scalbln_test): Correct function name in END
52009         call.
52011         * math/libm-test.inc (struct test_f_f1_data): Add comment.
52012         (RUN_TEST_LOOP_fI_f1): New macro.
52013         (frexp_test_data): New variable.
52014         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
52016         * math/libm-test.inc (struct test_fF_f1_data): New type.
52017         (RUN_TEST_LOOP_fF_f1): New macro.
52018         (modf_test_data): New variable.
52019         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
52021         * math/libm-test.inc (struct test_f_f1_data): New type.
52022         (RUN_TEST_LOOP_f_f1): New macro.
52023         (gamma_test_data): New variable.
52024         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52025         (lgamma_test_data): New variable.
52026         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52028 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
52030         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
52031         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
52032         (main): Comment "tls" pseudo-hwcap.
52034 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
52036         * math/libm-test.inc (struct test_fl_f_data): New type.
52037         (RUN_TEST_LOOP_fl_f): New variable.
52038         (scalbln_test_data): New variable.
52039         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
52041         * math/libm-test.inc (struct test_fi_f_data): New type.
52042         (RUN_TEST_LOOP_fi_f): New macro.
52043         (ldexp_test_data): New variable.
52044         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
52045         (scalbn_test_data): New variable.
52046         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
52048         * math/libm-test.inc (struct test_c_f_data): New type.
52049         (RUN_TEST_LOOP_c_f): New macro.
52050         (cabs_test_data): New variable.
52051         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
52052         (carg_test_data): New variable.
52053         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
52054         (cimag_test_data): New variable.
52055         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
52056         (creal_test_data): New variable.
52057         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
52059         * math/libm-test.inc (struct test_if_f_data): New type.
52060         (RUN_TEST_LOOP_if_f): New macro.
52061         (jn_test_data): New variable.
52062         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
52063         (yn_test_data): New variable.
52064         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
52066         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
52068 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52070         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
52071         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
52073 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52075         * benchtests/Makefile (CPPFLAGS-nonlib): Add
52076         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
52077         (bench-deps): Add bench-timing.h.
52078         * benchtests-bench-skeleton.c: Include bench-timing.h.
52079         (main): Use TIMING_* macros instead of clock_gettime.
52080         * benchtests/bench-timing.h: New file.
52082         [BZ #14582]
52083         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
52084         Renamed from _LIB_VERSION.
52085         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
52087 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
52089         * math/libm-test.inc (struct test_fff_f_data): New type.
52090         (RUN_TEST_LOOP_fff_f): New macro.
52091         (fma_test_data): New variable.
52092         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
52093         (fma_towardzero_test_data): New variable.
52094         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
52095         (fma_downward_test_data): New variable.
52096         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
52097         (fma_upward_test_data): New variable.
52098         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
52100         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
52101         (struct test_c_c_data): New type.
52102         (RUN_TEST_LOOP_c_c): New macro.
52103         (cacos_test_data): New variable.
52104         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
52105         (cacosh_test_data): New variable.
52106         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
52107         (casin_test_data): New variable.
52108         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
52109         (casinh_test_data): New variable.
52110         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
52111         (catan_test_data): New variable.
52112         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
52113         (catanh_test_data): New variable.
52114         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
52115         (ccos_test_data): New variable.
52116         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
52117         (ccosh_test_data): New variable.
52118         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
52119         (cexp_test_data): New variable.
52120         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
52121         (clog_test_data): New variable.
52122         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
52123         (clog10_test_data): New variable.
52124         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
52125         (conj_test_data): New variable.
52126         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
52127         (cproj_test_data): New variable.
52128         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
52129         (csin_test_data): New variable.
52130         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
52131         (csinh_test_data): New variable.
52132         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
52133         (csqrt_test_data): New variable.
52134         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
52135         (ctan_test_data): New variable.
52136         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
52137         (ctan_tonearest_test_data): New variable.
52138         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52139         (ctan_towardzero_test_data): New variable.
52140         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52141         (ctan_downward_test_data): New variable.
52142         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52143         (ctan_upward_test_data): New variable.
52144         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52145         (ctanh_test_data): New variable.
52146         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
52147         (ctanh_tonearest_test_data): New variable.
52148         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52149         (ctanh_towardzero_test_data): New variable.
52150         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52151         (ctanh_downward_test_data): New variable.
52152         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52153         (ctanh_upward_test_data): New variable.
52154         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52155         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
52156         of BUILD_COMPLEX.
52158         * math/libm-test.inc (struct test_ff_f_data): New type.
52159         (struct test_ff_f_data_nexttoward): Likewise.
52160         (RUN_TEST_LOOP_2_f): New macro.
52161         (RUN_TEST_LOOP_ff_f): Likewise.
52162         (atan2_test_data): New variable.
52163         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
52164         (copysign_test_data): New variable.
52165         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
52166         (fdim_test_data): New variable.
52167         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
52168         (fmax_test_data): New variable.
52169         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
52170         (fmin_test_data): New variable.
52171         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
52172         (fmod_test_data): New variable.
52173         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
52174         (hypot_test_data): New variable.
52175         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
52176         (nextafter_test_data): New variable.
52177         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
52178         (nexttoward_test_data): New variable.
52179         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
52180         (pow_test_data): New variable.
52181         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
52182         (pow_tonearest_test_data): New variable.
52183         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
52184         (pow_towardzero_test_data): New variable.
52185         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
52186         (pow_downward_test_data): New variable.
52187         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
52188         (pow_upward_test_data): New variable.
52189         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
52190         (remainder_test_data): New variable.
52191         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
52192         (scalb_test_data): New variable.
52193         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
52194         * sysdeps/i386/fpu/libm-test-ulps: Update.
52196 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
52198         * math/libm-test.inc (fma_test): Use max_value instead of local
52199         variable fltmax.
52200         (nextafter_test): Likewise.
52202         * math/libm-test.inc (acos_towardzero_test_data): New variable.
52203         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52204         (acos_downward_test_data): New variable.
52205         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52206         (acos_upward_test_data): New variable.
52207         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52208         (acosh_test_data): New variable.
52209         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
52210         (asin_test_data): New variable.
52211         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
52212         (asin_tonearest_test_data): New variable.
52213         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52214         (asin_towardzero_test_data): New variable.
52215         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52216         (asin_downward_test_data): New variable.
52217         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52218         (asin_upward_test_data): New variable.
52219         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52220         (asinh_test_data): New variable.
52221         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
52222         (atan_test_data): New variable.
52223         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
52224         (atanh_test_data): New variable.
52225         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
52226         (cbrt_test_data): New variable.
52227         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
52228         (ceil_test_data): New variable.
52229         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
52230         (cos_test_data): New variable.
52231         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
52232         (cos_tonearest_test_data): New variable.
52233         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52234         (cos_towardzero_test_data): New variable.
52235         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52236         (cos_downward_test_data): New variable.
52237         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52238         (cos_upward_test_data): New variable.
52239         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52240         (cosh_test_data): New variable.
52241         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
52242         (cosh_tonearest_test_data): New variable.
52243         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52244         (cosh_towardzero_test_data): New variable.
52245         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52246         (cosh_downward_test_data): New variable.
52247         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52248         (cosh_upward_test_data): New variable.
52249         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52250         (erf_test_data): New variable.
52251         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
52252         (erfc_test_data): New variable.
52253         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
52254         (exp_test_data): New variable.
52255         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
52256         (exp_tonearest_test_data): New variable.
52257         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52258         (exp_towardzero_test_data): New variable.
52259         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52260         (exp_downward_test_data): New variable.
52261         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52262         (exp_upward_test_data): New variable.
52263         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52264         (exp10_test_data): New variable.
52265         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
52266         (exp2_test_data): New variable.
52267         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
52268         (expm1_test_data): New variable.
52269         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
52270         (fabs_test_data): New variable.
52271         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
52272         (floor_test_data): New variable.
52273         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
52274         (j0_test_data): New variable.
52275         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
52276         (j1_test_data): New variable.
52277         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
52278         (log_test_data): New variable.
52279         (log_test): Run tests with RUN_TEST_LOOP_f_f.
52280         (log10_test_data): New variable.
52281         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
52282         (log1p_test_data): New variable.
52283         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
52284         (log2_test_data): New variable.
52285         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
52286         (logb_test_data): New variable.
52287         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
52288         (logb_downward_test_data): New variable.
52289         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52290         (nearbyint_test_data): New variable.
52291         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
52292         (rint_test_data): New variable.
52293         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
52294         (rint_tonearest_test_data): New variable.
52295         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52296         (rint_towardzero_test_data): New variable.
52297         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52298         (rint_downward_test_data): New variable.
52299         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52300         (rint_upward_test_data): New variable.
52301         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52302         (round_test_data): New variable.
52303         (round_test): Run tests with RUN_TEST_LOOP_f_f.
52304         (sin_test_data): New variable.
52305         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
52306         (sin_tonearest_test_data): New variable.
52307         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52308         (sin_towardzero_test_data): New variable.
52309         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52310         (sin_downward_test_data): New variable.
52311         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52312         (sin_upward_test_data): New variable.
52313         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52314         (sinh_test_data): New variable.
52315         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
52316         (sinh_tonearest_test_data): New variable.
52317         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52318         (sinh_towardzero_test_data): New variable.
52319         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52320         (sinh_downward_test_data): New variable.
52321         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52322         (sinh_upward_test_data): New variable.
52323         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52324         (sqrt_test_data): New variable.
52325         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
52326         (tan_test_data): New variable.
52327         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
52328         (tan_tonearest_test_data): New variable.
52329         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52330         (tan_towardzero_test_data): New variable.
52331         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52332         (tan_downward_test_data): New variable.
52333         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52334         (tan_upward_test_data): New variable.
52335         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52336         (tanh_test_data): New variable.
52337         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
52338         (tgamma_test_data): New variable.
52339         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
52340         (trunc_test_data): New variable.
52341         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
52342         (y0_test_data): New variable.
52343         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
52344         (y1_test_data): New variable.
52345         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
52346         (significand_test_data): New variable.
52347         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
52349 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
52351         [BZ #12387]
52352         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
52354 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52356         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
52358 2013-05-10  Andreas Jaeger  <aj@suse.de>
52360         [BZ #15448]
52361         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
52362         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
52364 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52366         * math/gen-libm-test.pl (adjust_arg): New function.
52367         (special_functions): Handle generating output in both functions
52368         and arrays.
52369         (parse_args): Likewise.
52370         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
52371         $in_func argument to parse_args.
52372         * math/libm-test.inc (struct test_f_f_data): New type.
52373         (IF_ROUND_INIT_): New macro.
52374         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
52375         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52376         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52377         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52378         (ROUND_RESTORE_): Likewise.
52379         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
52380         (ROUND_RESTORE_FE_TONEAREST): Likewise.
52381         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
52382         (ROUND_RESTORE_FE_UPWARD): Likewise.
52383         (RUN_TEST_LOOP_f_f): New macro.
52384         (acos_test_data): New variable.
52385         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
52386         (acos_tonearest_test_data): New variable.
52387         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52389 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52391         * benchtests/bench-skeleton.c (startup): Fix coding style.
52393 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52395         [BZ #6809]
52396         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
52397         negative infinity argument.
52398         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
52399         negative infinity argument.
52400         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
52401         negative infinity argument.
52402         * math/libm-test.inc (tgamma_test): Expect errno to be set for
52403         domain errors.
52405 2013-05-10  Florian Weimer  <fweimer@redhat.com>
52407         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
52408         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
52409         * iconv/iconv_prog.c (main): Likewise.
52410         * locale/programs/charmap-dir.c (charmap_readdir)
52411         (fopen_uncompressed): Likewise.
52412         * locale/programs/locfile.c (siblings_uncached)
52413         (write_locale_data): Use lstat64 instead of lstat.
52414         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
52415         stat.
52417 2013-05-10  Andreas Jaeger  <aj@suse.de>
52419         [BZ #15395]
52420         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
52421         localization.
52422         Include <locale.h>.
52424 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
52426         * elf/dl-close.c (_dl_close_worker): Add comments.
52428 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
52430         [BZ #15359]
52431         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
52432         high part of pi/2.
52433         (__ieee754_rem_pio2l): Update comments.
52435         [BZ #15429]
52436         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
52437         high part of pi/2.
52438         (__ieee754_rem_pio2l): Update comments.
52440         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
52441         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
52443         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
52444         M_PI_4l.
52446         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
52447         (M_PI_34_LOG10El): Likewise.
52448         (M_PI2_LOG10El): Likewise.
52449         (M_PI4_LOG10El): Likewise.
52450         (M_PI_LOG10El): Likewise.
52452 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52456 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
52458         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
52459         (MINUS_ZERO_INIT): Likewise.
52460         (PLUS_INFTY_INIT): Likewise.
52461         (MINUS_INFTY_INIT): Likewise.
52462         (QNAN_VALUE_INIT): Likewise.
52463         (MAX_VALUE_INIT): Likewise.
52464         (MIN_VALUE_INIT): Likewise.
52465         (MIN_SUBNORM_VALUE_INIT): Likewise.
52466         (plus_zero): Initialize with PLUS_ZERO_INIT.
52467         (minus_zero): Initialize with MINUS_ZERO_INIT.
52468         (plus_infty): Initialize with PLUS_INFTY_INIT.
52469         (minus_infty): Initialize with MINUS_INFTY_INIT.
52470         (qnan_value): Initialize with QNAN_VALUE_INIT.
52471         (max_value): Initialize with MAX_VALUE_INIT.
52472         (min_value): Initialize with MIN_VALUE_INIT.
52473         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
52475         * math/libm-test.inc (RUN_TEST_if_f): New macro.
52476         (jn_test): Use TEST_if_f instead of TEST_ff_f.
52477         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
52478         (yn_test): Use TEST_if_f instead of TEST_ff_f.
52480         * math/libm-test.inc (RUN_TEST_f_f): New macro.
52481         (RUN_TEST_2_f): Likewise.
52482         (RUN_TEST_ff_f): Likewise.
52483         (RUN_TEST_fi_f): Likewise.
52484         (RUN_TEST_fl_f): Likewise.
52485         (RUN_TEST_fff_f): Likewise.
52486         (RUN_TEST_c_f): Likewise.
52487         (RUN_TEST_f_f1): Likewise.
52488         (RUN_TEST_fF_f1): Likewise.
52489         (RUN_TEST_fI_f1): Likewise.
52490         (RUN_TEST_ffI_f1): Likewise.
52491         (RUN_TEST_c_c): Likewise.
52492         (RUN_TEST_cc_c): Likewise.
52493         (RUN_TEST_f_i): Likewise.
52494         (RUN_TEST_f_i_tg): Likewise.
52495         (RUN_TEST_ff_i_tg): Likewise.
52496         (RUN_TEST_f_b): Likewise.
52497         (RUN_TEST_f_b_tg): Likewise.
52498         (RUN_TEST_f_l): Likewise.
52499         (RUN_TEST_f_L): Likewise.
52500         (RUN_TEST_sincos): Likewise.
52501         * math/gen-libm-test.pl (new_test): Take new argument to indicate
52502         whether to show exceptions.  Do not include ");\n" in return
52503         value.
52504         (special_functions): Output call to RUN_TEST_sincos instead of
52505         check_float calls.  Update calls to new_test.
52506         (parse_args): Output call to single RUN_TEST_* macro instead of
52507         check_* calls and other assignments.  Update calls to new_test.
52509         [BZ #2546]
52510         [BZ #2560]
52511         [BZ #5159]
52512         [BZ #15426]
52513         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
52514         input to result for tgamma overflow.
52515         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
52516         (gamma_coeff): New variable.
52517         (NCOEFF): New macro.
52518         (gamma_positive): New function.
52519         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
52520         underflow here.  Use gamma_positive instead of exp (lgamma) for
52521         other arguments.
52522         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
52523         (gamma_coeff): New variable.
52524         (NCOEFF): New macro.
52525         (gammaf_positive): New function.
52526         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
52527         underflow here.  Use gamma_positive instead of exp (lgamma) for
52528         other arguments.
52529         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
52530         (gamma_coeff): New variable.
52531         (NCOEFF): New macro.
52532         (gammal_positive): New function.
52533         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
52534         underflow here.  Use gamma_positive instead of exp (lgamma) for
52535         other arguments.
52536         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
52537         (gamma_coeff): New variable.
52538         (NCOEFF): New macro.
52539         (gammal_positive): New function.
52540         (__ieee754_gammal_r): Handle positive infinity, overflow and
52541         underflow here.  Handle NaN the same as positive infinity.  Remove
52542         check x < 0xffffffff for negative integers.  Use gamma_positive
52543         instead of exp (lgamma) for other arguments.
52544         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
52545         (gamma_coeff): New variable.
52546         (NCOEFF): New macro.
52547         (gammal_positive): New function.
52548         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
52549         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
52550         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
52551         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
52552         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
52553         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
52554         * sysdeps/generic/math_private.h (__gamma_productf): New
52555         prototype.
52556         (__gamma_product): Likewise.
52557         (__gamma_productl): Likewise.
52558         * math/Makefile (libm-calls): Add gamma_product.
52559         * math/libm-test.inc (tgamma_test): Add more tests.
52560         * sysdeps/i386/fpu/libm-test-ulps: Update.
52561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52563 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
52565         * benchtests/bench-skeleton.c (main): Preheat CPU.
52567 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
52569         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
52571 2013-05-07  Roland McGrath  <roland@hack.frob.com>
52573         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
52574         and _dl_skip_args_internal.
52576 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
52578         * manual/message.texi (Message Translation): Talk about users.
52579         Message to key mapping impacts design.
52581 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52583         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
52585         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
52587         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
52588         * sysdeps/wordsize-64/glob64.c: ... here.
52590         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
52591         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
52592         New macros.
52594         * debug/getlogin_r_chk.c: Moved to ...
52595         * login/getlogin_r_chk.c: ... here.
52596         * debug/Makefile (routines): Move getlogin_r_chk to ...
52597         * login/Makefile (routines): ... here.
52598         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
52599         * login/Versions (libc: GLIBC_2.4): ... here.
52601         * io/poll.c (__poll): Renamed from poll.
52602         Add libc_hidden_def.
52603         (poll): Define as weak alias.
52605         * debug/ptsname_r_chk.c: Moved to ...
52606         * login/ptsname_r_chk.c: ... here.
52607         * debug/Makefile (routines): Move ptsname_r_chk to ...
52608         * login/Makefile (routines): ... here.
52609         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
52610         * login/Versions (libc: GLIBC_2.4): ... here.
52612         * posix/getlogin.c: Moved to ...
52613         * login/getlogin.c: ... here.
52614         * posix/getlogin_r.c: Moved to ...
52615         * login/getlogin_r.c: ... here.
52616         * posix/getlogin_r.c: Moved to ...
52617         * login/getlogin_r.c: ... here.
52618         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
52619         * login/Makefile (routines): ... here.
52620         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
52621         * login/Versions (libc: GLIBC_2.0): ... here.
52623         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
52624         (setrlimit): Define as weak alias.
52626         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
52627         Call __ names for open, ftruncate, and close.
52628         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
52629         (truncate): Define as weak alias.
52631 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
52633         * math/gen-libm-test.pl (parse_args): Initialize x before each
52634         test of frexp, modf and remquo.
52636         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
52637         test signgam value.
52639 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52641         [BZ #15418]
52642         [BZ #15419]
52643         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
52644         internal tests.
52645         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52647 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52649         * elf/dl-writev.h: New file.
52650         * elf/dl-misc.c: Include it.
52651         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
52652         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
52654 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
52656         * math/libm-test.inc (noXFails): Remove variable.
52657         (noXPasses): Likewise.
52658         (BUILD_COMPLEX_INT): Remove macro.
52659         (print_screen): Remove xfail argument.
52660         (print_screen_max_error): Likewise.
52661         (update_stats): Likewise.
52662         (print_max_error): Likewise.  Update calls to other affected
52663         functions.
52664         (print_complex_max_error): Likewise.
52665         (test_single_exception): Update calls to print_screen.
52666         (test_single_errno): Likewise.
52667         (check_float_internal): Remove xfail argument.  Update calls to
52668         other affected functions.
52669         (check_float): Likewise.
52670         (check_complex): Likewise.
52671         (check_int): Likewise.
52672         (check_long): Likewise.
52673         (check_bool): Likewise.
52674         (check_longlong): Likewise.
52675         (main): Don't print noXFails and noXPasses.
52676         * math/gen-libm-test.pl (top level): Don't mention expected
52677         failure handling in comment.
52678         (new_test): Don't handle expected failures.
52679         (parse_args): Don't mention expected failure handling in comment.
52680         (generate_testfile): Don't handle expected failures.
52681         (parse_ulps): Likewise.
52682         (print_ulps_file): Likewise.
52683         (get_failure): Remove function.
52684         (output_test): Don't handle expected failures.
52685         * make/README.libm-test: Don't mention expected failure handling.
52687         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
52688         (minus_zero): Likewise.
52689         (plus_infty): Likewise.
52690         (minus_infty): Likewise.
52691         (qnan_value): Likewise.
52692         (max_value): Likewise.
52693         (min_value): Likewise.
52694         (min_subnorm_value): Likewise.
52695         (initialize): Do not initialize those variables dynamically.
52697 2013-05-03  Roland McGrath  <roland@hack.frob.com>
52699         * io/open.c (__open_2): Moved to ...
52700         * io/open_2.c: ... this new file.
52701         * io/open64.c (__open64_2): Moved to ...
52702         * io/open64_2.c: ... this new file.
52703         * io/openat.c (__openat_2): Moved to ...
52704         * io/openat_2.c: ... this new file.
52705         * io/openat64.c (__openat64_2): Moved to ...
52706         * io/openat64_2.c: ... this new file.
52707         * io/Makefile (routines): Add them.
52708         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
52709         * sysdeps/unix/sysv/linux/open_2.c: File removed.
52710         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
52711         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
52712         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
52713         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
52714         (__openat64): Add hidden_ver.
52715         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
52716         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
52718         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
52719         Separately conditionalize setting of GLRO(dl_sysinfo) so
52720         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
52721         as well, but the actual setting is only under [NEED_DL_SYSINFO].
52723 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52725         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
52726         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
52727         definition.
52728         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
52729         * sysdeps/unix/sysv/linux/powerpc/init-first.c
52730         (_libc_vdso_platform_setup): Add __vdso_time initialization.
52731         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
52732         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
52734 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
52736         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
52737         test signgam value.
52739         * math/libm-test.inc (hypot_test): Do not use
52740         IGNORE_ZERO_INF_SIGN.
52742 2013-05-03  Andreas Jaeger  <aj@suse.de>
52744         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
52745         Linux 3.9.
52746         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
52747         (PF_MAX): Adjust for VSOCK change.
52749 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52753 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
52755         [BZ #15264]
52756         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
52757         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
52758         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
52760 2013-05-02  David S. Miller  <davem@davemloft.net>
52762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52764 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
52766         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
52768 2013-05-01  Roland McGrath  <roland@hack.frob.com>
52770         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
52772 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
52774         [BZ #14952]
52775         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
52776         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52777         Use __attribute__ ((__gnu_inline__)).
52778         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52779         Don't use __attribute__ ((__gnu_inline__)).
52781 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
52783         [BZ #15423]
52784         * math/s_catan.c (__catan): Handle small real or imaginary part of
52785         input specially to avoid spurious underflow.
52786         * math/s_catanf.c (__catanf): Likewise.
52787         * math/s_catanh.c (__catanh): Likewise.
52788         * math/s_catanhf.c (__catanhf): Likewise.
52789         * math/s_catanhl.c (__catanhl): Likewise.
52790         * math/s_catanl.c (__catanl): Likewise.
52791         * math/libm-test.inc (catan_test): Add more tests.
52792         (catanh_test): Likewise.
52793         * sysdeps/i386/fpu/libm-test-ulps: Update.
52794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52796 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52800 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
52802         [BZ #15416]
52803         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
52804         accurately for denominator in atan2.
52805         * math/s_catanf.c (__catanf): Likewise.
52806         * math/s_catanh.c (__catanh): Likewise.
52807         * math/s_catanhf.c (__catanhf): Likewise.
52808         * math/s_catanhl.c (__catanhl): Likewise.
52809         * math/s_catanl.c (__catanl): Likewise.
52810         * math/libm-test.inc (catan_test): Add more tests.
52811         (catanh_test): Likewise.
52812         * sysdeps/i386/fpu/libm-test-ulps: Update.
52813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52815 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52817         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
52819         * benchtests/Makefile (bench): Remove slow benchmarks.
52820         * benchtests/atan-inputs: Add slow benchmark inputs.
52821         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
52822         (BENCH_FUNC): Accept variant offset.
52823         (VARIANT): Define.
52824         * benchtests/bench-skeleton.c (main): Run benchmark for each
52825         variant.
52826         * benchtests/cos-inputs: Add slow benchmark inputs.
52827         * benchtests/exp-inputs: Likewise.
52828         * benchtests/pow-inputs: Likewise.
52829         * benchtests/sin-inputs: Likewise.
52830         * benchtests/slowatan-inputs: Remove.
52831         * benchtests/slowatan.c: Remove.
52832         * benchtests/slowcos-inputs: Remove.
52833         * benchtests/slowcos.c: Remove.
52834         * benchtests/slowexp-inputs: Remove.
52835         * benchtests/slowexp.c: Remove.
52836         * benchtests/slowpow-inputs: Remove.
52837         * benchtests/slowpow.c: Remove.
52838         * benchtests/slowsin-inputs: Remove.
52839         * benchtests/slowsin.c: Remove.
52840         * benchtests/slowtan-inputs: Remove.
52841         * benchtests/slowtan.c: Remove.
52842         * benchtests/tan-inputs: Add slow benchmark inputs.
52843         * scripts/bench.pl: Parse comments and directives.
52845         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
52846         in CPPFLAGS.
52847         ($(objpfx)bench-%.c): Remove *-ITER.
52848         * benchtests/bench-modf.c: Remove definition of ITER.
52849         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
52850         (main): Loop for DURATION seconds instead of fixed number of
52851         iterations.
52852         * scripts/bench.pl: Don't expect iterations in parameters.
52854 2013-04-29  Roland McGrath  <roland@hack.frob.com>
52856         * io/fchdir.c (__fchdir): Renamed from fchdir.
52857         (fchdir): Define as weak alias.
52859 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52861         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
52862         (ERRNO_EDOM): Likewise.
52863         (ERRNO_ERANGE): Likewise.
52864         (noErrnoTests): New variable.
52865         (init_max_error): Set errno to 0.
52866         (test_single_errno): New function.
52867         (test_errno): Likewise.
52868         (check_float_internal): Call test_errno.  Set errno to 0.
52869         (check_complex): Refer to errno tests in comment.
52870         (check_int): Call test_errno.  Set errno to 0.
52871         (check_long): Likewise.
52872         (check_bool): Likewise.
52873         (check_longlong): Likewise.
52874         (cos_test): Use ERRNO_* flags for errno tests instead of
52875         check_int.
52876         (expm1_test): Likewise.
52877         (fmod_test): Likewise.
52878         (ilogb_test): Likewise.
52879         (lgamma_test): Likewise.
52880         (pow_test): Likewise.
52881         (remainder_test): Likewise.
52882         (sin_test): Likewise.
52883         (tan_test): Likewise.
52884         (yn_test): Likewise.
52885         (initialize): Set errno to 0.
52886         (main): Print number of errno tests.
52887         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
52889 2013-04-29  Andreas Jaeger  <aj@suse.de>
52891         [BZ #15084]
52892         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
52893         and RES_USEVC.
52895         [BZ #15085]
52896         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
52897         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
52898         unimplemented.
52900         [BZ #15380]
52901         * stdlib/random.c (__initstate): Return NULL if
52902         __initstate fails.
52904         [BZ #15086]
52905         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
52906         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
52907         RES_SNGLKUPREOP.
52909 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52913 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52915         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
52916         of individual tests.
52917         (casin_test): Likewise.
52918         (casinh_test): Likewise.
52920 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
52922         [BZ #15409]
52923         * math/s_catan.c (__catan): Handle arguments with large real or
52924         imaginary part separately without squaring.
52925         * math/s_catanf.c (__catanf): Likewise.
52926         * math/s_catanh.c (__catanh): Likewise.
52927         * math/s_catanhf.c (__catanhf): Likewise.
52928         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52929         and redefine.
52930         (__catanhl): Handle arguments with large real or imaginary part
52931         separately without squaring.
52932         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52933         and redefine.
52934         (__catanl): Handle arguments with large real or imaginary part
52935         separately without squaring.
52936         * math/libm-test.inc (catan_test): Add more tests.
52937         (catanh_test): Likewise.
52938         * sysdeps/i386/fpu/libm-test-ulps: Update.
52939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52941 2013-04-27  Andreas Jaeger  <aj@suse.de>
52943         [BZ #15007]
52944         * stdlib/stdlib.h: Update guards for qecvt.
52945         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
52946         <stdlib.h>.
52948 2013-04-27  Allan McRae  <allan@archlinux.org>
52950         * sysdeps/i386/fpu/libm-test-ulps: Update.
52952 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
52954         [BZ #15406]
52955         * math/s_catan.c: Include <float.h>.
52956         (__catan): Ensure underflow exception occurs for underflowed
52957         result.
52958         * math/s_catanf.c: Include <float.h>.
52959         (__catanf): Ensure underflow exception occurs for underflowed
52960         result.
52961         * math/s_catanh.c: Include <float.h>.
52962         (__catanh): Ensure underflow exception occurs for underflowed
52963         result.
52964         * math/s_catanhf.c: Include <float.h>.
52965         (__catanhf): Ensure underflow exception occurs for underflowed
52966         result.
52967         * math/s_catanhl.c: Include <float.h>.
52968         (__catanhl): Ensure underflow exception occurs for underflowed
52969         result.
52970         * math/s_catanl.c: Include <float.h>.
52971         (__catanl): Ensure underflow exception occurs for underflowed
52972         result.
52973         * math/libm-test.inc (catan_test): Add more tests.
52974         (catanh_test): Likewise.
52976         [BZ #15405]
52977         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
52978         underflowed result.
52979         * math/s_ccoshf.c (__ccoshf): Likewise.
52980         * math/s_ccoshl.c (__ccoshl): Likewise.
52981         * math/s_csin.c (__csin): Likewise.
52982         * math/s_csinf.c (__csinf): Likewise.
52983         * math/s_csinh.c (__csinh): Likewise.
52984         * math/s_csinhf.c (__csinhf): Likewise.
52985         * math/s_csinhl.c (__csinhl): Likewise.
52986         * math/s_csinl.c (__csinl): Likewise.
52987         * math/libm-test.inc (ccos_test): Add more tests.
52988         (ccosh_test): Likewise.
52989         (csin_test): Likewise.
52990         (csinh_test): Likewise.
52992 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52994         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
52995         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
52996         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
52997         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
52998         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
52999         powerpc/power5+/fpu folders.
53000         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
53003 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
53005         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53007 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
53009         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
53010         additions to variable.
53011         [$(config-machine) = x86_64] (modules-names): Likewise.
53012         ($(objpfx)tst-audit3): Remove dependency.
53013         ($(objpfx)tst-audit3.out): Likewise.
53014         ($(objpfx)tst-audit4): Likewise.
53015         ($(objpfx)tst-audit4.out): Likewise.
53016         ($(objpfx)tst-audit5): Likewise.
53017         ($(objpfx)tst-audit5.out): Likewise.
53018         ($(objpfx)tst-audit6): Likewise.
53019         ($(objpfx)tst-audit6.out): Likewise.
53020         ($(objpfx)tst-audit7): Likewise.
53021         ($(objpfx)tst-audit7.out): Likewise.
53022         (tst-audit3-ENV): Remove variable.
53023         (tst-audit4-ENV): Likewise.
53024         (tst-audit5-ENV): Likewise.
53025         (tst-audit6-ENV): Likewise.
53026         (tst-audit7-ENV): Likewise.
53027         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
53028         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
53029         addition to variable.
53030         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
53031         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
53032         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
53033         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
53034         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
53035         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
53036         tst-audit3, tst-audit4 and tst-audit5.
53037         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
53038         tst-audit6 and tst-audit7.
53039         [$(subdir) = elf] (modules-names): Add audit modules for those
53040         tests.
53041         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
53042         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
53043         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
53044         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
53045         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
53046         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
53047         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
53048         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
53049         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
53050         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
53051         [$(subdir) = elf] (tst-audit3-ENV): New variable.
53052         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
53053         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
53054         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
53055         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
53056         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
53057         Likewise.
53058         [$(subdir) = elf && $(config-cflags-avx) = yes]
53059         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
53060         [$(subdir) = elf && $(config-cflags-avx) = yes]
53061         (CFLAGS-tst-auditmod4a.c): Likewise.
53062         [$(subdir) = elf && $(config-cflags-avx) = yes]
53063         (CFLAGS-tst-auditmod4b.c): Likewise.
53064         [$(subdir) = elf && $(config-cflags-avx) = yes]
53065         (CFLAGS-tst-auditmod6b.c): Likewise.
53066         [$(subdir) = elf && $(config-cflags-avx) = yes]
53067         (CFLAGS-tst-auditmod6c.c): Likewise.
53068         [$(subdir) = elf && $(config-cflags-avx) = yes]
53069         (CFLAGS-tst-auditmod7b.c): Likewise.
53070         * elf/tst-audit3.c: Move to ...
53071         * sysdeps/x86_64/tst-audit3.c: ... here.
53072         * elf/tst-audit4.c: Move to ...
53073         * sysdeps/x86_64/tst-audit4.c: ... here.
53074         * elf/tst-audit5.c: Move to ...
53075         * sysdeps/x86_64/tst-audit5.c: ... here.
53076         * elf/tst-audit6.c: Move to ...
53077         * sysdeps/x86_64/tst-audit6.c: ... here.
53078         * elf/tst-audit7.c: Move to ...
53079         * sysdeps/x86_64/tst-audit7.c: ... here.
53080         * elf/tst-auditmod3a.c: Move to ...
53081         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
53082         * elf/tst-auditmod3b.c: Move to ...
53083         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
53084         * elf/tst-auditmod4a.c: Move to ...
53085         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
53086         * elf/tst-auditmod4b.c: Move to ...
53087         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
53088         * elf/tst-auditmod5a.c: Move to ...
53089         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
53090         * elf/tst-auditmod5b.c: Move to ...
53091         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
53092         * elf/tst-auditmod6a.c: Move to ...
53093         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
53094         * elf/tst-auditmod6b.c: Move to ...
53095         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
53096         * elf/tst-auditmod6c.c: Move to ...
53097         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
53098         * elf/tst-auditmod7a.c: Move to ...
53099         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
53100         * elf/tst-auditmod7b.c: Move to ...
53101         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
53103 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
53105         [BZ #15366]
53106         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
53107         define unconditionally.
53108         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
53109         define unconditionally.
53110         (INT8_C, INT16_C, etc.): Likewise.
53112 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
53114         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
53115         __ehdr_start with hidden visibility.
53117         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
53119 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
53121         * math/libm-test.inc (cos_test): Use accurate hex constants.
53122         (sincost_test): Likewise.
53124 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
53126         * math/libm-test.inc (catan_test): Add more tests.
53127         (catanh_test): Likewise.
53129         * math/s_catanf.c (__catanf): Use suffixed floating-point
53130         constants.
53131         * math/s_catanhf.c (__catanhf): Likewise.
53132         * math/s_catanhl.c (__catanhl): Likewise.
53133         * math/s_catanl.c (__catanl): Likewise.
53135         [BZ #15394]
53136         * math/s_catan.c (__catan): Calculate imaginary part of result
53137         with log1p not log unless computing log of number close to 0.
53138         * math/s_catanf.c (__catanf): Likewise.
53139         * math/s_catanl.c (__catanl): Likewise.
53140         * math/s_catanh.c (__catanh): Calculate real part of result with
53141         log1p not log unless computing log of number close to 0.
53142         * math/s_catanhf.c (__catanhf): Likewise.
53143         * math/s_catanhl.c (__catanhl): Likewise.
53144         * math/libm-test.inc (catan_test): Add more tests.
53145         (catanh_test): Likewise.
53146         * sysdeps/i386/fpu/libm-test-ulps: Update.
53147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53149 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53151         * benchtests/Makefile: Mention files in which fast and slow
53152         paths of math functions are implemented.
53154 2013-04-23  Roland McGrath  <roland@hack.frob.com>
53156         * sysdeps/posix/timespec_get.c: New file.
53158 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53160         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
53161         POWER.
53162         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
53163         for POWER.
53164         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
53165         powerpc/power5/fpu folders.
53166         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
53167         * benchtests/Makefile: Add modf testcase.
53168         * benchtests/bench-modf.c: New file: Benchmark test for mo
53170 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53172         [BZ #14888]
53173         * time/Makefile (tests): Add tst-strptime-whitespace.
53174         * time/strptime_l.c (get_number): Use ISSPACE.
53175         (__strptime_internal): Likewise.
53176         * time/tst-strptime-whitespace.c: New test case.
53178 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
53180         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
53181         member.
53182         (_nss_files_init): Set it here.
53184 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
53186         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
53187         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
53188         unsigned.
53190 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
53192         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
53194 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53196         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
53197         size just once.
53199 2013-04-21  David S. Miller  <davem@davemloft.net>
53201         * po/ru.po: Update Russion translation from translation project.
53203 2013-04-17  Adam Conrad  <adconrad@0c3.net>
53205         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
53206         and setfsgid.
53208 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
53210         * configure.in: Remove i386 configure warning. Remove i386 case.
53211         * configure: Regenerate.
53212         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
53213         Add example to error message.
53214         * sysdeps/i386/configure: Regenerate.
53216 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53218         * benchtests/Makefile (bench): Add cos, tan, slowcos and
53219         slowtan.
53220         * benchtests/cos-inputs: New file.
53221         * benchtests/slowcos-inputs: New file.
53222         * benchtests/slowcos.c: New file.
53223         * benchtests/slowtan-inputs: New file.
53224         * benchtests/slowtan.c: New file.
53225         * benchtests/tan-inputs: New file.
53227 2013-04-16  Roland McGrath  <roland@hack.frob.com>
53229         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
53230         considered kosher.
53232 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53234         * benchtests/Makefile: Include cppflags-iterator.mk to add
53235         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
53237         * Makefile.in (bench-clean): New target.
53238         * benchtests/Makefile (bench-clean): Likewise.
53240 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
53242         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
53244 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
53246         * stdio-common/tstdiomisc.c: Fix coding-style violation.
53248 2013-04-15  Andreas Schwab  <schwab@suse.de>
53250         * nscd/grpcache.c (cache_addgr): Properly check for short write.
53251         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53252         * nscd/pwdcache.c (cache_addpw): Likewise.
53253         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
53254         more than recsize.
53256 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53258         * benchtests/Makefile (bench): Write all output to
53259         bench-out.tmp together.
53261 2013-04-15  Andreas Schwab  <schwab@suse.de>
53263         * nscd/nscd.c (main): Don't fork again after closing files.
53265 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53267         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
53269         * benchtests/Rules (bench-deps): Collect dependencies into a
53270         single variable.  Add Makefile to dependencies.
53271         ($(objpfx)bench-%.c): Depend on bench-deps.
53273 2013-04-12  Roland McGrath  <roland@hack.frob.com>
53274             Xavier Roche  <roche+kml2@exalead.com>
53276         [BZ #15361]
53277         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
53278         just that it's a file descriptor.
53279         * manual/llio.texi (Synchronizing AIO Operations): Update description
53280         for EBADF error from aio_fsync.
53282 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53284         * Rules (bench): Move target definition...
53285         * benchtests/Makefile: ... here.
53287 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
53289         * math/libm-test.inc (cos_test): Fix PI/2 test.
53290         (sincos_test): Likewise.
53291         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
53292         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
53294 2013-04-11  Andreas Schwab  <schwab@suse.de>
53296         [BZ #13988]
53297         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
53298         accept exponent character only when digits were seen.
53299         * stdio-common/Makefile (tests): Add bug26.
53300         * stdio-common/bug26.c: New file.
53302         [BZ #14293]
53303         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
53304         non-freeable.
53306 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53308         * Makeconfig (rtld-prefix): Define built linker prefix.
53309         * Rules (run-bench): Use it.
53310         * math/Makefile (run-regen-ulps): Likewise.
53312         * Rules (bench): Remove eval.
53314 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53315             Roland McGrath  <roland@hack.frob.com>
53316             Ondrej Bilka  <neleai@seznam.cz>
53318         [BZ #15346]
53319         * time/getdate.c: Include ctype.h and alloca.h.
53320         (__getdate_r): Trim leading and trailing spaces of input.
53321         * time/tst-getdate.c (tests): Add tests with leading and
53322         trailing spaces.
53324 2013-04-08  Roland McGrath  <roland@hack.frob.com>
53326         [BZ #14280]
53327         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
53328         when computing value.
53330 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53332         * math/README.libm-test (How can I generate "libm-test-ulps"?):
53333         Use testrun.sh to run libm tests.
53335         [BZ #15309]
53336         * elf/dl-open.c (dl_open_worker): memset all of seen array.
53338 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
53340         [BZ #15264]
53341         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
53343 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53345         * Makefile.in (regen-ulps): New target.
53346         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
53347         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
53348         [ifneq (no,$(PERL)] (regen-ulps): New target.
53349         [ifeq (no,$(PERL)] (regen-ulps): New target.
53350         * math/libm-test.inc (ulps_file_name): Define.
53351         (output_dir): New variable.
53352         (options): Add "output-dir" option.
53353         (parse_opt): Handle 'o' case.
53354         (main): If output_dir is non-NULL use it as a prefix
53355         otherwise use "".
53356         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
53358 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53360         [BZ #10060, #10062]
53361         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
53362         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
53363         fail configure if __sync_val_compare_and_swap is not inlined.
53364         * sysdeps/i386/configure: Regenerate.
53365         * configure.in: Build for i686 when configured for i386.
53366         * configure: Regenerate.
53367         * README: Remove i386 reference.
53369 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53371         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
53372         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53374 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53376         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
53377         (lmsnanval): New variables.
53378         (F): Add conversion tests.
53379         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
53380         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
53382         * stdio-common/tstdiomisc.c (F): Properly collect individual
53383         tests' results.
53385         [BZ #14686, #15336]
53386         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
53387         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
53388         Instead, use input NaN values or generate a qNaN by arithmetic
53389         operation.  Also fix bugs to comply with the standard.
53390         * math/libm-test.inc (remainder_test): Add more tests.
53392         [BZ #15335, #15342]
53393         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
53394         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
53395         input NaN values or generate a qNaN by arithmetic operation.
53397         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
53398         unreachable code.
53400         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
53401         definitions.
53403 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
53405         [BZ #14478]
53406         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
53407         underflowed result.
53408         * math/s_cexpf.c (__cexpf): Likewise.
53409         * math/s_cexpl.c (__cexpl): Likewise.
53410         * math/libm-test.inc (cexp_test): Add more tests.
53412 2013-04-03  Andreas Schwab  <schwab@suse.de>
53414         [BZ #15330]
53415         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
53416         order arrays from heap if bigger than alloca cutoff.
53418 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
53420         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
53421         (SNAN_TESTS_double): Refer to GCC PR56831.
53422         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
53423         GCC PR56828.
53425 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53427         * Rules (bench): Move bench.out after the run is complete.
53429         * Rules (bench): Echo currently running benchmark.
53431         * benchtests/Makefile (bench): Add atan and slowatan.
53432         * benchtests/atan-inputs: New file.
53433         * benchtests/slowatan-inputs: New file.
53434         * benchtests/slowatan.c: New file.
53436         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
53437         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
53438         its value.
53440         [BZ #15305]
53441         * sysdeps/unix/sysv/linux/kernel-features.h
53442         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
53443         __ASSUME_XFS_RESTRICTED_CHOWN.
53444         * sysdeps/unix/sysv/linux/pathconf.c
53445         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
53446         Save and restore errno.
53448 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
53450         [BZ #15327]
53451         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
53452         arguments using __kernel_casinh.
53453         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
53454         arguments using __kernel_casinhf.
53455         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
53456         arguments using __kernel_casinhl.
53457         * math/libm-test.inc (cacosh_test): Add more tests.
53458         * sysdeps/i386/fpu/libm-test-ulps: Update.
53459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53461 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53463         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
53464         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
53466         * bench/Makefile (bench): Add sin and slowsin.
53467         * benchtests/sin-inputs: New file.
53468         * benchtests/slowsin-inputs: New file.
53469         * benchtests/slowsin.c: New file.
53471         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
53472         (bench): Add slowexp and slowpow.
53473         (exp-ITER): Increase iterations.
53474         (pow-ITER): Likewise.
53475         * benchtests/exp-inputs: Change input.
53476         * benchtests/pow-inputs: Likewise.
53477         * benchtests/slowexp-inputs: New file.
53478         * benchtests/slowexp.c: New file.
53479         * benchtests/slowpow-inputs: New file.
53480         * benchtests/slowpow.c: New file.
53482 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53484         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
53485         instructions.
53486         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53487         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
53488         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
53489         * benchtests/Makefile: Add rint benchtest.
53490         * benchtests/rint-inputs: Input for rint benchtest.
53492 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53494         * Versions.def (libm): Add GLIBC_2.18.
53495         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
53496         hidden libm prototypes.
53497         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
53498         * math/Makefile (libm-calls): Add s_issignaling.
53499         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
53500         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
53501         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
53502         declaration.
53503         * math/math.h [__USE_GNU] (issignaling): New macro.
53504         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
53505         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
53506         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
53507         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
53508         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
53509         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
53510         * manual/arith.texi (issignaling): New section.
53511         * manual/libm-err-tab.pl (@all_functions): Update comment.
53512         * math/gen-libm-test.pl (parse_args): Apply special handling for
53513         issignaling.
53514         * math/libm-test.inc (print_float, issignaling_test): New
53515         functions.
53516         (check_float_internal): Add issignaling checks.
53517         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
53518         default definition.
53519         * sysdeps/powerpc/math-tests.h: New file.
53520         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
53521         tests.
53522         * math/test-snan.c (TEST_FUNC): Likewise.
53524 2013-03-30  David S. Miller  <davem@davemloft.net>
53526         * po/de.po: Update from translation team.
53528 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
53530         [BZ #10357]
53531         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53532         imaginary part less than 1.0 and real part less than 0.5
53533         specially.
53534         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53535         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53536         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
53537         (cacos_test): Add more tests.
53538         (casin_test): Likewise.
53539         (casinh_test): Likewise.
53540         * sysdeps/i386/fpu/libm-test-ulps: Update.
53541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53543 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53545         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
53546         ONE with its value.
53548         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
53549         (__pow_mp): Replace ONE and MONE with their values.
53550         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53551         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
53552         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53553         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
53554         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53555         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53557         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
53559         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
53560         (__pow_mp): Replace ZERO and MZERO with their values.
53561         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53562         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53563         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53564         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53565         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53566         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
53567         (__sqr): Likewise.
53569         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
53571         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
53573 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53575         * include/stdlib.h [!SHARED] (__call_tls_dtors):
53576         Declare with __attribute__ ((weak)).
53577         * stdlib/exit.c (__libc_atexit) [!SHARED]:
53578         Call __call_tls_dtors only if it's not NULL.
53580 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53582         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
53583         didn't do it already, then set _dl_phdr and _dl_phnum based on the
53584         magic __ehdr_start linker symbol if it's defined.
53585         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
53586         them up here if it was already done.
53588         * elf/dl-support.c (_dl_phdr): Make pointer to const.
53589         (_dl_aux_init): Use const in cast when setting it.
53590         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
53591         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
53592         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
53594         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
53595         Declare them here.
53596         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
53597         * csu/libc-tls.c: Nor here.
53598         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
53600         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
53601         (__libc_message): Never call vsyslog.
53603 2013-03-28  Alan Modra  <amodra@gmail.com>
53605         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
53606         Define as empty.
53607         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
53608         Likewise.
53610 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53612         [BZ #15214]
53613         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
53614         underflow.
53615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53617 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53619         [BZ #15304]
53620         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53621         Don't add gid passed as argument.
53623         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
53625 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
53627         [BZ #15307]
53628         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53629         imaginary part between 1.0 and 1.5 and real part less than 0.5
53630         specially.
53631         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53632         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53633         * math/libm-test.inc (cacos_test): Add more tests.
53634         (casin_test): Likewise.
53635         (casinh_test): Likewise.
53636         * sysdeps/i386/fpu/libm-test-ulps: Update.
53637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53639 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53641         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
53642         constants.
53643         (norm): Likewise.
53644         (denorm): Likewise.
53645         (__dbl_mp): Likewise.
53646         (add_magnitudes): Likewise.
53647         (sub_magnitudes): Likewise.
53648         (__add): Likewise.
53649         (__sub): Likewise.
53650         (__mul): Likewise.
53651         (__sqr): Likewise.
53652         (__inv): Likewise.
53653         (__dvd): Likewise.
53655         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
53656         commented code.
53657         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
53658         (__dubcos): Likewise.
53659         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
53660         (__ieee754_acos): Likewise.
53661         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53662         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
53663         (__exp1): Likewise.
53664         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53665         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53666         (log1): Likewise.
53667         (my_log2): Likewise.
53668         (checkint): Likewise.
53669         * sysdeps/ieee754/dbl-64/e_remainder.c
53670         (__ieee754_remainder): Likewise.
53671         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53672         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
53673         (bsloww): Likewise.
53674         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53676         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53677         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
53678         MANTISSA_STORE_T to store computations on mantissa.  Use
53679         macros for rounding and division.
53680         (denorm): Likewise.
53681         (__dbl_mp): Likewise.
53682         (add_magnitudes): Likewise.
53683         (sub_magnitudes): Likewise.
53684         (__mul): Likewise.
53685         (__sqr): Likewise.
53686         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53687         powers of two in terms of TWOPOW macro.
53688         (mp_no): Make type of mantissa as MANTISSA_T.
53689         [!RADIXI]: Define RADIXI.
53690         [!TWO52]: Define TWO52.
53691         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53693 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53695         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
53696         llroundl symbol when building for PPC32.
53698 2013-03-24  Mark H Weaver  <mhw@netris.org>
53700         * manual/arith.texi (Normalization Functions): Fix prototypes for
53701         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
53703 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53705         [BZ #13889]
53706         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
53707         high value to check if expl overflow.
53708         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
53709         to check for underflow and overflow.
53710         * math/libm-test.inc: Add exp test.
53712 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
53714         [BZ #11120]
53715         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
53716         with NOT_IN_libc.
53718 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53720         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
53721         symbol.
53723 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53725         * math/gen-libm-test.pl (parse_args, special_functions): Properly
53726         wrap blocks consisting of several statements.
53728         * sysdeps/generic/math-tests.h: New file.
53729         * sysdeps/i386/fpu/math-tests.h: Likewise.
53730         * math/test-snan.c: Include it.
53731         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
53733 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53735         [BZ #15285]
53736         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
53737         (__ieee754_j0l): Do not improve calculations using cos of twice
53738         input for inputs above LDBL_MAX / 2.0L.
53739         (__ieee754_y0l): Likewise.
53740         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
53741         (__ieee754_j1l): Do not improve calculations using cos of twice
53742         input for inputs above LDBL_MAX / 2.0L.
53743         (__ieee754_y1l): Likewise.
53744         * math/libm-test.inc (j0_test): Add another test.
53745         (j1_test): Likewise.
53746         (y0_test): Likewise.
53747         (y1_test): Likewise.
53748         * sysdeps/i386/fpu/libm-test-ulps: Update.
53750 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53752         * Rules ($(objpfx)bench-%.c): Include code from a C source
53753         file.
53755 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53757         [BZ #15287]
53758         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53759         imaginary part 1.0 and real part less than 0.5 specially.
53760         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53761         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53762         * math/libm-test.inc (cacos_test): Add more tests.
53763         (casin_test): Likewise.
53764         (casinh_test): Likewise.
53765         * sysdeps/i386/fpu/libm-test-ulps: Update.
53766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53768 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53770         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
53771         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
53773 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
53775         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
53776         * config.make.in (config-cflags-sse4): Remove variable.
53777         (config-cflags-avx): Likewise.
53778         (config-cflags-sse2avx): Likewise.
53779         (config-cflags-novzeroupper): Likewise.
53780         (config-asflags-i686): Likewise.
53781         (have-mfma4): Likewise.
53782         (have-as-vis3): Likewise.
53783         (MIG): Likewise.
53784         * configure.in (MIG): Do not AC_SUBST.
53785         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
53786         (libc_cv_cc_sse4): Do not AC_SUBST.
53787         (libc_cv_cc_avx): Likewise.
53788         (libc_cv_cc_sse2avx): Likewise.
53789         (libc_cv_cc_novzeroupper): Likewise.
53790         (libc_cv_cc_fma4): Likewise.
53791         (libc_cv_as_i686): Likewise.
53792         (libc_cv_sparc_as_vis3): Likewise.
53793         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
53794         LIBC_CONFIG_VAR.
53795         (config-asflags-i686): Likewise.
53796         (config-cflags-avx): Likewise.
53797         (config-cflags-sse2avx): Likewise.
53798         (have-mfma4): Likewise.
53799         (config-cflags-novzeroupper): Likewise.
53800         * sysdeps/mach/configure.in (MIG): Likewise.
53801         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
53802         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
53803         LIBC_CONFIG_VAR.
53804         (config-cflags-avx): Likewise.
53805         (config-cflags-sse2avx): Likewise.
53806         (have-mfma4): Likewise.
53807         (config-cflags-novzeroupper): Likewise.
53808         * configure: Regenerated.
53809         * sysdeps/i386/configure: Likewise.
53810         * sysdeps/mach/configure: Likewise.
53811         * sysdeps/sparc/configure: Likewise.
53812         * sysdeps/x86_64/configure: Likewise.
53814 2013-03-20  Roland McGrath  <roland@hack.frob.com>
53816         [BZ #14812]
53817         * locale/programs/localedef.c (options): Put N_ translation marker
53818         on argument names, not just descriptions.
53820 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53822         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
53824 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
53826         [BZ #14176]
53827         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
53829 2013-03-19  Roland McGrath  <roland@hack.frob.com>
53831         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
53832         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
53833         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
53834         [!BEFORE_ABORT] (before_abort): New function.
53835         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
53836         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
53837         (writev_for_fatal): New function.
53838         (WRITEV_FOR_FATAL): New macro; call that.
53839         (backtrace_and_maps): New function.
53840         (BEFORE_ABORT): New macro; call that.
53841         (struct str_list): Type removed.
53842         (__libc_message, __libc_fatal): Functions removed.
53843         Include <sysdeps/posix/libc_fatal.c> instead.
53845 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
53847         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
53848         constants.
53849         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
53850         double constants.
53852 2013-03-19  Andreas Schwab  <schwab@suse.de>
53854         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
53855         * sysdeps/gnu/configure: Regenerate.
53857         * configure.in: Substitute libc_cv_rtlddir.
53858         * configure: Regenerate.
53859         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
53860         * Makeconfig (rtlddir, inst_rtlddir): New variables.
53861         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
53862         * elf/Makefile (install-others, CFLAGS-interp.c)
53863         (ldso_install, common-ldd-rewrite): Likewise.
53864         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
53865         $(inst_slibdir)/$(rtld-installed-name).
53866         * scripts/rellns-sh: Add -p option.
53867         * Makerules (make-shlib-link): Use rellns-sh to get relative name
53868         for source.
53870 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53872         * manual/nptl.texi: Renamed to ...
53873         * manual/threads.texi: ... this.
53874         * manual/Makefile (chapters): Update.
53876 2013-03-18  Roland McGrath  <roland@hack.frob.com>
53878         [BZ #14812]
53879         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
53880         on argument names, not just descriptions.
53881         * malloc/memusagestat.c (options): Likewise.
53882         * nss/getent.c (options): Likewise.
53884 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
53886         [BZ #14812]
53887         * iconv/iconv_prog.c (options): Put N_ translation marker
53888         on argument names, not just descriptions.
53889         * iconv/iconvconfig.c (options): Likewise.
53891 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
53893         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
53894         implementation which is faster on all x86_64 architectures.
53895         Tested on AMD, Intel Nehalem, SNB, IVB.
53896         * sysdeps/x86_64/strnlen.S: Likewise.
53898         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53899         Remove all multiarch strlen and strnlen versions.
53900         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53901         Remove strlen and strnlen related parts.
53903         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
53904         Inline strlen part.
53905         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
53907         * sysdeps/x86_64/multiarch/strlen.S: Remove.
53908         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
53909         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
53910         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
53911         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53912         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
53914 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
53916         * manual/memory.texi (Malloc Tunable Parameters):
53917         Sort parameters alphabetically. Add comments for missing entries.
53919 2013-03-17  David S. Miller  <davem@davemloft.net>
53921         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53923 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
53925         [BZ #15283]
53926         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
53927         for arguments at most half maximum finite value.
53928         * math/libm-test.inc (j0_test): Add more tests.
53929         (j1_test): Likewise.
53930         (y0_test): Likewise.
53931         (y1_test): Likewise.
53932         * sysdeps/i386/fpu/libm-test-ulps: Update.
53933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53935         [BZ #14155]
53936         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
53937         1 / x and functions P and Q for arguments above 0x1p256L.
53938         (__ieee754_y0l): Likewise.
53939         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
53940         (__ieee754_y1l): Likewise.
53941         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
53942         (j1_test): Likewise.
53943         (y0_test): Likewise.
53944         (y1_test): Likewise.
53946 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
53948         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
53949         variable.
53951 2013-03-15  Roland McGrath  <roland@hack.frob.com>
53953         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
53954         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
53955         zero since it's initialized to EXEC_PAGESIZE.
53957         * sysdeps/unix/sysv/linux/ldsodefs.h
53958         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
53959         * sysdeps/generic/ldsodefs.h: ... here.
53961 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
53963         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
53965         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
53966         math/test-snan.c.
53967         * math/test-snan.c: Renamed from
53968         sysdeps/powerpc/fpu/test-powerpc-snan.c.
53969         * math/Makefile (tests): Add test-snan.
53970         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
53971         test-powerpc-snan.
53973         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
53974         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
53975         functions.
53976         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
53977         __builtin_nan family of functions.
53978         * math/libm-test.inc (initialize): Initialize qnan_value with
53979         __builtin_nan family of functions.
53980         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
53981         Remove variables.
53982         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
53983         Remove functions.
53984         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
53985         storage class.  Initialize qNaN_var and sNaN_var with
53986         __builtin_nan and __builtin_nans families of functions,
53987         respectively.
53989         * math/libm-test.inc (acosh_test): Also test with qNaN input.
53990         (sqrt_test): Remove duplicate test with qNaN input.
53991         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
53992         (round_test, signbit_test, significand_test): Note missing +/-Inf
53993         as well as qNaN tests.
53995         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
53996         qNaN_var.  Fix a few strings, too.
53997         * math/libm-test.inc (nan_value): Rename to qnan_value.
53998         * math/gen-libm-test.pl (%beautify): Adjust to that.
53999         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
54000         * math/test-misc.c (main): Likewise.
54001         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
54002         to __qnan_bytes, and __qnan_union, respectively.
54003         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
54004         Likewise.
54005         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
54006         and lqnanval, respectively.
54007         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
54008         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
54009         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
54010         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
54012         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
54013         * math/test-misc.c (main) [__x86_64__]: Enable test for long
54014         doubles.
54016         * math/test-misc.c (main): Fix copy'n'pastos.
54017         * misc/tst-efgcvt.c (special): Likewise.
54019         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
54020         Remove declarations.
54022 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54024         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
54025         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
54026         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
54027         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
54029 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54031         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
54032         macro to return vdso values correctly in IFUNC implementations.
54033         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
54034         Optimization by using IFUNC.
54036 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54037             Richard Henderson  <rth@redhat.com>
54038             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54040         * Makefile.in (bench): New target.
54041         * NEWS: Mention the benchmark framework.
54042         * Rules (bench): Likewise.
54043         (binaries-bench): Generate binaries for functions to
54044         benchmark.
54045         * benchtests/Makefile: New makefile for benchmark tests.
54046         * benchtests/bench-skeleton.c: New skeleton file for benchmark
54047         programs.
54048         * benchtests/exp-inputs: New input file for EXP function.
54049         * benchtests/pow-inputs: New input file for POW function.
54050         * scripts/bench.pl: New script to generate source files for
54051         benchmark programs.
54053 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54055         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
54056         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
54057         computations on mantissa.  Use macros for rounding and
54058         division.
54059         (denorm): Likewise.
54060         (__dbl_mp): Likewise.
54061         (add_magnitudes): Likewise.
54062         (sub_magnitudes): Likewise.
54063         (__mul): Likewise.
54064         (__sqr): Likewise.
54065         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
54066         powers of two in terms of TWOPOW macro.
54067         (mp_no): Make type of mantissa as MANTISSA_T.
54068         [!RADIXI]: Define RADIXI.
54069         [!TWO52]: Define TWO52.
54070         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
54072         * manual/nptl.texi (cindex): Modify threads to pthreads.
54074 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
54076         * sysdeps/x86_64/preconfigure: Regenerated.
54078 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
54080         [BZ #14155]
54081         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
54082         0x1p28 and above.
54083         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
54084         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
54085         0x1p28 and above.
54086         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
54087         * math/libm-test.inc (j0_test): Do not allow one spurious
54088         underflow exception.
54089         (y1_test): Likewise.
54091 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54093         * manual/Makefile (chapters): Add nptl.
54094         * manual/debug.texi (Debugging Support): Add link to Threads
54095         chapter.
54096         * manual/nptl.texi: New file.
54098         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
54100 2013-03-14  Petr Baudis  <pasky@ucw.cz>
54102         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
54103         for non-NULL pointer before the memory validity test. Pointed
54104         out by Holger Brunck <holger.brunck@keymile.com>.
54106 2013-03-13  Andreas Schwab  <schwab@suse.de>
54108         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
54109         instead of .os.
54111 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
54113         * timezone/zic.c: Update from tzcode 2013b.
54115 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
54117         * manual/install.texi (Configuring and compiling):
54118         Mention i686 and i586.
54119         * INSTALL: Regenerate.
54121 2013-03-12  Roland McGrath  <roland@hack.frob.com>
54123         * sysdeps/init_array/elf-init.c: New file.
54124         * csu/elf-init.c
54125         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
54126         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
54128         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
54129         __gmon_start__ as global, but as static with a .preinit_array pointer.
54130         * sysdeps/init_array/gmon-start.c: New file.  Use that.
54131         * sysdeps/init_array/crti.S: New file, empty except for comments.
54132         * sysdeps/init_array/crtn.S: Likewise.
54134 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
54136         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
54137         definining bcopy.
54138         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54139         Remove Prefer_SSE_for_memop.
54140         * sysdeps/x86_64/multiarch/init-arch.h: Remove
54141         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
54142         HAS_PREFER_SSE_FOR_MEMOP.
54143         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
54144         memset-x86-64.
54145         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
54146         Remove bzero, memset ifunc support.
54147         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
54148         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
54149         * sysdeps/x86_64/multiarch/memset.S: Likewise.
54150         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54152 2013-03-11  Andreas Schwab  <schwab@suse.de>
54154         [BZ #15234]
54155         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
54156         by SHLIB_COMPAT.
54157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
54158         (GLIBC_2.16): Remove pthread_atfork.
54160 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
54162         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
54163         (ptestcases.h): Likewise.
54165 2013-03-08  Roland McGrath  <roland@hack.frob.com>
54167         * Makeconfig ($(common-objpfx)config.status): Depend on
54168         sysdeps/*/preconfigure{,.in} too.
54170 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
54172         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
54173         (__free_hook): Use void * instead of __malloc_ptr_t.
54174         (__malloc_hook): Likewise.
54175         (__realloc_hook): Likewise.
54176         (__memalign_hook): Likewise.
54177         (__after_morecore_hook): Likewise.
54178         * malloc/arena.c (save_malloc_hook): Likewise.
54179         (save_free_hook): Likewise.
54180         * malloc/hooks.c (malloc_hook_ini): Likewise.
54181         (realloc_hook_ini): Likewise.
54182         (memalign_hook_ini): Likewise.
54183         * malloc/malloc.c (malloc_hook_ini): Likewise.
54184         (realloc_hook_ini): Likewise.
54185         (memalign_hook_ini): Likewise.
54186         (__free_hook): Likewise.
54187         (__malloc_hook): Likewise.
54188         (__realloc_hook): Likewise.
54189         (__memalign_hook): Likewise.
54190         (__libc_malloc): Likewise.
54191         (__libc_free): Likewise.
54192         (__libc_realloc): Likewise.
54193         (__libc_memalign): Likewise.
54194         (__libc_valloc): Likewise.
54195         (__libc_pvalloc): Likewise.
54196         (__libc_calloc): Likewise.
54197         (__posix_memalign): Likewise.
54198         * malloc/morecore.c (__sbrk): Likewise.
54199         (__default_morecore): Likewise.
54201         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
54203         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
54204         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
54205         __malloc_ptrdiff_t.
54207         * malloc/malloc.h (__malloc_size_t): Remove macro.
54208         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
54209         __malloc_size_t.
54210         (old_memalign_hook): Likewise.
54211         (old_realloc_hook): Likewise.
54212         (struct hdr): Likewise.
54213         (flood): Likewise.
54214         (mallochook): Likewise.
54215         (memalignhook): Likewise.
54216         (reallochook): Likewise.
54217         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
54218         (tr_old_realloc_hook): Likewise.
54219         (tr_old_memalign_hook): Likewise.
54220         (tr_mallochook): Likewise.
54221         (tr_reallochook): Likewise.
54222         (tr_memalignhook): Likewise.
54224 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54226         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
54227         default_ldbl_pack and using as default implementation.
54228         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
54229         implementation.
54230         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
54231         redundant definition.
54232         (ldbl_insert_mantissa): Likewise.
54233         (ldbl_canonicalize): Likewise.
54234         (ldbl_nearbyint): Likewise.
54235         (ldbl_pack): Rename to ldbl_pack_ppc.
54236         (ldbl_unpack): Rename to ldbl_unpack_ppc.
54237         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
54238         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
54240 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54242         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
54243         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
54244         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
54245         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
54246         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
54247         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
54248         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
54249         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
54251 2013-03-07  Andreas Jaeger  <aj@suse.de>
54253         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54254         bits/mman-linux.h.
54256 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54258         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
54259         Include mpa.h and declare __MPEXP.
54260         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
54261         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54262         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54263         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
54264         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54265         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54266         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
54268         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
54269         (__slowpow): Use long double EXPL and LOGL functions to
54270         compute POW.
54271         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54272         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54273         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
54274         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54275         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54276         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
54278         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
54279         intermediate variable to calculate exponent.
54280         (__sqr): Likewise.
54281         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54282         Likewise.
54283         (__sqr): Likewise.
54285         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
54286         [!NO__SQR]: Define __sqr.
54287         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
54288         and NO__SQR.  Remove all code except __mul and __sqr.  Include
54289         sysdeps/ieee754/dbl-64/mpa.c.
54290         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54292         [BZ #12723]
54293         * posix/Makefile (tests): Add tst-pathconf.
54294         * posix/tst-pathconf.c: New test case.
54295         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
54296         _PC_PIPE_BUF.
54297         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
54299 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
54301         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
54303 2013-03-06  Andreas Jaeger  <aj@suse.de>
54305         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
54306         definition via __MAP_ANONYMOUS.
54308         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
54309         it's not part of Linux headers.
54311         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
54312         (MAP_HUGE_MASK): Define.
54314         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54315         Define.
54316         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54317         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54318         Define.
54319         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54320         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54321         Define.
54322         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54323         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
54324         Define.
54325         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54327         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
54328         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
54329         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
54330         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
54331         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
54332         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
54334         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54335         Handle f2fs.
54337         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54338         Handle f2fs and efivarfs.
54340         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
54341         f2fs.
54343         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
54344         (EFIVARFS_MAGIC): Add.
54345         (F2FS_LINK_MAX): Add.
54347 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54349         * stdio-common/vfprintf.c: Replace __builtin_expect with
54350         __glibc_unlikely.
54352 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
54354         [BZ #13550]
54355         * sysdeps/generic/bp-sym.h: Remove file.
54356         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
54357         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
54358         <bp-sym.h> and <bp-asm.h>.
54359         (__longjmp): Don't use BP_SYM.
54360         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
54361         and <bp-asm.h>.
54362         (memcpy): Don't use BP_SYM.
54363         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
54364         <bp-sym.h> and <bp-asm.h>.
54365         (memcpy): Don't use BP_SYM.
54366         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
54367         <bp-asm.h>.
54368         (memcpy): Don't use BP_SYM.
54369         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
54370         <bp-asm.h>.
54371         (memset): Don't use BP_SYM.
54372         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54373         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54374         (__bzero): Don't use BP_SYM.
54375         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54376         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54377         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
54378         <bp-sym.h> and <bp-asm.h>.
54379         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54380         pointers.
54381         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
54382         <bp-sym.h> and <bp-asm.h>.
54383         (memcpy): Don't use BP_SYM.
54384         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
54385         <bp-sym.h> and <bp-asm.h>.
54386         (memset): Don't use BP_SYM.
54387         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54388         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54389         (__bzero): Don't use BP_SYM.
54390         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54391         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54392         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
54393         <bp-sym.h> and <bp-asm.h>.
54394         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54395         pointers.
54396         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
54397         <bp-sym.h> and <bp-asm.h>.
54398         (memcpy): Don't use BP_SYM.
54399         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
54400         <bp-sym.h> and <bp-asm.h>.
54401         (memset): Don't use BP_SYM.
54402         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54403         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54404         (__bzero): Don't use BP_SYM.
54405         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54406         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54407         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
54408         <bp-sym.h> and <bp-asm.h>.
54409         (__memchr): Don't use BP_SYM.
54410         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
54411         <bp-sym.h> and <bp-asm.h>.
54412         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54413         pointers.
54414         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
54415         <bp-sym.h> and <bp-asm.h>.
54416         (memcpy): Don't use BP_SYM.
54417         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
54418         <bp-sym.h> and <bp-asm.h>.
54419         (__mempcpy): Don't use BP_SYM.
54420         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
54421         <bp-sym.h> and <bp-asm.h>.
54422         (__memrchr): Don't use BP_SYM.
54423         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
54424         <bp-sym.h> and <bp-asm.h>.
54425         (memset): Don't use BP_SYM.
54426         (__bzero): Likewise.
54427         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
54428         <bp-sym.h> and <bp-asm.h>.
54429         (__rawmemchr): Don't use BP_SYM.
54430         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
54431         <bp-sym.h> and <bp-asm.h>.
54432         (__STRCMP): Don't use BP_SYM.
54433         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
54434         <bp-sym.h> and <bp-asm.h>.
54435         (strchr): Don't use BP_SYM.
54436         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
54437         <bp-sym.h> and <bp-asm.h>.
54438         (__strchrnul): Don't use BP_SYM.
54439         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
54440         <bp-sym.h> and <bp-asm.h>.
54441         (strlen): Don't use BP_SYM.
54442         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
54443         <bp-sym.h> and <bp-asm.h>.
54444         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54445         pointers.
54446         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
54447         <bp-sym.h> and <bp-asm.h>.
54448         (__strnlen): Don't use BP_SYM.
54449         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
54450         <bp-sym.h> and <bp-asm.h>.
54451         (__GI__setjmp): Don't use BP_SYM.
54452         (_setjmp): Likewise.
54453         (__sigsetjmp): Likewise.
54454         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
54455         (L(start_addresses)): Don't use BP_SYM.
54456         (_start): Likewise.
54457         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
54458         <bp-asm.h>.
54459         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
54460         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
54461         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54462         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54463         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
54464         <bp-asm.h>.
54465         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
54466         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
54467         about bounded pointers.
54468         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54469         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54470         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
54471         <bp-asm.h>.
54472         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54473         about bounded pointers.  Remove GKM FIXME comments.
54474         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54475         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
54476         <bp-asm.h>.
54477         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
54478         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
54479         Remove GKM FIXME comments.
54480         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54481         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54482         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
54483         <bp-asm.h>.
54484         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54485         about bounded pointers.  Remove GKM FIXME comment.
54486         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
54487         and <bp-asm.h>.
54488         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54489         pointers.
54490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
54491         <bp-sym.h> and <bp-asm.h>.
54492         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
54494         <bp-sym.h> and <bp-asm.h>.
54495         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54496         comment.
54498 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54500         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
54501         call free(NULL).
54503 2013-03-05  David S. Miller  <davem@davemloft.net>
54505         * po/es.po: Update from translation team.
54507 2013-03-05  Andreas Jaeger  <aj@suse.de>
54509         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
54510         <bits/mman-linux.h>.
54511         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54512         is fine.
54513         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
54514         <bits/mman-linux.h> to end of file.
54515         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54516         is fine.
54517         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
54518         <bits/mman-linux.h> to end of file.
54519         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54520         is fine.
54521         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
54522         <bits/mman-linux.h> to end of file.
54524         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
54525         (MCL_CURRENT, MCL_FUTURE): Define here.
54527 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54529         [BZ #15232]
54530         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
54531         attribute_hidden.
54532         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54534 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54536         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
54537         fourth parameter needed for rt_sigprocmask syscall.
54538         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
54539         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54540         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
54541         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54542         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54543         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
54545 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
54547         [BZ #13550]
54548         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
54549         comment about bounded pointers.
54550         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
54551         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
54553 2013-03-04  Andreas Jaeger  <aj@suse.de>
54555         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
54556         common definitions.
54558         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
54559         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
54560         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
54561         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54562         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54563         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54565 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54567         [BZ #15055]
54568         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
54569         __ieee754_sqrl instead of __sqrl.
54571 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
54573         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
54574         * sysdeps/powerpc/fpu_control.h: ... here.
54575         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
54576         * sysdeps/powerpc/bits/fenvinline.h: ... here.
54577         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
54578         * sysdeps/powerpc/bits/mathinline.h: ... here.
54580 2013-03-01  Roland McGrath  <roland@hack.frob.com>
54582         * elf/dl-hwcaps.c (_dl_important_hwcaps):
54583         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
54584         to just [NEED_DL_SYSINFO_DSO].
54585         * elf/dl-support.c: Likewise.
54586         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
54587         * elf/rtld.c (dl_main): Likewise.
54588         * elf/setup-vdso.h (setup_vdso): Likewise.
54589         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
54590         * sysdeps/unix/sysv/linux/dl-sysdep.c
54591         (_dl_discover_osversion): Likewise.
54593 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
54595         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
54596         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54598 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
54600         * NEWS: Mention libm performance improvements and non-x86 PI
54601         futex support.
54603         * csu/libc-start.c (__pthread_initialize_minimal): Change
54604         function arguments.
54605         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54607 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
54609         [BZ #13550]
54610         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
54611         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
54612         <bp-sym.h> and <bp-asm.h>.
54613         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54614         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
54615         and <bp-asm.h>.
54616         (memcpy): Don't use BP_SYM.
54617         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
54618         <bp-asm.h>.
54619         (__mpn_add_n): Don't use BP_SYM.
54620         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
54621         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
54622         and <bp-asm.h>.
54623         (__mpn_addmul_1): Don't use BP_SYM.
54624         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54625         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
54626         <bp-sym.h>.
54627         (_setjmp): Don't use BP_SYM.
54628         (__novmx_setjmp): Likewise.
54629         (__GI__setjmp): Likewise.
54630         (__vmx_setjmp): Likewise.
54631         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
54632         <bp-sym.h>.
54633         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
54634         (__bzero): Don't use BP_SYM.
54635         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54636         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54637         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
54638         <bp-sym.h> and <bp-asm.h>.
54639         (memcpy): Don't use BP_SYM.
54640         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
54641         <bp-sym.h> and <bp-asm.h>.
54642         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54643         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
54644         <bp-sym.h> and <bp-asm.h>.
54645         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54646         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
54647         <bp-asm.h>.
54648         (__mpn_lshift): Don't use BP_SYM.
54649         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54650         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
54651         <bp-asm.h>.
54652         (memset): Don't use BP_SYM.
54653         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54654         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54655         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
54656         <bp-asm.h>.
54657         (__mpn_mul_1): Don't use BP_SYM.
54658         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54659         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
54660         <bp-sym.h> and <bp-asm.h>.
54661         (memcmp): Don't use BP_SYM.
54662         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
54663         <bp-sym.h> and <bp-asm.h>.
54664         (memcpy): Don't use BP_SYM.
54665         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
54666         <bp-sym.h> and <bp-asm.h>.
54667         (memset): Don't use BP_SYM.
54668         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
54669         <bp-sym.h> and <bp-asm.h>.
54670         (strncmp): Don't use BP_SYM.
54671         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
54672         <bp-sym.h> and <bp-asm.h>.
54673         (memcpy): Don't use BP_SYM.
54674         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
54675         <bp-sym.h> and <bp-asm.h>.
54676         (memset): Don't use BP_SYM.
54677         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
54678         <bp-sym.h> and <bp-asm.h>.
54679         (__memchr): Don't use BP_SYM.
54680         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
54681         <bp-sym.h> and <bp-asm.h>.
54682         (memcmp): Don't use BP_SYM.
54683         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
54684         <bp-sym.h> and <bp-asm.h>.
54685         (memcpy): Don't use BP_SYM.
54686         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
54687         <bp-sym.h> and <bp-asm.h>.
54688         (__mempcpy): Don't use BP_SYM.
54689         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
54690         <bp-sym.h> and <bp-asm.h>.
54691         (__memrchr): Don't use BP_SYM.
54692         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
54693         <bp-sym.h> and <bp-asm.h>.
54694         (memset): Don't use BP_SYM.
54695         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
54696         <bp-sym.h> and <bp-asm.h>.
54697         (__rawmemchr): Don't use BP_SYM.
54698         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
54699         <bp-sym.h> and <bp-asm.h>.
54700         (__STRCMP): Don't use BP_SYM.
54701         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
54702         <bp-sym.h> and <bp-asm.h>.
54703         (strchr): Don't use BP_SYM.
54704         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
54705         <bp-sym.h> and <bp-asm.h>.
54706         (__strchrnul): Don't use BP_SYM.
54707         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
54708         <bp-sym.h> and <bp-asm.h>.
54709         (strlen): Don't use BP_SYM.
54710         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
54711         <bp-sym.h> and <bp-asm.h>.
54712         (strncmp): Don't use BP_SYM.
54713         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
54714         <bp-sym.h> and <bp-asm.h>.
54715         (__strnlen): Don't use BP_SYM.
54716         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
54717         <bp-asm.h>.
54718         (__mpn_rshift): Don't use BP_SYM.
54719         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54720         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
54721         <bp-sym.h> and <bp-asm.h>.
54722         (__sigsetjmp): Don't use BP_SYM.
54723         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
54724         (L(start_addresses)): Don't use BP_SYM.
54725         (_start): Likewise.
54726         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
54727         <bp-asm.h>.
54728         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
54729         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54730         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54731         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
54732         <bp-asm.h>.
54733         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
54734         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54735         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54736         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
54737         <bp-asm.h>.
54738         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54739         comments.
54740         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54741         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
54742         <bp-asm.h>.
54743         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
54744         FIXME comments.
54745         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54746         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54747         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
54748         <bp-asm.h>.
54749         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54750         comment.
54751         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
54752         and <bp-asm.h>.
54753         (strncmp): Don't use BP_SYM,
54754         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
54755         <bp-asm.h>.
54756         (__mpn_sub_n): Don't use BP_SYM.
54757         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54758         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
54759         and <bp-asm.h>.
54760         (__mpn_submul_1): Don't use BP_SYM.
54761         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
54763         <bp-sym.h> and <bp-asm.h>.
54764         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
54766         <bp-sym.h> and <bp-asm.h>.
54767         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54768         comment.
54770 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54772         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
54773         Use ZK to minimize writes to Z.
54774         (sub_magnitudes): Simplify code a bit.
54775         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
54776         Use ZK to minimize writes to Z.
54777         (sub_magnitudes): Simplify code a bit.
54779 2013-02-27  Roland McGrath  <roland@hack.frob.com>
54781         * csu/gmon-start.c: Add special exception to license text.
54783 2013-02-27  Richard Henderson  <rth@redhat.com>
54785         * scripts/config.guess: Update from config.git.
54786         * scripts/config.sub: Likewise.
54788 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54790         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
54792         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
54794         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
54796         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
54798         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
54800 2013-02-26  Roland McGrath  <roland@hack.frob.com>
54802         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
54803         [$(build-shared = yes].
54805 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54807         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
54808         (__mul): Reduce iterations for calculating mantissa.
54810         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
54811         MPTWO.
54812         (__mpranred): Likewise.
54814         [BZ #15160]
54815         * malloc/memusagestat.c (main): Draw graphs for heap and stack
54816         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
54818 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
54820         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
54821         Define __attribute__.
54823 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54825         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
54826         unused.
54827         * posix/regex_internal.h (__attribute): Remove.
54828         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
54829         (re_string_context_at): Likewise.
54830         (bitset_not): Use __attribute__ and mark function as possibly
54831         unused.
54832         (bitset_merge): Likewise.
54833         (bitset_mask): Likewise.
54834         (re_string_char_size_at): Likewise.
54835         (re_string_wchar_at): Likewise.
54836         (re_string_elem_size_at): Likewise.
54838 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54840         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
54841         code.
54842         (cc32): Likewise.
54844         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
54845         (__acr): Likewise.
54846         (__cpy): Likewise.
54847         (norm): Likewise.
54848         (denorm): Likewise.
54849         (__dbl_mp): Likewise.
54850         (add_magnitudes): Likewise.
54851         (sub_magnitudes): Likewise.
54852         (__mul): Likewise.
54853         (__inv): Likewise.
54855         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
54856         style.
54858         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
54859         style.
54861         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
54862         code.
54864         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
54865         up changes with default code.
54866         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
54867         Likewise.
54869 2013-02-24  Allan McRae  <allan@archlinux.org>
54871         * manual/socket.texi (The Internet Namespace): Order menu items
54872         to match that in the file.
54874         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
54875         node listing of the info page menu.
54877 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
54879         [BZ #13550]
54880         * sysdeps/i386/bp-asm.h: Remove file.
54881         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54882         (PARMS): Do not use macros from bp-asm.h.
54883         (S1): Likewise.
54884         (S2): Likewise.
54885         (SIZE): Likewise.
54886         (__mpn_add_n): Do not use BP_SYM
54887         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
54888         "bp-asm.h".
54889         (PARMS): Do not use macros from bp-asm.h.
54890         (S1): Likewise.
54891         (SIZE): Likewise.
54892         (__mpn_addmul_1): Do not use BP_SYM
54893         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
54894         "bp-asm.h".
54895         (PARMS): Do not use macros from bp-asm.h.
54896         (SIGMSK): Likewise.
54897         (_setjmp): Likewise.  Do not use BP_SYM.
54898         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
54899         "bp-asm.h".
54900         (PARMS): Do not use macros from bp-asm.h.
54901         (SIGMSK): Likewise.
54902         (setjmp): Likewise.  Do not use BP_SYM.
54903         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
54904         "bp-asm.h".
54905         (PARMS): Do not use macros from bp-asm.h.
54906         (__frexp): Do not use BP_SYM.
54907         (frexp): Likewise.
54908         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
54909         "bp-asm.h".
54910         (PARMS): Do not use macros from bp-asm.h.
54911         (__frexpf): Do not use BP_SYM.
54912         (frexpf): Likewise.
54913         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
54914         "bp-asm.h".
54915         (PARMS): Do not use macros from bp-asm.h.
54916         (__frexpl): Do not use BP_SYM.
54917         (frexpl): Likewise.
54918         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
54919         "bp-asm.h".
54920         (PARMS): Do not use macros from bp-asm.h.
54921         (__remquo): Do not use BP_SYM.
54922         (remquo): Likewise.
54923         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
54924         "bp-asm.h".
54925         (PARMS): Do not use macros from bp-asm.h.
54926         (__remquof): Do not use BP_SYM.
54927         (remquof): Likewise.
54928         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
54929         "bp-asm.h".
54930         (PARMS): Do not use macros from bp-asm.h.
54931         (__remquol): Do not use BP_SYM.
54932         (remquol): Likewise.
54933         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
54934         "bp-asm.h".
54935         (PARMS): Do not use macros from bp-asm.h.
54936         (DEST): Likewise.
54937         (SRC): Likewise.
54938         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
54939         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
54940         "bp-asm.h".
54941         (PARMS): Do not use macros from bp-asm.h.
54942         (strlen): Do not use BP_SYM.
54943         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
54944         "bp-asm.h".
54945         (PARMS): Do not use macros from bp-asm.h.
54946         (S1): Likewise.
54947         (S2): Likewise.
54948         (SIZE): Likewise.
54949         (__mpn_add_n): Do not use BP_SYM.
54950         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
54951         "bp-asm.h".
54952         (PARMS): Do not use macros from bp-asm.h.
54953         (S1): Likewise.
54954         (SIZE): Likewise.
54955         (__mpn_addmul_1): Do not use BP_SYM.
54956         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
54957         weak_alias.
54958         (bzero): Likewise.
54959         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
54960         "bp-asm.h".
54961         (PARMS): Do not use macros from bp-asm.h.
54962         (S): Likewise.
54963         (SIZE): Likewise.
54964         (__mpn_lshift): Do not use BP_SYM.
54965         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
54966         "bp-asm.h".
54967         (PARMS): Do not use macros from bp-asm.h.
54968         (DEST): Likewise.
54969         (SRC): Likewise.
54970         (LEN): Likewise.
54971         (memcpy): Likewise.  Do not use BP_SYM.
54972         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
54973         libc_hidden_def and weak_alias.
54974         (mempcpy): Do not use BP_SYM in weak_alias.
54975         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
54976         "bp-asm.h".
54977         (PARMS): Do not use macros from bp-asm.h.
54978         (DEST): Likewise.
54979         (LEN): Likewise.
54980         [!BZERO_P] (CHR): Likewise.
54981         (memset): Likewise.  Do not use BP_SYM.
54982         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
54983         "bp-asm.h".
54984         (PARMS): Do not use macros from bp-asm.h.
54985         (S1): Likewise.
54986         (SIZE): Likewise.
54987         (__mpn_mul_1): Do not use BP_SYM.
54988         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
54989         "bp-asm.h".
54990         (PARMS): Do not use macros from bp-asm.h.
54991         (S): Likewise.
54992         (SIZE): Likewise.
54993         (__mpn_rshift): Do not use BP_SYM.
54994         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
54995         "bp-asm.h".
54996         (PARMS): Do not use macros from bp-asm.h.
54997         (STR): Likewise.
54998         (CHR): Likewise.
54999         (strchr): Likewise.  Do not use BP_SYM.
55000         (index): Do not use BP_SYM in weak_alias.
55001         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
55002         "bp-asm.h".
55003         (PARMS): Do not use macros from bp-asm.h.
55004         (DEST): Likewise.
55005         (SRC): Likewise.
55006         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
55007         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
55008         "bp-asm.h".
55009         (PARMS): Do not use macros from bp-asm.h.
55010         (strlen): Do not use BP_SYM.
55011         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
55012         "bp-asm.h".
55013         (PARMS): Do not use macros from bp-asm.h.
55014         (S1): Likewise.
55015         (S2): Likewise.
55016         (SIZE): Likewise.
55017         (__mpn_sub_n): Do not use BP_SYM.
55018         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
55019         "bp-asm.h".
55020         (PARMS): Do not use macros from bp-asm.h.
55021         (S1): Likewise.
55022         (SIZE): Likewise.
55023         (__mpn_submul_1): Do not use BP_SYM.
55024         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
55025         "bp-asm.h".
55026         (PARMS): Do not use macros from bp-asm.h.
55027         (S1): Likewise.
55028         (S2): Likewise.
55029         (SIZE): Likewise.
55030         (__mpn_add_n): Do not use BP_SYM.
55031         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
55032         weak_alias.
55033         (bzero): Likewise.
55034         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
55035         "bp-asm.h".
55036         (PARMS): Do not use macros from bp-asm.h.
55037         (BLK2): Likewise.
55038         (LEN): Likewise.
55039         (memcmp): Do not use BP_SYM.
55040         (bcmp): Do not use BP_SYM in weak_alias.
55041         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
55042         "bp-asm.h".
55043         (PARMS): Do not use macros from bp-asm.h.
55044         (DEST): Likewise.
55045         (SRC): Likewise.
55046         (LEN): Likewise.
55047         (memcpy): Likewise.  Do not use BP_SYM.
55048         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
55049         "bp-asm.h".
55050         (PARMS): Do not use macros from bp-asm.h.
55051         (DEST): Likewise.
55052         (SRC): Likewise.
55053         (LEN): Likewise.
55054         (memmove): Likewise.  Do not use BP_SYM.
55055         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
55056         "bp-asm.h".
55057         (PARMS): Do not use macros from bp-asm.h.
55058         (DEST): Likewise.
55059         (SRC): Likewise.
55060         (LEN): Likewise.
55061         (__mempcpy): Likewise.  Do not use BP_SYM.
55062         (mempcpy): Do not use BP_SYM in weak_alias.
55063         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
55064         "bp-asm.h".
55065         (PARMS): Do not use macros from bp-asm.h.
55066         (DEST): Likewise.
55067         (LEN): Likewise.
55068         [!BZERO_P] (CHR): Likewise.
55069         (memset): Likewise.  Do not use BP_SYM.
55070         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
55071         "bp-asm.h".
55072         (PARMS): Do not use macros from bp-asm.h.
55073         (STR2): Likewise.
55074         (strcmp): Do not use BP_SYM.
55075         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
55076         "bp-asm.h".
55077         (PARMS): Do not use macros from bp-asm.h.
55078         (STR): Likewise.
55079         (DELIM): Likewise.
55080         [USE_AS_STRTOK_R] (SAVE): Likewise.
55081         (FUNCTION): Likewise.  Do not use BP_SYM.
55082         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
55083         aliases.
55084         (strtok_r): Likewise.
55085         (__GI___strtok_r): Likewise.
55086         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55087         (PARMS): Do not use macros from bp-asm.h.
55088         (S): Likewise.
55089         (SIZE): Likewise.
55090         (__mpn_lshift): Do not use BP_SYM.
55091         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55092         (PARMS): Do not use macros from bp-asm.h.
55093         (STR): Likewise.
55094         (CHR): Likewise.
55095         (__memchr): Do not use BP_SYM.
55096         (memchr): Do not use BP_SYM in weak_alias.
55097         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55098         (PARMS): Do not use macros from bp-asm.h.
55099         (BLK2): Likewise.
55100         (LEN): Likewise.
55101         (memcmp): Do not use BP_SYM.
55102         (bcmp): Do not use BP_SYM in weak_alias.
55103         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
55104         (PARMS): Do not use macros from bp-asm.h.
55105         (S1): Likewise.
55106         (SIZE): Likewise.
55107         (__mpn_mul_1): Do not use BP_SYM.
55108         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
55109         "bp-asm.h".
55110         (PARMS): Do not use macros from bp-asm.h.
55111         (STR): Likewise.
55112         (CHR): Likewise.
55113         (__rawmemchr): Do not use BP_SYM.
55114         (rawmemchr): Do not use BP_SYM in weak_alias.
55115         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55116         (PARMS): Do not use macros from bp-asm.h.
55117         (S): Likewise.
55118         (SIZE): Likewise.
55119         (__mpn_rshift): Do not use BP_SYM.
55120         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55121         (PARMS): Do not use macros from bp-asm.h.
55122         (SIGMSK): Likewise.
55123         (__sigsetjmp): Likewise.  Do not use BP_SYM.
55124         * sysdeps/i386/start.S: Do not include "bp-sym.h".
55125         (_start): Do not use BP_SYM.
55126         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
55127         (PARMS): Do not use macros from bp-asm.h.
55128         (DEST): Likewise.
55129         (SRC): Likewise.
55130         (__stpcpy): Likewise.  Do not use BP_SYM.
55131         (stpcpy): Do not use BP_SYM in weak_alias.
55132         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
55133         "bp-asm.h".
55134         (PARMS): Do not use macros from bp-asm.h.
55135         (DEST): Likewise.
55136         (SRC): Likewise.
55137         (LEN): Likewise.
55138         (__stpncpy): Likewise.  Do not use BP_SYM.
55139         (stpncpy): Do not use BP_SYM in weak_alias.
55140         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55141         (PARMS): Do not use macros from bp-asm.h.
55142         (STR): Likewise.
55143         (CHR): Likewise.
55144         (strchr): Likewise.  Do not use BP_SYM.
55145         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
55146         "bp-asm.h".
55147         (PARMS): Do not use macros from bp-asm.h.
55148         (STR): Likewise.
55149         (CHR): Likewise.
55150         (__strchrnul): Likewise.  Do not use BP_SYM.
55151         (strchrnul): Do not use BP_SYM in weak_alias.
55152         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
55153         "bp-asm.h".
55154         (PARMS): Do not use macros from bp-asm.h.
55155         (STOP): Likewise.
55156         (strcspn): Do not use BP_SYM.
55157         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
55158         "bp-asm.h".
55159         (PARMS): Do not use macros from bp-asm.h.
55160         (STR): Likewise.
55161         (STOP): Likewise.
55162         (strpbrk): Likewise.  Do not use BP_SYM.
55163         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
55164         "bp-asm.h".
55165         (PARMS): Do not use macros from bp-asm.h.
55166         (STR): Likewise.
55167         (CHR): Likewise.
55168         (strrchr): Likewise.  Do not use BP_SYM.
55169         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
55170         (PARMS): Do not use macros from bp-asm.h.
55171         (SKIP): Likewise.
55172         (strspn): Do not use BP_SYM.
55173         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
55174         (PARMS): Do not use macros from bp-asm.h.
55175         (STR): Likewise.
55176         (DELIM): Likewise.
55177         (SAVE): Likewise.
55178         (FUNCTION): Likewise.  Do not use BP_SYM.
55179         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
55180         aliases.
55181         (strtok_r): Likewise.
55182         (__GI___strtok_r): Likewise.
55183         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55184         (PARMS): Do not use macros from bp-asm.h.
55185         (S1): Likewise.
55186         (S2): Likewise.
55187         (SIZE): Likewise.
55188         (__mpn_sub_n): Do not use BP_SYM.
55189         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
55190         "bp-asm.h".
55191         (PARMS): Do not use macros from bp-asm.h.
55192         (S1): Likewise.
55193         (SIZE): Likewise.
55194         (__mpn_submul_1): Do not use BP_SYM.
55195         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
55196         <bp-sym.h>.
55197         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
55198         and <bp-asm.h>.
55199         (PARMS): Do not use macros from bp-asm.h.
55200         (FLAGS): Likewise.
55201         (PTID): Likewise.
55202         (TLS): Likewise.
55203         (CTID): Likewise.
55204         (__clone): Do not use BP_SYM.
55205         (clone): Do not use BP_SYM in weak_alias.
55206         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
55207         and <bp-asm.h>.
55208         (PARMS): Do not use macros from bp-asm.h.
55209         (LEN): Likewise.
55210         (__mmap64): Do not use BP_SYM.
55211         (mmap64): Do not use BP_SYM in weak_alias.
55212         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
55213         <bp-sym.h> and <bp-asm.h>.
55214         (PARMS): Do not use macros from bp-asm.h.
55215         (__posix_fadvise64_l64): Do not use BP_SYM.
55216         * sysdeps/unix/sysv/linux/i386/semtimedop.S
55217         (PARMS): Do not use macros from bp-asm.h.
55218         (NSOPS): Likewise.
55219         (semtimedop): Do not use BP_SYM.
55220         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
55221         and <bp-asm.h>.
55223 2013-02-21  Allan McRae  <allan@archlinux.org>
55225         * manual/message.texi (Charset conversion in gettext):
55226         Move @end statement to beginning of line.
55228 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55230         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
55231         static.
55232         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55233         Likewise.
55235         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
55236         (denorm): Likewise.
55237         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
55238         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
55240 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55242         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
55243         tail-call to the resolved function if pltexit isn't needed.
55245 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55247         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
55248         or Y being zero as being unlikely.
55249         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55250         Likewise.
55252 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
55254         * manual/nss.texi (System Databases and Name Service Switch):
55255         Remove frobnicate @pxref.
55257 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55259         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55260         __attribute__ ((unused)) to __attribute__ ((__unused__)).
55262 2013-02-20  Petr Machata  <pmachata@redhat.com>
55264         * elf/elf.h (R_ARM_TARGET1): New macro.
55265         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
55266         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
55267         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
55268         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
55269         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
55270         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
55271         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
55272         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
55273         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
55274         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
55275         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
55276         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
55277         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
55278         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
55279         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
55280         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
55281         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
55282         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
55283         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
55284         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
55285         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
55286         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
55287         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
55288         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
55289         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
55290         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
55291         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
55292         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
55293         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
55294         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
55295         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
55296         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
55297         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
55298         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
55299         (R_ARM_THM_GOT_BREL12): Likewise.
55300         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
55301         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
55302         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
55303         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
55304         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
55305         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
55306         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
55307         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
55308         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
55310 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55312         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55313         __attribute_used__ to __attribute__ ((unused)).
55315 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55317         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
55318         powerpc mpa.c.
55319         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
55320         comment formatting.
55321         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
55323 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
55325         [BZ #13550]
55326         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
55327         Remove macro.
55328         (ENTER): Remove both macro definitions.
55329         (LEAVE): Likewise.
55330         (CHECK_BOUNDS_LOW): Likewise.
55331         (CHECK_BOUNDS_HIGH): Likewise.
55332         (CHECK_BOUNDS_BOTH): Likewise.
55333         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
55334         (RETURN_BOUNDED_POINTER): Likewise.
55335         (RETURN_NULL_BOUNDED_POINTER): Likewise.
55336         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
55337         (POP_ERRNO_LOCATION_RETURN): Likewise.
55338         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
55339         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55340         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
55341         macros.
55342         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55343         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
55344         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
55345         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
55346         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
55347         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
55348         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
55349         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
55350         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
55351         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
55352         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
55353         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
55354         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55355         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
55356         removed macros.
55357         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55358         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
55359         macros.
55360         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55361         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
55362         * sysdeps/i386/i586/memset.S (memset): Likewise.
55363         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
55364         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55365         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
55366         macros.
55367         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55368         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
55369         Change uses of L(2) to L(out).
55370         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
55371         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
55372         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
55373         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55374         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
55375         removed macros.
55376         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55377         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
55378         macros.
55379         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55380         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
55381         (RETURN): Do not use macro LEAVE.
55382         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
55383         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
55384         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
55385         * sysdeps/i386/i686/memset.S (memset): Likewise.
55386         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
55387         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
55388         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55389         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
55390         Likewise.
55391         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55392         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
55393         L(1_2) and L(1_3) into L(1).
55394         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55395         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
55396         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55397         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
55398         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55399         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
55400         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
55401         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55402         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
55403         macros.
55404         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
55405         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55406         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
55407         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
55408         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
55409         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55410         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
55411         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
55412         * sysdeps/i386/strcspn.S (strcspn): Likewise.
55413         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
55414         * sysdeps/i386/strrchr.S (strrchr): Likewise.
55415         * sysdeps/i386/strspn.S (strspn): Likewise.
55416         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
55417         conditional code.
55418         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55419         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
55420         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55421         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
55422         L(1_3) into L(1_1).
55423         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
55424         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55425         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
55426         macros.
55427         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55429 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
55431         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
55432         macro.
55434 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55436         * math/atest-exp.c (exp_mpn): Remove ROUND.
55437         * math/atest-exp2.c (exp_mpn): Likewise.
55438         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
55440         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
55441         * stdlib/tst-tls-atexit-lib.c: Likewise.
55442         * stdlib/tst-tls-atexit.c: Likewise.
55444 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55446         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
55447         and __attribute_alloc_size__.
55449 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55451         * include/programs/xmalloc.h: Change __attribute_alloc_size to
55452         __attribute_alloc_size__.
55453         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
55454         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
55456 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55458         * include/programs/xmalloc.h: New file.
55459         * catgets/gencat.c: Include it.
55460         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
55461         * elf/pldd.c: Likewise.
55462         * iconv/iconv_charmap.c: Likewise.
55463         * iconv/iconvconfig.c: Likewise.
55464         * iconv/strtab.c: Likewise.
55465         * locale/programs/locale.c: Likewise.
55466         * locale/programs/localedef.h: Likewise.
55467         * locale/programs/simple-hash.c: Likewise.
55468         * nscd/nscd.h: Likewise.
55469         * nss/makedb.c: Likewise.
55470         * sysdeps/generic/ldconfig.h: Likewise.
55472 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55474         * Versions.def: Add GLIBC_2.18.
55475         * include/link.h (struct link_map): New member l_tls_dtor_count.
55476         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
55477         (__call_tls_dtors): Likewise.
55478         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
55479         __cxa_thread_atexit_impl.
55480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55481         Likewise.
55482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55483         Likewise.
55484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55485         Likewise.
55486         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55487         Likewise.
55488         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
55490         Likewise.
55491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
55492         Likewise.
55493         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55494         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55495         Likewise.
55496         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
55497         (tests): Add test case tst-tls-atexit.
55498         (modules-names): Add shared library for tst-tls-atexit.
55499         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
55500         (GLIBC_PRIVATE): Add __call_tls_dtors.
55501         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
55502         for libstdc++.
55503         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
55504         * stdlib/tst-tls-atexit.c: New test case.
55505         * stdlib/tst-tls-atexit-lib.c: New test case.
55507         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
55509         * elf/Versions (ld): Add _dl_find_dso_for_object.
55510         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
55511         * elf/dl-open.c (_dl_find_dso_for_object): New function.
55512         (dl_open_worker): Use _dl_find_dso_for_object.
55513         * elf/dl-sym.c (do_sym): Likewise.
55514         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
55516 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55518         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
55519         Syntactic changes only.
55520         (_dl_runtime_profile): Do a tail-call to the resolved function.
55522 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
55524         [BZ #13550]
55525         * sysdeps/x86_64/bp-asm.h: Remove file.
55526         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
55527         <bp-sym.h> and <bp-asm.h>.
55528         (__clone): Do not use BP_SYM.
55529         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
55530         <bp-sym.h> and <bp-asm.h>.
55531         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55532         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
55533         "bp-asm.h".
55534         (_setjmp): Do not use BP_SYM.
55535         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
55536         "bp-asm.h".
55537         (setjmp): Do not use BP_SYM.
55538         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
55539         libc_hidden_def.
55540         (mempcpy): Do not use BP_SYM in weak_alias.
55541         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
55542         "bp-asm.h".
55543         (strchr): Do not use BP_SYM.
55544         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
55545         "bp-asm.h".
55546         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
55547         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
55548         (_start): Do not use BP_SYM.
55549         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
55550         "bp-asm.h".
55551         (strcat): Do not use BP_SYM.
55552         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
55553         "bp-asm.h".
55554         (STRCMP): Do not use BP_SYM.
55555         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
55556         "bp-asm.h".
55557         (STRCPY): Do not use BP_SYM.
55558         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
55559         "bp-asm.h".
55560         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
55561         "bp-asm.h".
55562         (FUNCTION): Do not use BP_SYM.
55563         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
55564         weak_alias.
55565         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
55567 2013-02-17  Andreas Jaeger  <aj@suse.de>
55569         * time/Versions: Sort entries.
55570         * string/Versions: Likewise.
55571         * resolv/Versions: Likewise.
55572         * posix/Versions: Likewise.
55573         * iconv/Versions: Likewise.
55574         * elf/Versions: Likewise.
55575         * wcsmbs/Versions: Likewise.
55577 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55579         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
55580         loop termination condition.
55582         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
55583         variable to calculate EZ.
55584         (__sqr): Likewise.
55586         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
55587         the lower precision input.
55589 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
55591         [BZ #13550]
55592         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
55593         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
55594         (run-via-rtld-prefix): Do not handle %-bp tests.
55595         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
55596         (all-object-suffixes): Remove .ob.
55597         (bppfx): Remove variable.
55598         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
55599         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
55600         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
55601         [$(build-bounded) = yes] (libtype.ob): Likewise.
55602         * Makerules (elide-routines.ob): Remove variable.
55603         (do-tests-clean): Do not handle *-bp.out.
55604         (common-mostlyclean): Do not handle *-bp and *-bp.out.
55605         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
55606         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
55607         (tests): Do not include $(tests-bp.out).
55608         (xtests): Do not include $(xtests-bp.out).
55609         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
55610         [$(build-bounded) = yes] ($(addprefix
55611         $(objpfx),$(binaries-bounded))): Remove rule.
55612         ($(objpfx)%-bp.out): Remove rule.
55613         * config.make.in (build-bounded): Remove variable.
55614         * crypt/Makefile [$(build-bounded) = yes]
55615         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
55616         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
55617         append to variable.
55618         [$(build-bounded) = yes] (install-lib): Likewise.
55619         [$(build-bounded) = yes] (generated): Likewise.
55620         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
55621         Remove rule.
55622         * intl/Makefile [$(build-bounded) = yes]
55623         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
55624         * math/Makefile [$(build-bounded) = yes]
55625         ($(tests:%=$(objpfx)%-bp): Likewise.
55626         * misc/Makefile [$(build-bounded) = yes]
55627         ($(objpfx)tst-tsearch-bp): Likewise.
55628         * nptl/Makeconfig (bounded-thread-library): Remove variable.
55629         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
55630         Remove dependency.
55631         * string/Makefile (o-objects.ob): Remove variable.
55632         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
55633         (CFLAGS-.ob): Remove variable.
55634         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
55635         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
55636         both definitions of variable.
55637         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
55638         (ASFLAGS-.ob): Remove variable.
55640 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
55642         [BZ #13550]
55643         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
55644         Remove __BOUNDED_POINTERS__ from condition.
55645         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
55646         * string/bits/string2.h [!__NO_STRING_INLINES &&
55647         !__BOUNDED_POINTERS__]: Likewise.
55648         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
55649         Likewise.
55650         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
55651         Remove conditional code.
55652         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
55653         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
55654         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
55655         condition.
55657         [BZ #13550]
55658         * csu/libc-start.c: Do not include <bp-sym.h>.
55659         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
55660         * elf/dl-open.c: Do not include <bp-sym.h>.
55661         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
55662         * math/fegetenv.c: Do not include <bp-sym.h>.
55663         (fegetenv): Do not use BP_SYM in versioned symbols.
55664         * nptl/sysdeps/pthread/bits/libc-lockP.h
55665         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
55666         <bp-sym.h>.
55667         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55668         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
55669         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55670         (__pthread_mutex_destroy): Likewise.
55671         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55672         (__pthread_mutex_lock): Likewise.
55673         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55674         (__pthread_mutex_trylock): Likewise.
55675         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55676         (__pthread_mutex_unlock): Likewise.
55677         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55678         (__pthread_mutexattr_init): Likewise.
55679         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55680         (__pthread_mutexattr_destroy): Likewise.
55681         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55682         (__pthread_mutexattr_settype): Likewise.
55683         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55684         (__pthread_rwlock_init): Likewise.
55685         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55686         (__pthread_rwlock_destroy): Likewise.
55687         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55688         (__pthread_rwlock_rdlock): Likewise.
55689         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55690         (__pthread_rwlock_tryrdlock): Likewise.
55691         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55692         (__pthread_rwlock_wrlock): Likewise.
55693         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55694         (__pthread_rwlock_trywrlock): Likewise.
55695         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55696         (__pthread_rwlock_unlock): Likewise.
55697         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55698         (__pthread_key_create): Likewise.
55699         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55700         (__pthread_setspecific): Likewise.
55701         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55702         (__pthread_getspecific): Likewise.
55703         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
55704         Likewise.
55705         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55706         (_pthread_cleanup_push_defer): Likewise.
55707         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55708         (_pthread_cleanup_pop_restore): Likewise.
55709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55710         (pthread_setcancelstate): Likewise.
55711         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
55712         <bp-sym.h>.
55713         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
55714         (memchr): Do not use BP_SYM in weak_alias.
55715         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
55716         (fegetenv): Do not use BP_SYM in versioned symbols.
55717         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
55718         (fesetenv): Do not use BP_SYM in versioned symbols.
55719         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55720         (feupdateenv): Do not use BP_SYM in versioned symbols.
55721         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55722         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55723         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
55724         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
55725         (open64): Do not use BP_SYM in weak_alias.
55726         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
55727         (fegetenv): Do not use BP_SYM in versioned symbols.
55728         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
55729         (fesetenv): Do not use BP_SYM in versioned symbols.
55730         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55731         (feupdateenv): Do not use BP_SYM in versioned symbols.
55732         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
55733         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
55734         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
55735         (feraiseexcept): Do not use BP_SYM in versioned symbols.
55736         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55737         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55738         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
55739         <bp-sym.h>.
55740         (__libc_start_main): Do not use BP_SYM.
55742 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55744         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
55745         redundant return line.
55746         (norm): Likewise.
55747         (denorm): Likewise.
55748         (dbl_mp): Likewise.
55749         (sub_magnitudes): Likewise.
55750         (__add): Likewise.
55751         (__sub): Likewise.
55752         (__mul): Likewise.
55753         (__inv): Likewise.
55754         (__dvd): Likewise.
55755         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
55756         (norm): Likewise.
55757         (denorm): Likewise.
55758         (dbl_mp): Likewise.
55759         (sub_magnitudes): Likewise.
55760         (__add): Likewise.
55761         (__sub): Likewise.
55762         (__mul): Likewise.
55763         (__inv): Likewise.
55764         (__dvd): Likewise.
55766         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
55767         instead of __mul.
55768         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55769         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
55770         (cc32): Likewise.
55772         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
55773         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
55774         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
55775         of __mul for squares.
55776         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
55777         function
55778         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
55779         Likewise.
55780         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
55781         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55783 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
55785         [BZ #13550]
55786         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
55787         code.
55788         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
55789         prototype or function definition.  Rename ubp_* variables and
55790         parameters.  Remove argv definitions conditional on
55791         [__BOUNDED_POINTERS__].
55792         * debug/backtrace.c (__backtrace): Do not use __unbounded.
55793         * elf/dl-runtime.c (_dl_fixup): Likewise.
55794         * include/set-hooks.h (RUN_HOOK): Likewise.
55795         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
55796         definition.
55797         * string/strcpy.c (strcpy): Do not use __unbounded.
55798         * sysdeps/generic/frame.h (struct layout): Likewise.
55799         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
55800         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
55801         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
55802         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
55803         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
55804         (__backtrace): Likewise.
55805         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
55806         use __ptrvalue.
55807         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
55808         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55809         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
55810         Likewise.
55811         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
55812         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
55813         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55814         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55815         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
55816         Do not use __unbounded.
55817         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
55818         Rename __unboundedrlimits parameter to rlimits in prototype.
55819         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
55820         Do not use __unbounded.
55821         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
55822         not use __ptrvalue.
55823         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55824         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
55825         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55826         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
55827         __ptrvalue or __unbounded.
55828         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
55829         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
55830         use __unbounded.
55831         (__new_msgctl): Do not use __ptrvalue.
55832         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
55833         __unbounded.
55834         (__libc_msgrcv): Do not use __ptrvalue.
55835         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
55836         startup_info): Do not use __unbounded.
55837         (__libc_start_main): Likewise.  Rename ubp_* variables and
55838         parameters.  Remove argv definitions conditional on
55839         [__BOUNDED_POINTERS__].
55840         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
55841         __ptrvalue.
55842         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
55843         use __unbounded.
55844         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
55845         or __ptrvalue.
55846         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
55847         use __unbounded.
55848         (__new_shmctl): Do not use __ptrvalue.
55849         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
55850         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
55851         Likewise.
55852         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
55853         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
55854         (__libc_sigaction): Likewise.
55855         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
55856         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
55857         Likewise.
55858         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55860 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
55862         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
55864         * string/mempcpy.c: Implement by calling memcpy.
55866 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55868         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
55870         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
55871         evaluation.
55873         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
55874         values in the mantissa.
55876         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
55877         minimize writes to Z.
55878         (sub_magnitudes): Simplify code a bit.
55880 2013-02-12  Roland McGrath  <roland@hack.frob.com>
55882         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
55883         from the message.  The linker prefixes all warnings with that already.
55885 2013-02-12  Andreas Schwab  <schwab@suse.de>
55887         [BZ #15078]
55888         * posix/regexec.c (extend_buffers): Add parameter min_len.
55889         (check_matching): Pass minimum needed length.
55890         (clean_state_log_if_needed): Likewise.
55891         (get_subexp): Likewise.
55892         * posix/Makefile (tests): Add bug-regex34.
55893         (bug-regex34-ENV): Define.
55894         * posix/bug-regex34.c: New file.
55896         [BZ #11561]
55897         * posix/regcomp.c (parse_bracket_exp): When looking up collating
55898         elements compare against the byte sequence of it, not its name.
55899         * posix/Makefile (tests): Add bug-regex35.
55900         (bug-regex35-ENV): Define.
55901         * posix/bug-regex35.c: New file.
55903 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55905         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
55906         comment.
55907         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
55908         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
55909         (CHECK_EOL): Add undef.
55911 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
55913         * bits/stdlib-bsearch.h: New file.
55914         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
55915         * stdlib/stdlib.h: Likewise.
55917 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55919         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
55920         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
55921         declaration.
55922         * manual/search.texi (Array Search Function): Add missing const in
55923         lfind prototype.
55924         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
55925         declaration to use rlim_t.
55926         (Basic Scheduling Functions): Remove erroneous const from
55927         sched_getparam prototype.  Remove erroneous * from
55928         sched_get_priority_max and sched_get_priority_min prototypes.
55929         (Resource Usage): Fix summary @comment on vtimes to refer to
55930         sys/vtimes.h rather than vtimes.h.
55931         Add missing *s in vtimes prototype.
55932         (Limits on Resources): Fix ulimit prototype to return long int.
55933         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
55934         prototypes to use long int rather than double.
55935         (BSD Random): Fix initstate and setstate to use char *, not void *.
55936         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
55937         prototype to make second argument 'struct aiocb64 *const[]'.
55938         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
55939         (Status of AIO Operations): Remove erroneous const in aio_return and
55940         aio_return64 prototypes.
55941         (Synchronizing I/O): Fix sync prototype to return void.
55942         * manual/startup.texi (Suboptions): Remove an erroneous const in
55943         getsubopt prototype.
55944         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
55945         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
55946         use size_t rather than int.
55947         (Scanning All Users): Likewise for getpwent_r.
55948         (Setting Groups): Add missing const to setgroups prototype.
55949         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
55950         * manual/socket.texi (Host Names): Fix gethostbyaddr and
55951         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
55952         'const void *' rather than 'const char *'.
55953         (Host Address Functions): Likewise for inet_ntop.
55954         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
55955         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
55956         ssize_t for return value.
55957         (Sending Data): Likewise for send, sendto, sendmsg.
55958         (Socket Option Functions): Add a missing const in setsockopt prototype.
55959         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
55960         use wchar_t for the argument.
55961         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
55962         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
55963         take no arguments.
55964         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
55965         double/float/long double for second argument.
55966         Fix return types of significand, significandf, significandl.
55967         * manual/filesys.texi (Setting Permissions): Use mode_t for second
55968         argument in fchmod prototype.
55969         (File Owner): Use uid_t and gid_t in fchown prototype.
55970         (File Times): Add const to utimes, futimes, and lutimes prototypes.
55971         (Making Special Files): Use mode_t and dev_t in mknod prototype.
55972         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
55973         use 'const struct dirent **' as argument types to CMP function pointer
55974         argument.
55975         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
55976         (File Times): Fix summary magic @comment for struct utimbuf and utime
55977         to refer to utime.h, not time.h.
55978         * manual/string.texi (Argz Functions): Add missing const in
55979         argz_extract and argz_next prototypes.
55980         (Finding Tokens in a String): Likewise for basename.
55981         (String/Array Comparison): Fix typo in wcscasecmp prototype.
55982         (Copying and Concatenation): Fix typo in wmemmove prototype.
55983         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
55984         (Signal Stack): Remove erroneous const in sigstack prototype.
55985         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
55986         prototype.
55987         (Simple Calendar Time): Likewise for stime.
55988         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
55989         prototype.
55990         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
55991         say sys/sysctl.h instead.
55992         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
55993         and vsyslog prototypes.
55995 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55997         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
55998         Remove.
56000 2013-02-11  Roland McGrath  <roland@hack.frob.com>
56002         * misc/sys/mman.h: Fix typo in mremap comment.
56004 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56006         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
56007         the '\0' terminator.
56009 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56011         [BZ #13550]
56012         * debug/segfault.c: Don't include <bp-checks.h>.
56013         * sysdeps/generic/bp-checks.h: Remove file.
56014         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
56015         (__GETDENTS): Don't use CHECK_N.
56016         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
56017         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
56018         (__getgroups): Don't use CHECK_N.
56019         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
56020         (setgroups): Don't use CHECK_N.
56021         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
56022         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
56023         (__libc_msgrcv): Don't use CHECK_N.
56024         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
56025         (__libc_msgsnd): Don't use CHECK_N.
56026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
56027         <bp-checks.h>.
56028         (__libc_pread): Don't use CHECK_N.
56029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
56030         include <bp-checks.h>.
56031         (__libc_pread64): Don't use CHECK_N.
56032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
56033         include <bp-checks.h>.
56034         (__libc_pwrite): Don't use CHECK_N.
56035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
56036         include <bp-checks.h>.
56037         (__libc_pwrite64): Don't use CHECK_N.
56038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
56039         <bp-checks.h>.
56040         (__libc_pread): Don't use CHECK_N.
56041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
56042         include <bp-checks.h>.
56043         (__libc_pread64): Don't use CHECK_N.
56044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
56045         include <bp-checks.h>.
56046         (__libc_pwrite): Don't use CHECK_N.
56047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
56048         include <bp-checks.h>.
56049         (__libc_pwrite64): Don't use CHECK_N.
56050         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
56051         (do_pread): Don't use CHECK_N.
56052         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
56053         (do_pread64): Don't use CHECK_N.
56054         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
56055         (do_pwrite): Don't use CHECK_N.
56056         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
56057         (do_pwrite64): Don't use CHECK_N.
56058         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
56059         (__libc_readv): Don't use CHECK_N.
56060         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
56061         (semop): Don't use CHECK_N.
56062         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
56063         <bp-checks.h>.
56064         (semtimedop): Don't use CHECK_N.
56065         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
56066         (__libc_pread): Don't use CHECK_N.
56067         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
56068         <bp-checks.h>.
56069         (__libc_pread64): Don't use CHECK_N.
56070         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
56071         <bp-checks.h>.
56072         (__libc_pwrite): Don't use CHECK_N.
56073         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
56074         <bp-checks.h>.
56075         (__libc_pwrite64): Don't use CHECK_N.
56076         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
56077         <bp-checks.h>.
56078         (__libc_msgrcv): Don't use CHECK_N.
56079         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
56080         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
56081         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
56082         (__libc_writev): Don't use CHECK_N.
56084 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56086         * string/strcpy.c: Removed unused variable.
56088         * Makeconfig (+sysdep-includes): Define with := rather than =.
56089         Use an existing include/ subdir of each sysdeps dir before it.
56091 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56093         * nscd/connection.c (register_traced_file): Comment function.
56094         [HAVE_INOTIFY] (union __inev): Define.
56095         [HAVE_INOTIFY] (inotify_check_files): New function.
56096         [HAVE_INOTIFY] (clear_db_cache): Likewise.
56097         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
56098         clear_db_cache.
56099         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
56101 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56103         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
56104         loaded if not already and that a failure is permanent.
56106 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56108         [BZ #15006]
56109         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
56110         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
56112 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56114         [BZ #13550]
56115         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
56116         (CHECK_1_NULL_OK): Likewise.
56117         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
56118         (__fxstat): Do not use CHECK_1.
56119         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
56120         <bp-checks.h>.
56121         (___fxstat64): Do not use CHECK_1.
56122         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
56123         <bp-checks.h>.
56124         (__fxstatat): Do not use CHECK_1.
56125         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
56126         <bp-checks.h>.
56127         (__fxstatat64): Do not use CHECK_1.
56128         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
56129         <bp-checks.h>.
56130         (__fxstat): Do not use CHECK_1.
56131         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
56132         <bp-checks.h>.
56133         (__fxstatat): Do not use CHECK_1.
56134         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56135         <bp-checks.h>.
56136         (__getresgid): Do not use CHECK_1.
56137         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56138         <bp-checks.h>.
56139         (__getresuid): Do not use CHECK_1.
56140         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
56141         <bp-checks.h>.
56142         (__lxstat): Do not use CHECK_1.
56143         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56144         <bp-checks.h>.
56145         (__old_msgctl): Do not use CHECK_1.
56146         (__new_msgctl): Likewise.
56147         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
56148         <bp-checks.h>.
56149         (__new_setrlimit): Do not use CHECK_1.
56150         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56151         <bp-checks.h>.
56152         (__old_shmctl): Do not use CHECK_1.
56153         (__new_shmctl): Likewise.
56154         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
56155         <bp-checks.h>.
56156         (__xstat): Do not use CHECK_1.
56157         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
56158         (__lxstat): Do not use CHECK_1.
56159         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
56160         <bp-checks.h>.
56161         (___lxstat64): Do not use CHECK_1.
56162         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
56163         (__old_msgctl): Do not use CHECK_1.
56164         (__new_msgctl): Likewise.
56165         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
56166         <bp-checks.h>.
56167         (__gettimeofday): Do not use CHECK_1.
56168         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
56169         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
56170         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
56171         <bp-checks.h>.
56172         (__gettimeofday): Do not use CHECK_1.
56173         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
56174         (__old_shmctl): Do not use CHECK_1_NULL_OK.
56175         (__new_shmctl): Do not use CHECK_1.
56176         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
56177         <bp-checks.h>.
56178         (do_sigtimedwait): Do not use CHECK_1.
56179         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
56180         <bp-checks.h>.
56181         (do_sigwaitinfo): Do not use CHECK_1.
56182         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
56183         <bp-checks.h>.
56184         (msgctl): Do not use CHECK_1.
56185         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
56186         <bp-checks.h>.
56187         (shmctl): Do not use CHECK_1.
56188         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
56189         (ustat): Do not use CHECK_1.
56190         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
56191         <bp-checks.h>.
56192         (__fxstat): Do not use CHECK_1.
56193         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
56194         <bp-checks.h>.
56195         (__fxstatat): Do not use CHECK_1.
56196         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
56197         <bp-checks.h>.
56198         (__lxstat): Do not use CHECK_1.
56199         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
56200         <bp-checks.h>.
56201         (__xstat): Do not use CHECK_1.
56202         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
56203         (__xstat): Do not use CHECK_1.
56204         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
56205         (___xstat64): Do not use CHECK_1.
56207         [BZ #13550]
56208         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
56209         definitions.
56210         (CHECK_BOUNDS_HIGH): Likewise.
56211         * string/strcpy.c: Do not include <bp-checks.h>.
56212         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
56214 2013-02-07  Roland McGrath  <roland@hack.frob.com>
56216         * nscd/nscd-client.h (__nscd_drop_map_ref):
56217         Add __attribute__ ((unused)).
56218         * nis/nss-nisplus.h (niserr2nss): Likewise.
56220         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
56221         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
56223         * csu/libc-tls.c (init_static_tls, init_slotinfo):
56224         Remove inline keyword.
56225         * include/rounding-mode.h (round_away): Likewise.
56226         * libio/wfileops.c (adjust_wide_data): Likewise.
56227         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
56228         (__m128i_strloadu_tolower): Likewise.
56229         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
56230         (__m128i_strloadu_tolower): Likewise.
56231         * time/mktime.c (ydhms_diff): Likewise.
56232         * locale/elem-hash.h (elem_hash): Likewise.
56233         * locale/setlocale.c (setdata): Likewise.
56234         * posix/regex_internal.h (re_string_char_size_at): Likewise.
56235         (re_string_wchar_at): Likewise.
56236         (bitset_not, bitset_merge, bitset_mask): Likewise.
56237         [!(__GNUC__ > 3)] (inline): Remove macro.
56238         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
56239         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
56240         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
56241         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
56242         * string/memcmp.c (memcmp_bytes): Likewise.
56243         * locale/programs/locarchive.c (compute_hashval): Likewise.
56244         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
56245         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
56246         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
56247         * nss/getent.c (print_rpc, print_protocols): Likewise.
56248         (print_passwd, print_group, print_aliases): Likewise.
56249         * nis/nss-nisplus.h (niserr2nss): Likewise.
56250         * nscd/connections.c (restart_p): Likewise.
56251         Change return type to bool.
56253 2013-02-05  Roland McGrath  <roland@hack.frob.com>
56255         * Makeconfig (all-Depend-files): Add existing
56256         $(sorted-subdirs:=/Depend) files.
56257         (all-subdirs): Remove nss.
56258         * sysdeps/unix/inet/Subdirs: Add it here instead.
56259         * hesiod/Depend: New file.
56261         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
56262         instead of calling alloca.
56264         * io/lseek.c (__lseek): Rename to __libc_lseek.
56265         Define __lseek as an alias.
56267         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
56269 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
56271         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
56272         else clause and remove check for non-standard endianness.
56274 2013-02-04  David S. Miller  <davem@davemloft.net>
56276         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56278 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
56280         [BZ #13550]
56281         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
56282         (__ubp_memchr): Remove prototype.
56283         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
56284         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56285         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
56286         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56287         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
56288         Remove alias.
56289         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
56290         (__ubp_memchr): Likewise.
56291         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
56292         (__ubp_memchr): Likewise.
56293         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
56294         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
56295         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
56296         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
56297         CHECK_STRING.
56298         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
56299         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
56300         (__getcwd): Do not use CHECK_STRING.
56301         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56302         <bp-checks.h>.
56303         (__real_chown): Do not use CHECK_STRING.
56304         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
56305         <bp-checks.h>.
56306         (fchownat): Do not use CHECK_STRING.
56307         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
56308         CHECK_STRING.
56309         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56310         <bp-checks.h>.
56311         (__lchown): Do not use CHECK_STRING.
56312         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56313         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56314         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56315         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
56316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56317         include <bp-checks.h>.
56318         (truncate64): Do not use CHECK_STRING.
56319         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56320         <bp-checks.h>.
56321         (__real_chown): Do not use CHECK_STRING.
56322         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56323         <bp-checks.h>.
56324         (__lchown): Do not use CHECK_STRING.
56325         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56326         <bp-checks.h>.
56327         (__chown): Do not use CHECK_STRING.
56328         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
56329         <bp-checks.h>.
56330         (truncate64): Do not use CHECK_STRING.
56331         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
56332         Likewise.
56333         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
56334         (__xmknod): Do not use CHECK_STRING.
56335         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
56336         <bp-checks.h>.
56337         (__xmknodat): Do not use CHECK_STRING.
56338         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56339         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
56341 2013-02-04  Andreas Schwab  <schwab@suse.de>
56343         [BZ #14142]
56344         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
56345         * include/netdb.h: Likewise for h_errno.
56346         * elf/tst-stackguard1.c: Include <tls.h>.
56348 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
56350         * elf/link.h (struct link_map): Extend the l_addr comment.
56351         * include/link.h (struct link_map): Likewise.
56353 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
56355         [BZ #13550]
56356         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
56357         (BOUNDED_1): Remove macro.
56358         * debug/backtrace.c: Don't include <bp-checks.h>.
56359         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
56360         (__backtrace): Likewise.
56361         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
56362         <bp-checks.h>.
56363         (__backtrace): Don't use BOUNDED_1.
56364         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
56365         <bp-checks.h>.
56366         (__backtrace): Don't use BOUNDED_1.
56367         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
56368         (__backtrace): Don't use BOUNDED_1.
56369         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
56370         (shmat): Don't use BOUNDED_N.
56372 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
56374         [BZ #13550]
56375         * sysdeps/generic/bp-start.h: Remove file.
56376         * csu/libc-start.c: Don't include <bp-start.h>.
56377         (LIBC_START_MAIN): Set up __environ directly instead of using
56378         INIT_ARGV_and_ENVIRON.
56379         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
56380         <bp-start.h>.
56382         [BZ #13550]
56383         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
56384         definitions.
56385         (CHECK_FCNTL): Likewise.
56386         (CHECK_N_PAGES): Likewise.
56388         [BZ #13550]
56389         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
56390         definitions.
56391         (CHECK_SIGSET_NULL_OK): Likewise.
56392         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
56393         <bp-checks.h>.
56394         (sigpending): Don't use CHECK_SIGSET.
56395         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
56396         <bp-checks.h>.
56397         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56398         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
56399         <bp-checks.h>.
56400         (do_sigsuspend): Don't use CHECK_SIGSET.
56401         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
56402         use CHECK_SIGSET.
56403         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
56404         (do_sigwait): Don't use CHECK_SIGSET.
56405         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
56406         use CHECK_SIGSET.
56407         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
56408         include <bp-checks.h>.
56409         (sigpending): Don't use CHECK_SIGSET.
56410         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
56411         include <bp-checks.h>.
56412         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56413         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
56414         <bp-checks.h>.
56415         (sigpending): Don't use CHECK_SIGSET.
56416         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
56417         <bp-checks.h>.
56418         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56420         [BZ #13550]
56421         * sysdeps/generic/bp-semctl.h: Remove file.
56422         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
56423         <bp-checks.h> and <bp-semctl.h>.
56424         (__old_semctl): Don't use CHECK_SEMCTL.
56425         (__new_semctl): Likewise.
56426         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
56427         and <bp-semctl.h>.
56428         (__old_semctl): Don't use CHECK_SEMCTL.
56429         (__new_semctl): Likewise.
56430         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
56431         <bp-checks.h> and <bp-semctl.h>.
56432         (__old_semctl): Don't use CHECK_SEMCTL.
56433         (__new_semctl): Likewise.
56434         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
56435         <bp-checks.h> and <bp-semctl.h>.
56436         (semctl): Don't use CHECK_SEMCTL.
56438         [BZ #13550]
56439         * Makerules (elide-bp-thunks): Remove variable.
56440         (elide-routines.oS): Don't use $(elide-bp-thunks).
56441         (elide-routines.os): Likewise.
56442         (elide-routines.o): Likewise.
56443         (elide-routines.op): Likewise.
56444         (elide-routines.og): Likewise.
56445         (objects): Don't use $(bp-thunks).
56446         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
56447         include.
56448         (common-generated): Do not add s-proto-bp.d.
56449         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
56450         (int): Likewise.
56451         (typ): Likewise.
56452         Do not generate makefile rules for bounded-pointer thunks.
56453         * sysdeps/generic/bp-thunks.h: Remove file.
56454         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
56455         * sysdeps/unix/s-proto-bp.S: Likewise.
56457         [BZ #15062]
56458         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
56459         parts of result separately when argument is not close to line from
56460         -i to i and one part of argument is small.
56461         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56462         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56463         * math/libm-test.inc (cacos_test): Add more tests.
56464         (casin_test): Likewise.
56465         (casinh_test): Likewise.
56466         * sysdeps/i386/fpu/libm-test-ulps: Update.
56467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56469 2013-01-31  David S. Miller  <davem@davemloft.net>
56471         * po/de.po: Update from translation team.
56473 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
56475         * time/tzfile.c: Include stdint.h for SIZE_MAX.
56477 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
56479         * configure.in (_AC_PROG_CC_C89): New definition.
56480         * configure: Regenerate.
56482         * configure.in (AC_PROG_CPP): New definition.
56483         * configure: Regenerate.
56485 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56487         * debug/tst-backtrace.h: New file.
56488         * debug/tst-backtrace2.c: Include tst-backtrace.h.
56489         (ret): Remove variable.
56490         (x): Likewise.
56491         (FAIL): Remove macro.
56492         (NO_INLINE): Likewise.
56493         (fn1): Use match function instead of strstr.
56494         * debug/tst-backtrace3.c: Include tst-backtrace.h.
56495         (ret): Remove variable.
56496         (x): Likewise.
56497         (FAIL): Remove macro.
56498         (NO_INLINE): Likewise.
56499         (fn): Use match function instead of strstr.
56500         * debug/tst-backtrace4.c: Include tst-backtrace.h.
56501         (ret): Remove variable.
56502         (x): Likewise.
56503         (FAIL): Remove macro.
56504         (NO_INLINE): Likewise.
56505         (handle_signal): Use match function instead of strstr.
56506         * debug/tst-backtrace5.c: Include tst-backtrace.h.
56507         (ret): Remove variable.
56508         (x): Likewise.
56509         (FAIL): Remove macro.
56510         (NO_INLINE): Likewise.
56511         (handle_signal): Use match function instead of strstr.
56513 2013-01-23  Roland McGrath  <roland@hack.frob.com>
56515         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
56517 2013-01-23  David S. Miller  <davem@davemloft.net>
56519         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
56520         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
56521         argument of CAS if possible.
56522         * sysdeps/sparc/sparc64/bits/atomic.h
56523         (__arch_compare_and_exchange_val_32_acq): Likewise.
56524         (__arch_compare_and_exchange_val_64_acq): Likewise.
56526 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
56528         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
56529         * sysdeps/posix/ulimit.c: ... this.
56530         Include <limits.h>.
56531         * sysdeps/unix/bsd/ulimit.c: Remove file.
56533 2013-01-23  Adam Conrad  <adconrad@0c3.net>
56535         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
56536         (LDFLAGS-tst-array5): Likewise.
56538 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56540         [BZ #15036]
56541         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
56542         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
56543         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
56544         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
56546 2013-01-21  David S. Miller  <davem@davemloft.net>
56548         * sysdeps/sparc/backtrace.c: New file.
56549         * sysdeps/sparc/sparc32/backtrace.h: New file.
56550         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
56551         * sysdeps/sparc/sparc64/backtrace.h: New file.
56552         * sysdeps/sparc/sparc64/backtrace.c: Delete.
56553         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
56554         -funwind-tables.
56556 2013-01-21  Andreas Schwab  <schwab@suse.de>
56558         [BZ #15020]
56559         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
56560         closed its stdout.
56562 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
56564         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
56565         "mpa2.h".
56566         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56568 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
56569             Mark Mitchell  <mark@codesourcery.com>
56570             Tom de Vries  <tom@codesourcery.com>
56571             Paul Pluzhnikov  <ppluzhnikov@google.com>
56573         * debug/tst-backtrace2.c: New file.
56574         * debug/tst-backtrace3.c: Likewise.
56575         * debug/tst-backtrace4.c: Likewise.
56576         * debug/tst-backtrace5.c: Likewise.
56577         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
56578         (CFLAGS-tst-backtrace3.c): Likewise.
56579         (CFLAGS-tst-backtrace4.c): Likewise.
56580         (CFLAGS-tst-backtrace5.c): Likewise.
56581         (LDFLAGS-tst-backtrace2): Likewise.
56582         (LDFLAGS-tst-backtrace3): Likewise.
56583         (LDFLAGS-tst-backtrace4): Likewise.
56584         (LDFLAGS-tst-backtrace5): Likewise.
56585         (tests): Add new tests tst-backtrace2, tst-backtrace3,
56586         tst-backtrace4 and tst-backtrace5.
56588 2013-01-18  Anton Blanchard  <anton@samba.org>
56589             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56591         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
56592         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
56593         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
56594         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
56595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56596         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
56597         "+r" and remove output regs list as redundant.  Add explicit inline
56598         asm to specify register of return val to work around compiler codegen
56599         bug.  Remove (int) cast on return value.  Add return type parameter to
56600         use in macro so that this macro does not truncate return value for
56601         64-bit values.
56602         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
56603         pass to INTERNAL_VSYSCALL_NCS.
56604         (INLINE_VSYSCALL): Add 'long int' as return type to
56605         INTERNAL_VSYSCALL_NCS macro invocation.
56606         (INTERNAL_VSYSCALL): Add 'long int' as return type to
56607         INTERNAL_VSYSCALL_NCS macro invocation.
56608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56610 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56612         [BZ #14496]
56613         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
56614         Fix application of SIMD FP exception mask.
56616         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
56617         mp_no from a power of two.
56618         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
56619         __mpexp_twomm1.  Use __pow_mp.
56621         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
56622         multiplication.
56624 2013-01-17  David S. Miller  <davem@davemloft.net>
56626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56628 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56630         [BZ #15023]
56631         * include/complex.h: Condition contents on [!_COMPLEX_H].
56632         (__kernel_casinhf): New prototype.
56633         (__kernel_casinh): Likewise.
56634         (__kernel_casinhl): Likewise.
56635         * math/Makefile (libm_calls): Add k_casinh.
56636         * math/k_casinh.c: New file.
56637         * math/k_casinhf.c: Likewise.
56638         * math/k_casinhl.c: Likewise.
56639         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
56640         finite nonzero arguments.
56641         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
56642         finite nonzero arguments.
56643         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
56644         finite nonzero arguments.
56645         * math/s_casinh.c: Do not include <float.h>.
56646         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
56647         * math/s_casinhf.c: Do not include <float.h>.
56648         (__casinhf): Move code for finite nonzero arguments to
56649         k_casinhf.c.
56650         * math/s_casinhl.c: Do not include <float.h>.
56651         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
56652         redefine.
56653         (__casinhl): Move code for finite nonzero arguments to
56654         k_casinhl.c.
56655         * math/libm-test.inc (cacos_test): Add more tests.
56656         * sysdeps/i386/fpu/libm-test-ulps: Update.
56657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56659 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
56661         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
56662         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
56663         [!HAVE_MREMAP]: Remove [defined linux] case.
56664         * malloc/arena.c: Do not include <malloc-sysdep.h>.
56666 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56668         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
56670 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
56672         * elf/elf.h (R_386_SIZE32): New relocation.
56673         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
56674         R_386_SIZE32.
56675         (elf_machine_rela): Likewise.
56676         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56677         R_X86_64_SIZE64 and R_X86_64_SIZE32.
56679 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56681         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
56682         (FP_FAST_FMA): Do not define.
56683         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
56684         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
56685         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
56686         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
56687         !_SOFT_FLOAT]: Likewise.
56688         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
56689         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
56690         value.
56691         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
56692         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
56693         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
56694         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
56695         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
56696         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
56697         file.
56699 2013-01-16  Andreas Schwab  <schwab@suse.de>
56701         [BZ #14327]
56702         * include/stdlib.h (__mktemp): Add declaration.
56703         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
56704         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
56706 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56708         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
56709         definitions.
56710         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56711         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
56712         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
56713         definitions here.
56714         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
56715         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
56716         definitions.
56717         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
56718         and ONE.
56719         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
56720         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
56721         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
56722         definitions.
56723         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
56724         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
56725         definitions.
56726         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56728         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
56730 2013-01-15  David S. Miller  <davem@davemloft.net>
56732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56733         trunc{,f} to libm-sysdep_routes.
56734         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
56736         file.
56737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
56738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
56739         file.
56740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
56741         file.
56742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
56743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
56744         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
56745         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
56746         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
56747         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
56748         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
56749         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
56751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56752         nearbyint{,f} to libm-sysdep_routes.
56753         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
56755         New file.
56756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
56757         file.
56758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
56759         New file.
56760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
56761         file.
56762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
56763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
56764         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
56765         file.
56766         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
56767         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
56768         file.
56769         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
56770         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
56771         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
56773         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56774         libc_feholdexcept and libc_fesetenv.
56776 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
56778         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
56780 2013-01-14  David S. Miller  <davem@davemloft.net>
56782         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
56783         (SPARC_ASM_VIS2_IFUNC): Likewise.
56784         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
56785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
56786         use of 'siam' instruction.
56787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
56788         Likewise.
56789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
56790         Likewise.
56791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
56792         Likewise.
56793         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
56794         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
56795         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
56796         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
56797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
56798         file.
56799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
56800         file.
56801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
56802         file.
56803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
56804         file.
56805         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
56806         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
56807         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
56808         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
56809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
56810         new VIS2 routines.
56811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56814         Likewise.
56815         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56816         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56817         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56818         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
56820         routines to libm-sysdep_routines.
56821         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56824         fdim/fdimf to libm-sysdep_routines.
56825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
56826         file.
56827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
56828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
56829         file.
56830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
56831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
56832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
56833         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
56834         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
56835         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
56836         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
56838 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56840         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
56841         to optimize copies.
56843         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
56844         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56845         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56847         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
56848         local variable MPTWO.
56849         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56850         Likewise.
56852 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56854         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
56855         GLOB_NOESCAPE.
56857 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56859         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
56861 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56863         * manual/pattern.texi (glob_t): Document gl_flags.
56864         (glob64_t): Likewise.
56866 2013-01-11  David S. Miller  <davem@davemloft.net>
56868         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
56869         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
56870         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
56871         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
56872         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
56873         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
56874         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
56875         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
56876         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
56877         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
56878         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
56879         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
56880         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
56882         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56883         sparc V9 rather than using V8 code.
56884         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56885         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56887         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56888         Move to...
56889         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
56890         Here.
56892 2013-01-11  Roland McGrath  <roland@hack.frob.com>
56894         [BZ #14941]
56895         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
56896         not in the main loop.
56897         * configure: Regenerated.
56899 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
56901         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
56902         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
56903         to just #else.
56904         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
56905         [!__GLIBC_HAVE_LONG_LONG] case.
56906         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
56907         condition to just #else.
56908         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
56909         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
56910         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
56911         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
56912         unconditional.
56913         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
56914         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56915         #elif condition to just #else.
56916         * sysdeps/unix/sysv/linux/sys/sysmacros.h
56917         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
56918         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56919         #elif condition to just #else.
56921 2013-01-11  Steve Ellcey  <sellcey@mips.com>
56923         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
56924         (EF_MIPS_ARCH_64): Fix value.
56925         (EF_MIPS_ARCH_32R2): New.
56926         (EF_MIPS_ARCH_64R2): New.
56928 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
56930         * Makeconfig (+link-pie-before-libc): New.
56931         (+link-pie-after-libc): Likewise.
56932         (+link-pie-tests): Likewise.
56933         (+link-pie): Rewritten.
56934         (link-before-libc): Remove $(config-LDFLAGS).
56935         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
56936         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
56937         (config-LDFLAGS): Renamed to ...
56938         (rtld-LDFLAGS): This.
56939         (rtld-tests-LDFLAGS): New macro.
56940         (link-libc-rpath-link): Likewise.
56941         (link-libc-tests-rpath-link): Likewise.
56942         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
56943         (link-libc): Prepand $(link-libc-rpath-link).
56944         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
56945         (test-program-prefix): New macro.
56946         (test-via-rtld-prefix): Likewise.
56947         (test-program-cmd): Likewise.
56948         (host-test-program-cmd): Likewise.
56949         * Makefile ($(common-objpfx)testrun.sh): Replace
56950         $(run-program-prefix) with $(test-program-prefix).
56951         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
56952         $(rtld-LDFLAGS).
56953         ($(common-objpfx)shlib.lds): Likewise.
56954         (build-module-helper): Likewise.
56955         ($(common-objpfx)format.lds): Likewise.
56956         * Rules (binaries-pie-tests): New.
56957         (binaries-pie-notests): Likewise.
56958         (binaries-pie): Rewritten.
56959         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
56960         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
56961         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
56962         (make-test-out): Replace $(host-built-program-cmd) with
56963         $(host-test-program-cmd).
56964         * config.make.in (build-hardcoded-path-in-tests): New variable.
56965         * configure.in (--enable-hardcoded-path-in-tests): New configure
56966         option.
56967         (hardcoded_path_in_tests): New AC_SUBST.
56968         * configure: Regenerated.
56969         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
56970         $(built-program-cmd) with $(test-program-cmd).
56971         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
56972         (test_program_cmd): This.
56973         * elf/Makefile ($(objpfx)order.out): Run test with
56974         $(test-program-prefix).
56975         ($(objpfx)order2.out): Likewise.
56976         ($(objpfx)tst-initorder.out): Likewise.
56977         ($(objpfx)tst-initorder2.out): Likewise.
56978         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
56979         $(test-program-cmd).
56980         ($(objpfx)tst-array1-static.out): Likewise.
56981         ($(objpfx)tst-array2.out): Likewise.
56982         ($(objpfx)tst-array3.out): Likewise.
56983         ($(objpfx)tst-array4.out): Likewise.
56984         ($(objpfx)tst-array5.out): Likewise.
56985         ($(objpfx)tst-array5-static.out): Likewise.
56986         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
56987         $(test-program-cmd).
56988         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
56989         $(run-program-prefix) with $(test-program-prefix).
56990         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
56991         (test_program_prefix): This.
56992         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
56993         $(run-program-prefix) with $(test-program-prefix).
56994         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
56995         (test_program_prefix): This.
56996         * iconvdata/tst-tables.sh: Likewise.
56997         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
56998         $(run-program-prefix) with $(test-program-prefix).
56999         ($(objpfx)tst-translit.out): Likewise.
57000         ($(objpfx)tst-gettext2.out): Likewise.
57001         ($(objpfx)tst-gettext4.out): Likewise.
57002         ($(objpfx)tst-gettext6.out): Likewise.
57003         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
57004         (test_program_prefix): This.
57005         * intl/tst-gettext2.sh: Likewise.
57006         * intl/tst-gettext4.sh  Likewise.
57007         * intl/tst-gettext6.sh: Likewise.
57008         * intl/tst-translit.sh: Likewise.
57009         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
57010         with $(test-program-cmd).
57011         * libio/Makefile ($(objpfx)test-freopen.out): Replace
57012         $(run-program-prefix) with $(test-program-prefix).
57013         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
57014         (test_program_prefix): This.
57015         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
57016         $(run-program-prefix) with $(test-program-prefix).
57017         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
57018         (test_program_prefix): This.
57019         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
57020         * posix/Makefile ($(objpfx)globtest.out): Replace
57021         $(run-via-rtld-prefix) and $(test-wrapper) with
57022         $(test-program-prefix) and $(test-via-rtld-prefix).
57023         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
57024         $(test-program-prefix).
57025         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
57026         $(host-test-program-cmd).
57027         (tst-spawn-ARGS): Likewise.
57028         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
57029         $(test-program-prefix).
57030         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
57031         (test_via_rtld_prefix): This.
57032         (test_wrapper): Renamed to ...
57033         (test_program_prefix): This.
57034         (run_program_prefix): Replaced by test_program_prefix.
57035         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
57036         (test_program_prefix): This.
57037         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
57038         with $(host-test-program-cmd).
57039         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
57040         $(run-program-prefix) with $(test-program-prefix).
57041         ($(objpfx)tst-printf.out): Likewise.
57042         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
57043         $(test-program-cmd).
57044         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
57045         (test_program_prefix): This.
57046         * stdio-common/tst-unbputc.sh: Likewise.
57047         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
57048         $(run-program-prefix) with $(test-program-prefix).
57049         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
57050         (test_program_prefix): This.
57051         * string/Makefile ($(objpfx)tst-svc.out):  Replace
57052         $(built-program-cmd) with $(test-program-cmd).
57054 2013-01-11  Andreas Jaeger  <aj@suse.de>
57056         [BZ #15003]
57057         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
57058         value. Sync with Linux 3.7.
57060 2013-01-10  David S. Miller  <davem@davemloft.net>
57062         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
57063         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57064         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57066 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57068         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
57069         never set.
57070         * configure: Regenerated.
57072 2013-01-10  David S. Miller  <davem@davemloft.net>
57074         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57075         sparc V9 rather than using V8 code.
57076         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57077         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57079 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57081         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
57082         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
57083         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
57084         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
57085         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
57086         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
57087         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
57088         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
57089         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
57090         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
57091         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
57092         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
57093         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
57094         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
57095         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
57096         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
57097         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
57098         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
57099         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
57100         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
57101         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
57102         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
57103         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
57104         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
57105         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
57106         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
57107         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
57109 2013-01-10  David S. Miller  <davem@davemloft.net>
57111         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57113 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57115         * posix/Makefile (tests-static): New variable.
57116         (tests): Add $(tests-static).
57117         (tst-exec-static-ARGS): New variable.
57118         (tst-spawn-static-ARGS): Likewise.
57119         * posix/tst-exec-static.c: New file.
57120         * posix/tst-spawn-static.c: Likewise.
57121         * posix/tst-exec.c: Support run directly.
57122         * posix/tst-spawn.c: Likewise.
57124 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
57126         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
57127         long.
57128         * math/bits/mathcalls.h (llrint): Likewise.
57129         (llround): Likewise.
57130         * stdlib/stdlib.h (struct drand48_data): Likewise.
57131         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
57132         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
57133         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
57134         Likewise.
57135         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
57136         Likewise.
57137         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
57138         (elf_greg_t): Likewise.
57139         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
57140         (__jmp_buf): Likewise.
57141         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
57142         definitions.
57143         (llrint): Likewise, for all definitions.
57144         (llrintl): Likewise.
57146         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
57147         Remove [__GNUC__] condition.
57148         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
57149         condition to just [__USE_ISOC99].
57150         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
57152 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57154         [BZ #14200]
57155         * sysdeps/unix/sysv/linux/x86/bits/environments.h
57156         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
57157         defined.
57158         (_POSIX_V6_ILP32_OFF32): Likewise.
57159         (_XBS5_ILP32_OFF32): Likewise.
57160         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
57161         (__ILP32_OFFBIG_LDFLAGS): Likewise.
57163 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57165         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
57167         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
57168         doubles __mpexp_twomm1.  Adjust usage.
57169         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
57170         Remove.
57172 2013-01-10  Andreas Schwab  <schwab@suse.de>
57174         [BZ #14964]
57175         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
57176         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
57178 2013-01-09  David S. Miller  <davem@davemloft.net>
57180         [BZ #15003]
57181         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
57182         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
57183         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
57184         (TCP_FASTOPEN): Define.
57185         (tcp_repair_opt): New structure.
57186         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
57187         enum values.
57188         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
57189         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
57190         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
57191         (tcp_cookie_transactions): New structure.
57193 2013-01-09  Anton Blanchard  <anton@samba.org>
57195         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
57196         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
57197         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
57198         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
57200 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
57202         * include/features.h (__USE_ANSI): Remove.
57204 2013-01-09  Roland McGrath  <roland@hack.frob.com>
57206         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
57208         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
57210 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
57212         * sysdeps/s390/fpu/libm-test-ulps: Update.
57214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57216         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
57217         (__acr): Likewise.
57218         (__cpy): Likewise.
57219         (norm): Likewise.
57220         (denorm): Likewise.
57221         (__mp_dbl): Likewise.
57222         (__dbl_mp): Likewise.
57223         (add_magnitudes): Likewise.
57224         (sub_magnitudes): Likewise.
57225         (__add): Likewise.
57226         (__sub): Likewise.
57227         (__mul): Likewise.
57228         (__inv): Likewise.
57229         (__dvd): Likewise.
57230         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
57231         (__acr): Likewise.
57232         (__cpy): Likewise.
57233         (norm): Likewise.
57234         (denorm): Likewise.
57235         (__mp_dbl): Likewise.
57236         (__dbl_mp): Likewise.
57237         (add_magnitudes): Likewise.
57238         (sub_magnitudes): Likewise.
57239         (__add): Likewise.
57240         (__sub): Likewise.
57241         (__mul): Likewise.
57242         (__inv): Likewise.
57243         (__dvd): Likewise.
57244         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
57245         (__acr): Likewise.
57246         (__cpy): Likewise.
57247         (norm): Likewise.
57248         (denorm): Likewise.
57249         (__mp_dbl): Likewise.
57250         (__dbl_mp): Likewise.
57251         (add_magnitudes): Likewise.
57252         (sub_magnitudes): Likewise.
57253         (__add): Likewise.
57254         (__sub): Likewise.
57255         (__mul): Likewise.
57256         (__inv): Likewise.
57257         (__dvd): Likewise.
57259 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
57261         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
57262         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
57263         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
57264         2 && __USE_EXTERN_INLINES]: Likewise.
57266 2013-01-08  Andreas Jaeger  <aj@suse.de>
57268         [BZ# 14985]
57269         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
57270         Remove.
57271         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57272         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57274 2013-01-07  Anton Blanchard  <anton@samba.org>
57276         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
57277         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57278         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
57279         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57280         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57281         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57282         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
57283         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57284         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57285         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57286         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57287         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57288         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
57289         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57290         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
57291         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57292         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57293         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57294         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
57295         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
57296         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
57297         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
57298         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57299         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
57300         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
57301         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
57302         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57303         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
57304         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
57305         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
57306         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
57307         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57308         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57309         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57310         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57311         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57312         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57313         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57314         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
57315         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57316         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
57317         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57318         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57320 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
57322         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
57323         (__MALLOC_PMT): Likewise.
57324         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
57325         [__GNUC__], only on [_LIBC].
57326         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57327         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
57328         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57329         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
57330         forward declaration.
57331         (realloc_hook_ini): Likewise.
57332         (memalign_hook_ini): Likewise.
57333         (__libc_memalign): Do not use __MALLOC_PMT in variable
57334         declaration.
57335         (__libc_valloc): Likewise.
57336         (__libc_pvalloc): Likewise.
57337         (__libc_calloc): Likewise.
57338         (__posix_memalign): Likewise.
57340         [BZ #14996]
57341         * math/s_casinh.c: Include <float.h>.
57342         (__casinh): Do not do computation with squaring and square root
57343         for large arguments.
57344         * math/s_casinhf.c: Include <float.h>.
57345         (__casinhf): Do not do computation with squaring and square root
57346         for large arguments.
57347         * math/s_casinhl.c: Include <float.h>.
57348         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
57349         (__casinhl): Do not do computation with squaring and square root
57350         for large arguments.
57351         * math/libm-test.inc (casin_test): Add more tests.
57352         (casinh_test): Likewise.
57353         * sysdeps/i386/fpu/libm-test-ulps: Update.
57354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57356 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
57358         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
57359         (__x86_64_raw_data_cache_size): Likewise.
57360         (__x86_64_data_cache_size_half): Likewise.
57361         (__x86_64_raw_data_cache_size_half): Likewise.
57362         (__x86_64_shared_cache_size): Likewise.
57363         (__x86_64_raw_shared_cache_size): Likewise.
57364         (__x86_64_shared_cache_size_half): Likewise.
57365         (__x86_64_raw_shared_cache_size_half): Likewise.
57366         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
57367         to ...
57368         (__x86_data_cache_size): This.
57369         (__x86_64_raw_data_cache_size): Renamed to ...
57370         (__x86_raw_data_cache_size): This.
57371         (__x86_64_data_cache_size_half): Renamed to ...
57372         (__x86_data_cache_size_half): This.
57373         (__x86_64_raw_data_cache_size_half): Renamed to ...
57374         (__x86_raw_data_cache_size_half): This.
57375         (__x86_64_shared_cache_size): Renamed to ...
57376         (__x86_shared_cache_size): This.
57377         (__x86_64_raw_shared_cache_size): Renamed to ...
57378         (__x86_raw_shared_cache_size): This.
57379         (__x86_64_shared_cache_size_half): Renamed to ...
57380         (__x86_shared_cache_size_half): This.
57381         (__x86_64_raw_shared_cache_size_half): Renamed to ...
57382         (__x86_raw_shared_cache_size_half): This.
57383         * sysdeps/x86_64/memcpy.S: Updated.
57384         * sysdeps/x86_64/memset.S: Likewise.
57385         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
57386         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57387         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57389 2013-01-04  David S. Miller  <davem@davemloft.net>
57391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57393 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
57395         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
57396         1 to avoid redefinition warning.
57397         (__USE_GNU): Don't define.
57398         (init_signaling_nan): Protoize.
57400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57402 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57404         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
57405         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
57406         (__cpymn): Likewise.
57407         (norm): Remove commented code.
57408         (denorm): Likewise.
57409         (__mp_dbl): Likewise.
57410         (__inv): Likewise.
57411         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
57412         (__cpymn): Likewise.
57413         (norm): Remove commented code.
57414         (denorm): Likewise.
57415         (__mp_dbl): Likewise.
57416         (__inv): Likewise.
57418         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
57419         mp_no value for 1.0 and 2.0.
57420         (norm): Use RADIXI instead of radixi.d.
57421         (denorm): Likewise.
57422         (__mul): Use 0.0 instead of zero.d.
57423         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
57424         mp_no value for 1.0 and 2.0.
57425         (norm): Use RADIXI instead of radixi.d.
57426         (denorm): Likewise.
57427         (__mul): Use 0.0 instead of zero.d.
57429 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
57431         [BZ #14994]
57432         * math/s_casinh.c (__casinh): Reduce finite argument to first
57433         quadrant then set signs of results at the end.
57434         * math/s_casinhf.c (__casinhf): Likewise.
57435         * math/s_casinhl.c (__casinhl): Likewise.
57436         * math/libm-test.inc (casin_test): Add more tests.
57437         (casinh_test): Likewise.
57438         * sysdeps/i386/fpu/libm-test-ulps: Update.
57439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57441 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57443         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
57445         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
57447         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
57448         declarations.
57449         (denorm): Likewise.
57450         (__mp_dbl): Likewise.
57451         (__inv): Likewise.
57453         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
57454         and adjust the header comment.
57456         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
57457         variable name from declaration.
57459 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
57461         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57462         Initialize COMMON_CPUID_INDEX_7 element.
57463         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
57464         (CPUID_RTM): Likewise.
57465         (HAS_RTM): Likewise.
57466         (COMMON_CPUID_INDEX_7): New enum.
57468 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
57470         [BZ #14981]
57471         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
57472         size is zero, record memory as freed.
57474 2013-01-03  Andreas Jaeger  <aj@suse.de>
57476         * po/ia.po: Add new Interlingua translation.
57478 2012-01-03  Allan McRae  <allan@archlinux.org>
57480         * locale/programs/localedef.c: Fix description of '--posix' flag.
57482 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
57484         * NEWS: Update dates in second copyright notice.
57485         * README: Update copyright dates in example.
57486         * manual/libc.texinfo: Update copyright dates.
57487         * scripts/test-installation.pl: Update copyright date in --version
57488         output.
57490         * hurd/ctty-input.c: Fix copyright notice formatting.
57491         * hurd/ctty-output.c: Likewise.
57492         * hurd/dtable.c: Likewise.
57493         * hurd/hurd-raise.c: Likewise.
57494         * hurd/hurdprio.c: Likewise.
57495         * hurd/msgportdemux.c: Likewise.
57496         * misc/sys/file.h: Likewise.
57497         * misc/sys/ioctl.h: Likewise.
57498         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
57499         * sysdeps/mach/hurd/chdir.c: Likewise.
57500         * sysdeps/mach/hurd/fchdir.c: Likewise.
57501         * sysdeps/mach/hurd/rename.c: Likewise.
57502         * sysdeps/mach/hurd/rmdir.c: Likewise.
57503         * sysdeps/mach/hurd/seekdir.c: Likewise.
57504         * sysdeps/mach/hurd/setsid.c: Likewise.
57505         * sysdeps/posix/wait3.c: Likewise.
57507         * All files with FSF copyright notices: Update copyright dates
57508         using scripts/update-copyrights.
57509         * intl/plural.c: Regenerated.
57510         * locale/programs/charmap-kw.h: Likewise.
57511         * locale/programs/locfile-kw.h: Likewise.
57513 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57515         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
57516         four values.
57518         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
57519         calculation loop and add branch prediction.
57521         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
57522         check access beyond bounds of m1np.
57524         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57525         MPTWO.
57526         (__inv): Remove local variable MPTWO to use the global
57527         constant.
57528         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
57529         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57530         variable MPTWO.
57531         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
57532         MP3HALFS static const.
57534 2013-01-01  David S. Miller  <davem@davemloft.net>
57536         * po/ca.po: Update from translation team.
57538 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
57540         * scripts/update-copyrights: New file.
57541         * Makeconfig: Reformat copyright notice.
57542         * ctype/ctype.h: Likewise.
57543         * debug/swprintf_chk.c: Likewise.
57544         * elf/dl-cache.c: Likewise.
57545         * elf/dl-debug.c: Likewise.
57546         * elf/dl-object.c: Likewise.
57547         * grp/initgroups.c: Likewise.
57548         * hurd/Makefile: Likewise.
57549         * hurd/hurd/signal.h: Likewise.
57550         * hurd/hurdfault.c: Likewise.
57551         * hurd/hurdioctl.c: Likewise.
57552         * hurd/hurdlookup.c: Likewise.
57553         * hurd/intr-msg.c: Likewise.
57554         * iconv/gconv_open.c: Likewise.
57555         * libio/swprintf.c: Likewise.
57556         * locale/lc-ctype.c: Likewise.
57557         * locale/nl_langinfo.c: Likewise.
57558         * mach/Machrules: Likewise.
57559         * mach/Makefile: Likewise.
57560         * malloc/obstack.h: Likewise.
57561         * manual/Makefile: Likewise.
57562         * manual/tsort.awk: Likewise.
57563         * misc/bits/stab.def: Likewise.
57564         * nis/nis_print_group_entry.c: Likewise.
57565         * nis/nis_table.c: Likewise.
57566         * nis/nss_compat/compat-pwd.c: Likewise.
57567         * nis/nss_compat/compat-spwd.c: Likewise.
57568         * po/Makefile: Likewise.
57569         * posix/fnmatch.c: Likewise.
57570         * posix/regex.h: Likewise.
57571         * resolv/Makefile: Likewise.
57572         * resolv/nss_dns/dns-network.c: Likewise.
57573         * resolv/res_hconf.c: Likewise.
57574         * scripts/gen-sorted.awk: Likewise.
57575         * soft-fp/soft-fp.h: Likewise.
57576         * stdio-common/printf.h: Likewise.
57577         * stdlib/monetary.h: Likewise.
57578         * stdlib/random.c: Likewise.
57579         * stdlib/random_r.c: Likewise.
57580         * sysdeps/generic/Makefile: Likewise.
57581         * sysdeps/gnu/Makefile: Likewise.
57582         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57583         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57584         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57585         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57586         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57587         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57588         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57589         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57590         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57591         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57592         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57593         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57594         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57595         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57596         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
57597         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57598         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57599         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57600         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57601         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57602         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57603         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57604         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57605         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57606         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
57607         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57608         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57609         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
57610         * sysdeps/mach/hurd/errnos.awk: Likewise.
57611         * sysdeps/mach/hurd/fork.c: Likewise.
57612         * sysdeps/mach/hurd/getcwd.c: Likewise.
57613         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
57614         * sysdeps/mach/hurd/mmap.c: Likewise.
57615         * sysdeps/mach/hurd/utimes.c: Likewise.
57616         * sysdeps/mach/hurd/xmknod.c: Likewise.
57617         * sysdeps/posix/profil.c: Likewise.
57618         * sysdeps/posix/readdir_r.c: Likewise.
57619         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57620         * sysdeps/powerpc/bits/setjmp.h: Likewise.
57621         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
57622         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57623         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57624         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57625         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57626         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57627         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57628         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57629         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57630         * sysdeps/pthread/lio_listio.c: Likewise.
57631         * sysdeps/sparc/dl-procinfo.h: Likewise.
57632         * sysdeps/unix/i386/sysdep.S: Likewise.
57633         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
57634         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
57635         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
57636         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
57637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57638         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
57639         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
57640         * sysdeps/unix/sysv/linux/speed.c: Likewise.
57641         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
57642         * sysdeps/wordsize-32/divdi3.c: Likewise.
57643         * time/sys/time.h: Likewise.
57644         * wcsmbs/Makefile: Likewise.
57646 2013-01-01  David S. Miller  <davem@davemloft.net>
57648         * po/fr.po: Update from translation team.
57650         * catgets/gencat.c: Update copyright year.
57651         * csu/version.c: Likewise.
57652         * debug/catchsegv.sh: Likewise.
57653         * debug/pcprofiledump.c: Likewise.
57654         * debug/xtrace.sh: Likewise.
57655         * elf/ldconfig.c: Likewise.
57656         * elf/ldd.bash.in: Likewise.
57657         * elf/pldd.c: Likewise.
57658         * elf/sotruss.ksh: Likewise.
57659         * elf/sprof.c: Likewise.
57660         * iconv/iconv_prog.c: Likewise.
57661         * iconv/iconvconfig.c: Likewise.
57662         * locale/programs/locale.c: Likewise.
57663         * locale/programs/localedef.c: Likewise.
57664         * login/programs/pt_chown.c: Likewise.
57665         * malloc/memusage.sh: Likewise.
57666         * malloc/memusagestat.c: Likewise.
57667         * malloc/mtrace.pl: Likewise.
57668         * nscd/nscd.c: Likewise.
57669         * nss/getent.c: Likewise.
57670         * nss/makedb.c: Likewise.
57671         * posix/getconf.c: Likewise.
57673 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57675         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
57676         numbers.
57678 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
57680         * math/bits/mathcalls.h (modf): Use __nonnull.
57682 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57684         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
57685         (split): Use macro CN instead of the bare value.
57686         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
57687         could be used.
57688         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
57689         instead of the bare value.
57690         (power1): Likewise.
57692 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57694         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
57695         __ATAN_TWOM.
57696         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57698         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
57699         their values.
57700         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57701         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57702         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
57703         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57705 2012-12-28  Andreas Jaeger  <aj@suse.de>
57707         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
57708         values are from Linux 3.7.
57710         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
57711         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
57713 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57715         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
57716         TRUE case.
57718         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
57719         (norm): Likewise.
57720         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
57721         variables with preprocessor constants.
57722         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57723         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57724         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57726 2012-12-27  Bruno Haible  <bruno@clisp.org>
57728         [BZ #14317]
57729         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
57730         only if needed.
57732 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57734         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
57735         and use variable directly.
57736         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
57738         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57739         MPONE.
57740         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
57741         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57742         variable MPONE.
57743         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57744         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57745         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
57746         include directive.  Remove local variable MPONE.
57747         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
57748         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
57749         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57751 2012-12-25  David S. Miller  <davem@davemloft.net>
57753         * version.h (RELEASE): Set to "development".
57754         (VERSION): Set to "2.17.90".
57755         * NEWS: Add 2.18 section.
57757 2012-12-21  David S. Miller  <davem@davemloft.net>
57759         * po/hr.po: Update from translation team.
57761 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57763         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
57765 2012-12-19  Steve Ellcey  <sellcey@mips.com>
57767         * NEWS:  Mention new memcpy for MIPS.
57769 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57771         * manual/contrib.texi (Contributors): Spelling correction.
57773 2012-12-15  David S. Miller  <davem@davemloft.net>
57775         * po/ru.po: Update from translation team.
57777 2012-12-13  David S. Miller  <davem@davemloft.net>
57779         * NEWS: Mention IFUNC testsuite enhancements.
57781         * po/pl.po: Update from translation team.
57782         * po/bg.po: Likewise.
57784         * manual/contrib.texi (Contributors): Update entries for Hongjiu
57785         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
57787 2012-12-11  David S. Miller  <davem@davemloft.net>
57789         * po/sv.po: Update from translation team.
57791         * po/vi.po: Update from translation team.
57793         * po/cs.po: Update from translation team.
57795         * po/de.po: Update from translation team.
57796         * po/eo.po: Likewise.
57797         * po/nl.po: Likewise.
57799 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57801         [BZ #14246]
57802         * manual/argp.texi (Argp Helper Functions): Move node to follow
57803         Argp Parsing State.
57805         [BZ #14872]
57806         * manual/conf.texi (Limits on File System Capacity): Mention if
57807         terminating null is included in the max size.
57809 2012-12-10  Andreas Jaeger  <aj@suse.de>
57811         * po/cs.po: Update from translation team.
57813 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57815         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
57816         void pointer and cast to uintptr_t.
57817         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
57818         path.
57819         * sysdeps/s390/s390-64/memcpy.S: Likewise.
57820         * sysdeps/s390/s390-64/memset.S: Likewise.
57822 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
57824         [BZ #14833]
57825         * menual/message.texi (Message Translation): Fix typos.
57826         (Helper programs for gettext): Likewise.
57828 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
57830         [BZ #14898]
57831         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
57832         Change to -1.
57834 2012-12-07  David S. Miller  <davem@davemloft.net>
57836         * po/libc.pot: Update.
57838 2012-12-07  Richard Henderson  <rth@redhat.com>
57840         [BZ #10114]
57841         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
57842         normal/normal case to before the switch.
57843         (_FP_DIV): Likewise.
57845 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
57846             Mike Frysinger  <vapier@gentoo.org>
57848         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
57849         check for __NR_fadvise64_64.
57851 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
57853         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
57854         0, not just to plain "0" as a statement.
57855         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
57856         with cw.
57858 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
57860         * NEWS: Use sourceware.org in Bugzilla URL.
57862 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
57865         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57867         * stdio-common/tst-put-error.c (do_test): Add newline to the
57868         padded test to ensure flush.
57870 2012-12-05  Jeff Law  <law@redhat.com>
57872         * sunrpc/etc.rpc (fedfs_admin): Add entry.
57874 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
57876         * README: Don't refer to ports add-on as distributed separately.
57877         Mention AArch64 in list of systems supported in the ports add-on.
57879         * LICENSES: Add more non-FSF copyright and license notices.
57881         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
57882         ((unused)).
57884         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
57886         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
57887         10000 as width of padded output.
57889 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57891         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
57893         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
57894         variable LX with __attribute__ ((unused)).
57895         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57896         Likewise.
57897         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57898         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57899         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
57900         with __attribute__ ((unused)).
57902 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
57904         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
57906 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57908         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
57909         (CFLAGS-nldbl-acos.c): New variable.
57910         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
57911         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
57912         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
57913         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
57914         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
57915         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
57916         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
57917         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
57918         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
57919         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
57920         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
57921         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
57922         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
57923         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
57924         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
57925         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
57926         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
57927         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
57928         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
57929         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
57930         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
57931         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
57932         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
57933         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
57934         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
57935         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
57936         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
57937         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
57938         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
57939         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
57940         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
57941         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
57942         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
57943         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
57944         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
57945         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
57946         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
57947         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
57948         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
57949         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
57950         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
57951         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
57952         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
57953         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
57954         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
57955         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
57956         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
57957         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
57958         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
57959         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
57960         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
57961         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
57962         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
57963         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
57964         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
57965         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
57966         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
57967         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
57968         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
57969         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
57970         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
57971         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
57972         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
57973         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
57974         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
57975         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
57976         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
57977         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
57978         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
57979         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
57980         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
57981         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
57982         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
57983         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
57984         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
57985         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
57986         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
57987         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
57988         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
57989         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
57990         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
57991         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
57992         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
57993         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
57994         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
57995         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
57996         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
57997         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
57998         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
57999         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
58000         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
58001         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
58002         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
58003         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
58004         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
58005         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
58006         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
58008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58009         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58011         [BZ #14914]
58012         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
58013         whole low double instead of just low 47 bits when splitting values
58014         into two parts.
58016 2012-12-03  Allan McRae  <allan@archlinux.org>
58018         * manual/stdio.texi (Predefined Printf Handlers): Remove
58019         @hsep and @vsep usage.
58021 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
58023         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
58024         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
58026 2012-12-03  Jeff Law  <law@redhat.com>
58028         * time/sys/time.h (settimeofday): Do not mark TV argument
58029         as __nonnull.
58031 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
58033         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
58034         when currently writing and seek to current position when not.
58035         * libio/Makefile (tests): Remove bug-fclose1.
58036         * libio/bug-fclose1.c: Delete.
58038 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
58040         * manual/arith.texi (feenableexcept): Fix typo.
58041         (fedisableexcept): Likewise.
58043 2012-11-30  Roland McGrath  <roland@hack.frob.com>
58045         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
58046         second, differently-typed declaration, rather than a cast.
58048 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58050         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
58051         * include/rpc/svc.h: ... here.
58053 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
58055         [BZ #13013]
58056         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
58057         depending n and resplen2 to catch cases where answer
58058         equals answerp2.
58060 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
58062         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
58063         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
58065 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
58067         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
58069 2012-11-29  Roland McGrath  <roland@hack.frob.com>
58071         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
58073 2012-11-28  Jeff Law  <law@redhat.com>
58075         [BZ #13761]
58076         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
58077         dataset_temporary.  Track alloca usage into alloca_used.
58078         If dataset is large allocate and release it via malloc/free.
58080 2012-06-04  Florian Weimer  <fweimer@redhat.com>
58082         [BZ #14197]
58083         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
58085 2012-11-28  David S. Miller  <davem@davemloft.net>
58087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58089 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58091         [BZ #14803]
58092         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
58093         of pi/2 rounded to nearest to 64 bits.
58094         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
58095         nearest to 64 bits.
58096         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
58097         bits.
58099 2012-11-28  Jeff Law <law@redhat.com>
58100             Martin Osvald <mosvald@redhat.com>
58102         [BZ #14889]
58103         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
58104         * sunrpc/svc.c: Include time.h.
58105         (__svc_accept_failed): New function.
58106         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
58107         any reason other than EINTR, call __svc_accept_failed.
58108         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
58109         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
58111 2012-11-28  Andreas Schwab  <schwab@suse.de>
58113         * scripts/abilist.awk: Also handle indirect functions in .opd
58114         section.
58116 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58118         [BZ #13881]
58119         * sysdeps/x86/fpu/powl_helper.c: New file.
58120         * sysdeps/x86/fpu/Makefile: Likewise.
58121         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
58122         (p3): New object.
58123         (__ieee754_powl): Use __powl_helper for finite arguments except
58124         integer exponents below 8.
58125         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
58126         (p3): New object.
58127         (__ieee754_powl): Use __powl_helper for finite arguments except
58128         integer exponents below 8.
58129         * math/libm-test.inc (pow_test): Add more tests and enable some
58130         previously disabled tests.
58131         * sysdeps/i386/fpu/libm-test-ulps: Update.
58132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58134 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58135             Carlos O'Donell  <carlos_odonell@mentor.com>
58137         * nss/makedb.c (is_prime): Assert that input is odd and greater
58138         than 4.  Note that fact in a comment too.
58139         (next_prime): Add 4 to input.
58141 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58143         [BZ #11741]
58144         * libio/Makefile (tests): Add test case tst-fwrite-error.
58145         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
58146         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
58147         * libio/tst-fwrite-error.c: New test case.
58149 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
58151         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
58152         before casting to void *.
58153         * include/libc-internal.h (__pointer_type): New macro.
58154         (__integer_if_pointer_type_sub): Likewise.
58155         (__integer_if_pointer_type): Likewise.
58156         (cast_to_integer): Likewise.
58157         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
58158         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
58159         before casting to atomic64_t.
58160         (atomic_exchange_acq): Likewise.
58161         (__arch_exchange_and_add_body): Likewise.
58162         (__arch_add_body): Likewise.
58163         (atomic_add_negative): Likewise.
58164         (atomic_add_zero): Likewise.
58166 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
58168         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
58169         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
58170         (add_fdes): Likewise.
58171         (linear_search_fdes): Likewise.
58172         (binary_search_unencoded_fdes): Likewise.
58174 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
58176         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
58178 2012-11-24  Adam Conrad  <adconrad@0c3.net>
58180         * configure.in: Autodetect C++ header directories.
58181         * configure: Regenerated.
58183 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
58185         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
58187 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
58189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58191 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
58193         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
58194         LDBL_MANT_DIG == 106]: Disable some tests.
58195         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58196         Likewise.
58197         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58198         Likewise.
58200         [BZ #14871]
58201         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
58202         input for small inputs.  Return +/- pi/2 for large inputs.
58203         * math/libm-test.inc (atan_test): Add more tests.
58205         * sysdeps/generic/unwind-dw2-fde-glibc.c
58206         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
58207         __attribute__ ((unused)).
58209         [BZ #14645]
58210         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
58211         x * y if x and y are nonzero and z is zero.
58213         [BZ #14811]
58214         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
58215         nonzero exponents with absolute value below 0x1p-117 to +/-
58216         0x1p-117.
58218         [BZ #14869]
58219         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
58220         up arguments below 2**-450, not just those below 2**-500.
58221         * math/libm-test.inc (hypot_test): Add another test.
58223         [BZ #14868]
58224         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
58225         Return a+b for ratio over 2**120, not 2**60.
58226         * math/libm-test.inc (hypot_test): Add another test.
58228         * math/libm-test.inc (clog_test): Use
58229         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
58230         (clog10_test): Likewise.
58232         [BZ #6778]
58233         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
58235 2012-11-22  Andreas Schwab  <schwab@suse.de>
58237         * sysdeps/i386/fpu/libm-test-ulps: Update.
58239 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
58241         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
58242         printf output with newline.
58244 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
58246         [BZ #14865]
58247         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
58248         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
58249         -z nodlopen, -z initfirst and -z execstack support.
58250         * configure: Regenerated.
58252         * elf/elf.h (DF_1_NODIRECT): New macro.
58253         (DF_1_IGNMULDEF): Likewise.
58254         (DF_1_NOKSYMS): Likewise.
58255         (DF_1_NOHDR): Likewise.
58256         (DF_1_EDITED): Likewise.
58257         (DF_1_NORELOC): Likewise.
58258         (DF_1_SYMINTPOSE): Likewise.
58259         (DF_1_GLOBAUDIT): Likewise.
58260         (DF_1_SINGLETON): Likewise.
58261         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
58262         DT_1_SUPPORTED_MASK bits.
58263         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
58265 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
58267         * sysdeps/unix/make-syscalls.sh: Document prefixes.
58269 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
58271         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
58272         macro.
58274         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
58275         (sendmmsg): Move declarations...
58276         * socket/sys/socket.h: ... here.
58277         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
58278         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
58279         include it from...
58280         * socket/recvmmsg.c: ... this new file.
58281         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
58282         (sendmmsg): Rename to __sendmmsg, create weak alias and make
58283         definition of __sendmmsg hidden.
58284         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
58285         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
58286         Move ENOSYS stub into and include it from...
58287         * socket/sendmmsg.c: ... this new file.
58288         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
58289         (sysdep_routines): Move recvmmsg and sendmmsg...
58290         * socket/Makefile (routines): ... here.
58291         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
58292         (GLIBC_PRIVATE): Add __sendmmsg.
58293         * include/sys/socket.h (__sendmmsg): Add declarations.
58294         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
58295         sendmmsg.
58297 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
58299         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
58300         variable I1 with __attribute__ ((unused)).
58301         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
58303 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58305         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
58306         DUMMY variables with __attribute__ ((unused)).
58308         * bits/byteswap.h: Include <bits/types.h>.
58309         (__bswap_64): Use __uint64_t instead of unsigned long long int.
58311 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58313         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
58314         string_t.  Do not manually set errno.
58315         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
58316         length with __strnlen.  Make sure to both set errno and return it on
58317         failure.
58319 2012-11-19  David S. Miller  <davem@davemloft.net>
58321         With help from Joseph Myers.
58322         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
58323         very large arguments properly.
58324         * math/libm-test.inc (atan_test): New tests.
58325         (atan2_test): New tests.
58326         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58327         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58329 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58331         [BZ #14856]
58332         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
58333         Define to 3.
58335         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
58336         [POSIX] (EADDRNOTAVAIL): Likewise.
58337         [POSIX] (EAFNOSUPPORT): Likewise.
58338         [POSIX] (EALREADY): Likewise.
58339         [POSIX] (ECONNABORTED): Likewise.
58340         [POSIX] (ECONNREFUSED): Likewise.
58341         [POSIX] (ECONNRESET): Likewise.
58342         [POSIX] (EDESTADDRREQ): Likewise.
58343         [POSIX] (EDQUOT): Likewise.
58344         [POSIX] (EHOSTUNREACH): Likewise.
58345         [POSIX] (EIDRM): Likewise.
58346         [POSIX] (EISCONN): Likewise.
58347         [POSIX] (ELOOP): Likewise.
58348         [POSIX] (EMULTIHOP): Likewise.
58349         [POSIX] (ENETDOWN): Likewise.
58350         [POSIX] (ENETUNREACH): Likewise.
58351         [POSIX] (ENOBUFS): Likewise.
58352         [POSIX] (ENODATA): Likewise.
58353         [POSIX] (ENOLINK): Likewise.
58354         [POSIX] (ENOMSG): Likewise.
58355         [POSIX] (ENOPROTOOPT): Likewise.
58356         [POSIX] (ENOSR): Likewise.
58357         [POSIX] (ENOSTR): Likewise.
58358         [POSIX] (ENOTCONN): Likewise.
58359         [POSIX] (ENOTSOCK): Likewise.
58360         [POSIX] (EOPNOTSUPP): Likewise.
58361         [POSIX] (EOVERFLOW): Likewise.
58362         [POSIX] (EPROTO): Likewise.
58363         [POSIX] (EPROTONOSUPPORT): Likewise.
58364         [POSIX] (EPROTOTYPE): Likewise.
58365         [POSIX] (ESTALE): Likewise.
58366         [POSIX] (ETIME): Likewise.
58367         [POSIX] (ETXTBSY): Likewise.
58368         [POSIX] (EWOULDBLOCK): Likewise.
58369         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
58370         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
58371         [POSIX] (SEEK_CUR): Likewise.
58372         [POSIX] (SEEK_END): Likewise.
58373         [POSIX || UNIX98] (mode_t): Do not require.
58374         [POSIX] (off_t): Likewise.
58375         [POSIX] (pid_t): Likewise.
58376         [POSIX] (sys/stat.h): Do not allow header.
58377         [POSIX] (unistd.h): Likewise.
58378         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
58379         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
58380         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
58381         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
58382         require.
58383         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
58384         sigevent): Specify elements.
58385         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
58386         entry.
58387         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
58388         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
58390         * conform/data/cpio.h-data [POSIX]: Disable whole file.
58391         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
58392         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
58393         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
58394         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
58395         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
58396         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
58397         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
58398         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
58399         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
58400         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
58401         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
58402         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
58403         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
58404         Likewise.
58405         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
58406         Likewise.
58407         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
58408         Likewise.
58409         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
58410         Likewise.
58411         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
58412         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
58413         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
58414         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
58415         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
58416         Specify lower bound on value.
58417         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
58418         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
58419         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
58420         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
58421         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
58422         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
58423         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
58424         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
58425         value.
58426         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
58427         as optional.
58428         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
58429         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
58430         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
58431         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
58432         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
58433         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
58434         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
58435         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
58436         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
58437         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
58438         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
58439         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
58440         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
58441         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
58442         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
58443         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
58444         entry.
58445         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
58446         optional.
58447         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
58448         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
58449         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
58450         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
58451         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
58452         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
58453         Likewise.
58454         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
58455         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
58456         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
58457         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
58458         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
58459         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
58460         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
58461         as optional.
58462         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
58463         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
58464         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
58465         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
58466         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
58467         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
58468         specify as optional.
58469         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
58470         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
58471         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
58472         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
58473         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
58474         [XPG3] (NL_LANGMAX): Likewise.
58475         [POSIX || XPG3] (NL_MSGMAX): Likewise.
58476         [POSIX || XPG3] (NL_NMAX): Likewise.
58477         [POSIX || XPG3] (NL_SETMAX): Likewise.
58478         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
58479         [XPG3] (NZERO): Likewise.
58480         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
58481         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
58482         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
58483         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
58484         (REG_ERANGE): Expect.
58485         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
58486         optional-constant.
58487         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
58488         Use (void) in prototype.
58489         [POSIX] (*_t): Allow.
58490         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
58491         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
58492         (WRDE_BADVAL): Expect.
58494         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
58495         expect.
58496         [XPG3 || XPG4] (O_RSYNC): Likewise.
58497         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
58498         Likewise.
58499         [XPG3 || XPG4] (pthread_sigmask): Likewise.
58500         [XPG3 || XPG4] (sigqueue): Likewise.
58501         [XPG3 || XPG4] (sigtimedwait): Likewise.
58502         [XPG3 || XPG4] (sigwaitinfo): Likewise.
58503         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
58504         [XPG3 || XPG4] (vsnprintf): Likewise.
58505         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
58506         Likewise.
58507         [XPG3 || XPG4] (blksize_t): Likewise.
58508         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
58509         Likewise.
58510         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
58511         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
58512         [XPG3 || XPG4] (struct itimerspec): Likewise.
58513         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
58514         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
58515         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
58516         [XPG3 || XPG4] (clockid_t): Likewise.
58517         [XPG3 || XPG4] (timer_t): Likewise.
58518         [XPG3 || XPG4] (clock_getres): Likewise.
58519         [XPG3 || XPG4] (clock_gettime): Likewise.
58520         [XPG3 || XPG4] (clock_settime): Likewise.
58521         [XPG3 || XPG4] (nanosleep): Likewise.
58522         [XPG3 || XPG4] (timer_create): Likewise.
58523         [XPG3 || XPG4] (timer_delete): Likewise.
58524         [XPG3 || XPG4] (timer_gettime): Likewise.
58525         [XPG3 || XPG4] (timer_getoverrun): Likewise.
58526         [XPG3 || XPG4] (timer_settime): Likewise.
58527         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
58528         [XPG3 || XPG4] (getlogin_r): Likewise.
58529         [XPG3 || XPG4] (pread): Likewise.
58530         [XPG3 || XPG4] (pthread_atfork): Likewise.
58531         [XPG3 || XPG4] (pwrite): Likewise.
58533         [BZ #14835]
58534         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
58535         <bits/siginfo.h>.
58537 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58539         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
58540         finalizing MALLSTREAM.
58542         * sysdeps/mach/hurd/syncfs.c: New file.
58544 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58546         [BZ #14719]
58547         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
58548         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
58549         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
58550         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
58551         (_nss_dns_gethostbyname4_r): Likewise.
58552         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
58553         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
58555 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
58557         [BZ #13763]
58558         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
58560 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
58562         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
58563         * elf/cache.c (print_entry): Print ",AArch64" for
58564         FLAG_AARCH64_LIB64
58566         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
58567         * elf/cache.c (print_entry): Print ",hard-float" for
58568         FLAG_ARM_LIBHF.
58570 2012-11-18  David S. Miller  <davem@davemloft.net>
58572         With help from Joseph Myers.
58573         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
58574         cutoff to 2**-13.
58575         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
58576         cutoff to 2**-25.
58577         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
58578         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
58579         small.
58580         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
58581         * math/libm-test.inc (y0_test): New tests.
58582         (y1_test): New tests.
58583         * sysdeps/i386/fpu/libm-test-ulps: Update.
58584         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58585         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58587 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
58589         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
58590         64-bit targets.
58591         * configure: Regenerated.
58593 2012-11-17  David S. Miller  <davem@davemloft.net>
58595         [BZ #14811]
58596         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
58597         nonzero exponents with absolute value below 0x1p-128 to +/-
58598         0x1p-128.
58600 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
58602         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
58604         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
58606         * posix/getconf-speclist.c: New file.
58607         * posix/posix-envs.def: Likewise.
58608         * posix/confstr.c (START_ENV_GROUP): New macro.
58609         (END_ENV_GROUP): Likewise.
58610         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58611         (KNOWN_PRESENT_ENV_STRING): Likewise.
58612         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58613         (UNKNOWN_ENVIRONMENT): Likewise.
58614         (confstr): Include posix-envs.def instead of handling
58615         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
58616         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
58617         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
58618         (END_ENV_GROUP): Likewise.
58619         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58620         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58621         (UNKNOWN_ENVIRONMENT): Likewise.
58622         (__sysconf): Include posix-envs.def instead of handling associated
58623         cases directly here.
58624         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
58625         preprocessing getconf-speclist.c rather than running getconf or
58626         generating empty file.
58628 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
58630         * scripts/check-local-headers.sh: Ignore 'mach' headers.
58632 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
58634         [BZ #14672]
58635         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
58637 2012-11-16  David S. Miller  <davem@davemloft.net>
58639         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
58640         smaller than LDBL_EPSILON/2.0L, just return xm1.
58642 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
58644         * elf/tst-array1.c (init): Set constructor priority to 1000.
58645         (fini): Set destructor priority to 1000.
58646         * elf/tst-array2dep.c: Likewise.
58648 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58650         [BZ #11741]
58651         * libio/fileops.c (_IO_new_file_write): Correctly return error.
58652         (_IO_new_file_xsputn): Also return EOF if none of the input
58653         data was written when overflow failed.
58654         * libio/iopadn.c (_IO_padn): Likewise.
58655         * libio/iowpadn.c (_IO_wpadn): Likewise.
58656         * stdio-common/tst-put-error.c: Add copyright notice.
58657         (do_test): Add case for printing padded string.
58658         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
58659         _IO_padn returned error.
58660         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
58661         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
58662         return EOF.
58664 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58666         * libio/libioP.h: Add comment note that the references to C++
58667         bits are now obsolete.
58669 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58671         * math/libm-test.inc (check_complex): Use asprintf.
58673 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
58675         * debug/pcprofiledump.c (print_version): Update copyright year.
58676         * malloc/memusagestat.c (print_version): Likewise.
58678 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
58680         [BZ #14831]
58681         * elf/Makefile (tests): Add tst-audit8.
58682         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
58683         ($(objpfx)tst-audit8.out): New target.
58684         (tst-audit8-ENV): New variable.
58685         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
58686         audit if l_reloc_result is NULL.
58687         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
58688         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
58689         * elf/tst-audit8.c: New file.
58691 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58693         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
58694         * misc/Makefile (CFLAGS-select.c): Define.
58695         * posix/Makefile (CFLAGS-pause.c): Define.
58697 2012-11-13  David S. Miller  <davem@davemloft.net>
58699         * crypt/Makefile: Move test targets after toplevel Rules
58700         inclusion.  Grab any necessary sysdep routines when linking.
58701         * crypt/md5.c (md5_process_block): Remove define, we will always
58702         name it __md5_process_block.
58703         (md5_finish_ctx): Update md5_process_block call.
58704         (md5_stream): Likewise.
58705         (md5_process_bytes): Likewise.
58706         (md5_process_block): Rename to __md5_process_block and move to ...
58707         * crypt/md5-block.c: ... here.
58708         * crypt/sha256.c (sha256_process_block): Move to ...
58709         * crypt/sha256-block.c: ... here.
58710         * crypt/sha512.c (sha512_process_block): Move to ...
58711         * crypt/sha512-block.c: ... here.
58712         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
58713         path.
58714         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
58715         * sysdeps/sparc/sparc64/multiarch/Makefile
58716         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
58717         crypt subdir.
58718         (localedef-aux): Add md5 crypto assembler when in locale subdir.
58719         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
58720         multiarch changes.
58721         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
58722         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
58723         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
58724         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
58725         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
58726         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
58727         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
58728         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
58729         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
58730         file.
58731         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
58732         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
58733         file.
58734         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
58736 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
58738         * timezone/tzselect.ksh: Update from tzcode git revision
58739         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
58740         * timezone/zdump.c: Likewise.
58741         * timezone/zic.c: Likewise.
58742         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
58743         in TZVERSION setting, not $(PKGVERSION).
58744         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
58745         REPORT_BUGS_TO settings.
58747         [BZ #14838]
58748         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
58749         macro.
58751 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58753         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
58754         detection to immediately after _FP_ROUND().
58755         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
58756         bits are 0.
58758 2012-11-11  David S. Miller  <davem@davemloft.net>
58760         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
58761         inttypes.h
58762         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
58763         __close rather than their public counterparts.
58765 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
58767         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
58768         file.
58769         [UNIX98] (sem_timedwait): Do not expect.
58770         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
58771         [XPG4 || UNIX98] (sockatmark): Do not expect.
58772         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
58773         (clock_getcpuclockid): Do not expect.
58774         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
58775         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
58776         Do not expect.
58777         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
58778         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
58779         [UNIX98] (vwscanf): Likewise.
58780         [UNIX98] (vswscanf): Likewise.
58782 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
58784         * timezone/version.h: Remove file.
58785         * timezone/README: Do not refer to version.h.
58786         * timezone/Makefile ($(objpfx)zic.o): New dependency on
58787         $(objpfx)version.h.
58788         ($(objpfx)zdump.o): Likewise.
58789         ($(objpfx)version.h): New target.
58791         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
58792         2012i.
58793         * timezone/README: Don't mention modification to tzselect.ksh.
58794         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
58795         work on unmodified tzselect.ksh.  Substitute version numbers in
58796         tzselect.ksh.
58798         * Makefile (format-me): Remove.
58799         (INSTALL): Adjust indentation.  Use commands directly instead of
58800         using $(format-me).
58802         * aclocal.m4 (ACX_PKGVERSION): New macro.
58803         (ACX_BUGURL): Likewise.
58804         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
58805         (PKGVERSION): New AC_DEFINE_UNQUOTED.
58806         (REPORT_BUGS_TO): Likewise.
58807         * configure: Regenerated.
58808         * config.h.in (PKGVERSION): New macro.
58809         (REPORT_BUGS_TO): Likewise.
58810         * config.make.in (PKGVERSION): New variable.
58811         (PKGVERSION_TEXI): Likewise.
58812         (REPORT_BUGS_TO): Likewise.
58813         (REPORT_BUGS_TEXI): Likewise.
58814         * Makefile (format-me): Use -I$(common-objpfx)manual.
58815         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
58816         ($(common-objpfx)manual/%): New target.
58817         (manual/%): Remove target.
58818         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
58819         (print_version): Use PKGVERSION.
58820         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
58821         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
58822         and REPORT_BUGS_TO.
58823         ($(objpfx)xtrace): Likewise.
58824         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
58825         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
58826         (print_version): Use PKGVERSION.
58827         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
58828         (do_version): Use PKGVERSION.
58829         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
58830         REPORT_BUGS_TO.
58831         (common-ldd-rewrite): Likewise.
58832         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
58833         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
58834         (print_version): Use PKGVERSION.
58835         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
58836         * elf/pldd.c (argp_program_bug_address): Remove variable.
58837         (more_help): New function.
58838         (argp): Use more_help.
58839         (print_version): Use PKGVERSION.
58840         * elf/sln.c (main): Use PKGVERSION.
58841         (usage): Use REPORT_BUGS_TO.
58842         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
58843         (top level): Use PKGVERSION.
58844         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
58845         (print_version): Use PKGVERSION.
58846         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
58847         (print_version): Use PKGVERSION.
58848         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
58849         (print_version): Use PKGVERSION.
58850         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
58851         (print_version): Use PKGVERSION.
58852         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
58853         (print_version): Use PKGVERSION.
58854         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
58855         (print_version): Use PKGVERSION.
58856         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
58857         and BUGURL.
58858         ($(objpfx)memusage): Likewise.
58859         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
58860         (do_version): Use PKGVERSION.
58861         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
58862         (print_version): Use PKGVERSION.
58863         * malloc/mtrace.pl ($PACKAGE): Remove variable.
58864         ($PKGVERSION): New variable.
58865         ($REPORT_BUGS_TO): Likewise.
58866         (usage): Use $REPORT_BUGS_TO.
58867         (top level): Use $PKGVERSION.
58868         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
58869         ($(objpfx)pkgvers.texi): New rule.
58870         ($(objpfx)stamp-pkgvers): Likewise.
58871         * manual/install.texi: Include pkgvers.texi.
58872         (--with-pkgversion): Document new configure option.
58873         (--with-bugurl): Likewise.
58874         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
58875         than necessarily for this particular distribution.  Use
58876         REPORT_BUGS_TO for where to report bugs.
58877         * INSTALL: Regenerated.
58878         * manual/libc.texinfo: Include pkgvers.texi.
58879         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
58880         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
58881         (print_version): Use PKGVERSION.
58882         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
58883         (print_version): Use PKGVERSION.
58884         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
58885         (print_version): Use PKGVERSION.
58886         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
58887         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
58888         macro.
58889         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
58890         (print_version): Use PKGVERSION.
58891         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
58892         (print_version): Use PKGVERSION.
58893         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
58894         and PKGVERSION.
58896         * timezone/checktab.awk: Update from tzcode 2012i.
58897         * timezone/ialloc.c: Likewise.
58898         * timezone/private.h: Likewise.
58899         * timezone/scheck.c: Likewise.
58900         * timezone/tzfile.h: Likewise.
58901         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
58902         (TZVERSION): Hardcode tzcode version number.
58903         * timezone/zdump.c: Update from tzcode 2012i.
58904         * timezone/zic.c: Likewise.
58905         * timezone/version.h: New file.
58906         * timezone/README: Describe version.h.  Update upstream location.
58908         [BZ #14824]
58909         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
58910         (mktemp): Enable declaration.
58911         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
58912         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
58913         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
58914         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
58915         Likewise.
58916         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
58917         Likewise.
58918         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
58919         Likewise.
58920         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
58921         Likewise.
58922         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
58923         Likewise.
58924         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
58925         Likewise.
58927         [BZ #14821]
58928         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
58929         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
58930         for copies of such integer values.
58931         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58932         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58934 2012-11-09  Andreas Jaeger  <aj@suse.de>
58936         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
58937         definitions and declarations that are provided by
58938         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58940 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58942         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
58943         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
58944         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
58945         definition.
58947 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58949         * elf/elf.h: Update comment before AArch64 relocations.
58951 2012-11-07  David S. Miller  <davem@davemloft.net>
58953         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
58954         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58955         (__start_context): Declare.
58956         (__makecontext_ret): Delete.
58957         (__makecontext): Hook up __start_context instead of
58958         __makecontext_ret.
58959         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
58960         (sysdep_routines): Add __start_context when in stdlib.
58962 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58964         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
58965         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
58966         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
58967         hardcoded "nm".
58968         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
58969         (READELF): New variable.  Use it instead of hardcoded "readelf".
58971 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58973         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
58974         * sysdeps/x86/Makefile: Here.
58975         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
58976         * sysdeps/x86/tst-xmmymm.sh: This.
58978 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58980         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
58981         expectations.
58982         [UNIX98] (pthread_barrier_t): Do not expect.
58983         [UNIX98] (pthread_barrierattr_t): Likewise.
58984         [UNIX98] (pthread_spinlock_t): Likewise.
58985         [UNIX98] (pthread_barrier_destroy): Likewise.
58986         [UNIX98] (pthread_barrier_init): Likewise.
58987         [UNIX98] (pthread_barrier_wait): Likewise.
58988         [UNIX98] (pthread_barrierattr_destroy): Likewise.
58989         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
58990         [UNIX98] (pthread_barrierattr_init): Likewise.
58991         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
58992         [UNIX98] (pthread_getcpuclockid): Likewise.
58993         [UNIX98] (pthread_mutex_timedlock): Likewise.
58994         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
58995         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
58996         [UNIX98] (pthread_sigmask): Likewise.
58997         [UNIX98] (pthread_spin_destroy): Likewise.
58998         [UNIX98] (pthread_spin_init): Likewise.
58999         [UNIX98] (pthread_spin_lock): Likewise.
59000         [UNIX98] (pthread_spin_trylock): Likewise.
59001         [UNIX98] (pthread_spin_unlock): Likewise.
59002         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
59003         Do not expect.
59004         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
59005         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
59006         [XPG3 || XPG4] (pthread_cond_t): Likewise.
59007         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
59008         [XPG3 || XPG4] (pthread_key_t): Likewise.
59009         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
59010         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
59011         [XPG3 || XPG4] (pthread_once_t): Likewise.
59012         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
59013         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
59014         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
59015         [XPG3 || XPG4] (pthread_t): Likewise.
59017         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
59018         not expect.
59019         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
59021         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
59022         Change function return type to int.
59024         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
59025         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
59026         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
59027         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
59028         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
59029         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
59030         [!POSIX] (posix_madvise): Likewise.
59031         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
59032         && !UNIX98].
59033         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
59034         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
59035         (mode_t): Likewise.
59036         (posix_mem_offset): Likewise.
59037         (posix_typed_mem_get_info): Likewise.
59038         (posix_typed_mem_open): Likewise.
59040         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
59041         Change condition to [XOPEN2K8].
59043         * conform/conformtest.pl: Preprocess allow-header data with -x c
59044         instead of from stdin.
59045         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
59046         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
59047         [C99-based standards] (cerfc): Likewise.
59048         [C99-based standards] (cexp2): Likewise.
59049         [C99-based standards] (cexpm1): Likewise.
59050         [C99-based standards] (clog10): Likewise.
59051         [C99-based standards] (clog1p): Likewise.
59052         [C99-based standards] (clog2): Likewise.
59053         [C99-based standards] (clgamma): Likewise.
59054         [C99-based standards] (ctgamma): Likewise.
59055         [C99-based standards] (cerff): Likewise.
59056         [C99-based standards] (cerfcf): Likewise.
59057         [C99-based standards] (cexp2f): Likewise.
59058         [C99-based standards] (cexpm1f): Likewise.
59059         [C99-based standards] (clog10f): Likewise.
59060         [C99-based standards] (clog1pf): Likewise.
59061         [C99-based standards] (clog2f): Likewise.
59062         [C99-based standards] (clgammaf): Likewise.
59063         [C99-based standards] (ctgammaf): Likewise.
59064         [C99-based standards] (cerfl): Likewise.
59065         [C99-based standards] (cerfcl): Likewise.
59066         [C99-based standards] (cexp2l): Likewise.
59067         [C99-based standards] (cexpm1l): Likewise.
59068         [C99-based standards] (clog10l): Likewise.
59069         [C99-based standards] (clog1pl): Likewise.
59070         [C99-based standards] (clog2l): Likewise.
59071         [C99-based standards] (clgammal): Likewise.
59072         [C99-based standards] (ctgammal): Likewise.
59073         * conform/data/inttypes.h-data [C99-based standards]: Include
59074         stdint.h-data.  Remove all expectations for stdint.h contents.
59075         [C99-based standards] (PRI*): Do not allow.
59076         [C99-based standards] (SCN*): Likewise.
59077         [C99-based standards] (*_t): Likewise.
59078         [C99-based-standards] (PRId8): Expect macro.
59079         [C99-based-standards] (PRIi8): Likewise.
59080         [C99-based-standards] (PRIo8): Likewise.
59081         [C99-based-standards] (PRIu8): Likewise.
59082         [C99-based-standards] (PRIx8): Likewise.
59083         [C99-based-standards] (PRIX8): Likewise.
59084         [C99-based-standards] (SCNd8): Likewise.
59085         [C99-based-standards] (SCNi8): Likewise.
59086         [C99-based-standards] (SCNo8): Likewise.
59087         [C99-based-standards] (SCNu8): Likewise.
59088         [C99-based-standards] (SCNx8): Likewise.
59089         [C99-based-standards] (PRIdLEAST8): Likewise.
59090         [C99-based-standards] (PRIiLEAST8): Likewise.
59091         [C99-based-standards] (PRIoLEAST8): Likewise.
59092         [C99-based-standards] (PRIuLEAST8): Likewise.
59093         [C99-based-standards] (PRIxLEAST8): Likewise.
59094         [C99-based-standards] (PRIXLEAST8): Likewise.
59095         [C99-based-standards] (SCNdLEAST8): Likewise.
59096         [C99-based-standards] (SCNiLEAST8): Likewise.
59097         [C99-based-standards] (SCNoLEAST8): Likewise.
59098         [C99-based-standards] (SCNuLEAST8): Likewise.
59099         [C99-based-standards] (SCNxLEAST8): Likewise.
59100         [C99-based-standards] (PRIdFAST8): Likewise.
59101         [C99-based-standards] (PRIiFAST8): Likewise.
59102         [C99-based-standards] (PRIoFAST8): Likewise.
59103         [C99-based-standards] (PRIuFAST8): Likewise.
59104         [C99-based-standards] (PRIxFAST8): Likewise.
59105         [C99-based-standards] (PRIXFAST8): Likewise.
59106         [C99-based-standards] (SCNdFAST8): Likewise.
59107         [C99-based-standards] (SCNiFAST8): Likewise.
59108         [C99-based-standards] (SCNoFAST8): Likewise.
59109         [C99-based-standards] (SCNuFAST8): Likewise.
59110         [C99-based-standards] (SCNxFAST8): Likewise.
59111         [C99-based-standards] (PRId16): Likewise.
59112         [C99-based-standards] (PRIi16): Likewise.
59113         [C99-based-standards] (PRIo16): Likewise.
59114         [C99-based-standards] (PRIu16): Likewise.
59115         [C99-based-standards] (PRIx16): Likewise.
59116         [C99-based-standards] (PRIX16): Likewise.
59117         [C99-based-standards] (SCNd16): Likewise.
59118         [C99-based-standards] (SCNi16): Likewise.
59119         [C99-based-standards] (SCNo16): Likewise.
59120         [C99-based-standards] (SCNu16): Likewise.
59121         [C99-based-standards] (SCNx16): Likewise.
59122         [C99-based-standards] (PRIdLEAST16): Likewise.
59123         [C99-based-standards] (PRIiLEAST16): Likewise.
59124         [C99-based-standards] (PRIoLEAST16): Likewise.
59125         [C99-based-standards] (PRIuLEAST16): Likewise.
59126         [C99-based-standards] (PRIxLEAST16): Likewise.
59127         [C99-based-standards] (PRIXLEAST16): Likewise.
59128         [C99-based-standards] (SCNdLEAST16): Likewise.
59129         [C99-based-standards] (SCNiLEAST16): Likewise.
59130         [C99-based-standards] (SCNoLEAST16): Likewise.
59131         [C99-based-standards] (SCNuLEAST16): Likewise.
59132         [C99-based-standards] (SCNxLEAST16): Likewise.
59133         [C99-based-standards] (PRIdFAST16): Likewise.
59134         [C99-based-standards] (PRIiFAST16): Likewise.
59135         [C99-based-standards] (PRIoFAST16): Likewise.
59136         [C99-based-standards] (PRIuFAST16): Likewise.
59137         [C99-based-standards] (PRIxFAST16): Likewise.
59138         [C99-based-standards] (PRIXFAST16): Likewise.
59139         [C99-based-standards] (SCNdFAST16): Likewise.
59140         [C99-based-standards] (SCNiFAST16): Likewise.
59141         [C99-based-standards] (SCNoFAST16): Likewise.
59142         [C99-based-standards] (SCNuFAST16): Likewise.
59143         [C99-based-standards] (SCNxFAST16): Likewise.
59144         [C99-based-standards] (PRId32): Likewise.
59145         [C99-based-standards] (PRIi32): Likewise.
59146         [C99-based-standards] (PRIo32): Likewise.
59147         [C99-based-standards] (PRIu32): Likewise.
59148         [C99-based-standards] (PRIx32): Likewise.
59149         [C99-based-standards] (PRIX32): Likewise.
59150         [C99-based-standards] (SCNd32): Likewise.
59151         [C99-based-standards] (SCNi32): Likewise.
59152         [C99-based-standards] (SCNo32): Likewise.
59153         [C99-based-standards] (SCNu32): Likewise.
59154         [C99-based-standards] (SCNx32): Likewise.
59155         [C99-based-standards] (PRIdLEAST32): Likewise.
59156         [C99-based-standards] (PRIiLEAST32): Likewise.
59157         [C99-based-standards] (PRIoLEAST32): Likewise.
59158         [C99-based-standards] (PRIuLEAST32): Likewise.
59159         [C99-based-standards] (PRIxLEAST32): Likewise.
59160         [C99-based-standards] (PRIXLEAST32): Likewise.
59161         [C99-based-standards] (SCNdLEAST32): Likewise.
59162         [C99-based-standards] (SCNiLEAST32): Likewise.
59163         [C99-based-standards] (SCNoLEAST32): Likewise.
59164         [C99-based-standards] (SCNuLEAST32): Likewise.
59165         [C99-based-standards] (SCNxLEAST32): Likewise.
59166         [C99-based-standards] (PRIdFAST32): Likewise.
59167         [C99-based-standards] (PRIiFAST32): Likewise.
59168         [C99-based-standards] (PRIoFAST32): Likewise.
59169         [C99-based-standards] (PRIuFAST32): Likewise.
59170         [C99-based-standards] (PRIxFAST32): Likewise.
59171         [C99-based-standards] (PRIXFAST32): Likewise.
59172         [C99-based-standards] (SCNdFAST32): Likewise.
59173         [C99-based-standards] (SCNiFAST32): Likewise.
59174         [C99-based-standards] (SCNoFAST32): Likewise.
59175         [C99-based-standards] (SCNuFAST32): Likewise.
59176         [C99-based-standards] (SCNxFAST32): Likewise.
59177         [C99-based-standards] (PRId64): Likewise.
59178         [C99-based-standards] (PRIi64): Likewise.
59179         [C99-based-standards] (PRIo64): Likewise.
59180         [C99-based-standards] (PRIu64): Likewise.
59181         [C99-based-standards] (PRIx64): Likewise.
59182         [C99-based-standards] (PRIX64): Likewise.
59183         [C99-based-standards] (SCNd64): Likewise.
59184         [C99-based-standards] (SCNi64): Likewise.
59185         [C99-based-standards] (SCNo64): Likewise.
59186         [C99-based-standards] (SCNu64): Likewise.
59187         [C99-based-standards] (SCNx64): Likewise.
59188         [C99-based-standards] (PRIdLEAST64): Likewise.
59189         [C99-based-standards] (PRIiLEAST64): Likewise.
59190         [C99-based-standards] (PRIoLEAST64): Likewise.
59191         [C99-based-standards] (PRIuLEAST64): Likewise.
59192         [C99-based-standards] (PRIxLEAST64): Likewise.
59193         [C99-based-standards] (PRIXLEAST64): Likewise.
59194         [C99-based-standards] (SCNdLEAST64): Likewise.
59195         [C99-based-standards] (SCNiLEAST64): Likewise.
59196         [C99-based-standards] (SCNoLEAST64): Likewise.
59197         [C99-based-standards] (SCNuLEAST64): Likewise.
59198         [C99-based-standards] (SCNxLEAST64): Likewise.
59199         [C99-based-standards] (PRIdFAST64): Likewise.
59200         [C99-based-standards] (PRIiFAST64): Likewise.
59201         [C99-based-standards] (PRIoFAST64): Likewise.
59202         [C99-based-standards] (PRIuFAST64): Likewise.
59203         [C99-based-standards] (PRIxFAST64): Likewise.
59204         [C99-based-standards] (PRIXFAST64): Likewise.
59205         [C99-based-standards] (SCNdFAST64): Likewise.
59206         [C99-based-standards] (SCNiFAST64): Likewise.
59207         [C99-based-standards] (SCNoFAST64): Likewise.
59208         [C99-based-standards] (SCNuFAST64): Likewise.
59209         [C99-based-standards] (SCNxFAST64): Likewise.
59210         [C99-based-standards] (PRIdMAX): Likewise.
59211         [C99-based-standards] (PRIiMAX): Likewise.
59212         [C99-based-standards] (PRIoMAX): Likewise.
59213         [C99-based-standards] (PRIuMAX): Likewise.
59214         [C99-based-standards] (PRIxMAX): Likewise.
59215         [C99-based-standards] (PRIXMAX): Likewise.
59216         [C99-based-standards] (SCNdMAX): Likewise.
59217         [C99-based-standards] (SCNiMAX): Likewise.
59218         [C99-based-standards] (SCNoMAX): Likewise.
59219         [C99-based-standards] (SCNuMAX): Likewise.
59220         [C99-based-standards] (SCNxMAX): Likewise.
59221         [C99-based-standards] (PRIdPTR): Likewise.
59222         [C99-based-standards] (PRIiPTR): Likewise.
59223         [C99-based-standards] (PRIoPTR): Likewise.
59224         [C99-based-standards] (PRIuPTR): Likewise.
59225         [C99-based-standards] (PRIxPTR): Likewise.
59226         [C99-based-standards] (PRIXPTR): Likewise.
59227         [C99-based-standards] (SCNdPTR): Likewise.
59228         [C99-based-standards] (SCNiPTR): Likewise.
59229         [C99-based-standards] (SCNoPTR): Likewise.
59230         [C99-based-standards] (SCNuPTR): Likewise.
59231         [C99-based-standards] (SCNxPTR): Likewise.
59232         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
59233         allow.
59234         * conform/data/stdint.h-data: Update comments to clarify
59235         requirements.
59236         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
59237         type.
59238         [C99-based standards] (INT8_MAX): Likewise.
59239         [C99-based standards] (INT16_MIN): Likewise.
59240         [C99-based standards] (INT16_MAX): Likewise.
59241         [C99-based standards] (INT32_MIN): Likewise.
59242         [C99-based standards] (INT32_MAX): Likewise.
59243         [C99-based standards] (INT64_MIN): Likewise.
59244         [C99-based standards] (INT64_MAX): Likewise.
59245         [C99-based standards] (UINT8_MAX): Likewise.
59246         [C99-based standards] (UINT16_MAX): Likewise.
59247         [C99-based standards] (UINT32_MAX): Likewise.
59248         [C99-based standards] (UINT64_MAX): Likewise.
59249         [C99-based standards] (INT_LEAST8_MIN): Likewise.
59250         [C99-based standards] (INT_LEAST8_MAX): Likewise.
59251         [C99-based standards] (INT_LEAST16_MIN): Likewise.
59252         [C99-based standards] (INT_LEAST16_MAX): Likewise.
59253         [C99-based standards] (INT_LEAST32_MIN): Likewise.
59254         [C99-based standards] (INT_LEAST32_MAX): Likewise.
59255         [C99-based standards] (INT_LEAST64_MIN): Likewise.
59256         [C99-based standards] (INT_LEAST64_MAX): Likewise.
59257         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
59258         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
59259         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
59260         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
59261         [C99-based standards] (INT_FAST8_MIN): Likewise.
59262         [C99-based standards] (INT_FAST8_MAX): Likewise.
59263         [C99-based standards] (INT_FAST16_MIN): Likewise.
59264         [C99-based standards] (INT_FAST16_MAX): Likewise.
59265         [C99-based standards] (INT_FAST32_MIN): Likewise.
59266         [C99-based standards] (INT_FAST32_MAX): Likewise.
59267         [C99-based standards] (INT_FAST64_MIN): Likewise.
59268         [C99-based standards] (INT_FAST64_MAX): Likewise.
59269         [C99-based standards] (UINT_FAST8_MAX): Likewise.
59270         [C99-based standards] (UINT_FAST16_MAX): Likewise.
59271         [C99-based standards] (UINT_FAST32_MAX): Likewise.
59272         [C99-based standards] (UINT_FAST64_MAX): Likewise.
59273         [C99-based standards] (INTPTR_MIN): Likewise.
59274         [C99-based standards] (INTPTR_MAX): Likewise.
59275         [C99-based standards] (UINTPTR_MAX): Likewise.
59276         [C99-based standards] (INTMAX_MIN): Likewise.
59277         [C99-based standards] (INTMAX_MAX): Likewise.
59278         [C99-based standards] (UINTMAX_MAX): Likewise.
59279         [C99-based standards] (PTRDIFF_MIN): Likewise.
59280         [C99-based standards] (PTRDIFF_MAX): Likewise.
59281         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
59282         [C99-based standards] (SIZE_MAX): Likewise.
59283         [C99-based standards] (WCHAR_MAX): Likewise.
59284         [C99-based standards] (WINT_MAX): Likewise.
59285         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
59286         constraint on value.
59287         [C99-based standards] (WCHAR_MIN): Likewise.
59288         [C99-based standards] (WINT_MIN): Likewise.
59289         [C99-based standards] (*_t): Allow.
59290         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
59291         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
59292         Include math.h-data and complex.h-data.  Remove all expectations
59293         of math.h and complex.h contents.
59294         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
59295         at end of line.
59296         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
59297         (struct tm): Expect tag.
59298         [C99-based-standards] (wcstof): Expect function.
59299         [C99-based-standards] (wcstold): Likewise.
59300         [C99-based-standards] (wcstoll): Likewise.
59301         [C99-based-standards] (wcstoull): Likewise.
59302         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
59303         macro-int-constant.  Specify type.
59304         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
59305         constraint on value.
59306         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59307         Specify type.
59308         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
59309         Specify value.
59310         [ISO C standards]: Do not allow headers.
59311         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
59312         wcs[abcdefghijklmnopqrstuvwxyz]*.
59313         [ISO C standards] (*_t): Do not allow.
59314         * conform/data/wctype.h-data [C99-based standards] (iswblank):
59315         Expect function.
59316         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
59317         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59318         Specify type.
59319         [ISO C standards]: Do not allow headers.
59320         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
59321         is[abcdefghijklmnopqrstuvwxyz]*.
59322         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
59323         to[abcdefghijklmnopqrstuvwxyz]*.
59324         [ISO C standards] (*_t): Do not allow.
59325         * conform/data/stdalign.h-data: New file.
59326         * conform/data/stdbool.h-data: Likewise.
59327         * conform/data/stdnoreturn.h-data: Likewise.
59329 2012-11-07  Roland McGrath  <roland@hack.frob.com>
59331         [BZ #14815]
59332         * manual/filesys.texi (Directory Entries): Typo fix.
59333         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
59335 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59337         * elf/elf.h (EM_AARCH64): New macro.
59338         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
59339         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
59340         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
59341         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
59342         (R_AARCH64_TLSDESC): Likewise.
59343         (NT_ARM_TLS): Likewise.
59344         (NT_ARM_HW_BREAK): Likewise.
59345         (NT_ARM_HW_WATCH): Likewise.
59347 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59349         [BZ #14811]
59350         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
59351         (__ieee754_powl): Saturate nonzero exponents with absolute value
59352         below 0x1p-79 to +/- 0x1p-79.
59353         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
59354         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
59355         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
59356         nonzero exponents with absolute value below 0x1p-32 to +/-
59357         0x1p-32.
59358         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
59359         (__ieee754_powl): Saturate nonzero exponents with absolute value
59360         below 0x1p-79 to +/- 0x1p-79.
59361         * math/libm-test.inc (pow_test): Add more tests.
59363 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59365         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
59366         _dl_s390_cap_flags with kernel. Increase string length.
59367         (_dl_s390_platforms): Add z196 and zEC12.
59369 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59371         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
59372         Change XOPEN21K to XOPEN2K.
59374 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
59376         * string/memmove.c: Use memcpy when possible.
59378 2012-11-06  Andreas Jaeger  <aj@suse.de>
59380         * po/eo.po: Update from translation team.
59382 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
59384         [BZ #14793]
59385         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
59386         exponent and small x and y exponents, scale x or y up.  Increase
59387         by 2 the exponent used in scaling up.
59388         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59389         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59390         * math/libm-test.inc (fma_test): Add more tests.
59391         (fma_test_towardzero): Likewise.
59392         (fma_test_downward): Likewise.
59393         (fma_test_upward): Likewise.
59395 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
59397         [BZ #14805]
59398         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
59399         fenv_t *.
59401         [BZ #14801]
59402         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
59403         namespace for names of struct fields.
59404         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
59405         fenv_t fields.
59406         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
59407         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
59409 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59411         [BZ #3665]
59412         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
59414 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59416         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
59417         PTR_DEMANGLE.
59419         [BZ #5246]
59420         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
59421         PTR_DEMANGLE.
59423 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
59425         [BZ #14797]
59426         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
59427         definitely overflow as x * y not x * y + z.
59428         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59429         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59430         * math/libm-test.inc (fma_test): Add more tests.
59431         (fma_test_towardzero): Likewise.
59432         (fma_test_downward): Likewise.
59433         (fma_test_upward): Likewise.
59435 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59437         [BZ #157]
59439         * include/stub-tag.h: Remove file.
59440         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
59441         '#include' of it.
59442         * manual/maint.texi (Porting): Don't reference it.
59443         * Makerules ($(objpfx)stubs): Likewise.
59444         * dirent/closedir.c: Don't include <stub-tag.h>.
59445         * dirent/dirfd.c: Likewise.
59446         * dirent/fdopendir.c: Likewise.
59447         * dirent/getdents.c: Likewise.
59448         * dirent/getdents64.c: Likewise.
59449         * dirent/opendir.c: Likewise.
59450         * dirent/readdir.c: Likewise.
59451         * dirent/readdir64.c: Likewise.
59452         * dirent/readdir64_r.c: Likewise.
59453         * dirent/readdir_r.c: Likewise.
59454         * dirent/rewinddir.c: Likewise.
59455         * dirent/seekdir.c: Likewise.
59456         * dirent/telldir.c: Likewise.
59457         * gmon/profil.c: Likewise.
59458         * grp/setgroups.c: Likewise.
59459         * inet/if_index.c: Likewise.
59460         * io/access.c: Likewise.
59461         * io/chdir.c: Likewise.
59462         * io/chmod.c: Likewise.
59463         * io/chown.c: Likewise.
59464         * io/close.c: Likewise.
59465         * io/dup.c: Likewise.
59466         * io/dup2.c: Likewise.
59467         * io/dup3.c: Likewise.
59468         * io/euidaccess.c: Likewise.
59469         * io/faccessat.c: Likewise.
59470         * io/fchdir.c: Likewise.
59471         * io/fchmod.c: Likewise.
59472         * io/fchmodat.c: Likewise.
59473         * io/fchown.c: Likewise.
59474         * io/fchownat.c: Likewise.
59475         * io/fcntl.c: Likewise.
59476         * io/flock.c: Likewise.
59477         * io/fstatfs.c: Likewise.
59478         * io/fstatfs64.c: Likewise.
59479         * io/fstatvfs.c: Likewise.
59480         * io/fstatvfs64.c: Likewise.
59481         * io/futimens.c: Likewise.
59482         * io/fxstat.c: Likewise.
59483         * io/fxstat64.c: Likewise.
59484         * io/fxstatat.c: Likewise.
59485         * io/fxstatat64.c: Likewise.
59486         * io/getcwd.c: Likewise.
59487         * io/isatty.c: Likewise.
59488         * io/lchmod.c: Likewise.
59489         * io/lchown.c: Likewise.
59490         * io/link.c: Likewise.
59491         * io/linkat.c: Likewise.
59492         * io/lseek.c: Likewise.
59493         * io/lseek64.c: Likewise.
59494         * io/lxstat64.c: Likewise.
59495         * io/mkdir.c: Likewise.
59496         * io/mkdirat.c: Likewise.
59497         * io/mkfifo.c: Likewise.
59498         * io/mkfifoat.c: Likewise.
59499         * io/open.c: Likewise.
59500         * io/open64.c: Likewise.
59501         * io/openat.c: Likewise.
59502         * io/openat64.c: Likewise.
59503         * io/pipe.c: Likewise.
59504         * io/pipe2.c: Likewise.
59505         * io/poll.c: Likewise.
59506         * io/posix_fadvise.c: Likewise.
59507         * io/posix_fadvise64.c: Likewise.
59508         * io/posix_fallocate.c: Likewise.
59509         * io/posix_fallocate64.c: Likewise.
59510         * io/read.c: Likewise.
59511         * io/readlink.c: Likewise.
59512         * io/readlinkat.c: Likewise.
59513         * io/rmdir.c: Likewise.
59514         * io/sendfile.c: Likewise.
59515         * io/sendfile64.c: Likewise.
59516         * io/statfs.c: Likewise.
59517         * io/statfs64.c: Likewise.
59518         * io/statvfs.c: Likewise.
59519         * io/statvfs64.c: Likewise.
59520         * io/symlink.c: Likewise.
59521         * io/symlinkat.c: Likewise.
59522         * io/ttyname.c: Likewise.
59523         * io/ttyname_r.c: Likewise.
59524         * io/umask.c: Likewise.
59525         * io/unlink.c: Likewise.
59526         * io/unlinkat.c: Likewise.
59527         * io/utime.c: Likewise.
59528         * io/utimensat.c: Likewise.
59529         * io/write.c: Likewise.
59530         * io/xmknod.c: Likewise.
59531         * io/xmknodat.c: Likewise.
59532         * io/xstat.c: Likewise.
59533         * io/xstat64.c: Likewise.
59534         * login/getpt.c: Likewise.
59535         * login/grantpt.c: Likewise.
59536         * login/unlockpt.c: Likewise.
59537         * math/e_acoshl.c: Likewise.
59538         * math/e_acosl.c: Likewise.
59539         * math/e_asinl.c: Likewise.
59540         * math/e_atan2l.c: Likewise.
59541         * math/e_atanhl.c: Likewise.
59542         * math/e_coshl.c: Likewise.
59543         * math/e_expl.c: Likewise.
59544         * math/e_fmodl.c: Likewise.
59545         * math/e_gammal_r.c: Likewise.
59546         * math/e_hypotl.c: Likewise.
59547         * math/e_j0l.c: Likewise.
59548         * math/e_j1l.c: Likewise.
59549         * math/e_jnl.c: Likewise.
59550         * math/e_lgammal_r.c: Likewise.
59551         * math/e_log10l.c: Likewise.
59552         * math/e_log2l.c: Likewise.
59553         * math/e_logl.c: Likewise.
59554         * math/e_powl.c: Likewise.
59555         * math/e_rem_pio2l.c: Likewise.
59556         * math/e_sinhl.c: Likewise.
59557         * math/e_sqrtl.c: Likewise.
59558         * math/fclrexcpt.c: Likewise.
59559         * math/fedisblxcpt.c: Likewise.
59560         * math/feenablxcpt.c: Likewise.
59561         * math/fegetenv.c: Likewise.
59562         * math/fegetexcept.c: Likewise.
59563         * math/fegetround.c: Likewise.
59564         * math/feholdexcpt.c: Likewise.
59565         * math/fesetenv.c: Likewise.
59566         * math/fesetround.c: Likewise.
59567         * math/feupdateenv.c: Likewise.
59568         * math/fgetexcptflg.c: Likewise.
59569         * math/fraiseexcpt.c: Likewise.
59570         * math/fsetexcptflg.c: Likewise.
59571         * math/ftestexcept.c: Likewise.
59572         * math/k_cosl.c: Likewise.
59573         * math/k_rem_pio2l.c: Likewise.
59574         * math/k_sinl.c: Likewise.
59575         * math/k_tanl.c: Likewise.
59576         * math/s_asinhl.c: Likewise.
59577         * math/s_atanl.c: Likewise.
59578         * math/s_cbrtl.c: Likewise.
59579         * math/s_erfl.c: Likewise.
59580         * math/s_expm1l.c: Likewise.
59581         * math/s_log1pl.c: Likewise.
59582         * math/s_tanhl.c: Likewise.
59583         * misc/acct.c: Likewise.
59584         * misc/brk.c: Likewise.
59585         * misc/chflags.c: Likewise.
59586         * misc/chroot.c: Likewise.
59587         * misc/fchflags.c: Likewise.
59588         * misc/fgetxattr.c: Likewise.
59589         * misc/flistxattr.c: Likewise.
59590         * misc/fremovexattr.c: Likewise.
59591         * misc/fsetxattr.c: Likewise.
59592         * misc/fsync.c: Likewise.
59593         * misc/ftruncate.c: Likewise.
59594         * misc/futimes.c: Likewise.
59595         * misc/futimesat.c: Likewise.
59596         * misc/getdomain.c: Likewise.
59597         * misc/getdtsz.c: Likewise.
59598         * misc/gethostid.c: Likewise.
59599         * misc/gethostname.c: Likewise.
59600         * misc/getloadavg.c: Likewise.
59601         * misc/getpagesize.c: Likewise.
59602         * misc/getsysstats.c: Likewise.
59603         * misc/getxattr.c: Likewise.
59604         * misc/gtty.c: Likewise.
59605         * misc/ioctl.c: Likewise.
59606         * misc/lgetxattr.c: Likewise.
59607         * misc/listxattr.c: Likewise.
59608         * misc/llistxattr.c: Likewise.
59609         * misc/lremovexattr.c: Likewise.
59610         * misc/lsetxattr.c: Likewise.
59611         * misc/lutimes.c: Likewise.
59612         * misc/madvise.c: Likewise.
59613         * misc/mincore.c: Likewise.
59614         * misc/mlock.c: Likewise.
59615         * misc/mlockall.c: Likewise.
59616         * misc/mmap.c: Likewise.
59617         * misc/mprotect.c: Likewise.
59618         * misc/msync.c: Likewise.
59619         * misc/munlock.c: Likewise.
59620         * misc/munlockall.c: Likewise.
59621         * misc/munmap.c: Likewise.
59622         * misc/preadv.c: Likewise.
59623         * misc/preadv64.c: Likewise.
59624         * misc/ptrace.c: Likewise.
59625         * misc/pwritev.c: Likewise.
59626         * misc/pwritev64.c: Likewise.
59627         * misc/readv.c: Likewise.
59628         * misc/reboot.c: Likewise.
59629         * misc/remap_file_pages.c: Likewise.
59630         * misc/removexattr.c: Likewise.
59631         * misc/revoke.c: Likewise.
59632         * misc/select.c: Likewise.
59633         * misc/setdomain.c: Likewise.
59634         * misc/setegid.c: Likewise.
59635         * misc/seteuid.c: Likewise.
59636         * misc/sethostid.c: Likewise.
59637         * misc/sethostname.c: Likewise.
59638         * misc/setregid.c: Likewise.
59639         * misc/setreuid.c: Likewise.
59640         * misc/setxattr.c: Likewise.
59641         * misc/sstk.c: Likewise.
59642         * misc/stty.c: Likewise.
59643         * misc/swapoff.c: Likewise.
59644         * misc/swapon.c: Likewise.
59645         * misc/sync.c: Likewise.
59646         * misc/syncfs.c: Likewise.
59647         * misc/syscall.c: Likewise.
59648         * misc/truncate.c: Likewise.
59649         * misc/ualarm.c: Likewise.
59650         * misc/usleep.c: Likewise.
59651         * misc/ustat.c: Likewise.
59652         * misc/utimes.c: Likewise.
59653         * misc/vhangup.c: Likewise.
59654         * misc/writev.c: Likewise.
59655         * posix/_exit.c: Likewise.
59656         * posix/alarm.c: Likewise.
59657         * posix/execve.c: Likewise.
59658         * posix/fexecve.c: Likewise.
59659         * posix/fork.c: Likewise.
59660         * posix/fpathconf.c: Likewise.
59661         * posix/getaddrinfo.c: Likewise.
59662         * posix/getegid.c: Likewise.
59663         * posix/geteuid.c: Likewise.
59664         * posix/getgid.c: Likewise.
59665         * posix/getgroups.c: Likewise.
59666         * posix/getlogin.c: Likewise.
59667         * posix/getlogin_r.c: Likewise.
59668         * posix/getpgid.c: Likewise.
59669         * posix/getpid.c: Likewise.
59670         * posix/getppid.c: Likewise.
59671         * posix/getresgid.c: Likewise.
59672         * posix/getresuid.c: Likewise.
59673         * posix/getsid.c: Likewise.
59674         * posix/getuid.c: Likewise.
59675         * posix/glob64.c: Likewise.
59676         * posix/nanosleep.c: Likewise.
59677         * posix/pathconf.c: Likewise.
59678         * posix/pause.c: Likewise.
59679         * posix/posix_madvise.c: Likewise.
59680         * posix/pread.c: Likewise.
59681         * posix/pread64.c: Likewise.
59682         * posix/pwrite.c: Likewise.
59683         * posix/pwrite64.c: Likewise.
59684         * posix/sched_getaffinity.c: Likewise.
59685         * posix/sched_getp.c: Likewise.
59686         * posix/sched_gets.c: Likewise.
59687         * posix/sched_primax.c: Likewise.
59688         * posix/sched_primin.c: Likewise.
59689         * posix/sched_rr_gi.c: Likewise.
59690         * posix/sched_setaffinity.c: Likewise.
59691         * posix/sched_setp.c: Likewise.
59692         * posix/sched_sets.c: Likewise.
59693         * posix/sched_yield.c: Likewise.
59694         * posix/setgid.c: Likewise.
59695         * posix/setlogin.c: Likewise.
59696         * posix/setpgid.c: Likewise.
59697         * posix/setresgid.c: Likewise.
59698         * posix/setresuid.c: Likewise.
59699         * posix/setsid.c: Likewise.
59700         * posix/setuid.c: Likewise.
59701         * posix/sleep.c: Likewise.
59702         * posix/spawni.c: Likewise.
59703         * posix/sysconf.c: Likewise.
59704         * posix/times.c: Likewise.
59705         * posix/wait.c: Likewise.
59706         * posix/wait3.c: Likewise.
59707         * posix/wait4.c: Likewise.
59708         * posix/waitpid.c: Likewise.
59709         * resolv/gai_sigqueue.c: Likewise.
59710         * resource/getpriority.c: Likewise.
59711         * resource/getrlimit.c: Likewise.
59712         * resource/getrusage.c: Likewise.
59713         * resource/nice.c: Likewise.
59714         * resource/setpriority.c: Likewise.
59715         * resource/setrlimit.c: Likewise.
59716         * resource/ulimit.c: Likewise.
59717         * rt/aio_cancel.c: Likewise.
59718         * rt/aio_fsync.c: Likewise.
59719         * rt/aio_read.c: Likewise.
59720         * rt/aio_sigqueue.c: Likewise.
59721         * rt/aio_suspend.c: Likewise.
59722         * rt/aio_write.c: Likewise.
59723         * rt/clock_getres.c: Likewise.
59724         * rt/clock_gettime.c: Likewise.
59725         * rt/clock_nanosleep.c: Likewise.
59726         * rt/clock_settime.c: Likewise.
59727         * rt/lio_listio.c: Likewise.
59728         * rt/mq_close.c: Likewise.
59729         * rt/mq_getattr.c: Likewise.
59730         * rt/mq_notify.c: Likewise.
59731         * rt/mq_open.c: Likewise.
59732         * rt/mq_receive.c: Likewise.
59733         * rt/mq_send.c: Likewise.
59734         * rt/mq_setattr.c: Likewise.
59735         * rt/mq_timedreceive.c: Likewise.
59736         * rt/mq_timedsend.c: Likewise.
59737         * rt/mq_unlink.c: Likewise.
59738         * rt/shm_open.c: Likewise.
59739         * rt/shm_unlink.c: Likewise.
59740         * rt/timer_create.c: Likewise.
59741         * rt/timer_delete.c: Likewise.
59742         * rt/timer_getoverr.c: Likewise.
59743         * rt/timer_gettime.c: Likewise.
59744         * rt/timer_settime.c: Likewise.
59745         * setjmp/__longjmp.c: Likewise.
59746         * setjmp/setjmp.c: Likewise.
59747         * signal/kill.c: Likewise.
59748         * signal/killpg.c: Likewise.
59749         * signal/raise.c: Likewise.
59750         * signal/sigaction.c: Likewise.
59751         * signal/sigaltstack.c: Likewise.
59752         * signal/sigblock.c: Likewise.
59753         * signal/sigignore.c: Likewise.
59754         * signal/sigintr.c: Likewise.
59755         * signal/signal.c: Likewise.
59756         * signal/sigpause.c: Likewise.
59757         * signal/sigpending.c: Likewise.
59758         * signal/sigqueue.c: Likewise.
59759         * signal/sigreturn.c: Likewise.
59760         * signal/sigset.c: Likewise.
59761         * signal/sigsetmask.c: Likewise.
59762         * signal/sigstack.c: Likewise.
59763         * signal/sigsuspend.c: Likewise.
59764         * signal/sigtimedwait.c: Likewise.
59765         * signal/sigvec.c: Likewise.
59766         * signal/sigwait.c: Likewise.
59767         * signal/sigwaitinfo.c: Likewise.
59768         * signal/sysv_signal.c: Likewise.
59769         * socket/accept.c: Likewise.
59770         * socket/accept4.c: Likewise.
59771         * socket/bind.c: Likewise.
59772         * socket/connect.c: Likewise.
59773         * socket/getpeername.c: Likewise.
59774         * socket/getsockname.c: Likewise.
59775         * socket/getsockopt.c: Likewise.
59776         * socket/isfdtype.c: Likewise.
59777         * socket/listen.c: Likewise.
59778         * socket/recv.c: Likewise.
59779         * socket/recvfrom.c: Likewise.
59780         * socket/recvmsg.c: Likewise.
59781         * socket/send.c: Likewise.
59782         * socket/sendmsg.c: Likewise.
59783         * socket/sendto.c: Likewise.
59784         * socket/setsockopt.c: Likewise.
59785         * socket/shutdown.c: Likewise.
59786         * socket/sockatmark.c: Likewise.
59787         * socket/socket.c: Likewise.
59788         * socket/socketpair.c: Likewise.
59789         * stdio-common/ctermid.c: Likewise.
59790         * stdio-common/cuserid.c: Likewise.
59791         * stdio-common/remove.c: Likewise.
59792         * stdio-common/rename.c: Likewise.
59793         * stdio-common/renameat.c: Likewise.
59794         * stdio-common/tempname.c: Likewise.
59795         * stdlib/getcontext.c: Likewise.
59796         * stdlib/makecontext.c: Likewise.
59797         * stdlib/setcontext.c: Likewise.
59798         * stdlib/swapcontext.c: Likewise.
59799         * stdlib/system.c: Likewise.
59800         * streams/fattach.c: Likewise.
59801         * streams/fdetach.c: Likewise.
59802         * streams/getmsg.c: Likewise.
59803         * streams/getpmsg.c: Likewise.
59804         * streams/putmsg.c: Likewise.
59805         * streams/putpmsg.c: Likewise.
59806         * sysdeps/unix/bsd/getpt.c: Likewise.
59807         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
59808         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
59809         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59811         Likewise.
59812         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
59813         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59814         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
59815         * sysvipc/msgctl.c: Likewise.
59816         * sysvipc/msgget.c: Likewise.
59817         * sysvipc/msgrcv.c: Likewise.
59818         * sysvipc/msgsnd.c: Likewise.
59819         * sysvipc/semctl.c: Likewise.
59820         * sysvipc/semget.c: Likewise.
59821         * sysvipc/semop.c: Likewise.
59822         * sysvipc/semtimedop.c: Likewise.
59823         * sysvipc/shmat.c: Likewise.
59824         * sysvipc/shmctl.c: Likewise.
59825         * sysvipc/shmdt.c: Likewise.
59826         * sysvipc/shmget.c: Likewise.
59827         * termios/tcdrain.c: Likewise.
59828         * termios/tcflow.c: Likewise.
59829         * termios/tcflush.c: Likewise.
59830         * termios/tcgetattr.c: Likewise.
59831         * termios/tcgetpgrp.c: Likewise.
59832         * termios/tcsendbrk.c: Likewise.
59833         * termios/tcsetattr.c: Likewise.
59834         * termios/tcsetpgrp.c: Likewise.
59835         * time/adjtime.c: Likewise.
59836         * time/clock.c: Likewise.
59837         * time/getitimer.c: Likewise.
59838         * time/gettimeofday.c: Likewise.
59839         * time/setitimer.c: Likewise.
59840         * time/settimeofday.c: Likewise.
59841         * time/stime.c: Likewise.
59842         * time/time.c: Likewise.
59844 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
59846         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
59847         /usr/old/bin.
59849         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
59850         instead of spaces.
59851         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
59853 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
59855         [BZ #14796]
59856         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
59857         FE_TONEAREST before applying Dekker multiplication and Knuth
59858         addition.  Clear inexact exceptions and check for exact zero
59859         results afterwards.
59860         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59861         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59862         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59863         * math/libm-test.inc (fma_test): Add more tests.
59864         (fma_test_towardzero): Likewise.
59865         (fma_test_downward): Likewise.
59866         (fma_test_upward): Likewise.
59867         * sysdeps/generic/math_private.h (default_libc_fesetround): New
59868         function.
59869         (libc_fesetround): New macro.
59870         (libc_fesetroundf): Likewise.
59871         (libc_fesetroundl): Likewise.
59872         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
59873         function.
59874         (libc_fesetround_387): Likewise.
59875         (libc_fesetroundf): New macro.
59876         (libc_fesetround): Likewise.
59877         (libc_fesetroundl): Likewise.
59878         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
59879         function.
59880         (libc_fesetroundf): New macro.
59881         (libc_fesetround): Likewise.
59882         (libc_fesetroundl): Likewise.
59883         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
59884         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
59885         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
59886         libm_hidden_ver.
59887         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
59888         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
59889         libm_hidden_def.
59890         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
59891         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
59892         libm_hidden_ver.
59893         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
59894         libm_hidden_def.
59896         [BZ #3439]
59897         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
59898         integer constant usable in #if and use that to give value to enum
59899         constant.
59900         (FE_DIVBYZERO): Likewise.
59901         (FE_UNDERFLOW): Likewise.
59902         (FE_OVERFLOW): Likewise.
59903         (FE_INVALID): Likewise.
59904         (FE_INVALID_SNAN): Likewise.
59905         (FE_INVALID_ISI): Likewise.
59906         (FE_INVALID_IDI): Likewise.
59907         (FE_INVALID_ZDZ): Likewise.
59908         (FE_INVALID_IMZ): Likewise.
59909         (FE_INVALID_COMPARE): Likewise.
59910         (FE_INVALID_SOFTWARE): Likewise.
59911         (FE_INVALID_SQRT): Likewise.
59912         (FE_INVALID_INTEGER_CONVERSION): Likewise.
59913         (FE_TONEAREST): Likewise.
59914         (FE_TOWARDZERO): Likewise.
59915         (FE_UPWARD): Likewise.
59916         (FE_DOWNWARD): Likewise.
59917         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
59918         (FE_DIVBYZERO): Likewise.
59919         (FE_OVERFLOW): Likewise.
59920         (FE_UNDERFLOW): Likewise.
59921         (FE_INEXACT): Likewise.
59922         (FE_TONEAREST): Likewise.
59923         (FE_DOWNWARD): Likewise.
59924         (FE_UPWARD): Likewise.
59925         (FE_TOWARDZERO): Likewise.
59926         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
59927         (FE_UNDERFLOW): Likewise.
59928         (FE_OVERFLOW): Likewise.
59929         (FE_DIVBYZERO): Likewise.
59930         (FE_INVALID): Likewise.
59931         (FE_TONEAREST): Likewise.
59932         (FE_TOWARDZERO): Likewise.
59933         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
59934         (FE_OVERFLOW): Likewise.
59935         (FE_UNDERFLOW): Likewise.
59936         (FE_DIVBYZERO): Likewise.
59937         (FE_INEXACT): Likewise.
59938         (FE_TONEAREST): Likewise.
59939         (FE_TOWARDZERO): Likewise.
59940         (FE_UPWARD): Likewise.
59941         (FE_DOWNWARD): Likewise.
59942         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
59943         (FE_DIVBYZERO): Likewise.
59944         (FE_OVERFLOW): Likewise.
59945         (FE_UNDERFLOW): Likewise.
59946         (FE_INEXACT): Likewise.
59947         (FE_TONEAREST): Likewise.
59948         (FE_DOWNWARD): Likewise.
59949         (FE_UPWARD): Likewise.
59950         (FE_TOWARDZERO): Likewise.
59952 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
59954         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
59956 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
59958         * scripts/cross-test-ssh.sh (command): Use newlines to separate
59959         commands.  Quote $PWD.
59960         (blacklist_exports): Don't use remove_newlines.  Replace "declare
59961         -x" by "export".
59962         (remove_newlines): Remove.
59964 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
59966         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
59967         * stdlib/stdlib.h (atof): Moved to ...
59968         * include/bits/stdlib-float.h: Here.  New file.
59969         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
59970         * stdlib/bits/stdlib-float.h: New file.
59971         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
59972         -mno-sse -mno-mmx.
59973         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
59974         <xmmintrin.h>.
59976 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59978         * conform/conformtest.pl (@headers): Add fenv.h.
59979         * conform/data/fenv.h-data: New file.
59980         * include/fenv.h [_ISOMAC]: Disable all contents of file except
59981         include of <math/fenv.h>.
59983         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
59984         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
59985         && !UNIX98].  Enables tests for XOPEN2K8.
59986         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
59987         POSIX2008]: Likewise.
59989         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
59990         (struct rusage): Do not expect type or its members.
59992         [BZ #3439]
59993         * math/math.h (FP_NAN): Define macro to integer constant usable in
59994         #if and use that to give value to enum constant.
59995         (FP_INFINITE): Likewise.
59996         (FP_ZERO): Likewise.
59997         (FP_SUBNORMAL): Likewise.
59998         (FP_NORMAL): Likewise.
60000 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
60002         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
60003         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
60004         arguments.
60006 2012-11-02  Roland McGrath  <roland@hack.frob.com>
60008         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
60009         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
60010         autoconf-time if not.
60011         * configure.in: Remove AC_PREREQ.
60013 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60015         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
60016         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
60017         of the internal implementation.
60019 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
60021         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
60022         except include of <misc/sys/syslog.h>.
60024 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
60027         function returns with a NULL context exit with zero.
60029 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60031         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
60033 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
60035         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
60036         (run_program_cmd): This.
60037         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
60038         (tst_langinfo): New variable.  Use it.
60040 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
60042         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
60043         floating point opcodes.
60045 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60047         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
60048         variable.
60050         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
60052         * sysdeps/mach/hurd/powerpc: Remove directory.
60053         * sysdeps/mach/powerpc: Likewise.
60055 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60057         * scripts/check-local-headers.sh: Ignore c++ headers.
60059 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60061         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
60062         __libc_cleanup_region_start argument.
60064 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
60066         [BZ #14784]
60067         [BZ #14785]
60068         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
60069         x * y using scaling, not as x * y + z.
60070         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60071         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60072         * math/libm-test.inc (fma_test): Add more tests.
60073         (fma_test_towardzero): Likewise.
60074         (fma_test_downward): Likewise.
60075         (fma_test_upward): Likewise.
60077 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60079         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
60081 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60083         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
60084         New variable.
60086 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
60088         * rt/tst-shm.c (worker): Correct checking for mmap failure.
60090 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60093         Fix sort order.
60094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60095         Likewise.
60097 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60100         Fix the order of the list for glibc 2.17.
60101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60102         Likewise.
60104 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60108 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60110         [BZ #14610]
60111         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
60112         for low part of x being zero before using __atanl (y).
60113         * math/libm-test.inc (atan2_test): Add another test.
60115         * manual/install.texi (Configuring and compiling): Document
60116         general use of test-wrapper and test-wrapper-env.
60117         * INSTALL: Regenerated.
60119         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
60120         (__fma): Do not extract and scale down low bits on after-rounding
60121         systems when result rounded to normal precision would have normal
60122         exponent.
60123         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
60124         (__fmal): Do not extract and scale down low bits on after-rounding
60125         systems when result rounded to normal precision would have normal
60126         exponent.
60127         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
60128         (__fmal): Do not extract and scale down low bits on after-rounding
60129         systems when result rounded to normal precision would have normal
60130         exponent.
60131         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
60132         macro.
60133         (fma_test): Add more tests.
60134         (fma_test_towardzero): Likewise.
60135         (fma_test_downward): Likewise.
60136         (fma_test_upward): Likewise.
60138 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
60140         * sysdeps/i386/tininess.h: Renamed to ...
60141         * sysdeps/x86/tininess.h: This.
60142         * sysdeps/x86_64/tininess.h: Removed.
60144 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60146         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
60147         input.  Use $(build-program-cmd).
60148         ($(objpfx)tst-array1-static.out): Likewise.
60149         ($(objpfx)tst-array2.out): Likewise.
60150         ($(objpfx)tst-array3.out): Likewise.
60151         ($(objpfx)tst-array4.out): Likewise.
60152         ($(objpfx)tst-array5.out): Likewise.
60153         ($(objpfx)tst-array5-static.out): Likewise.
60155 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
60157         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
60158         if defined.
60160         * nss/nsswitch.h (nss_interface_function): Provide new
60161         macro for use with NSS functions.
60162         * grp/initgroups.c: Use new macro.
60163         * nss/getXXbyYY.c: Likewise.
60164         * nss/getXXbyYY_r.c: Likewise.
60165         * nss/getXXent.c: Likewise.
60166         * nss/getXXent_r.c: Likewise.
60167         * sysdeps/posix/getaddrinfo.c: Likewise.
60169 2012-10-30  Andreas Jaeger  <aj@suse.de>
60171         * po/ru.po: Update Russion translation from translation project.
60173 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60175         [BZ #14152]
60176         [BZ #14783]
60177         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
60178         result and shift together with sticky bit instead of replicating
60179         round-to-nearest rounding.
60180         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60181         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60182         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
60183         missing underflow exceptions.
60184         (fma_test_towardzero): Add more tests.
60185         (fma_test_downward): Likewise.
60186         (fma_test_upward): Likewise.
60188         [BZ #14047]
60189         * sysdeps/generic/tininess.h: New file.
60190         * sysdeps/i386/tininess.h: Likewise.
60191         * sysdeps/sh/tininess.h: Likewise.
60192         * sysdeps/x86_64/tininess.h: Likewise.
60193         * stdlib/tst-strtod-underflow.c: Likewise.
60194         * stdlib/tst-tininess.c: Likewise.
60195         * stdlib/strtod_l.c: Include <tininess.h>.
60196         (round_and_return): Do not set errno for exact underflow cases.
60197         Force an underflow exception when setting errno for underflow.
60198         Determine underflow based on rounding to normal precision if
60199         TININESS_AFTER_ROUNDING.
60200         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
60201         ERANGE for exact underflow cases.
60202         * stdlib/Makefile (tests): Add tst-tininess and
60203         tst-strtod-underflow.
60204         ($(objpfx)tst-tininess): Use $(link-libm).
60205         ($(objpfx)tst-strtod-underflow): Likewise.
60207 2012-10-30  Andreas Jaeger  <aj@suse.de>
60209         [BZ#14767]
60210         * elf/Makefile (tests): Remove conditional for have-initfini-array
60211         since this is now always required and the variable does not exist
60212         anymore.
60213         (tests-static): Likewise.
60214         (modules-names): Likewise.
60216         * po/eo.po: Add Esperanto translation from translation project.
60218         * elf/tst-array1.c (fini_array): Make writeable so that it can be
60219         merged with constructor/destructor.
60220         (init_array): Likewise.
60221         * elf/tst-array2dep.c (fini_array): Likewise.
60222         (init_array): Likewise.
60224 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
60226         * manual/message.texi: Delete @cartouche tags.
60228 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
60230         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
60231         EOPNOTSUPP.
60232         * sysdeps/mach/hurd/fsync.c: Likewise.
60234         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
60235         [_POSIX_REALTIME_SIGNALS]: Change condition to
60236         [_POSIX_REALTIME_SIGNALS > 0].
60238 2012-10-27  Andreas Jaeger  <aj@suse.de>
60240         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
60241         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
60242         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
60243         [__WORDSIZE != 64]: Likewise.
60245 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
60247         *  iconvdata/tst-table.sh: Remove ${SHELL}.
60248         *  iconvdata/tst-tables.sh: Likewise.
60250 2012-10-25  David S. Miller  <davem@davemloft.net>
60252         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60253         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
60254         of strtoull.
60256         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
60257         ifunc-impl-list.c
60258         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60259         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
60260         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
60261         file.
60263 2012-10-25  Roland McGrath  <roland@hack.frob.com>
60265         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60266         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
60267         __getdirentries.
60269 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60270             Jim Blandy  <jimb@codesourcery.com>
60272         * scripts/cross-test-ssh.sh: New file.
60273         * manual/install.texi (Configuring and compiling): Document use of
60274         cross-test-ssh.sh.
60275         * INSTALL: Regenerated.
60277 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
60279         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
60280         EOPNOTSUPP.
60282 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60284         * Makeconfig (run-program-prefix): Fix comment.
60286 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60287             Jim Blandy  <jimb@codesourcery.com>
60289         * Makeconfig (test-wrapper): New variable,
60290         (test-wrapper-env): Likewise.
60291         [$(cross-compiling) = yes && $(test-wrapper) != ""]
60292         (run-built-tests): Define to yes.
60293         (run-program-prefix): Use $(test-wrapper).
60294         (built-program-cmd): Likewise.
60295         * Rules (make-test-out): Use $(test-wrapper-env) and
60296         $(host-built-program-cmd).
60297         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
60298         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
60299         tst-pathopt.sh.
60300         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
60301         $(test-wrapper-env) to tst-rtld-load-self.sh.
60302         ($(objpfx)order2.out): Use $(test-wrapper).
60303         ($(objpfx)tst-initorder.out): Likewise.
60304         ($(objpfx)tst-initorder2.out): Likewise.
60305         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
60306         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
60307         (test_wrapper_env): New variable.  Use it to run ld.so.
60308         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
60309         Use it to run ld.so.
60310         (test_wrapper_env): Likewise.
60311         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
60312         $(test-wrapper) to run-iconv-test.sh.
60313         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
60314         (ICONV): Use $test_wrapper.
60315         * posix/Makefile ($(objpfx)globtest.out): Pass
60316         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
60317         globtest.sh, not $(run-program-prefix).
60318         * posix/globtest.sh (run_via_rtld_prefix): New variable.
60319         (test_wrapper): Likewise.
60320         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
60321         set together with run_via_rtld_prefix.
60322         (run_program_prefix): Define in terms of test_wrapper and
60323         run_via_rtld_prefix.
60325 2012-10-24  Roland McGrath  <roland@hack.frob.com>
60327         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
60328         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
60329         Targets removed.
60331         [BZ #14743]
60332         * include/time.h: Remove librt_hidden_proto (clock_gettime).
60333         Declare __clock_getres, __clock_gettime, __clock_settime,
60334         __clock_nanosleep, and __clock_getcpuclockid.
60335         * rt/clock_gettime.c: Define __clock_gettime as an alias.
60336         Remove librt_hidden_def (clock_gettime).
60337         * sysdeps/unix/clock_gettime.c: Likewise.
60338         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
60339         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
60340         * rt/clock_getres.c: Define __clock_getres as an alias.
60341         * sysdeps/posix/clock_getres.c: Likewise.
60342         * rt/clock_settime.c: Define __clock_settime as an alias.
60343         * sysdeps/unix/clock_settime.c: Likewise.
60344         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
60345         * sysdeps/unix/clock_nanosleep.c: Likewise.
60346         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
60347         * rt/clock-compat.c: New file.
60348         * rt/Makefile (librt-routines): Add clock-compat and move
60349         $(clock-routines) to ...
60350         (routines): ... here, new variable.
60351         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
60352         Don't add get_clockfreq here.
60353         * rt/Versions (libc: GLIBC_2.17): New version set.
60354         Add clock_* symbols here.
60355         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
60356         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
60357         (GLIBC_2.17): Add clock_* symbols.
60358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60359         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60360         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60362         Likewise.
60363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60364         Likewise.
60365         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60366         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60369         * NEWS: Mention the move.
60371         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
60372         Use __open, __read, __close rather than their public counterparts.
60373         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60374         (__get_clockfreq_via_cpuinfo): Likewise.
60375         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
60376         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
60378         * config.h.in (HAVE_IFUNC): New #undef.
60379         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
60380         was successful.
60381         * configure: Regenerated.
60383 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60385         * configure.in: Move READELF check to start of file.
60386         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
60387         libc_cv_asm_gnu_indirect_function in the process.
60388         * configure: Regenerated.
60390 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60392         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
60393         send the output to /dev/null.
60394         (libc_cv_cc_with_libunwind): Likewise.
60395         (libc_cv_as_noexecstack): Likewise.
60396         * configure: Regenerate.
60398 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60400         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
60402         * posix/globtest.sh (TMPDIR): Do not set.
60403         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
60404         (testout): Likewise.
60406 2012-10-24  Andreas Jaeger  <aj@suse.de>
60408         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
60409         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
60410         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
60411         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
60412         posix_fadvise64, posix_fallocate64.
60414         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
60415         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
60416         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
60417         Likewise.
60418         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
60419         Likewise.
60420         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
60422         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
60423         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
60424         <bits/fcntl-linux.h>.
60425         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
60427         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
60428         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
60429         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
60430         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
60431         [__WORDSIZE != 64]: Likewise.
60433 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60435         * Makeconfig (run-built-tests): New variable.
60436         * Rules [$(cross-compiling) = yes]: Change condition to
60437         [$(run-built-tests) = no].
60438         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
60439         to [$(run-built-tests) = yes].
60440         * elf/Makefile [$(cross-compiling) = no]: Likewise.
60441         * grp/Makefile [$(cross-compiling) = no]: Likewise.
60442         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
60443         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
60444         * intl/Makefile [$(cross-compiling) = no]: Likewise.
60445         * io/Makefile [$(cross-compiling) = no]: Likewise.
60446         * libio/Makefile [$(cross-compiling) = no]: Likewise.
60447         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
60448         * misc/Makefile [$(cross-compiling) = no]: Likewise.
60449         * posix/Makefile [$(cross-compiling) = no]: Likewise.
60450         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
60451         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
60452         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
60453         * string/Makefile [$(cross-compiling) = no]: Likewise.
60455         * posix/Makefile ($(objpfx)globtest.out): Pass
60456         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
60457         $(rtld-installed-name).
60458         * posix/globtest.sh (elf_objpfx): Remove variable.
60459         (rtld_installed_name): Likewise.
60460         (library_path): Likewise.
60461         (run_program_prefix): New variable.  Use for running globtest
60462         binary.
60464 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
60465             Joseph Myers  <joseph@codesourcery.com>
60467         * Makeconfig (host-built-program-cmd): New variable.
60468         * elf/Makefile (tst-stackguard1-ARGS): Use
60469         $(host-built-program-cmd).
60470         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
60471         (tst-spawn-ARGS): Likewise.
60472         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
60474 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60475             Jim Blandy  <jimb@codesourcery.com>
60477         * Makeconfig (run-via-rtld-prefix): New variable.
60478         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
60479         (built-program-cmd): Likewise.
60481 2012-10-22  Andreas Jaeger  <aj@suse.de>
60483         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
60484         __O_RSYNC if it exists, otherwise to O_SYNC.
60486 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
60487             Joseph Myers  <joseph@codesourcery.com>
60489         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
60490         /dev/null.
60491         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
60492         from /dev/null
60493         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
60494         /dev/null.
60496 2012-10-22  Andreas Jaeger  <aj@suse.de>
60498         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
60499         Define always.
60500         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
60502         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60503         bits/fcntl-linux.h.
60505         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
60506         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
60508         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
60509         to __O_LARGEFILE.
60510         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
60511         to __O_LARGEFILE.
60513 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
60514             Joseph Myers  <joseph@codesourcery.com>
60516         * config.make.in (NM): New variable.
60518 2012-10-21  Andreas Jaeger  <aj@suse.de>
60520         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
60521         definitions and declarations that are provided by
60522         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60524 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60526         [BZ #14683]
60527         * elf/Makefile (tests-static): Add tst-leaks1-static.
60528         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
60529         ($(objpfx)tst-leaks1-static): New rule.
60530         ($(objpfx)tst-leaks1-static-mem): Likewise.
60531         (tst-leaks1-static-ENV): New macro.
60532         * elf/dl-open.c (dl_open_worker): Check the main application
60533         only if SHARED is defined.
60534         * elf/tst-leaks1-static.c: New file.
60536 2012-10-20  Andreas Jaeger  <aj@suse.de>
60538         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
60539         generic values for Linux.
60540         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
60541         and declarations that are provided by <bits/fcntl-linux.h> and
60542         include <bits/fcntl-linux.h>.
60543         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60544         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60546 2012-10-20  Roland McGrath  <roland@hack.frob.com>
60548         * io/fcntl.h: Move include of <bits/types.h> to the top and
60549         include it unconditionally.
60551 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60553         * wcsmbs/Makefile (tests-ifunc): New variable.
60554         (tests): Add $(tests-ifunc).
60555         * wcsmbs/test-wcschr-ifunc.c: New file.
60556         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
60557         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
60558         * wcsmbs/test-wcslen-ifunc.c: Likewise.
60559         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
60560         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
60562         * string/Makefile (tests-ifunc): New variable.
60563         (tests): Add $(tests-ifunc).
60564         * string/test-memccpy.c (TEST_NAME): New macro.
60565         * string/test-memchr.c (TEST_NAME): Likewise.
60566         * string/test-memcmp.c (TEST_NAME): Likewise.
60567         * string/test-memcpy.c (TEST_NAME): Likewise.
60568         * string/test-memmem.c (TEST_NAME): Likewise.
60569         * string/test-memmove.c (TEST_NAME): Likewise.
60570         * string/test-memset.c (TEST_NAME): Likewise.
60571         * string/test-rawmemchr.c (TEST_NAME): Likewise.
60572         * string/test-stpcpy.c (TEST_NAME): Likewise.
60573         * string/test-stpncpy.c (TEST_NAME): Likewise.
60574         * string/test-strcasecmp.c (TEST_NAME): Likewise.
60575         * string/test-strcasestr.c (TEST_NAME): Likewise.
60576         * string/test-strcat.c (TEST_NAME): Likewise.
60577         * string/test-strchr.c (TEST_NAME): Likewise.
60578         * string/test-strcmp.c(TEST_NAME): Likewise.
60579         * string/test-strcpy.c (TEST_NAME): Likewise.
60580         * string/test-strcspn.c (TEST_NAME): Likewise.
60581         * string/test-strlen.c (TEST_NAME): Likewise.
60582         * string/test-strncasecmp.c (TEST_NAME): Likewise.
60583         * string/test-strncmp.c (TEST_NAME): Likewise.
60584         * string/test-strncpy.c (TEST_NAME): Likewise.
60585         * string/test-strnlen.c (TEST_NAME): Likewise.
60586         * string/test-strpbrk.c (TEST_NAME): Likewise.
60587         * string/test-strrchr.c (TEST_NAME): Likewise.
60588         * string/test-strspn.c (TEST_NAME): Likewise.
60589         * string/test-strstr.c (TEST_NAME): Likewise.
60590         * string/test-bcopy-ifunc.c: New file.
60591         * string/test-bzero-ifunc.c: Likewise.
60592         * string/test-memccpy-ifunc.c: Likewise.
60593         * string/test-memchr-ifunc.c: Likewise.
60594         * string/test-memcmp-ifunc.c: Likewise.
60595         * string/test-memcpy-ifunc.c: Likewise.
60596         * string/test-memmem-ifunc.c: Likewise.
60597         * string/test-memmove-ifunc.c: Likewise.
60598         * string/test-mempcpy-ifunc.c: Likewise.
60599         * string/test-memset-ifunc.c: Likewise.
60600         * string/test-rawmemchr-ifunc.c: Likewise.
60601         * string/test-stpcpy-ifunc.c: Likewise.
60602         * string/test-stpncpy-ifunc.c: Likewise.
60603         * string/test-strcasecmp-ifunc.c: Likewise.
60604         * string/test-strcasestr-ifunc.c: Likewise.
60605         * string/test-strcat-ifunc.c: Likewise.
60606         * string/test-strchr-ifunc.c: Likewise.
60607         * string/test-strchrnul-ifunc.c: Likewise.
60608         * string/test-strcmp-ifunc.c: Likewise.
60609         * string/test-strcpy-ifunc.c: Likewise.
60610         * string/test-strcspn-ifunc.c: Likewise.
60611         * string/test-strlen-ifunc.c: Likewise.
60612         * string/test-strncasecmp-ifunc.c: Likewise.
60613         * string/test-strncat-ifunc.c: Likewise.
60614         * string/test-strncmp-ifunc.c: Likewise.
60615         * string/test-strncpy-ifunc.c: Likewise.
60616         * string/test-strnlen-ifunc.c: Likewise.
60617         * string/test-strpbrk-ifunc.c: Likewise.
60618         * string/test-strrchr-ifunc.c: Likewise.
60619         * string/test-strspn-ifunc.c: Likewise.
60620         * string/test-strstr-ifunc.c: Likewise.
60622         * debug/Makefile (tests-ifunc): New variable.
60623         (tests): Add $(tests-ifunc).
60624         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
60625         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
60626         * debug/test-stpcpy_chk-ifunc.c: New file.
60627         * debug/test-strcpy_chk-ifunc.c: Likewise.
60629 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60631         [BZ #13601]
60632         * elf/dl-load.c (open_verify): Retry read if the entire ELF
60633         header is not read in.
60635 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
60637         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
60638         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
60639         directly.  Pass built executable to script as
60640         $(built-program-cmd).
60641         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
60642         $testprogram without using LD_LIBRARY_PATH and $ldso.
60644         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
60645         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
60646         $(rtld-installed-name).
60647         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
60648         (rtld_installed_name): Likewise.
60649         (library_path): Likewise.
60650         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
60651         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
60652         $(run-program-prefix) to tst-tables.sh.
60653         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
60654         it to run tst-table-from and tst-table-to.
60655         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
60656         Pass it to tst-table.sh.
60657         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
60658         $(run-program-prefix) to tst-gettext.sh.
60659         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
60660         tst-translit.sh.
60661         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
60662         tst-gettext2.sh.
60663         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
60664         to run tst-gettext.
60665         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
60666         to run tst-gettext2.
60667         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
60668         to run tst-translit.
60669         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
60670         $(run-program-prefix) to tst-mtrace.sh.
60671         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
60672         to run tst-mtrace.
60673         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
60674         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
60675         $(rtld-installed-name).
60676         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
60677         (rtld_installed_name): Likewise.
60678         (run_program_prefix): New variable.  Use it to run wordexp-test.
60680         * Makeconfig (ARCH): Remove all definitions.
60681         (machine): Likewise.
60682         [ARCH]: Remove conditional code.
60683         [!objdir]: Give error.
60684         [!objdir] (objpfx): Remove.
60685         [!objdir] (common-objpfx): Likewise.
60686         [!objdir] (common-objdir): Likewise.
60687         * configure.in (config_makefile): Remove.  Hardcode Makefile in
60688         AC_CONFIG_FILES call.
60689         * configure: Regenerated.
60691         [BZ #13888]
60692         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
60693         or TMPDIR.
60694         (testout): Likewise.
60696         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
60697         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
60698         $(rtld-installed-name).
60699         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
60700         (rtld_installed_name): Likwise.
60701         (runit): Remove function.
60702         (run_getconf): New variable,  Use it for running getconf binary.
60704 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
60706         [BZ #14716]
60707         * string/test-memmem.c (check_result): New function.
60708         (do_one_test): Use it.
60709         (check1): New function.
60710         (test_main): Use it.
60712 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
60714         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
60716 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
60718         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
60719         (_G_LSEEK64): Likewise.
60720         (_G_MMAP64): Likewise.
60721         (_G_FSTAT64): Likewise.
60722         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
60723         (_G_LSEEK64): Likewise.
60724         (_G_MMAP64): Likewise.
60725         (_G_FSTAT64): Likewise.
60726         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
60727         unconditional.  Call __mmap64 directly.
60728         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
60729         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
60730         __lseek64 directly.
60731         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
60732         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
60733         __mmap64 directly.
60734         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
60735         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60736         __lseek64 directly.
60737         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
60738         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60739         __lseek64 directly.
60740         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
60741         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
60742         __lseek64 directly.
60743         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
60744         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
60745         __fxstat64 directly.
60746         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
60747         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
60748         unconditional.
60749         (freopen64) [!_G_OPEN64]: Remove conditional code.
60750         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
60751         unconditional.
60752         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
60753         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
60754         unconditional.
60755         (ftello64) [!_G_LSEEK64]: Remove conditional code.
60756         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
60757         unconditional.
60758         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60759         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
60760         unconditional.
60761         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
60762         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
60763         unconditional.
60764         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60765         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
60766         unconditional.
60767         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60768         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
60769         unconditional.
60770         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60772 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60774         [BZ #12140]
60775         * manual/memory.texi (Malloc Tunable Parameters): Add note
60776         about free list pointers overwriting some perturb bytes.
60777         Wording suggested by Roland McGrath.
60779 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
60781         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
60782         (lgamma_test): Likewise.
60783         (tgamma_test): Likewise.
60785 2012-10-16  Florian Weimer  <fweimer@redhat.com>
60787         [BZ #14700]
60788         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
60789         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
60791 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
60793         * NEWS: Mention BZ #14716.
60794         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
60795         when removing AVAILABLE1_USES_J macro.
60797 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
60799         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
60800         (__bswap_64): __uint64_t for unsigned 64-bit int.
60802 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
60804         * include/string.h (memmem): Declare libc hidden alias.
60805         * string/memmem.c (memmem): Define libc hidden alias.
60806         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
60807         __read, __close instead of open, read, close.
60809 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
60811         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
60812         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
60813         global and hidden.
60814         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
60815         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
60816         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
60817         Likewise.
60818         (__rawmemchr_sse2): Likewise.
60819         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
60820         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
60821         (__strchr_sse2): Likewise.
60822         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
60823         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
60824         (__strcasecmp_sse2): Likewise.
60825         (__strncasecmp_sse2): Likewise.
60826         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
60827         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
60828         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
60829         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
60830         (__strrchr_sse2): Likewise.
60831         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
60832         ifunc-impl-list.c.
60833         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
60834         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
60835         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
60836         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60837         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
60838         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
60839         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60840         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60841         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
60842         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
60843         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
60844         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
60845         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
60846         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
60847         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
60848         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60849         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
60850         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
60851         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
60852         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
60853         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
60854         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
60855         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
60856         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60857         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
60858         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60859         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
60860         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60861         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
60862         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
60864         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
60865         global and hidden.
60866         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
60867         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
60868         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
60869         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
60870         Likewise.
60871         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
60872         Likewise.
60873         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
60874         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
60875         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
60876         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
60877         ifunc-impl-list.c.
60878         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
60879         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
60880         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
60881         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
60882         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
60883         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
60884         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
60885         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
60886         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
60887         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
60888         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
60889         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
60890         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
60891         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
60892         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
60893         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60894         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
60895         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
60896         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
60897         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
60898         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60899         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
60900         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
60901         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
60902         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60903         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
60904         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
60905         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
60906         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
60907         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
60908         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
60909         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
60910         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
60911         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
60912         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
60913         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
60914         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
60915         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
60916         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60917         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
60918         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
60920         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
60921         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
60922         * include/ifunc-impl-list.h: New file.
60923         * misc/ifunc-impl-list.c: Likewise.
60924         * misc/Makefile (routines): Add ifunc-impl-list.
60925         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
60926         * string/test-string.h: Include <ifunc-impl-list.h>.
60927         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
60928         TEST_NAME]: New variables.
60929         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
60930         are defined.
60931         (test_init): Call __libc_ifunc_impl_list to initialize
60932         func_list if TEST_IFUNC and TEST_NAME are defined.
60934         * string/Makefile (strop-tests): Add bcopy and bzero.
60935         * string/test-bcopy.c: New file.
60936         * string/test-bzero.c: Likewise.
60937         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
60938         defined.
60939         * string/test-memset.c: Support bzero test if TEST_BZERO is
60940         defined.
60941         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
60942         __libc_memmove.
60943         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
60944         __libc_memset.
60945         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
60946         of memset.
60948 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
60950         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
60951         * configure: Regenerated.
60953         * Makeconfig (+link-static-before-libc): Don't include
60954         $(link-static-libc).
60956         * libio/libio.h (_IO_pos_t): Remove.
60958 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60960         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
60961         McGrath.
60963 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60965         * crypt/crypt-entry.c: Include fips-private.h.
60966         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
60967         * crypt/md5c-test.c (main): Tolerate disabled MD5.
60968         * sysdeps/unix/sysv/linux/fips-private.h: New file.
60969         * sysdeps/generic/fips-private.h: New file, dummy fallback.
60971 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60973         * crypt/crypt-private.h: Include stdbool.h.
60974         (_ufc_setup_salt_r): Return bool.
60975         * crypt/crypt-entry.c: Include errno.h.
60976         (__crypt_r): Return NULL with EINVAL for bad salt.
60977         * crypt/crypt_util.c (bad_for_salt): New.
60978         (_ufc_setup_salt_r): Check that salt is long enough and within
60979         the specified alphabet.
60980         * crypt/badsalttest.c: New file.
60981         * crypt/Makefile (tests): Add it.
60982         ($(objpfx)badsalttest): New.
60984 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
60986         * NEWS: Add entry for BZ #14602.
60988 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60990         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
60991         type-generic.
60992         * math/libm-test.inc: Update comment listing what functions and
60993         macros are tested.
60994         (isgreater_test): New function.
60995         (isgreaterequal_test): Likewise.
60996         (isless_test): Likewise.
60997         (islessequal_test): Likewise.
60998         (islessgreater_test): Likewise.
60999         (isunordered_test): Likewise.
61000         (main): Call the new functions.
61002 2012-10-09  Roland McGrath  <roland@hack.frob.com>
61004         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
61005         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
61006         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
61007         * sysdeps/i386/configure: Regenerated.
61008         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
61009         * sysdeps/mach/configure: Regenerated.
61010         * sysdeps/mach/hurd/configure: Regenerated.
61011         * sysdeps/powerpc/configure: Regenerated.
61012         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61013         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61014         * sysdeps/s390/s390-32/configure: Regenerated.
61015         * sysdeps/s390/s390-64/configure: Regenerated.
61016         * sysdeps/sh/configure: Regenerated.
61017         * sysdeps/sparc/configure: Regenerated.
61018         * sysdeps/unix/sysv/linux/configure: Regenerated.
61019         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
61020         * sysdeps/x86_64/configure: Regenerated.
61022         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
61023         defined.  Don't check if MAP is NULL.
61025 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
61027         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
61028         (_G_stat64): Likewise.
61029         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
61030         (_G_stat64): Likewise.
61031         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
61032         instead of struct _G_stat64.
61033         * libio/fileops.c (mmap_remap_check): Likewise.
61034         (decide_maybe_mmap): Likewise.
61035         (_IO_new_file_seekoff): Likewise.
61036         (_IO_file_stat): Likewise.
61037         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
61038         _G_off64_t.
61039         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
61040         instead of struct _G_stat64.
61041         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61043 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
61045         [BZ #14602]
61046         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61047         Replace with ...
61048         (CHECK_EOL): New macro.
61049         (two_way_short_needle): Check beginning of haystack for EOL.  Use
61050         CHECK_EOL.
61051         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61052         Replace with CHECK_EOL.
61053         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61054         Replace with CHECK_EOL.
61056 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
61058         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
61059         type-generic.
61060         * math/libm-test.inc: Update comment listing what functions and
61061         macros are tested.
61062         (finite_test): New function.
61063         (isinf_test): Likewise.
61064         (isnan_test): Likewise.
61065         (fpclassify_test): Test subnormal input.
61066         (isfinite_test): Likewise.
61067         (isnormal_test): Likewise.
61068         (main): Call the new functions.
61070 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
61072         [BZ #14660]
61073         * Makerules (%.dynsym): Force C locale when running
61074         $(OBJDUMP) --dynamic-syms.
61076 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
61078         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
61079         <stdint.h>.
61081 2012-10-06  David S. Miller  <davem@davemloft.net>
61083         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
61084         upper 32-bits of the length value in %o2 since we use branch-on-register
61085         tests which consider the entire 64-bit register.
61087 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
61089         * string/test-strstr.c (check2): Add a test for page boundary.
61091 2012-10-05  David S. Miller  <davem@davemloft.net>
61093         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
61094         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
61095         file.
61096         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61097         sysdep_routines.
61098         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61099         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
61100         and bzero when HWCAP_SPARC_CRYPTO is present.
61102 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
61104         [BZ #14602]
61105         * string/test-strstr.c (check2): New function.
61106         (test_main): Call check2.
61108         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
61109         and bug-strchr1.
61110         * string/bug-strcasestr1.c (do_test): Moved to ...
61111         * string/test-strcasestr.c (check1): Here.  New function.
61112         (do_one_test): Break out result checking code into ...
61113         (check_result): This.  New function.
61114         (do_one_test): Call check_result.
61115         (test_main): Call check1.
61116         * string/bug-strchr1.c (do_test): Moved to ...
61117         * string/test-strchr.c (check1): Here.  New function.
61118         (do_one_test): Break out result checking code into ...
61119         (check_result): This.  New function.
61120         (do_one_test): Call check_result.
61121         (test_main): Call check1.
61122         * string/bug-strstr1.c (main): Moved to ...
61123         * string/test-strstr.c (check1): Here.  New function.
61124         (do_one_test): Break out result checking code into ...
61125         (check_result): This.  New function.
61126         (do_one_test): Call check_result.
61127         (test_main): Call check1.
61128         * string/bug-strcasestr1.c: Removed.
61129         * string/bug-strchr1.c: Likewise.
61130         * string/bug-strstr1.c: Likewise.
61132         * elf/Makefile (dl-routines): Add hwcaps.
61133         * elf/dl-support.c (_dl_important_hwcaps): Removed.
61134         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
61135         (_dl_important_hwcaps): Moved to ...
61136         * elf/dl-hwcaps.c: Here.  New file.
61137         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
61139         [BZ #14557]
61140         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
61141         if IS_IN_rtld isn't defined.
61143         * elf/dl-support.c (_dl_sysinfo_map): New.
61144         Include "get-dynamic-info.h" and "setup-vdso.h".
61145         (_dl_non_dynamic_init): Call setup_vdso.
61146         * elf/dynamic-link.h: Don't include <assert.h>.
61147         (elf_get_dynamic_info): Moved to ...
61148         * elf/get-dynamic-info.h: Here.  New file.
61149         * elf/dynamic-link.h: Include "get-dynamic-info.h".
61150         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
61151         * elf/setup-vdso.h: Here.  New file.
61152         * elf/rtld.c: Include "setup-vdso.h".
61153         (dl_main): Call setup_vdso.
61155 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
61157         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
61158         creal in comment listing functions tested.  List finite, isinf,
61159         isnan, isless, islessequal, isgreater, isgreaterequal,
61160         islessgreater, isunordered, lgamma_r and pow10 as functions and
61161         macros not tested.  Mention which functions not tested are aliases
61162         for other functions.  Fix typo.  Note that signs of NaNs are not
61163         tested.
61165         * scripts/config.guess: Update from config.git.
61166         * scripts/config.sub: Likewise.
61168 2012-10-04  Roland McGrath  <roland@hack.frob.com>
61170         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
61171         * misc/madvise.c (madvise): Renamed to __madvise.
61172         Make madvise a weak alias.
61173         * include/sys/mman.h: Declare __madvise.
61174         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
61175         * sysdeps/unix/syscalls.list
61176         (madvise): Make __madvise the strong name, and madvise a weak alias.
61177         * sysdeps/unix/sysv/linux/syscalls.list
61178         (madvise, mmap): Remove redundant entries.
61179         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
61180         * malloc/malloc.c (mtrim): Likewise.
61181         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
61183 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61185         * sysdeps/mach/hurd/dl-cache.c: File removed.
61186         * config.h.in (USE_LDCONFIG): New #undef.
61187         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
61188         * configure: Regenerated.
61189         * elf/Makefile (dl-routines): Add dl-cache only under
61190         [$(use-ldconfig) = yes].
61191         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
61192         cache on [USE_LDCONFIG].
61193         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
61194         [USE_LDCONFIG].
61195         * elf/rtld.c (dl_main): Likewise.
61197 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
61199         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
61200         _SC_LEVEL4_CACHE_LINESIZE.
61202 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61204         * sysdeps/unix/bsd/confstr.h: File removed.
61206 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
61208         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
61209         sys/sdt-config.h.
61211 2012-10-02  Roland McGrath  <roland@hack.frob.com>
61213         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
61214         Make 'mapoff' field ElfW(Off) rather than off_t.
61216 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
61218         * nscd/Makefile: Remove nscd-cflags and all its users.
61219         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
61220         (CFLAGS-nonlib): Add compiler flags for nscd modules.
61222         [BZ #10631]
61223         * malloc.c (malloc_printerr): Clarify error message.
61225 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
61227         [BZ #14648]
61228         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61229         Set bit_FMA_Usable if FMA is supported.
61230         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
61231         macro.
61232         (bit_FMA4_Usable): Updated.
61233         (index_FMA_Usable): New macro.
61234         (CPUID_FMA): Likewise.
61235         (HAS_FMA): Defined with bit_FMA_Usable.
61237 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61239         * bits/types.h (__swblk_t): Type removed.
61240         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
61241         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
61242         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61243         (__SWBLK_T_TYPE): Likewise.
61244         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61245         (__SWBLK_T_TYPE): Likewise.
61246         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61247         (__SWBLK_T_TYPE): Likewise.
61248         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61249         (__SWBLK_T_TYPE): Likewise.
61251 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
61252             Honza Horak <hhorak@redhat.com>
61254         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
61255         (xdr_mapname): Use YPMAXMAP as maxsize.
61256         (xdr_peername): Use YPMAXPEER as maxsize.
61257         (xdr_keydat): Use YPAXRECORD as maxsize.
61258         (xdr_valdat): Use YPMAXRECORD as maxsize.
61260 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61262         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
61264         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
61265         * csu/init-first.c: ... here.
61266         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
61267         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
61268         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
61269         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
61270         * sysdeps/i386/init-first.c: File removed.
61271         * sysdeps/sh/init-first.c: File removed.
61273 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
61275         [BZ #14645]
61276         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
61277         if x * y might underflow to zero and z is zero.
61278         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61279         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61280         * math/libm-test.inc (min_subnorm_value): New variable.
61281         (fma_test): Add more tests.
61282         (fma_test_towardzero): Likewise.
61283         (fma_test_downward): Likewise.
61284         (fma_test_upward): Likewise.
61285         (initialize): Set min_subnorm_value.
61287 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
61289         [BZ #14638]
61290         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
61291         0 + 0.
61292         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
61293         mode for addition resulting in exact zero.
61294         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
61295         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
61296         exact 0 + 0.
61297         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61298         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61299         * math/libm-test.inc (fma_test): Add more tests.
61300         (fma_test_towardzero): New function.
61301         (fma_test_downward): Likewise.
61302         (fma_test_upward): Likewise.
61303         (main): Call the new functions.
61305 2012-09-28  David S. Miller  <davem@davemloft.net>
61307         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
61309 2012-09-28  Roland McGrath  <roland@hack.frob.com>
61311         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
61312         instead of SIGALRM.
61314         * sysdeps/gnu/_G_config.h: Moved to ...
61315         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
61316         * sysdeps/mach/hurd/_G_config.h: Moved to ...
61317         * sysdeps/generic/_G_config.h: ... here.
61319         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
61321         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
61323         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
61324         Conditionalize target on [libnss_test1.so-version].
61326         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
61328         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
61329         (elfobjdir): Move out of conditionals.
61331         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
61332         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
61333         (__nss_lookup_function): Conditionalize label remove_from_tree on
61334         [!DO_STATIC_NSS || SHARED], matching its only use.
61336 2012-09-28  David S. Miller  <davem@davemloft.net>
61338         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
61339         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
61340         file.
61341         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61342         sysdep_routines.
61343         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61344         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
61345         when HWCAP_SPARC_CRYPTO is present.
61347 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61349         * io/tst-mknodat.c: Create a FIFO instead of a socket.
61351 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
61353         [BZ #6530]
61354         * stdio-common/vfprintf.c (process_string_arg): Revert
61355         2000-07-22 change.
61357 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
61359         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
61360         for testcase.
61361         * stdio-common/tst-sprintf.c: Include <locale.h>
61362         (main): Test sprintf's handling of incomplete multibyte
61363         characters.
61365 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
61367         * elf/dl-runtime.c (VERSYMIDX): Removed.
61368         * elf/dl-version.c (VERSYMIDX): Likewise.
61369         * elf/do-rel.h (VERSYMIDX): Likewise.
61370         (VALIDX): Likewise.
61371         * elf/dynamic-link.h (VERSYMIDX): Likewise.
61372         * elf/rtld.c (VALIDX): Likewise.
61373         (ADDRIDX): Likewise.
61374         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
61375         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
61376         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
61377         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
61378         (VALIDX): Likewise.
61379         (ADDRIDX): Likewise.
61381 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61383         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
61385 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
61387         [BZ #11438]
61388         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
61389         to global scope.
61390         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
61391         addresses are in the same scope as 192.0.2/24.
61392         * posix/gai.conf: Document new scope table defaults.
61394 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61396         [BZ #5298]
61397         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
61398         for ftell.  Compute offsets from write pointers instead.
61399         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61401 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61403         [BZ #14543]
61404         * libio/Makefile (tests): New test case tst-fseek.
61405         * libio/tst-fseek.c: New test case to verify that fseek/ftell
61406         combination works in wide mode.
61407         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
61408         state when the external buffer state changes.
61410 2012-09-27  David S. Miller  <davem@davemloft.net>
61412         [BZ #14376]
61413         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
61414         pass reloc->r_addend in as the 'high' argument to
61415         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
61417         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61419 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61421         * rt/tst-aio2.c: Include <pthread.h>.
61422         * rt/tst-aio3.c: Likewise.
61424 2012-09-27  Steve Ellcey  <sellcey@mips.com>
61426         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
61428 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
61430         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
61431         contents on [SHARED].
61433 2012-09-26  Marek Polacek  <polacek@redhat.com>
61435         [BZ #14530]
61436         [BZ #13741]
61437         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
61438         for C++ and GCC <4.3 as well as for non GCC compilers.
61440 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61442         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61444 2012-09-25  Roland McGrath  <roland@hack.frob.com>
61446         * Makefile.in (all, install): Declare with .PHONY.
61447         Reported by Michael Hope <michael.hope@linaro.org>.
61449 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61451         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
61452         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
61453         system header.
61454         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
61455         Likewise.
61456         (sydep_routines): Add the new and the internal functions.
61457         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
61458         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
61459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
61460         (GLIBC_2.17): Add the new function.
61461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61462         (GLIBC_2.17): Likewise.
61463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
61464         (GLIBC_2.17): Likewise.
61465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
61466         (GLIBC_2.17): Likewise.
61467         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
61469 2012-09-25  Alan Modra  <amodra@gmail.com>
61471         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
61472         Add release barrier before setting once_control to say
61473         initialisation is done.  Add hints on lwarx.  Use macro in
61474         place of isync.
61475         (clear_once_control): Add release barrier.
61477 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61479         [BZ #13629]
61480         * math/s_clog.c (__clog): Handle more values close to |z| = 1
61481         specially.
61482         * math/s_clog10.c (__clog10): Likewise.
61483         * math/s_clog10f.c (__clog10f): Likewise.
61484         * math/s_clog10l.c (__clog10l): Likewise.
61485         * math/s_clogf.c (__clogf): Likewise.
61486         * math/s_clogl.c (__clogl): Likewise.
61487         * math/Makefile (libm-calls): Add x2y2m1.
61488         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
61489         (__x2y2m1): Likewise.
61490         (__x2y2m1l): Likewise.
61491         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
61492         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
61493         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
61494         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61495         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
61496         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
61497         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
61498         * sysdeps/i386/fpu/libm-test-ulps: Update.
61499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61501         [BZ #14621]
61502         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
61503         int as type of variable DEPTH.
61504         (glob): Use size_t instead of int as type of variables NEWCOUNT
61505         and OLD_PATHC.
61507 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61509         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61510         Add s_sincosf-sse2.
61511         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
61512         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
61513         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
61514         macros for using routine as __sincosf_ia32.
61515         Use macro for function declaration and weak_alias.
61516         * sysdeps/i386/fpu/libm-test-ulps: Update.
61518         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
61519         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61521         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
61522         subnormal argument.
61523         * math/s_cexpf.c (__cexpf): Likewise.
61524         * math/s_csinf.c (__csinf): Likewise.
61525         * math/s_csinhf.c (__csinhf): Likewise.
61526         * math/s_ctanf.c (__ctanf): Likewise.
61527         * math/s_ctanhf.c (__ctanhf): Likewise.
61528         * math/s_ccosh.c (__ccoshf): Likewise.
61529         * math/s_cexp.c (__cexpl): Likewise.
61530         * math/s_csin.c (__csin): Likewise.
61531         * math/s_csinh.c (__csinh): Likewise.
61532         * math/s_ctan.c (__ctan): Likewise.
61533         * math/s_ctanh.c (ctanh): Likewise.
61534         * math/s_ccoshl.c (__ccoshl): Likewise.
61535         * math/s_cexpl.c (__cexpl): Likewise.
61536         * math/s_csinl.c (__csinl): Likewise.
61537         * math/s_csinhl.c (__csinhl): Likewise.
61538         * math/s_ctanl.c (__ctanl): Likewise.
61539         * math/s_ctanhl.c (__ctanhl): Likewise.
61541 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61543         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
61544         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
61545         (_IO_off_t): Define to __off_t, not _G_off_t.
61546         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
61547         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
61548         (_IO_wint_t): Define to wint_t, not _G_wint_t.
61549         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
61550         type of __dummy and __dummy2 fields.
61551         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
61552         (_G_ssize_t): Likewise.
61553         (_G_off_t): Likewise.
61554         (_G_pid_t): Likewise.
61555         (_G_uid_t): Likewise.
61556         (_G_wchar_t): Likewise.
61557         (_G_wint_t): Likewise.
61558         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
61559         (_G_ssize_t): Likewise.
61560         (_G_off_t): Likewise.
61561         (_G_pid_t): Likewise.
61562         (_G_uid_t): Likewise.
61563         (_G_wchar_t): Likewise.
61564         (_G_wint_t): Likewise.
61565         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
61566         (_G_ssize_t): Likewise.
61567         (_G_off_t): Likewise.
61568         (_G_pid_t): Likewise.
61569         (_G_uid_t): Likewise.
61570         (_G_wchar_t): Likewise.
61571         (_G_wint_t): Likewise.
61573 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61575         * malloc/arena.c: Include malloc-sysdep.h.
61576         (shrink_heap): Use check_may_shrink_heap to decide if madvise
61577         is sufficient to shrink the heap or an unmap is needed.
61578         * sysdeps/generic/malloc-sysdep.h: New file.  Define
61579         new function check_may_shrink_heap.
61580         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
61581         new function check_may_shrink_heap.
61583 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61585         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
61586         comments.
61588 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
61590         * catgets/test-gencat.sh: Add "set -e".
61591         * elf/tst-pathopt.sh: Likewise.
61592         * grp/tst_fgetgrent.sh: Likewise.
61593         * iconvdata/run-iconv-test.sh: Likewise.
61594         * intl/tst-gettext.sh: Likewise.
61595         * intl/tst-gettext2.sh: Likewise.
61596         * intl/tst-gettext4.sh: Likewise.
61597         * intl/tst-gettext6.sh: Likewise.
61598         * intl/tst-translit.sh: Likewise.
61599         * io/ftwtest-sh: Likewise.
61600         * libio/test-freopen.sh: Likewise.
61601         * malloc/tst-mtrace.sh: Likewise.
61602         * posix/globtest.sh: Likewise.
61603         * posix/tst-getconf.sh: Likewise.
61604         * posix/wordexp-tst.sh: Likewise.
61605         * stdio-common/tst-printf.sh: Likewise.
61606         * stdio-common/tst-unbputc.sh: Likewise.
61607         * stdlib/tst-fmtmsg.sh: Likewise.
61608         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61609         * catgets/Makefile: Do not specify -e option when running
61610         testsuite shell scripts.
61611         * elf/Makefile: Likewise.
61612         * grp/Makefile: Likewise.
61613         * iconvdata/Makefile: Likewise.
61614         * intl/Makefile: Likewise.
61615         * io/Makefile: Likewise.
61616         * libio/Makefile: Likewise.
61617         * malloc/Makefile: Likewise.
61618         * posix/Makefile: Likewise.
61619         * stdio-common/Makefile: Likewise.
61620         * stdlib/Makefile: Likewise.
61621         * sysdeps/x86_64/Makefile: Likewise.
61623         * io/ftwtest-sh: Add copyright header.
61624         * posix/globtest.sh: Likewise.
61625         * posix/tst-getconf.sh: Likewise.
61626         * posix/wordexp-tst.sh: Likewise.
61627         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61629 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
61631         [BZ #13679]
61632         * Makeconfig (+link): Defined as $(+link-static) if
61633         $(build-shared) isn't yes.
61634         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
61635         isn't yes.
61636         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
61638         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
61640         [BZ #14562]
61641         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
61642         new chunk size with MALLOC_ALIGN_MASK.
61644 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
61646         [BZ #5044]
61647         * stdio-common/printf_fphex.c: Include <stdbool.h> and
61648         <rounding-mode.h>.
61649         (__printf_fphex): Determine rounding using get_rounding_mode and
61650         round_away.
61651         * stdio-common/tst-printf-round.c (struct hex_test): New
61652         structure.
61653         (hex_tests): New variable.
61654         (test_hex_in_one_mode): New function.
61655         (do_test): Also run tests for hex float output.
61657 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
61659         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61660         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61661         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
61662         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61663         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61664         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
61665         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61666         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61668 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
61670         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
61671         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
61672         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
61673         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
61675 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
61677         [BZ #14579]
61678         * elf/rtld.c (dl_main): Limit the check for self loading to normal
61679         mode only.
61680         * elf/tst-rtld-load-self.sh: New test.
61681         * elf/Makefile: Run it.
61683 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
61685         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
61686         (tst-writev-ENV): Remove.
61687         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
61689 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
61691         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
61693 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
61695         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
61696         unconditional.
61697         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
61698         Likewise.
61699         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
61700         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
61701         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
61702         Likewise.
61704 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
61706         [BZ #14587]
61707         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
61708         * config.make.in (have-cpp-asm-debuginfo): Removed.
61709         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
61710         * configure: Regenerated.
61712 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
61714         [BZ #5044]
61715         * stdio-common/printf_fp.c: Include <stdbool.h> and
61716         <rounding-mode.h>.
61717         (___printf_fp): Determine rounding using get_rounding_mode and
61718         round_away.
61719         * stdio-common/tst-printf-round.c: New file.
61720         * stdio-common/Makefile (tests): Add tst-printf-round.
61721         (link-libm): New variable.
61722         ($(objpfx)tst-printf-round): Depend in $(link-libm).
61724 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
61726         [BZ #14576]
61727         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
61728         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
61729         Likewise.
61730         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
61731         Likewise.
61733 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
61735         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
61736         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61737         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61738         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61740 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
61742         [BZ #14518]
61743         * include/rounding-mode.h: New file.
61744         * sysdeps/generic/get-rounding-mode.h: Likewise.
61745         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
61746         * stdlib/strtod_l.c: Include <rounding-mode.h>.
61747         (MAX_VALUE): New macro.
61748         (MIN_VALUE): Likewise.
61749         (overflow_value): New function.
61750         (underflow_value): Likewise.
61751         (round_and_return): Use overflow_value and underflow_value to
61752         determine return values in overflow and underflow cases.  Use
61753         round_away to determine rounding depending on rounding mode.
61754         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
61755         determine return values in overflow and underflow cases.
61756         * stdlib/tst-strtod-round.c: Include <fenv.h>.
61757         (struct test_results): New structure.
61758         (struct test): Use struct test_results to store expected results
61759         for all rounding modes.
61760         (TEST): Include expected results for all rounding modes.
61761         (test_in_one_mode): New function.
61762         (do_test): Use test_in_one_mode to compute and check results.
61763         Check results for all rounding modes.
61764         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
61765         $(link-libm).
61767 2012-12-09  Allan McRae  <allan@archlinux.org>
61769         * sysdeps/i386/fpu/libm-test-ulps: Update
61771 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
61773         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
61774         (_G_int32_t): Likewise.
61775         (_G_uint16_t): Likewise.
61776         (_G_uint32_t): Likewise.
61777         (_G_HAVE_BOOL): Likewise.
61778         (_G_HAVE_ATEXIT): Likewise.
61779         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61780         (_G_HAVE_IO_FILE_OPEN): Likewise.
61781         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
61782         (_G_int32_t): Likewise.
61783         (_G_uint16_t): Likewise.
61784         (_G_uint32_t): Likewise.
61785         (_G_HAVE_BOOL): Likewise.
61786         (_G_HAVE_ATEXIT): Likewise.
61787         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61788         (_G_HAVE_IO_FILE_OPEN): Likewise.
61789         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
61790         (_G_int32_t): Likewise.
61791         (_G_uint16_t): Likewise.
61792         (_G_uint32_t): Likewise.
61793         (_G_HAVE_BOOL): Likewise.
61794         (_G_HAVE_ATEXIT): Likewise.
61795         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61796         (_G_HAVE_IO_FILE_OPEN): Likewise.
61798 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
61800         * csu/libc-tls.c: Update copyright years.
61802 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
61804         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
61805         [!_G_USING_THUNKS]: Remove conditional code.
61806         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
61807         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
61809         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
61810         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
61811         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61812         (_G_VTABLE_LABEL_PREFIX): Likewise.
61813         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61814         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61815         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61816         (_G_VTABLE_LABEL_PREFIX): Likewise.
61817         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61818         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61819         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61820         (_G_VTABLE_LABEL_PREFIX): Likewise.
61821         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61823 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
61825         * libio/Makefile: Include ../Makeconfig before tests.
61826         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
61827         only if $(build-shared) is yes.
61829         * iconv/gconv_db.c: Update copyright years.
61831 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61833         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
61834         unwind info if defined PIC. Fix special cases description.
61835         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
61837         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
61838         DP_HI_MASK entry.
61839         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
61841 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
61843         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
61845         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
61846         is NULL.
61848         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
61849         (LDLIBS-tst-chk4): This.
61850         (LDFLAGS-tst-chk5): Renamed to ...
61851         (LDLIBS-tst-chk5): This.
61852         (LDFLAGS-tst-chk6): Renamed to ...
61853         (LDLIBS-tst-chk6): This.
61854         (LDFLAGS-tst-lfschk4): Renamed to ...
61855         (LDLIBS-tst-lfschk4): This.
61856         (LDFLAGS-tst-lfschk5): Renamed to ...
61857         (LDLIBS-tst-lfschk5): This.
61858         (LDFLAGS-tst-lfschk6): Renamed to ...
61859         (LDLIBS-tst-lfschk6): This.
61861         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
61862         on $(common-objpfx)soversions.mk.
61864 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
61866         [BZ #10014]
61867         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
61868         example host name.
61870 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61872         * malloc/arena.c (arena_get_retry): New function that gets
61873         another arena for the caller to try its request on.
61874         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
61875         current arena cannot fulfill the request.
61876         (__libc_memalign): Likewise.
61877         (__libc_memalign): Likewise.
61878         (__libc_pvalloc): Likewise.
61879         (__libc_calloc): Likewise.
61881 2012-09-05  John Tobey  <john.tobey@gmail.com>
61883         [BZ #13542]
61884         * manual/arith.texi (Operations on Complex): Fix description
61885         of carg branch cut.
61887 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61889         [BZ #10014]
61890         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
61891         host name.
61893         [BZ #10038]
61894         * manual/memory.texi (Memory): Make order of menu items match
61895         order of sections.
61897 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61899         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
61900         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
61901         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
61903 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61905         * csu/libc-tls.c (static_dtv): Renamed to ...
61906         (_dl_static_dtv): This.  Make it global.
61907         (_dl_initial_dtv): Removed.
61908         (__libc_setup_tls): Updated.
61909         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
61910         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
61911         DL_INITIAL_DTV.
61913 2012-09-06  Petr Machata  <pmachata@redhat.com>
61915         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
61916         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
61917         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
61918         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
61920 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61922         [BZ #14545]
61923         * csu/libc-tls.c (_dl_initial_dtv): New variable.
61924         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
61925         freeing dtv[-1].
61927 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61929         [BZ #14544]
61930         * Makeconfig (link-static-before-libc): Replace $(+prector)
61931         with $(+prectorT).
61932         (link-static-after-libc): Replace $(+postctor) with
61933         $(+postctorT).
61934         (link-bounded): Replace $(+prector)/$(+postctor) with
61935         $(+prectorT)/$(+postctorT).
61936         (+prectorT): New macro.
61937         (+postctorT): Likewise.
61939 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61941         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
61942         (round_str): Handle values above the maximum for IBM long double
61943         as inexact.
61944         * stdlib/tst-strtod-round.c (tests): Regenerated.
61946 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61948         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
61949         assembler flag.
61950         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
61951         zarch_nohighgprs around the zarch optimized routines.
61952         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
61953         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
61954         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
61955         for zarch.
61957 2012-09-05  David S. Miller  <davem@davemloft.net>
61959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61961         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
61962         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
61963         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
61964         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61965         entries.
61967 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61969         * malloc/arena.c: Fold copyright years.
61970         * malloc/mcheck.c, malloc/memusage.c: Likewise.
61972 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61974         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
61976 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61978         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
61980 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61982         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
61983         change internal state upon failure.
61985 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61987         * malloc/mcheck.c (mcheck_check_all): Fix typo.
61988         * malloc/memusage.c (mmap): Likewise.
61989         (mmap64, mremap): Likewise.  Adjust name in comment.
61991 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61993         * libio/fileops.c: Fix typos in comments.
61994         * libio/oldfileops.c: Likewise.
61995         * libio/wfileops.c: Likewise.
61997 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61999         [BZ #1349]
62000         * malloc/Makefile (tests): Add tst-malloc-usable test case.
62001         (tst-malloc-usable-ENV): Set environment for test case.
62002         * malloc/hooks.c (malloc_check_get_size): New function to get
62003         requested size.
62004         * malloc/malloc.c (musable): Use malloc_check_get_size.
62005         * malloc/tst-malloc-usable.c: New test case.
62007 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62009         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
62011 2012-09-05  Allan McRae  <allan@archlinux.org>
62013         [BZ #13966]
62014         * configure.in (CXX_SYSINCLUDES): Use compiler output to
62015         determine header location.
62016         * configure: Regenerated.
62018 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62020         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
62021         float format.
62022         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
62023         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
62024         format.
62025         (test): Regenerate.
62027 2012-09-04  David S. Miller  <davem@davemloft.net>
62029         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
62030         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
62031         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
62033 2012-09-04  Florian Weimer  <fweimer@redhat.com>
62035         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
62036         failures.
62038         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
62040 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
62042         [BZ #9914]
62043         * libio/iogetdelim.c: Include <limits.h>.
62044         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
62045         + len + 1 would overflow.
62047 2012-09-03  Andreas Jaeger  <aj@suse.de>
62049         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62050         * sysdeps/i386/fpu/libm-test-ulps: Update.
62052 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62054         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
62055         Add s_sinf-sse2, s_conf-sse2.
62057         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
62058         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
62059         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
62060         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
62062         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
62063         for using routine as __sinf_ia32.
62064         Use macro for function declaration and weak_alias.
62065         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
62066         for using routine as __cosf_ia32.
62067         Use macro for function declaration and weak_alias.
62069         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
62070         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
62072         * sysdeps/x86_64/fpu/s_sinf.S: New file.
62073         * sysdeps/x86_64/fpu/s_cosf.S: New file.
62074         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62076         * math/libm-test.inc (cos_test): Add more test cases.
62077         (sin_test): Likewise.
62078         (sincos_test): Likewise.
62080 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62082         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
62083         (IFUNC_RESOLVE): Make pointers to the specialized implementations
62084         hidden.
62085         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62087 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
62089         [BZ #14538]
62090         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
62091         first element of the GOT.
62092         (elf_machine_load_address): Return the difference between
62093         the runtime address of _DYNAMIC and elf_machine_dynamic ().
62095 2012-09-01  Allan McRae  <allan@archlinux.org>
62097         [BZ #13412]
62098         * configure.in (AWK): Require gawk version 3.0 or later.
62099         * configure: Regenerated.
62101 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
62103         * sysdeps/unix/sysv/linux/kernel-features.h
62104         (__ASSUME_POSIX_CPU_TIMERS): Remove.
62105         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62106         [__NR_clock_getres]: Make code unconditional.
62107         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
62108         (clock_getcpuclockid): Remove code left unreachable by removal of
62109         conditionals.
62110         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
62111         code unconditional.
62112         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62113         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62114         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
62115         Make code unconditional.
62116         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62117         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62118         * sysdeps/unix/sysv/linux/clock_settime.c
62119         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
62120         conditional code.
62121         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
62122         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62124 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
62126         [BZ #14476]
62127         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
62128         scripts/test-installation.pl.
62130         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
62131         and $ld_so_version if it is set.
62133 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62135         [BZ #14516]
62136         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
62137         failure if reading from procfs failed.
62138         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
62140 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62142         * sysdeps/unix/sysv/linux/kernel-features.h
62143         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
62144         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62145         Remove conditional code.
62146         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62147         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
62148         Remove conditional code.
62149         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62150         * sysdeps/unix/sysv/linux/i386/fxstat.c
62151         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62152         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62153         * sysdeps/unix/sysv/linux/i386/fxstatat.c
62154         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62155         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62156         * sysdeps/unix/sysv/linux/i386/lxstat.c
62157         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62158         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62159         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
62160         Remove conditional code.
62161         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62162         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62163         Remove conditional code.
62164         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62165         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
62166         <kernel-features.h>.
62167         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
62168         Remove.
62169         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
62170         Remove conditional code.
62171         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62172         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
62173         Remove conditional.
62175 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
62177         [BZ #5400]
62178         * NEWS: Add fixed bug number.
62180 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62182         [BZ #14519]
62183         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
62184         underflowing exponent in case of negative sign.
62185         * stdlib/tst-strtod-round-data: Add more tests.
62186         * stdlib/tst-strtod-round.c (tests): Regenerated.
62188         [BZ #3479]
62189         * stdlib/strtod_l.c (NDIG): Remove.
62190         (HEXNDIG): Likewise.
62191         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
62192         smallest representable value.
62193         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
62194         lie within an exact representation of 1/2 ulp of the result.
62195         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
62196         unconditionally.
62197         (TENS_P9_IDX): Define unconditionally.
62198         (TENS_P9_SIZE): Likewise.
62199         (TENS_P10_IDX): Likewise.
62200         (TENS_P10_SIZE): Likewise.
62201         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
62202         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
62203         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
62204         entries for 10^2^13 and 10^2^14.
62205         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
62206         (TENS_P13_IDX): Define.
62207         (TENS_P13_SIZE): Likewise.
62208         (TENS_P14_IDX): Likewise.
62209         (TENS_P14_SIZE): Likewise.
62210         (_fpioconst_pow10): Change array size to
62211         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
62212         unconditional.
62213         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
62214         1024]: Add entries for 10^2^13 and 10^2^14.
62215         [LAST_POW10 > _LAST_POW10]: Remove #error.
62216         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
62217         (_fpioconst_pow10): Change array size to
62218         FPIOCONST_POW10_ARRAY_SIZE.
62219         * stdlib/gen-fpioconst.c: New file.
62220         * stdlib/gen-tst-strtod-round.c: Likewise.
62221         * stdlib/tst-strtod-round-data: Likewise.
62222         * stdlib/tst-strtod-round.c: Likewise.
62223         * stdlib/Makefile (tests): Add tst-strtod-round.
62225         [BZ #14459]
62226         * stdlib/strtod_l.c: Include <stdint.h>.
62227         (NDEBUG): Do not define.
62228         (round_and_return): Change EXPONENT parameter to type intmax_t.
62229         Rearrange calculations to avoid internal overflow possibilities.
62230         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
62231         Rearrange calculations to avoid internal overflow possibilities.
62232         Assert that number fits inside MPNSIZE limbs.
62233         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
62234         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
62235         calculations and add assertions to avoid internal overflow
62236         possibilities.  Add casts to avoid signed/unsigned operations.
62237         * stdlib/tst-strtod-overflow.c: New file.
62238         * stdlib/Makefile (tests): Add tst-strtod-overflow.
62240 2012-08-25  Marek Polacek  <polacek@redhat.com>
62242         * time/time.h: Fix some typos in comments.
62244 2012-08-23  Roland McGrath  <roland@hack.frob.com>
62246         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
62247         * posix/tst-rfc3484-2.c: Likewise.
62248         * posix/tst-rfc3484-3.c: Likewise.
62250 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
62252         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
62253         (EF_ARM_ABI_FLOAT_HARD): Likewise.
62255 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
62257         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
62258         #include of fxstatat64.c.
62260 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62262         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
62263         * shadow/getspent_r.c: Likewise.
62264         * shadow/getspnam.c: Likewise.
62265         * shadow/getspnam_r.c: Likewise.
62266         * gshadow/getsgent.c: Likewise.
62267         * gshadow/getsgent_r.c: Likewise.
62268         * gshadow/getsgnam.c: Likewise.
62269         * gshadow/getsgnam_r.c: Likewise.
62270         * inet/getnetbyad.c: Likewise.
62271         * inet/getnetbyad_r.c: Likewise.
62272         * inet/getnetbynm.c: Likewise.
62273         * inet/getnetbynm_r.c: Likewise.
62274         * inet/getnetent.c: Likewise.
62275         * inet/getnetent_r.c: Likewise.
62276         * inet/getproto.c: Likewise.
62277         * inet/getproto_r.c: Likewise.
62278         * inet/getprtent.c: Likewise.
62279         * inet/getprtent_r.c: Likewise.
62280         * inet/getprtname.c: Likewise.
62281         * inet/getprtname_r.c: Likewise.
62282         * inet/getrpcbyname.c: Likewise.
62283         * inet/getrpcbyname_r.c: Likewise.
62284         * inet/getrpcbynumber.c: Likewise.
62285         * inet/getrpcbynumber_r.c: Likewise.
62286         * inet/getrpcent.c: Likewise.
62287         * inet/getrpcent_r.c: Likewise.
62288         * inet/getaliasent.c: Likewise.
62289         * inet/getaliasent_r.c: Likewise.
62290         * inet/getaliasname.c: Likewise.
62291         * inet/getaliasname_r.c: Likewise.
62292         * nscd/getgrgid_r.c: Likewise.
62293         * nscd/getgrnam_r.c: Likewise.
62294         * nscd/gethstbyad_r.c: Likewise.
62295         * nscd/gethstbynm3_r.c: Likewise.
62296         * nscd/getpwnam_r.c: Likewise.
62297         * nscd/getpwuid_r.c: Likewise.
62298         * nscd/getsrvbynm_r.c: Likewise.
62299         * nscd/getsrvbypt_r.c: Likewise.
62300         * nscd/gai.c: Likewise.
62302         * configure.in (build_nscd): New substituted variable, set
62303         by --disable-build-nscd and defaults to $use_nscd.
62304         * configure: Regenerated.
62305         * config.make.in (build-nscd): New substituted variable.
62306         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
62307         Change conditional to require [$(build-nscd) = yes] as well.
62308         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
62310         [BZ# 13696]
62311         * configure.in (use_nscd): New substituted variable, set by
62312         --disable-nscd.  If enabled, define USE_NSCD.
62313         * configure: Regenerated.
62314         * config.h.in: Add USE_NSCD.
62315         * config.make.in (use-nscd): New substituted variable.
62316         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
62317         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
62318         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
62319         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
62320         (CFLAGS-getgrnam_r.c): Likewise.
62321         (CFLAGS-initgroups.c): Likewise.
62322         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
62323         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
62324         Variables removed.
62325         * inet/getnetgrent_r.c
62326         (nscd_setnetgrent): New function, broken out of ...
62327         (setnetgrent): ... here.  Call it.
62328         (innetgr): Conditionalize nscd bits on [USE_NSCD].
62329         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
62330         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
62331         * nscd/Makefile (routines, aux): Move definitions after include of
62332         Makeconfig.  Conditionalize on [$(use-nscd) != no].
62333         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
62334         Conditionalize on [USE_NSCD].
62335         (is_nscd, nscd_init_cb): Likewise.
62336         (nss_load_library): Conditionalize init callback on [USE_NSCD].
62337         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
62338         * nss/nss_db/db-init.c: Likewise.
62339         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
62340         [USE_NSCD].
62341         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
62342         (make_request): Use it.
62343         (cache_valid_p): New function.
62344         (__check_pf): Use it.
62345         * NEWS: Add item for --disable-nscd.
62347 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
62349         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
62350         to support sed >= 4.2.1-20-ga9bf076.
62351         * configure: Regenerated.
62353 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62355         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
62356         Conditionalize whole body on [IREL].
62358 2012-08-22  Jeff Law <law@redhat.com>
62360         [BZ #14505]
62361         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
62362         if the family is PF_UNSPEC.
62364 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
62366         * Makerules (lib-version): Rename from V.
62367         (install-lib-nosubdir): Change V to lib-version.
62369 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
62371         [BZ #14252]
62372         * powerpc32/power6/wcschr.c: New file.
62373         * powerpc32/power6/wcscpy.c: New file.
62374         * powerpc32/power6/wcsrchr.c: New file.
62375         * powerpc64/power6/wcschr.c: New file.
62376         * powerpc64/power6/wcscpy.c: New file.
62377         * powerpc64/power6/wcsrchr.c: New file.
62379 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62381         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
62382         (two_way_short_needle): Use it.
62383         * string/strstr.c (AVAILABLE1_USES_J): Define.
62384         * string/strcasestr.c: Likewise.
62386         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
62387         array references.
62388         * string/strcasestr.c (TOLOWER): Make side-effect safe.
62390         [BZ #11607]
62391         * NEWS: Add an entry.
62392         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
62393         define their defaults.
62394         (two_way_short_needle): Detect end-of-string on-the-fly.
62395         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
62396         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
62397         * string/bug-strcasestr1.c: New test.
62398         * string/Makefile: Run it.
62400 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62402         [BZ #11607]
62403         * string/str-two-way.h (two_way_short_needle): Optimize matching of
62404         the first character.
62406 2012-08-21  Roland McGrath  <roland@hack.frob.com>
62408         * csu/elf-init.c (__libc_csu_irel): Function removed.
62409         * csu/libc-start.c (apply_irel): New function.
62410         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
62412 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
62414         * sysdeps/unix/sysv/linux/kernel-features.h
62415         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
62416         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
62417         <kernel-features.h>.
62418         [__NR_fadvise64_64]: Make code unconditional.
62419         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
62420         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62421         !__NR_fadvise64_64)]: Likewise.
62422         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62423         !__NR_fadvise64_64))]: Likewise.
62424         [__NR_fadvise64]: Make code unconditional.
62425         [!__NR_fadvise64]: Remove conditional code.
62426         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
62427         <kernel-features.h>.
62428         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62429         unconditional.
62430         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62431         conditional code.
62432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
62433         not include <kernel-features.h>.
62434         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62435         unconditional.
62436         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62437         conditional code.
62438         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
62439         include <kernel-features.h>.
62440         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62441         unconditional.
62442         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62443         conditional code.
62445 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62447         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
62448         slight instruction rearrangements per scrollpipe analysis.
62449         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62451 2012-08-20  Roland McGrath  <roland@hack.frob.com>
62453         * manual/syslog.texi (syslog; vsyslog, closelog):
62454         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
62455         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
62457         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
62458         DSOCAPS to match condition on defining it.
62460 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
62462         * sysdeps/unix/sysv/linux/kernel-features.h
62463         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
62464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
62465         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62466         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
62468         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62469         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
62471         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62472         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62474         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
62475         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
62477         * sysdeps/unix/sysv/linux/kernel-features.h
62478         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
62479         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
62480         unconditional.
62481         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62482         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
62483         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62484         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62485         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
62486         Make code unconditional.
62487         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62488         (__mmap64) [!__NR_mmap2]: Likewise.
62489         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
62490         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62491         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62492         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
62493         [__NR_mmap2]: Make code unconditional.
62494         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62495         (__mmap64) [!__NR_mmap2]: Likewise.
62497 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62499         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
62501 2012-08-18  Andreas Jaeger  <aj@suse.de>
62503         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
62505 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62507         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
62508         * include/unistd.h (__have_sock_cloexec): Likewise.
62509         (__have_pipe2): Likewise.
62510         (__have_dup3): Likewise.
62512 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62514         [BZ #9685]
62515         * include/unistd.h (__have_pipe2): Change define into an extern int.
62516         (__have_dup3): Likewise.
62517         * socket/have_sock_cloexec.c: Include fcntl.h.
62518         (__have_pipe2): New variable.
62519         (__have_dup3): Likewise.
62521 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
62523         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
62525 2012-08-17  Marek Polacek  <polacek@redhat.com>
62527         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
62528         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
62530 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62532         * configure.in: Add AC_SUBST for sysheaders.
62533         * configure: Regenerated.
62534         * config.make.in (sysheaders): New substituted variable.
62536         * sysdeps/unix/mkfifo.c: Moved ...
62537         * sysdeps/posix/mkfifo.c: ... here.
62538         * sysdeps/unix/mkfifoat.c: Moved ...
62539         * sysdeps/posix/mkfifoat.c: ... here.
62541         * sysdeps/unix/utime.c: Moved ...
62542         * sysdeps/posix/utime.c: ... here.
62544         * sysdeps/unix/time.c: Moved ...
62545         * sysdeps/posix/time.c: ... here.
62546         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
62547         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
62549         * sysdeps/unix/nice.c: Moved ...
62550         * sysdeps/posix/nice.c: ... here.
62552         * sysdeps/unix/alarm.c: Moved ...
62553         * sysdeps/posix/alarm.c: ... here.
62555         * intl/Makefile ($(codeset_mo)): Depend on the input file.
62557 2012-08-17  Jeff Law <law@redhat.com>
62559         * intl/Makefile (codeset_mo): New variable.
62560         ($(codeset_mo)): New target.
62561         (tst-codeset.out): Depend on that.  Remove explicit rule.
62562         (tst-gettext3.out, tst-gettext5.out): Likewise.
62563         (LOCPATH-ENV, tst-codeset-ENV): New variables.
62564         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
62565         * intl/tst-codeset.sh: Remove.
62566         * intl/tst-gettext3.sh: Likewise.
62567         * intl/tst-gettext5.sh: Likewise.
62569 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62571         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
62572         * sysdeps/unix/syscalls.list: ... here.
62574         * sysdeps/posix/getaddrinfo.c
62575         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
62576         (gaiconf_init, gaiconf_reload): Use them.
62577         [!_STATBUF_ST_NSEC]
62578         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
62579         Define using time_t rather than struct timespec.
62581         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
62582         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
62583         Macros removed.
62584         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
62585         [!NO_THREADS].
62586         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
62587         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
62588         Likewise.
62590         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
62591         __libc_cleanup_push argument.
62593         * bits/param.h: New file.
62594         * misc/sys/param.h: New file.
62595         * include/sys/param.h: New file.
62596         * misc/Makefile (headers): Add bits/param.h.
62597         * sysdeps/generic/sys/param.h: File removed.
62598         * sysdeps/unix/sysv/linux/bits/param.h: New file.
62599         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
62600         * sysdeps/mach/hurd/bits/param.h: New file.
62601         * sysdeps/mach/hurd/sys/param.h: File removed.
62603         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
62604         last change.
62606         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
62607         [_IO_MTSAFE_IO].
62608         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
62609         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
62610         New macros.
62612         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
62613         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
62614         rather than -D_IO_MTSAFE_IO conditionally.
62615         * stdio-common/Makefile (CPPFLAGS): Likewise.
62616         * wcsmbs/Makefile (CPPFLAGS): Likewise.
62617         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
62618         Use $(libio-mtsafe).
62619         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
62620         of -D_IO_MTSAFE_IO.
62621         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
62622         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
62623         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
62624         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
62625         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
62626         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
62627         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
62628         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
62629         (CFLAGS-fread_u_chk.c): Likewise.
62630         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
62631         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
62632         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
62633         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
62634         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
62635         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
62636         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
62637         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
62638         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
62640         * libio/Makefile: Test [$(libc-reentrant) = yes]
62641         instead of [$(filter %REENTRANT, $(defines)) nonempty].
62643         * Makeconfig
62644         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
62645         * sysdeps/pthread/configure: File removed.
62646         * sysdeps/pthread/Makeconfig: New file.
62647         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
62648         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
62650 2012-08-16  Gary Benson  <gbenson@redhat.com>
62652         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
62653         unmapping the first object in a namespace.
62655 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62657         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
62658         (__internal_setnetgrent): ... this.  Add internal_function to
62659         definition.  Add libc_hidden_def.
62660         (setnetgrent): Update caller.
62661         (internal_endnetgrent): Renamed to ...
62662         (__internal_endnetgrent): ... this.  Add internal_function to
62663         definition.  Add libc_hidden_def.
62664         (endnetgrent): Update caller.
62665         (internal_getnetgrent_r): Renamed to ...
62666         (__internal_getnetgrent_r): ... this.  Add internal_function to
62667         definition.  Add libc_hidden_def.
62668         (__getnetgrent_r): Update caller.
62669         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
62671 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62673         * stdlib/longlong.h: Update from GCC.
62675 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62677         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
62678         on _QL, which is set by umul_ppmm but never used.
62679         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
62680         variables, which are set by GMP macros but never used.
62681         * stdio-common/_itowa.c (_itowa): Likewise.
62682         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
62683         * stdlib/mod_1.c (mpn_mod_1): Likewise.
62685 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
62687         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
62688         struct La_sh_regs is not constant.
62689         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
62690         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
62691         and struct La_sparc64_regs are not constant.
62693 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62695         * sysdeps/unix/sysv/linux/kernel-features.h
62696         (__ASSUME_POSIX_TIMERS): Remove.
62697         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62698         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62699         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
62700         Make code unconditional.
62701         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62702         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
62703         Make code unconditional.
62704         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62705         * sysdeps/unix/sysv/linux/clock_nanosleep.c
62706         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
62707         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62708         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
62709         Make code unconditional.
62710         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62711         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
62712         (__libc_missing_posix_timers): Remove.
62714 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62716         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
62717         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
62719         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
62721         * elf/dl-sym.c: Include <stdlib.h>.
62723         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
62724         constants, which avoids warnings in 32-bit builds.
62726         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
62727         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
62729         * misc/lseek.c: File moved to ...
62730         * io/lseek.c: ... here.
62732         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
62734         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
62735         shifting LEN more than 31 bits at once.
62737 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62739         [BZ #14195]
62740         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
62741         segmentation fault for a case of two empty input strings.
62742         * string/test-strncasecmp.c (check1): Renamed to...
62743         (bz12205): ...this.
62744         (bz14195): Add new testcase for two empty input strings and N > 0.
62745         (test_main): Call new testcase, adapt for renamed function.
62747 2012-08-15  Andreas Jaeger  <aj@suse.de>
62749         [BZ #14090]
62750         * crypt/md5test2.c: New test, based on test supplied by Serge
62751         Belyshev <belyshev@depni.sinp.msu.ru>.
62752         * crypt/Makefile (xtests): Add md5test-giant..
62753         * crypt/Makefile ($(objpfx)md5test-giant): Add.
62755 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
62757         [BZ #14090]
62758         * crypt/md5.c (md5_process_block): Don't assume the buffer
62759         length is less than 2**32.
62760         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
62761         length is less than 2**64.
62763 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62765         * string/str-two-way.h: Include <sys/param.h>.
62766         (MAX): Macro removed.
62768         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
62769         Move #define and #undef of memmove to just before and after
62770         including <string.h>.
62772         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
62773         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
62774         and after including <string.h>.  Move declarations of
62775         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
62776         to before #include "string/memmove.c".
62778         * include/dirent.h: Declare __getdirentries.
62780         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
62781         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
62783 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
62785         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
62786         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
62787         * sysdeps/i386/configure: Regenerated.
62788         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
62789         STABS_CURRENT_FILE, and STABS_FUN.
62790         (END): Remove call to STABS_FUN_END.
62791         (STABS_CURRENT_FILE1): Delete.
62792         (STABS_CURRENT_FILE): Likewise.
62793         (STABS_FUN): Likewise.
62794         (STABS_FUN_END): Likewise.
62795         (STABS_FUN2): Likewise.
62796         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
62797         * sysdeps/x86_64/configure: Regenerated.
62799 2012-08-14  Roland McGrath  <roland@hack.frob.com>
62801         * elf/dl-open.c: Include <atomic.h>.
62802         * elf/dl-lookup.c: Likewise.
62804 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
62806         * sysdeps/unix/sysv/linux/kernel-features.h
62807         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
62808         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
62809         unconditionally.
62810         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
62811         unconditionally.
62812         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
62813         condition on __ASSUME_CLONE_THREAD_FLAGS.
62815 2012-08-14  Andreas Jaeger  <aj@suse.de>
62817         * sysdeps/i386/fpu/libm-test-ulps: Update.
62819 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
62821         * include/atomic.h (atomic_exchange_and_add): Split into ...
62822         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
62823         New atomic macros.
62825 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
62827         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62829 2012-08-13  Jeff Law <law@redhat.com>
62831         * manual/stdio.texi (snprintf): Clarify handling of the trailing
62832         null byte in the output string.
62834 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
62836         * sysdeps/unix/sysv/linux/kernel-features.h
62837         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
62838         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
62839         (__ASSUME_ARG_MAX_STACK_BASED): Define.
62840         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
62841         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
62842         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
62843         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
62845 2012-08-09  Jeff Law <law@redhat.com>
62847         [BZ #13939]
62848         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
62849         When avoid_arena is set, don't retry in the that arena.  Pick the
62850         next one, whatever it might be.
62851         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
62852         (arena_lock): Pass in new parameter to arena_get2.
62853         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
62854         arena_get2.
62855         (__libc_malloc): Unify retrying after main arena failure with
62856         __libc_memalign version.
62857         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
62859 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
62861         [BZ #14166]
62862         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
62863         to __redirect_strstr.
62864         (__strstr_sse42): Use typeof __redirect_strstr.
62865         (__strstr_ia32): Likewise.
62866         (__libc_strstr): New prototype.
62867         (strstr): Renamed to ...
62868         (__libc_strstr): This.
62869         (strstr): New strong alias of __libc_strstr.
62870         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62871         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
62872         __redirect_time.
62873         Include <time.h>.
62874         (__libc_time): New prototype.
62875         (time_ifunc): Replace time with __libc_time.
62876         (time): New strong alias and hidden definition of __libc_time.
62877         (__GI_time): Remove strong alias.
62878         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
62879         Include <stddef.h>.
62880         (memmove): Redefined to __redirect_memmove.
62881         (__memmove_sse2): Use typeof __redirect_memmove.
62882         (__memmove_ssse3): Likewise.
62883         (__memmove_ssse3_back): Likewise.
62884         (__libc_memmove): New prototype.
62885         (memmove): Renamed to ...
62886         (__libc_memmove): This.
62887         (memmove): New strong alias of __libc_memmove.
62889 2012-08-08  Mark Salter  <msalter@redhat.com>
62891         * elf/elf.h
62892         (R_MN10300_TLS_GD): Define.
62893         (R_MN10300_TLS_LD): Likewise.
62894         (R_MN10300_TLS_LDO): Likewise.
62895         (R_MN10300_TLS_GOTIE): Likewise.
62896         (R_MN10300_TLS_IE): Likewise.
62897         (R_MN10300_TLS_LE): Likewise.
62898         (R_MN10300_TLS_DTPMOD): Likewise.
62899         (R_MN10300_TLS_DTPOFF): Likewise.
62900         (R_MN10300_TLS_TPOFF): Likewise.
62901         (R_MN10300_SYM_DIFF): Likewise.
62902         (R_MN10300_ALIGN): Likewise.
62903         (R_MN10300_NUM): Update.
62905 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
62907         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
62908         Remove.
62910 2012-08-08  Roland McGrath  <roland@hack.frob.com>
62912         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
62914         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
62915         sysdeps/unix -> sysdeps/posix move.
62916         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62918 2012-08-07      Allan McRae     <allan@archlinux.org>
62920         [BZ #14303]
62921         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
62922         (SUNOS_CPP): Likewise.
62923         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
62924         not found.
62925         (open_input): Call CPP using execvp.
62927 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62929         * sysdeps/unix/sysv/linux/kernel-features.h
62930         (__ASSUME_PROT_GROWSUPDOWN): Remove.
62931         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62932         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62933         (__ASSUME_WAITID_SYSCALL): Likewise.
62934         * sysdeps/unix/sysv/linux/dl-execstack.c
62935         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
62936         code unconditional.
62937         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
62938         conditional code.
62939         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
62940         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
62941         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
62942         code.
62943         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
62944         unconditional.
62945         [__ASSUME_WAITID_SYSCALL]: Likewise.
62946         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
62948 2012-08-07  Roland McGrath  <roland@hack.frob.com>
62950         * sysdeps/unix/closedir.c: Renamed to ...
62951         * sysdeps/posix/closedir.c: ... here.
62952         * sysdeps/unix/dirfd.c: Renamed to ...
62953         * sysdeps/posix/dirfd.c: ... here.
62954         * sysdeps/unix/dirstream.h: Renamed to ...
62955         * sysdeps/posix/dirstream.h: ... here.
62956         * sysdeps/unix/fdopendir.c: Renamed to ...
62957         * sysdeps/posix/fdopendir.c: ... here.
62958         * sysdeps/unix/opendir.c: Renamed to ...
62959         * sysdeps/posix/opendir.c: ... here.
62960         * sysdeps/unix/readdir.c: Renamed to ...
62961         * sysdeps/posix/readdir.c: ... here.
62962         * sysdeps/unix/readdir_r.c: Renamed to ...
62963         * sysdeps/posix/readdir_r.c: ... here.
62964         * sysdeps/unix/rewinddir.c: Renamed to ...
62965         * sysdeps/posix/rewinddir.c: ... here.
62966         * sysdeps/unix/seekdir.c: Renamed to ...
62967         * sysdeps/posix/seekdir.c: ... here.
62968         * sysdeps/unix/telldir.c: Renamed to ...
62969         * sysdeps/posix/telldir.c: ... here.
62970         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
62971         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
62972         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
62973         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
62975         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
62976         * bits/fcntl.h: ... here.
62978         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
62979         not 0.
62980         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
62981         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
62982         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
62983         (struct flock): Move l_start, l_len to the beginning.
62984         Use __pid_t for l_pid.
62985         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
62986         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
62987         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
62988         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
62989         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
62990         [__USE_LARGEFILE64] (struct flock64): New type.
62991         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
62993         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
62994         * bits/dirent.h: ... here.
62996         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
62997         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
62999 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
63001         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63002         Change from 2.6.0 to 2.6.16.
63003         * sysdeps/unix/sysv/linux/configure: Regenerated.
63004         * sysdeps/unix/sysv/linux/kernel-features.h
63005         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
63006         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
63007         version.
63008         (__ASSUME_UTIMES): Likewise.
63009         (__ASSUME_CLONE_STOPPED): Remove.
63010         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
63011         architectures, not kernel version.
63012         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
63013         (__ASSUME_NO_CLONE_DETACHED): Likewise.
63014         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63015         (__ASSUME_WAITID_SYSCALL): Likewise.
63016         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
63017         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
63018         * README: State 2.6.16 as minimum Linux kernel version.  Do not
63019         refer to older versions.
63021 2012-08-06  Roland McGrath  <roland@hack.frob.com>
63023         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
63024         Define alphasort64 as an alias.
63025         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
63026         Define versionsort64 as an alias.
63027         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
63028         Define scandir64 as an alias.
63029         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
63030         Define scandirat64 as an alias.
63031         * dirent/alphasort64.c (alphasort64):
63032         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
63033         * dirent/versionsort64.c: Likewise.
63034         * dirent/scandir64.c: Likewise.
63035         * dirent/scandirat64.c: Likewise.
63036         * sysdeps/wordsize-64/alphasort.c: File removed.
63037         * sysdeps/wordsize-64/alphasort64.c: File removed.
63038         * sysdeps/wordsize-64/scandir.c: File removed.
63039         * sysdeps/wordsize-64/scandir64.c: File removed.
63040         * sysdeps/wordsize-64/scandirat.c: File removed.
63041         * sysdeps/wordsize-64/scandirat64.c: File removed.
63042         * sysdeps/wordsize-64/versionsort.c: File removed.
63043         * sysdeps/wordsize-64/versionsort64.c: File removed.
63044         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
63045         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
63046         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
63047         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
63048         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
63049         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
63050         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
63051         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
63053         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
63054         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63055         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
63056         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63057         [defined __arch64__ || defined __sparcv9]
63058         (__INO_T_MATCHES_INO64_T): New macro.
63059         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63060         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
63061         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
63062         * sysdeps/unix/sysv/linux/bits/dirent.h
63063         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
63064         (_DIRENT_MATCHES_DIRENT64): New macro.
63066         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
63067         Define lockf64 as an alias.
63068         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
63069         Define fseeko64 as an alias.
63070         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
63071         Define ftello64 as an alias.
63072         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
63073         Define _IO_fgetpos64 and fgetpos64 as aliases.
63074         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
63075         Define _IO_fsetpos64 and fsetpos64 as aliases.
63076         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
63077         Conditionalize body on this.
63078         * libio/fseeko64.c: Likewise.
63079         * libio/ftello64.c: Likewise.
63080         * libio/iofgetpos64.c: Likewise.
63081         * libio/iofsetpos64.c: Likewise.
63082         * sysdeps/wordsize-64/lockf.c: File removed.
63083         * sysdeps/wordsize-64/lockf64.c: File removed.
63084         * sysdeps/wordsize-64/fseeko.c: File removed.
63085         * sysdeps/wordsize-64/fseeko64.c: File removed.
63086         * sysdeps/wordsize-64/ftello.c: File removed.
63087         * sysdeps/wordsize-64/ftello64.c: File removed.
63088         * sysdeps/wordsize-64/iofgetpos.c: File removed.
63089         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
63090         * sysdeps/wordsize-64/iofsetpos.c: File removed.
63091         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
63092         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
63093         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
63094         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
63095         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
63096         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
63097         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
63098         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
63099         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
63100         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
63101         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
63103         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63104         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63105         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
63106         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63107         [defined __arch64__ || defined __sparcv9]
63108         (__OFF_T_MATCHES_OFF64_T): New macro.
63109         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63110         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63111         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63112         (__OFF_T_MATCHES_OFF64_T): New macro.
63114 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63116         * stdlib/secure-getenv.c (__secure_getenv): Replace
63117         GLIBC_2_16 with GLIBC_2_17.
63119 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63121         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
63122         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63124 2012-08-03  David S. Miller  <davem@davemloft.net>
63126         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63128 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63130         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
63131         Remove.
63132         (__ASSUME_CORRECT_SI_PID): Likewise.
63133         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
63134         (__ASSUME_TMPFS_NAME): Likewise.
63135         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
63136         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
63137         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
63138         (HAVE_AUX_SECURE): Make definition unconditional.
63139         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
63140         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
63142 2012-08-03  Roland McGrath  <roland@hack.frob.com>
63144         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
63145         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
63146         * sysdeps/mach/hurd/eloop-threshold.h: New file.
63147         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63148         __eloop_threshold instead of SYMLOOP_MAX.
63150         * sysdeps/generic/eloop-threshold.h: New file.
63151         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
63152         of MAXSYMLINKS.
63153         * elf/chroot_canon.c (chroot_canon): Likewise.
63155 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63157         [BZ #13717]
63158         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63159         Change to 2.6.0 everywhere.
63160         * sysdeps/unix/sysv/linux/configure: Regenerated.
63161         * sysdeps/unix/sysv/linux/kernel-features.h
63162         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
63163         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
63164         kernel versions.
63165         (__ASSUME_POSIX_TIMERS): Define unconditionally.
63166         (__ASSUME_FUTEX_REQUEUE): Remove.
63167         (__ASSUME_STATFS64): Define unconditionally.
63168         (__ASSUME_AT_SECURE): Likewise.
63169         (__ASSUME_CORRECT_SI_PID): Likewise.
63170         (__ASSUME_TGKILL): Define without depending on kernel version for
63171         i386.
63172         (__ASSUME_UTIMES): Likewise.
63173         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
63174         kernel version.
63175         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
63176         (__ASSUME_TMPFS_NAME): Likewise.
63177         * README: Update reference to Linux kernel versions.
63179 2012-08-02  Marek Polacek  <polacek@redhat.com>
63181         [BZ# 14150]
63182         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
63183         libc_cv_asm_type_prefix with %.
63184         * configure: Regenerated.
63185         * include/libc-symbols.h: Remove comment about
63186         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63187         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
63188         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
63189         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
63190         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
63191         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63192         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
63193         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
63194         * elf/tst-unique2mod1.c: Likewise.
63195         * elf/tst-unique1mod2.c: Likewise.
63196         * elf/tst-unique1mod1.c: Likewise.
63197         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
63198         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
63199         Replace ASM_TYPE_DIRECTIVE with .type.
63200         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63201         * sysdeps/i386/sysdep.h: Likewise.
63202         * sysdeps/x86_64/sysdep.h: Likewise.
63203         * sysdeps/sh/sysdep.h: Likewise.
63204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63205         Do not define ASM_TYPE_DIRECTIVE.
63206         * sysdeps/powerpc/sysdep.h: Likewise.
63207         * sysdeps/powerpc/powerpc32/sysdep.h:
63208         Replace ASM_TYPE_DIRECTIVE with .type.
63209         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63210         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63211         * sysdeps/i386/fpu/e_powf.S: Likewise.
63212         * sysdeps/i386/fpu/e_expl.S: Likewise.
63213         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63214         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63215         * sysdeps/i386/fpu/e_pow.S: Likewise.
63216         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63217         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63218         * sysdeps/i386/fpu/s_expm1.S: Likewise.
63219         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63220         * sysdeps/i386/fpu/e_log2.S: Likewise.
63221         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63222         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63223         * sysdeps/i386/fpu/e_powl.S: Likewise.
63224         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63225         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63226         * sysdeps/i386/fpu/e_logl.S: Likewise.
63227         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63228         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63229         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63230         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63231         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63232         * sysdeps/i386/fpu/e_log.S: Likewise.
63233         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63234         * sysdeps/i386/fpu/e_logf.S: Likewise.
63235         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63236         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63237         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63238         * sysdeps/i386/fpu/e_log10.S: Likewise.
63239         * sysdeps/i386/fpu/s_frexp.S: Likewise.
63240         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63241         * sysdeps/i386/fpu/s_asinh.S: Likewise.
63242         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63243         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63244         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
63245         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63246         * sysdeps/i386/i686/strtok.S: Likewise.
63247         * sysdeps/i386/i386-mcount.S: Likewise.
63248         * sysdeps/i386/strtok.S: Likewise.
63249         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
63250         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63251         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63252         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63253         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63254         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63255         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63256         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63257         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63258         * sysdeps/x86_64/_mcount.S: Likewise.
63259         * sysdeps/x86_64/strtok.S: Likewise.
63260         * sysdeps/sh/_mcount.S: Likewise.
63262 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63264         * libio/iofopen.c: Include <fcntl.h>.
63265         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
63266         (_IO_fopen64, fopen64): Define as aliases.
63267         * libio/iofopen64.c: Include <fcntl.h>.
63268         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
63269         Conditionalize body on this.
63270         * sysdeps/wordsize-64/iofopen.c: File removed.
63271         * sysdeps/wordsize-64/iofopen64.c: File removed.
63273 2012-08-01  Marek Polacek  <polacek@redhat.com>
63275         * libc/Makeconfig: Use elf in place of binfmt-subdir.
63276         Use dlfcn directly instead of a variable.
63277         (binfmt-subdir): Do not define.
63278         (dlfcn): Likewise.
63280 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
63282         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
63283         Remove all definitions.
63284         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
63285         <kernel-features.h>.
63286         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63287         (miss_F_GETOWN_EX): Remove all definitions.
63288         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
63289         macro definition.
63290         [!__ASSUME_FCNTL64]: Remove conditional code.
63291         [__ASSUME_FCNTL64]: Make code unconditional.
63292         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
63293         <kernel-features.h>.
63294         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63295         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
63296         (lockf64) [__NR_fcntl64]: Make code unconditional.
63297         (lockf64) [__ASSUME_FCNTL64]: Likewise.
63299         * sysdeps/unix/sysv/linux/kernel-features.h
63300         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
63301         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
63302         Make code unconditional.
63303         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63304         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
63306         [__NR_vfork]: Make code unconditional.
63307         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63308         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
63310         [__NR_vfork]: Make code unconditional.
63311         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63312         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63314 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63316         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
63317         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
63319         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63320         Define mkstemp64 as an alias.
63321         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63322         Define mkstemps64 as an alias.
63323         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63324         Define mkostemp64 as an alias.
63325         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63326         Define mkostemps64 as an alias.
63327         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
63328         Conditionalize body on this.
63329         * misc/mkostemp64.c: Likewise.
63330         * misc/mkostemps64.c: Likewise.
63331         * misc/mkstemps64.c: Likewise.
63332         * sysdeps/wordsize-64/mkstemp64.c: File removed.
63333         * sysdeps/wordsize-64/mkostemp64.c: File removed.
63334         * sysdeps/wordsize-64/mkostemp.c: File removed.
63335         * sysdeps/wordsize-64/mkstemp.c: File removed.
63336         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
63337         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
63338         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
63339         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
63341         [BZ #14138]
63342         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
63343         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
63344         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
63345         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
63347         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
63348         compat_symbol macros from <shlib-compat.h> rather than the underlying
63349         default_symbol_version and symbol_version macros, so that DEFAULT
63350         lines in shlib-versions are respected.
63351         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
63353 2012-08-01  Florian Weimer  <fweimer@redhat.com>
63355         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
63356         Declare with warn_unused_result.
63357         (setgid, setregid, setegid, setresgid): Likewise.
63358         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
63359         Likewise.
63360         * WUR-REPORT: Remove set*id functions.
63362 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
63364         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
63366 2012-07-31  Roland McGrath  <roland@hack.frob.com>
63368         [BZ #10191]
63369         * include/sys/socket.h (__libc_accept, __libc_accept4):
63370         Add attribute_hidden.
63371         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
63373         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
63374         use of PTR_MANGLE.
63375         * inet/getnetgrent_r.c (setup): Likewise.
63377         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
63379 2012-07-31  David S. Miller  <davem@davemloft.net>
63381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63383 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
63385         [BZ #13629]
63386         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
63387         value between 1.0 and 2.0 and smaller part has absolute value less
63388         than 1.0.
63389         * math/s_clog10.c (__clog10): Likewise.
63390         * math/s_clog10f.c (__clog10f): Likewise.
63391         * math/s_clog10l.c (__clog10l): Likewise.
63392         * math/s_clogf.c (__clogf): Likewise.
63393         * math/s_clogl.c (__clogl): Likewise.
63394         * math/libm-test.inc (clog_test): Add more tests.
63395         (clog10_test): Likewise.
63396         * sysdeps/i386/fpu/libm-test-ulps: Update.
63397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63399 2012-07-31  Florian Weimer  <fweimer@redhat.com>
63401         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
63402         Exit with zero in case no suitable GID is found, and write a
63403         message to standard error.
63405 2012-07-30  Roland McGrath  <roland@hack.frob.com>
63407         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
63408         rather than to 1.
63409         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
63410         (MAXPATHLEN): Removed.
63411         (NOGROUP, NODEV): New macros.
63412         (setbit, clrbit, isset, isclr): New macros.
63413         (howmany, roundup, powerof2): New macros.
63414         (DEV_BSIZE): New macro.
63416         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
63417         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
63419         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
63420         definition on [!__NO_LONG_DOUBLE_MATH].
63422         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
63423         PTR_MANGLE and PTR_DEMANGLE.
63425         * socket/accept4.c (accept4): Rename to __libc_accept4.
63426         Define accept4 as a weak alias.
63428         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
63429         on [_DIRENT_HAVE_D_TYPE].
63430         * io/ftw.c (ftw_dir): Likewise.
63432         * io/xmknod.c (__xmknod): Don't check PATH for being null.
63434         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
63436         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
63437         Use the BSD numbers rather than the arbitrary ones we had.
63438         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
63439         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
63440         (SIGXCPU, SIGXFSZ): New macros.
63441         (_NSIG): Now 32.
63443         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
63444         initializer on [_LIBC_REENTRANT].
63446         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
63447         definitions inside [_POSIX_MAPPED_FILES].
63449         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
63451         * dirent/opendir.c: Include <fcntl.h>.
63453         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
63454         (__libc_getspecific): Likewise.
63455         (__libc_key_create): Likewise.
63457         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
63458         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
63459         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
63460         (tmpfile64): Define as alias.
63461         * sysdeps/wordsize-64/tmpfile.c: File removed.
63462         * sysdeps/wordsize-64/tmpfile64.c: File removed.
63463         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
63464         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
63466         * stdio-common/vfscanf.c: Include <stdbool.h>.
63467         * nss/makedb.c: Likewise.
63468         * stdio-common/_i18n_number.h: Likewise.
63469         * argp/argp-help.c: Likewise.
63470         * posix/wordexp.c: Likewise.
63471         * sysdeps/posix/spawni.c: Likewise.
63472         * nss/nss_files/files-initgroups.c: Likewise.
63473         * stdio-common/reg-modifier.c: Include <stdlib.h>.
63474         * nss/nss_files/files-initgroups.c: Likewise.
63475         * nss/nss_db/db-netgrp.c: Likewise.
63476         * nss/nss_db/db-initgroups.c: Likewise.
63477         * io/fchmodat.c: Include <sys/stat.h>.
63479         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
63480         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
63482         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
63483         [HAVE_MMAP].
63485         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
63486         Add multiple inclusion protection.
63488 2012-07-27  David S. Miller  <davem@davemloft.net>
63490         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63492 2012-07-27  Gary Benson  <gbenson@redhat.com>
63494         [BZ #14298]
63495         * elf/rtld.c: Include <stap-probe.h>.
63496         (dl_main): Added static probes "init_start" and "init_complete".
63497         * elf/dl-load.c: Include <stap-probe.h>.
63498         (lose): Take new parameter "nsid".
63499         Added static probe "map_failed".
63500         (_dl_map_object_from_fd): Pass namespace id to lose.
63501         Added static probe "map_start".
63502         (open_verify): Pass namespace id to lose.
63503         * elf/dl-open.c: Include <stap-probe.h>.
63504         (dl_open_worker) Added static probes "map_complete", "reloc_start"
63505         and "reloc_complete".
63506         * elf/dl-close.c: Include <stap-probe.h>.
63507         (_dl_close_worker): Added static probes "unmap_start" and
63508         "unmap_complete".
63509         * elf/rtld-debugger-interface.txt: New file documenting the above.
63511 2012-07-26  Roland McGrath  <roland@hack.frob.com>
63513         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
63514         rather than a string variable.
63515         * sunrpc/rpc_main.c (h_output): Likewise.
63516         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
63518 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
63520         * inet/check_native.c: New file.
63522 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
63524         [BZ #13629]
63525         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
63526         if larger part has absolute value 1.0.
63527         * math/s_clog10.c (__clog10): Likewise.
63528         * math/s_clog10f.c (__clog10f): Likewise.
63529         * math/s_clog10l.c (__clog10l): Likewise.
63530         * math/s_clogf.c (__clogf): Likewise.
63531         * math/s_clogl.c (__clogl): Likewise.
63532         * math/libm-test.inc (clog_test): Add more tests.
63533         (clog10_test): Likewise.
63534         * sysdeps/i386/fpu/libm-test-ulps: Update.
63535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63537         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
63538         (pltexit): Likewise.
63539         (La_regs): Likewise.
63540         (La_retval): Likewise.
63541         (int_retval): Likewise.
63542         Update #error for removed macros to refer only to definitions in
63543         tst-audit.h.
63544         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
63545         macro.
63546         (pltexit): Likewise.
63547         (La_regs): Likewise.
63548         (La_retval): Likewise.
63549         (int_retval): Likewise.
63550         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
63551         macro.
63552         (pltexit): Likewise.
63553         (La_regs): Likewise.
63554         (La_retval): Likewise.
63555         (int_retval): Likewise.
63556         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
63557         macro.
63558         (pltexit): Likewise.
63559         (La_regs): Likewise.
63560         (La_retval): Likewise.
63561         (int_retval): Likewise.
63562         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
63563         macro.
63564         (pltexit): Likewise.
63565         (La_regs): Likewise.
63566         (La_retval): Likewise.
63567         (int_retval): Likewise.
63568         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
63569         macro.
63570         (pltexit): Likewise.
63571         (La_regs): Likewise.
63572         (La_retval): Likewise.
63573         (int_retval): Likewise.
63574         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
63575         macro.
63576         (pltexit): Likewise.
63577         (La_regs): Likewise.
63578         (La_retval): Likewise.
63579         (int_retval): Likewise.
63580         * sysdeps/generic/tst-audit.h: Update comment to refer only to
63581         macro definitions in tst-audit.h.
63582         * sysdeps/i386/tst-audit.h: New file.
63583         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
63584         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
63585         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
63586         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
63587         * sysdeps/sh/tst-audit.h: Likewise.
63588         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
63589         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
63590         * sysdeps/x86_64/tst-audit.h: Likewise.
63592 2012-07-26  Andreas Jaeger  <aj@suse.de>
63594         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
63595         ptrace.
63597         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
63598         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
63599         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
63600         PTRACE_O_MASK.
63601         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
63602         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
63603         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
63605         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
63606         value.
63608         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
63609         _sigsys.
63610         (si_call_addr, si_syscall, si_arch): Define new macro.
63611         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
63612         _sigsys.
63613         (si_call_addr, si_syscall, si_arch): Define new marcro.
63614         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
63615         _sigsys.
63616         (si_call_addr, si_syscall, si_arch): Define new macro.
63617         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
63618         _sigsys.
63619         (si_call_addr, si_syscall, si_arch): Define new macro.
63621 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63623         [BZ #13717]
63624         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63625         Change to 2.4.21 where previously 2.4.1.
63626         * sysdeps/unix/sysv/linux/configure: Regenerated.
63627         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
63628         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
63629         Linux kernel version.
63630         (__ASSUME_STD_AUXV): Remove.
63631         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
63632         kernel version.
63633         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
63634         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
63635         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
63636         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
63637         (__ASSUME_NETLINK_SUPPORT): Likewise.
63638         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
63639         (__no_netlink_support): Remove conditional definition.
63640         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
63641         Remove.
63642         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63643         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
63644         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
63645         (if_nameindex_ioctl): Remove.
63646         (if_nameindex_netlink): Do not handle __no_netlink_support.
63647         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63648         code.
63649         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
63650         Remove conditional code.
63651         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63652         code.
63653         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
63654         unconditional.
63655         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63656         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
63657         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
63658         Remove.
63659         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
63660         [!__ASSUME_STD_AUXV]: Remove conditional code.
63661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
63662         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
63663         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
63664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
63665         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
63666         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63667         code.
63668         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
63670         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
63671         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63672         conditional code.
63673         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
63675         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63676         code.
63677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
63678         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63679         conditional code.
63680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
63681         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63682         code unconditional.
63683         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63684         conditional code.
63685         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63686         unconditional.
63687         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63688         conditional code.
63689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63690         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63691         unconditional.
63692         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63693         conditional code.
63694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
63695         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63696         code unconditional.
63697         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63698         conditional code.
63699         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63700         unconditional.
63701         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63702         conditional code.
63703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
63704         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63705         code unconditional.
63706         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63707         conditional code.
63708         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63709         unconditional.
63710         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63711         conditional code.
63713 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
63715         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
63716         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
63717         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
63718         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
63719         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
63720         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
63721         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
63722         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
63723         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
63724         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
63725         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
63726         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
63727         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
63728         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
63729         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
63730         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
63731         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
63732         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
63733         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
63734         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
63735         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
63736         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
63737         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63739 2012-07-25  Florian Weimer  <fweimer@redhat.com>
63741         * Versions.def: Add GLIBC_2.17.
63742         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
63743         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
63744         Introduce __libc_secure_getenv.
63745         * stdlib/Versions (2.17): Add secure_getenv
63746         (GLIBC_PRIVATE): Add __libc_secure_getenv.
63747         * stdlib/secure-getenv.c: Rename __secure_getenv to
63748         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
63749         symbol __secure_getenv for GLIBC_2.0.
63750         * stdlib/tst-secure-getenv.c: New.
63751         * stdlib/Makefile (tests): Add testcase.
63752         * manual/startup.texi (Environment Access): Document
63753         secure_getenv.
63754         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
63755         __libc_secure_getenv.
63756         * inet/ruserpass.c (ruserpass): Likewise.
63757         * malloc/mtrace.c (mtrace): Likewise.
63758         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
63759         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
63760         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
63761         * sysdeps/posix/tempname.c: Likewise.  Evaluate
63762         HAVE_SECURE_GETENV.
63763         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
63764         __secure_getenv to __libc_secure_getenv.
63765         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
63766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63767         Likewise.
63768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63769         Likewise.
63770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
63771         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
63772         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
63774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63776         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
63778 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63780         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
63781         (struct La_i86_retval): Likewise.
63782         (struct La_x86_64_regs): Likewise.
63783         (struct La_x86_64_retval): Likewise.
63784         (struct La_x32_regs): Likewise.
63785         (struct La_x32_retval): Likewise.
63786         (struct La_ppc32_regs): Likewise.
63787         (struct La_ppc32_retval): Likewise.
63788         (struct La_ppc64_regs): Likewise.
63789         (struct La_ppc64_retval): Likewise.
63790         (struct La_sh_regs): Likewise.
63791         (struct La_sh_retval): Likewise.
63792         (struct La_s390_32_regs): Likewise.
63793         (struct La_s390_32_retval): Likewise.
63794         (struct La_s390_64_regs): Likewise.
63795         (struct La_s390_64_retval): Likewise.
63796         (struct La_sparc32_regs): Likewise.
63797         (struct La_sparc32_retval): Likewise.
63798         (struct La_sparc64_regs): Likewise.
63799         (struct La_sparc64_retval): Likewise.
63800         (struct audit_ifaces): Remove architecture-specific pltenter and
63801         pltexit members.
63802         * sysdeps/i386/ldsodefs.h: New file.
63803         * sysdeps/powerpc/ldsodefs.h: Likewise.
63804         * sysdeps/s390/ldsodefs.h: Likewise.
63805         * sysdeps/sh/ldsodefs.h: Likewise.
63806         * sysdeps/sparc/ldsodefs.h: Likewise.
63807         * sysdeps/x86_64/ldsodefs.h: Likewise.
63809 2012-07-25  Marek Polacek  <polacek@redhat.com>
63811         [BZ #6808]
63812         * math/libm-test.inc (yn_test): Add another test.
63813         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
63814         to ERANGE when the result is +-Inf.
63815         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
63816         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
63817         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
63818         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
63820 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
63822         * conform/data/time.h-data (NULL): Use macro-constant.  Require
63823         equal to 0.
63824         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
63825         clock_t.
63826         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
63828 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
63830         * configure.in <sysdeps resolving>: Correct printing
63831         Implies_before.
63832         * configure: Regenerate.
63834 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
63836         * math/w_ilogb.c: Include <limits.h>.
63837         * math/w_ilogbl.c: Likewise.
63839 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63841         * manual/lang.texi (__va_copy): Document primarily as ISO C99
63842         va_copy.  Document allowing for unavailable va_copy only as
63843         pre-C99 compatibility.
63844         * manual/string.texi (Copying and Concatenation): Use va_copy
63845         instead of __va_copy in concat example.
63847 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
63849         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
63850         (__sendto): Use create_address_port.  Initialize APORT and deallocate
63851         it if not null.
63853         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
63854         with O_NOLINK passed to __file_name_lookup.
63856         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
63857         with O_NOLINK passed to __file_name_lookup.
63859         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
63860         negative N or less than NGIDS.
63862         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
63863         type to string_t.  Set ERANGE as errno and return it if NAME is not big
63864         enough.  Use memcpy instead of strncpy.
63866 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63868         * elf/Makefile (check-data): Remove.
63869         (localplt.data): New vpath directive.
63870         ($(objpfx)check-localplt.out): Use localplt.data from vpath
63871         instead of $(check-data).
63872         * scripts/data/localplt-generic.data: Move to ...
63873         * sysdeps/generic/localplt.data: ... here.
63874         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
63875         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
63876         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
63877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
63878         ... here.
63879         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
63880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
63881         ... here.
63882         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
63883         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
63884         ... here.
63885         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
63886         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
63887         ... here.
63888         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
63889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
63890         ... here.
63891         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
63892         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
63893         ... here.
63895 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63897         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
63898         PPC32 and PPC64 files.
63899         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
63900         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
63902 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63904         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
63905         __makecontext_ret to ...
63906         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
63907         ... here and call exit if uc_link is NULL.  New file.
63908         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
63909         __makecontext_ret.S.
63910         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
63911         __makecontext_ret to ...
63912         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
63913         ... here and call exit if uc_link is NULL.  New file.
63914         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
63915         __makecontext_ret.S.
63917 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63919         * elf/elf.h (R_390_IRELATIVE): New definition.
63920         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
63921         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
63922         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
63923         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63924         (elf_machine_lazy_rel): Likewise.
63925         * sysdeps/s390/dl-irel.h: New file.
63926         * sysdeps/s390/s390-64/memcpy.S: New asm code.
63927         * sysdeps/s390/s390-64/memset.S: New asm code.
63928         * sysdeps/s390/s390-64/memcmp.S: New asm code.
63929         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
63930         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
63931         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
63932         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
63933         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
63934         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
63935         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
63936         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
63937         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
63938         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
63939         * sysdeps/s390/s390-32/memcpy.S: New asm code.
63940         * sysdeps/s390/s390-32/memset.S: New asm code.
63941         * sysdeps/s390/s390-32/memcmp.S: New asm code.
63943 2012-07-17  Marek Polacek  <polacek@redhat.com>
63945         [BZ #14349]
63946         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
63947         * sysdeps/s390/s390-64/configure.in: Likewise.
63948         * sysdeps/sparc/configure.in: Likewise.
63949         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
63950         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
63951         * sysdeps/i386/configure.in: Likewise.
63952         * sysdeps/x86_64/configure.in: Likewise.
63953         * sysdeps/sh/configure.in: Likewise.
63954         * sysdeps/s390/s390-32/configure: Regenerated.
63955         * sysdeps/s390/s390-64/configure: Likewise.
63956         * sysdeps/x86_64/configure: Likewise.
63957         * sysdeps/sh/configure: Likewise.
63958         * sysdeps/powerpc/powerpc64/configure: Likewise.
63959         * sysdeps/powerpc/powerpc32/configure: Likewise.
63960         * sysdeps/sparc/configure: Likwise.
63961         * sysdeps/i386/configure: Likewise.
63963         * elf/dl-open.c: Comment fixes.
63965 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
63967         * Makefile [CXX] (check-data): Remove.
63968         [CXX] (c++-types.data): New vpath directive.
63969         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
63970         vpath.  Do not allow for C++ type data being missing.
63971         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
63972         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
63973         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
63974         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
63975         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
63976         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
63977         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
63978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
63979         ... here.
63980         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
63981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
63982         ... here.
63983         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
63984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
63985         ... here.
63986         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
63987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
63988         ... here.
63989         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
63990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
63991         ... here.
63992         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
63993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
63994         ... here.
63995         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
63996         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
63997         ... here.
63998         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
63999         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
64001         * elf/tls-macros.h (TLS_LE): Move architecture-specific
64002         definitions to architecture-specific files.
64003         (TLS_IE): Likewise.
64004         (TLS_LD): Likewise.
64005         (TLS_GD): Likewise.
64006         * sysdeps/i386/tls-macros.h: New file.
64007         * sysdeps/powerpc/tls-macros.h: Likewise.
64008         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
64009         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
64010         * sysdeps/sh/tls-macros.h: Likewise.
64011         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
64012         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
64013         * sysdeps/x86_64/tls-macros.h: Likewise.
64015 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64017         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
64018         zero value for regular exit case.
64020         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
64021         (__start_context): Preserve zero value for regular exit case.
64023 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64024             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64026         * manual/setjmp.texi (setcontext): Clarify normal process
64027         termination when uc_link is the null pointer.
64028         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
64029         exit call.
64031 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
64033         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
64034         preprocessor.  Test for each exception mask separately.
64036 2012-07-16  Andreas Jaeger  <aj@suse.de>
64038         * po/ru.po: Update from translation team.
64040 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
64042         * conform/data/string.h-data (NULL): Use macro-constant.  Require
64043         equal to 0.
64044         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64045         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64046         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
64047         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
64048         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64050 2012-07-13  Andreas Jaeger  <aj@suse.de>
64052         * po/fr.po: Update from translation team.
64054 2012-07-12  Marek Polacek  <polacek@redhat.com>
64056         [BZ #14173]
64057         * math/libm-test.inc (yn_test): Add test for BZ #14173.
64058         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
64059         loop condition.
64061 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
64063         [BZ #13717]
64064         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64065         Change to 2.4.1 where previously 2.4.0.
64066         * sysdeps/unix/sysv/linux/configure: Regenerated.
64067         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
64068         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
64069         version.
64070         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
64071         (__ASSUME_AT_CLKTCK): Remove.
64072         (__ASSUME_AT_PAGESIZE): Likewise.
64073         (__ASSUME_AT_XID): Likewise.
64074         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
64075         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
64076         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
64077         unconditionally.
64078         (HAVE_AUX_PAGESIZE): Likewise.
64079         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
64080         [__ASSUME_AT_CLKTCK]: Make code unconditional.
64081         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
64083 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
64085         [BZ #14307]
64086         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
64087         the temporary buffer used to invoke __gethostbyname2_r,
64088         __gethostbyaddr_r and gethostbyname4_r to make room for struct
64089         host_data / struct gaih_addrtuple.
64090         * resolv/nss_dns/dns-host.c (global scope): Move definition of
64091         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
64092         header file nss/nsswitch.h.
64093         * nss/nsswitch.h (global scope): Add definition of implementation
64094         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
64095         resolv/nss_dns/dns-host.c).
64097 2012-07-11  Andreas Jaeger  <aj@suse.de>
64099         * po/fr.po: Update from translation team.
64101         * po/sv.po: Update from translation team
64102         * po/fr.po: Another update from translation team.
64104 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64106         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
64107         for subnormals or multiply small sinh result by itself.
64108         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
64109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64111 2012-07-11  David S. Miller  <davem@davemloft.net>
64113         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64115 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
64117         [BZ #14347]
64118         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
64119         (INTERNAL_MARK): Shift it here.
64121 2012-07-10  Marek Polacek  <polacek@redhat.com>
64123         [BZ #14151]
64124         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
64125         libc_cv_asm_global_directive with .globl.
64126         * configure: Regenerated.
64127         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
64128         with .globl.
64129         * sysdeps/i386/configure: Regenerated.
64130         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
64131         with .globl.
64132         * sysdeps/x86_64/configure: Regenerated.
64133         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
64134         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
64135         * elf/tst-unique2mod2.c: Likewise.
64136         * elf/tst-unique2mod1.c: Likewise.
64137         * elf/tst-unique1mod2.c: Likewise.
64138         * elf/tst-unique1mod1.c: Likewise.
64139         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64140         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
64141         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64142         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64143         * sysdeps/mach/sysdep.h: Likewise.
64144         * sysdeps/i386/sysdep.h: Likewise.
64145         * sysdeps/i386/i386-mcount.S: Likewise.
64146         * sysdeps/x86_64/_mcount.S: Likewise.
64147         * sysdeps/x86_64/sysdep.h: Likewise.
64148         * sysdeps/sh/_mcount.S: Likewise.
64149         * sysdeps/sh/sysdep.h: Likewise.
64150         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
64151         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
64152         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
64153         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64154         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
64155         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
64156         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
64157         * locale/localeinfo.h: Likewise.
64158         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
64159         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
64161 2012-07-09  Roland McGrath  <roland@hack.frob.com>
64163         [BZ #14336]
64164         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
64165         system".
64166         * manual/message.texi (The Uniforum approach): Likewise.
64167         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
64168         (glibc iconv Implementation): Likewise.
64170 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
64172         [BZ #14337]
64173         * math/s_clog.c (__clog): Avoid scaling a value down where that
64174         could result in underflow.
64175         * math/s_clog10.c (__clog10): Likewise.
64176         * math/s_clog10f.c (__clog10f): Likewise.
64177         * math/s_clog10l.c (__clog10l): Likewise.
64178         * math/s_clogf.c (__clogf): Likewise.
64179         * math/s_clogl.c (__clogl): Likewise.
64180         * math/libm-test.inc (clog_test): Add more tests.
64181         (clog10_test): Likewise.
64182         * sysdeps/i386/fpu/libm-test-ulps: Update.
64183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64185 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
64187         [BZ #14283]
64188         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
64189         by 7 not 8 to examine high bit of fractional part.
64191         [BZ #14042]
64192         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
64193         for call to __mcount_internal.
64194         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
64195         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
64196         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
64198 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
64200         [BZ #14154]
64201         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
64202         approximation for values within 0x1p-13f of an odd multiple of
64203         pi/4.
64204         * math/libm-test.inc (tan_test): Do not allow spurious underflow
64205         exception.  Add more tests.
64206         * sysdeps/i386/fpu/libm-test-ulps: Update.
64208         [BZ #6778]
64209         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
64210         inputs and return -1 for them.  Do not check for +Inf in case not
64211         reachable for +Inf.
64212         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
64213         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
64214         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64215         and return -1 for them.  Do not check for +Inf in case not
64216         reachable for +Inf.
64217         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
64218         define.
64219         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64220         and return -1 for them.  Do not check for +Inf in case not
64221         reachable for +Inf.
64222         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
64223         spurious underflow.
64224         * sysdeps/i386/fpu/libm-test-ulps: Update.
64225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64227 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
64229         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
64231 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
64233         [BZ #14157]
64234         [BZ #14331]
64235         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
64236         could result in spurious underflow.  Scale down values above
64237         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
64238         * math/s_csqrtf.c (__csqrtf): Likewise.
64239         * math/s_csqrtl.c (__csqrtl): Likewise.
64240         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
64241         spurious underflow.
64242         * sysdeps/i386/fpu/libm-test-ulps: Update.
64243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64245 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
64247         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
64248         xopen-msg.sed.
64249         * catgets/xopen-msg.awk: New file.
64250         * catgets/xopen-msg.sed: Removed.
64252         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
64253         po2text.sed.
64254         * intl/po2test.awk: New file.
64255         * intl/po2test.sed: Removed.
64257 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
64259         [BZ #14328]
64260         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
64261         or multiply small sinh result by itself.
64262         * math/s_ctanf.c (__ctanf): Likewise.
64263         * math/s_ctanh.c (__ctanh): Likewise.
64264         * math/s_ctanhf.c (__ctanhf): Likewise.
64265         * math/s_ctanhl.c (__ctanhl): Likewise.
64266         * math/s_ctanl.c (__ctanl): Likewise.
64267         * math/libm-test.inc (ctan_test_tonearest): New function.
64268         (ctan_test_towardzero): Likewise.
64269         (ctan_test_downward): Likewise.
64270         (ctan_test_upward): Likewise.
64271         (ctanh_test_tonearest): Likewise.
64272         (ctanh_test_towardzero): Likewise.
64273         (ctanh_test_downward): Likewise.
64274         (ctanh_test_upward): Likewise.
64275         (main): Call these new functions.
64276         * sysdeps/i386/fpu/libm-test-ulps: Update.
64277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64279 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
64281         * .gitignore: Delete /ports entry.
64283 2012-07-03  Andreas Jaeger  <aj@suse.de>
64285         * po/bg.po: Update from translation team.
64286         * po/cs.po: Likewise.
64287         * po/de.po: Likewise.
64288         * po/hr.po: Likewise.
64289         * po/nl.pl: Likewise.
64290         * po/pl.po: Likewise.
64291         * po/vi.po: Likewise.
64293 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
64295         * Makeconfig [!+link] (+link-before-libc): New variable.
64296         [!+link] (+link-after-libc): Likewise.
64297         [!+link] (+link-tests): Likewise.
64298         [!+link] (+link): Define in terms of $(+link-before-libc) and
64299         $(+link-after-libc).
64300         [!+link-static] (+link-static-before-libc): New variable.
64301         [!+link-static] (+link-static-after-libc): Likewise.
64302         [!+link-static] (+link-static-tests): Likewise.
64303         [!+link-static] (+link-static): Define in terms of
64304         $(+link-static-before-libc) and $(+link-static-after-libc).
64305         [build-shared] (link-libc-before-gnulib): New variable.
64306         [build-shared] (link-libc-tests): Likewise.
64307         [build-shared] (link-libc): Define in terms of
64308         $(link-libc-before-gnulib).
64309         [!build-shared] (link-libc-tests): New variable.
64310         (link-libc-static-tests): New variable.
64311         [!gnulib] (gnulib-arch): New variable.
64312         [!gnulib] (gnulib-tests): Likewise.
64313         [!gnulib] (static-gnulib-arch): Likewise.
64314         [!gnulib] (static-gnulib-tests): Likewise.
64315         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
64316         Define with "=" instead of ":=".
64317         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
64318         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
64319         * Rules (binaries-all-notests): New variable.
64320         (binaries-all-tests): Likewise.
64321         (binaries-static-notests): Likewise.
64322         (binaries-static-tests): Likewise.
64323         (binaries-all): Define using $(binaries-all-notests) and
64324         $(binaries-all-tests).
64325         (binaries-static): Define using $(binaries-static-notests) and
64326         $(binaries-static-tests).
64327         (binaries-shared-tests): New variable.
64328         (binaries-shared-notests): Likewise.
64329         (binaries-shared): Remove variable.
64330         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
64331         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
64332         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
64333         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
64334         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
64335         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
64336         * elf/Makefile (sln-modules): New variable.
64337         (extra-objs): Add $(sln-modules:=.o).
64338         (ldconfig-modules): Add static-stubs.
64339         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
64340         * elf/static-stubs.c: New file.
64342         [BZ #14283]
64343         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
64344         by 7 not 8 to examine high bit of fractional part.  Use volatile
64345         variables when splitting into final array of floats if
64346         __FLT_EVAL_METHOD__ != 0.
64347         * math/libm-test.inc (cos_test): Add another test.
64348         (sin_test): Likewise.
64349         * sysdeps/i386/fpu/libm-test-ulps: Update.
64351         [BZ #14273]
64352         * math/libm-test.inc (cosh_test): Add more tests.
64354         * version.h (RELEASE): Set to "development".
64355         (VERSION): Set to "2.16.90".
64357 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
64359         * NEWS: Update copyright. Remove last-updated date.
64360         Mention math library bug fixes and timezone data changes.
64361         * README: Mention GNU/Hurd, x32, and HPPA support status.
64363 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
64365         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
64367 2012-06-27  Andreas Jaeger  <aj@suse.de>
64369         * manual/contrib.texi (Contributors): Add Samuel Thibault.
64371 2012-06-25  Andreas Jaeger  <aj@suse.de>
64373         * sysdeps/s390/fpu/libm-test-ulps: Update.
64375 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
64376             Thomas Schwinge  <thomas@codesourcery.com>
64378         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
64379         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
64380         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
64381         fanotify_mark.
64383 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
64385         * sysdeps/mach/start.c: Remove file.
64386         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
64387         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
64388         * sysdeps/sh/init-first.c: Likewise.
64390         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
64391         registers for frame unwinding purposes, add CFI directives.
64392         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64393         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
64394         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
64395         Likewise.
64397         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
64398         __fortify_fail returning.
64399         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64401         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
64402         sysdeps/sh/____longjmp_chk.S.
64403         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
64404         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
64405         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
64406         (gen-as-const-headers): Append sigaltstack-offsets.sym.
64408         * sysdeps/sh/abort-instr.h: New file.
64409         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
64410         process in case exit returns.
64412         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
64413         initialize the GOT register before use.
64415         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
64416         calculation of ARGC > 4.
64418         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
64419         meaningful names to some local labels.
64421 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64422             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64424         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
64425         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
64426         (__arch_compare_and_exchange_val_16_acq): Likewise.
64427         (__arch_compare_and_exchange_val_32_acq): Likewise.
64428         (atomic_exchange_and_add): Fix gUSA sequence.
64429         (atomic_add): Likewise.
64430         (atomic_add_negative): Likewise.
64431         (atomic_add_zero): Likewise.
64432         (atomic_bit_test_set): Likewise.
64434 2012-06-22  Andreas Schwab  <schwab@redhat.com>
64436         [BZ #13579]
64437         * include/link.h (struct link_map): Add l_free_initfini.
64438         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
64439         l_initfini.
64440         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
64441         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
64442         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
64443         set.
64445 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
64447         * configure.in: Use AC_LANG_SOURCE.
64448         * configure: Regenerate.
64450 2012-06-22  Roland McGrath  <roland@hack.frob.com>
64452         * configure.in (libc_cv_localstatedir): New substituted variable.
64453         * configure: Regenerated.
64454         * config.make.in (localstatedir): New variable, substituted from
64455         libc_cv_localstatedir.
64456         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
64457         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
64458         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
64459         * sysdeps/gnu/configure: Regenerated.
64461 2012-06-21  Jeff Law  <law@redhat.com>
64463         [BZ #14277]
64464         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
64465         free.  Simplify list management for _LIBC case.
64467 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
64469         [BZ #14273]
64470         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
64471         Clear sign bit of 64-bit integer value before comparing against
64472         overflow value.
64474         * sysdeps/mach/configure: Regenerated.
64476 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
64478         [BZ #14278]
64479         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
64481 2012-06-21  Jeff Law  <law@redhat.com>
64483         [BZ #13882]
64484         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
64485         uint16_t for elements in the "seen" array to avoid char overflows.
64486         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64487         * elf/dl-open.c (dl_open_worker): Likewise.
64489 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
64491         * scripts/list-sources.sh: Scan PORTS for translations.
64492         * po/libc.pot: Regenerated.
64494 2012-06-21  Andreas Jaeger  <aj@suse.de>
64496         [BZ #12194]
64497         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
64498         warning.
64499         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
64500         * bits/byteswap-16.h (__bswap_16): Likewise.
64501         * bits/byteswap.h (__bswap_constant_16): Likewise.
64503 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
64505         [BZ #14117]
64506         * sysdeps/i386/fpu_control.h: Removed.
64507         * sysdeps/x86_64/fpu_control.h: Moved to ...
64508         * sysdeps/x86/fpu_control.h: Here.
64510         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
64511         (_FPU_SETCW): Likewise.
64513 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
64515         [BZ #14117]
64516         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
64517         * sysdeps/x86/fpu/bits/mathinline.h: This.
64518         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
64520         [BZ #14050]
64521         [BZ #14117]
64522         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
64523         functions if __x86_64__ is defined.
64525 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
64527         * string/endian.h: Add !__ASSEMBLER__ condition for including
64528         conversion interfaces.
64530 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
64532         [BZ #14241]
64533         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
64534         of ABS(x) in calculating zero to negative powers other than odd
64535         integers.
64536         * math/libm-test.inc (pow_test): Add more tests.
64538 2012-06-15  Andreas Jaeger  <aj@suse.de>
64540         * manual/contrib.texi (Contributors): Update entry of Liubov
64541         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
64542         Machado Filho.
64544 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
64546         * string/string.h: Add __wur to GNU version of strerror_r.
64548 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
64550         [BZ #14229]
64551         * string/Makefile (tests): Add tst-strtok_r.
64552         * string/tst-strtok_r.c: New file.
64553         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
64554         RAX_LP/RDX_LP on SAVE_PTR.
64556 2012-06-14  Roland McGrath  <roland@hack.frob.com>
64558         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
64560 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
64562         * libm_test.inc (csqrt_test): Allow more spurious underflow
64563         exceptions.
64564         (j0_test): Likewise.
64565         (j1_test): Likewise.
64566         (y0_test): Likewise.
64567         (y1_test): Likewise.
64569 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
64571         * po/Makefile (libc.pot): Use UTF-8 charset.
64573 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
64575         [BZ #14210]
64576         Suppress sign-conversion warning from FD_SET.
64577         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
64578         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
64579         not unsigned long int.
64580         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
64582 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
64584         [BZ #14050]
64585         [BZ #14117]
64586         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
64587         __extern_always_inline instead of __extern_inline.
64588         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
64589         (__signbit): Likewise.
64590         (__signbitl): Support C++ namespace.
64591         (lrintf): New inline function.
64592         (lrint): Likewise.
64593         (llrintf): Likewise.
64594         (llrint): Likewise.
64595         (fmaxf): Likewise.
64596         (fmax): Likewise.
64597         (fminf): Likewise.
64598         (fmin): Likewise.
64599         (rint): Likewise.
64600         (rintf): Likewise.
64601         (ceil): Likewise.
64602         (ceilf): Likewise.
64603         (floor): Likewise.
64604         (floorf): Likewise.
64605         (nearbyint): Likewise.
64606         (nearbyintf): Likewise.
64608 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
64610         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
64611         non-default versions.
64613 2012-06-11  Roland McGrath  <roland@hack.frob.com>
64615         [BZ #14218]
64616         * manual/argp.texi (Argp): Reword argp_parse description slightly.
64618 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
64620         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
64621         (FE_UPWARD, FE_DOWNWARD): Don't define.
64622         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
64623         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64625         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
64626         reading it.
64627         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64628         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64630 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64632         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64633         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
64634         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
64635         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
64637 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
64639         [BZ #14117]
64640         * sysdeps/i386/fpu/bits/fenv.h: Removed.
64641         * sysdeps/i386/fpu/Implies: New file.
64642         * sysdeps/x86_64/fpu/Implies: Likewise.
64643         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
64644         * sysdeps/x86/fpu/bits/fenv.h: This.
64646         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
64647         __SSE_MATH__.
64649 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64651         [BZ #14134]
64652         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
64653         character 0xffff that matches the last element of the
64654         conversion table.
64656 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64658         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
64659         fmodl commit.
64661 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64663         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
64664         values higher than 25.6283.
64666 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64668         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
64669         subnormal exponent extraction and add some __builtin_expect.
64670         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
64671         Fix for subnormal mantissa calculation.
64673 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
64675         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
64676         cpu2 is -1 and errno is not ENOSYS.
64678 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
64680         [BZ #14117]
64681         * sysdeps/i386/i486/bits/string.h: Renamed to ...
64682         * sysdeps/x86/bits/string.h: This.
64683         * sysdeps/x86_64/bits/string.h: Removed.
64685         * sysdeps/i386/i486/bits/string.h: Define inline functions only
64686         if not compiling for x86-64, but compiling for >= i486.
64688         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
64689         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
64691         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
64692         New macro from Linux kernel 3.4.0.
64693         (FP_XSTATE_MAGIC2): Likewise.
64694         (FP_XSTATE_MAGIC2_SIZE): Likewise.
64695         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
64696         (struct _fpx_sw_bytes): New struct.
64697         (struct _xsave_hdr): Likewise.
64698         (struct _ymmh_state): Likewise.
64699         (struct _xstate): Likewise.
64701         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
64702         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
64703         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
64704         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
64705         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
64706         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
64708         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
64709         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
64710         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
64711         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
64712         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
64713         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
64715 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64717         [BZ #13743]
64718         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
64719         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
64720         (sysdep_headers): Include sys/platform/ppc.h.
64721         * sysdeps/powerpc/test-gettimebase.c: Test for
64722         __ppc_get_timebase() to catch future ISA opcode/insn changes.
64723         * manual/Makefile (appendices): Include platform.texi.
64724         * manual/contrib.texi (Contributors): Update @node pointers.
64725         * manual/maint.texi (Maintenance): Likewise.
64726         (Platform): New node.
64727         * manual/platform.texi: New file.  Document the new features.
64729 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64730             Jakub Jelinek  <jakub@redhat.com>
64732         [BZ #14188]
64733         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
64734         where __builtin_expect is unavailable.
64736 2012-06-03  David S. Miller  <davem@davemloft.net>
64738         * stdlib/longlong.h: Updated from GCC.
64740 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
64742         [BZ #14042]
64743         * sysdeps/powerpc/powerpc32/mcount.c: New file.
64744         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
64745         __mcount_internal.
64746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
64747         (GLIBC_2.16): Likewise.
64749 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64751         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
64753 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
64756         (default-abi): New variable.
64757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
64758         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
64759         variable.
64760         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
64761         Likewise.
64762         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
64763         Likewise.
64764         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
64765         Likewise.
64767         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
64768         definition.  Document in comment.
64770 2012-06-01  David S. Miller  <davem@davemloft.net>
64772         * stdlib/longlong.h: Updated from GCC.
64774 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64776         [BZ #14117]
64777         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
64778         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
64779         sys/debugreg.h sys/io.h here.
64780         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
64781         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
64782         sys/io.h.
64783         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
64784         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
64785         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
64786         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
64787         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
64788         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
64790         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
64791         Define only if __x86_64__ is defined.
64793 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64795         [BZ #14048]
64796         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
64797         Use int64_t for variable i.
64798         * math/libm-test.inc (fmod_test): Add more tests.
64800         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
64801         z computation is not scheduled after fetestexcept.
64802         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
64803         Use math_force_eval instead of asm to ensure calculation scheduled
64804         before exception test.
64805         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
64806         Ensure a1 + u.d computation is not scheduled after fetestexcept.
64808 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
64810         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
64811         computation is not scheduled after fetestexcept.
64813 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64815         [BZ #14117]
64816         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
64817         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
64819 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64821         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
64822         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64824 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64826         [BZ #14117]
64827         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
64828         <bits/wordsize.h>.
64829         (__WCHAR_MIN): Support __WORDSIZE == 64.
64830         (__WCHAR_MAX): Likewise.
64832         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
64833         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
64835         [BZ #14183]
64836         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
64837         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
64839         [BZ #14117]
64840         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
64841         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
64843         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
64844         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
64846         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
64847         Defined to 1 if __x86_64__ isn't defined.
64848         (_STAT_VER_LINUX_OLD): New.
64849         (st_atime): Remove duplicate.
64850         (st_mtime): Likewise.
64851         (st_ctime): Likewise.
64853 2012-05-31  David S. Miller  <davem@davemloft.net>
64855         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
64856         entries.
64858 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
64860         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
64861         gen-libm-test.pl.
64863         [BZ #14132]
64864         * elf/dl-reloc.c: Include <_itoa.h>.
64865         (_dl_reloc_bad_type): Remove use of INTUSE.
64866         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
64867         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
64868         * stdio-common/psiginfo.c (psiginfo): Likewise.
64869         * stdio-common/psignal.c (psignal): Likewise.
64870         * string/strsignal.c (strsignal): Likewise.
64871         * include/signal.h (_sys_siglist): Declare hidden proto.
64872         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
64873         INTVARDEF with libc_hidden_data_def.
64874         * stdio-common/itoa-udigits.c: Likewise.
64875         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
64876         (_itoa_lower_digits_internal): Remove declaration.
64877         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
64878         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
64879         (_sys_sigabbrev_internal): Remove aliases.
64880         (_sys_siglist): Define hidden alias.
64882 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
64884         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64885         bits/sysctl.h.
64887 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64889         [BZ #14117]
64890         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
64891         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
64893         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
64894         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
64895         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
64896         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
64897         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
64898         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
64900         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
64901         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
64902         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
64904         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
64905         with __addr.
64906         (insw): Likewise.
64907         (insl): Likewise.
64908         (outsb): Likewise.
64909         (outsw): Likewise.
64910         (outsl): Likewise.
64912         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
64913         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
64914         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
64916         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
64917         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
64918         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
64919         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
64920         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
64921         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
64923         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
64924         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
64926         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
64927         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
64929         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
64930         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
64931         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
64933         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
64934         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
64935         to ...
64936         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
64938         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
64939         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
64940         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
64942         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
64943         for x86-64.
64944         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
64946 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
64948         * math/math.h (M_El): Use two more decimal places.
64949         (M_LOG2El): Likewise.
64950         (M_LOG10El): Likewise.
64951         (M_LN2l): Likewise.
64952         (M_LN10l): Likewise.
64953         (M_PIl): Likewise.
64954         (M_PI_2l): Likewise.
64955         (M_PI_4l): Likewise.
64956         (M_1_PIl): Likewise.
64957         (M_2_PIl): Likewise.
64958         (M_2_SQRTPIl): Likewise.
64959         (M_SQRT2l): Likewise.
64960         (M_SQRT1_2l): Likewise.
64962 2012-05-31  David S. Miller  <davem@davemloft.net>
64964         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
64965         values between float registers.
64966         * sysdeps/sparc/sparc64/memset.S: Likewise.
64967         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64969 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
64971         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
64972         -D_FORTIFY_SOURCE=1.
64973         (CPPFLAGS-tst-longjmp_chk.c): Define.
64974         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
64975         (CPPFLAGS-tst-longjmp_chk2.c): Define.
64976         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
64977         CFLAGS-tst-wchar-h.c.
64979 2012-05-31  Marek Polacek  <polacek@redhat.com>
64981         [BZ #14132]
64982         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
64983         __endmntent_internal): Remove declaration.
64984         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
64985         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
64986         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
64988 2012-05-30  David S. Miller  <davem@davemloft.net>
64990         * sysdeps/sparc/sparc32/soft-fp/q_util.c
64991         (___Q_simulate_exceptions): Use real FP ops rather than writing
64992         into the %fsr.
64993         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
64994         Likewise.
64996 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64998         [BZ #14117]
64999         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
65000         * sysdeps/x86/bits/xtitypes.h: This.
65002         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
65003         * sysdeps/x86/bits/wordsize.h: This.
65005         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
65006         * sysdeps/x86/bits/huge_vall.h: This.
65008         * sysdeps/i386/bits/select.h: Removed.
65009         * sysdeps/x86_64/bits/select.h: Renamed to ...
65010         * sysdeps/x86/bits/select.h: This.
65012         * sysdeps/i386/bits/setjmp.h: Removed.
65013         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
65014         * sysdeps/x86/bits/setjmp.h: This.
65016         * sysdeps/i386/bits/mathdef.h: Removed.
65017         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
65018         * sysdeps/x86/bits/mathdef.h: This.
65020 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
65022         [BZ #14132]
65023         * include/sys/socket.h (__connect_internal)
65024         (__libc_sa_len_internal): Remove declaration.
65025         (__connect, __libc_sa_len): Declare hidden_proto.
65026         (SA_LEN): Remove use of INTUSE.
65027         * socket/connect.c: Add libc_hidden_def.
65028         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
65029         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
65030         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
65031         alias.
65032         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
65033         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
65034         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
65035         of adding _internal alias.
65037 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65039         [BZ #14117]
65040         * sysdeps/i386/bits/link.h: Removed.
65041         * sysdeps/i386/bits/linkmap.h: Likewise.
65042         * sysdeps/x86_64/bits/link.h: Renamed to ...
65043         * sysdeps/x86/bits/link.h: This.
65044         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
65045         * sysdeps/x86/bits/linkmap.h: This.
65047         * sysdeps/i386/bits/endian.h: Removed.
65048         * sysdeps/x86_64/bits/endian.h: Renamed to ...
65049         * sysdeps/x86/bits/endian.h: This.
65051         * sysdeps/i386/bits/byteswap.h: Removed.
65052         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65053         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
65054         * sysdeps/x86/bits/byteswap.h: This.
65055         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
65056         * sysdeps/x86/bits/byteswap-16.h: This.
65057         * sysdeps/i386/Implies: Add x86.
65058         * sysdeps/x86_64/Implies: Likewise.
65060 2012-05-30  David S. Miller  <davem@davemloft.net>
65062         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
65063         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
65064         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
65065         (FP_TRAPPING_EXCEPTIONS): Define.
65066         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
65067         (FP_TRAPPING_EXCEPTIONS): Define.
65068         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
65069         subnormals only when inexact has been signalled or underflow
65070         exceptions are enabled.
65071         (_FP_PACK_CANONICAL): Likewise.
65073 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65075         [BZ #14183]
65076         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
65077         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
65079 2012-05-30  Richard Henderson  <rth@twiddle.net>
65081         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
65082         with #ifndef NOT_IN_libc.
65084         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
65085         marked to avoid plt entry.
65087 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65089         [BZ #14112]
65090         * Makeconfig (default-abi): New macro.
65091         (abi-includes): Likewise.
65092         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
65093         $(abi-$(default-abi)-lib-soname) for soname if defined.
65094         ($(common-objpfx)gnu/lib-names.stmp): Generate from
65095         abi-variants.
65096         * Makefile (installed-stubs): Likewise.
65097         * include/stubs-biarch.h: Removed.
65098         * scripts/lib-names.awk: Only handle one library at a time.
65099         * scripts/soversions.awk: Remove WORDSIZE support.
65100         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
65101         entries.
65102         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
65103         Removed.
65104         (syscall-list-default-condition): Likewise.
65105         (syscall-list-default-condition): Likewise.
65106         (syscall-list-includes): Likewise.
65107         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
65108         syscall-list-* with abi-*.  Handle undefined abi-variants.
65109         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
65110         * sysdeps/unix/sysv/linux/i386/Implies: New file.
65111         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
65112         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
65113         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
65114         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
65115         Removed.
65116         (syscall-list-32-options): Likewise.
65117         (syscall-list-32-condition): Likewise.
65118         (syscall-list-64-options): Likewise.
65119         (syscall-list-64-condition): Likewise.
65120         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
65121         macro.
65122         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
65123         Renamed to ...
65124         (abi-*): This.
65125         (abi-64-ld-soname): New macro.
65126         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
65127         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
65128         Renamed to ...
65129         (abi-*): This.
65130         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
65131         * sysdeps/x86_64/x32/shlib-versions: Likewise.
65133 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
65135         * sysdeps/unix/sysv/linux/kernel-features.h
65136         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
65137         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
65138         include <kernel-features.h>.
65139         [!__NR_ftruncate64]: Remove conditional code.
65140         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65141         [__NR_ftruncate64]: Make code unconditional.
65142         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65143         * sysdeps/unix/sysv/linux/truncate64.c: Do not
65144         include <kernel-features.h>.
65145         [!__NR_ftruncate64]: Remove conditional code.
65146         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65147         [__NR_ftruncate64]: Make code unconditional.
65148         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
65150         include <kernel-features.h>.
65151         [!__NR_ftruncate64]: Remove conditional code.
65152         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65153         [__NR_ftruncate64]: Make code unconditional.
65154         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65156         include <kernel-features.h>.
65157         [!__NR_ftruncate64]: Remove conditional code.
65158         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65159         [__NR_ftruncate64]: Make code unconditional.
65160         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65162         * configure.in (libc_cv_fpie): Weaken to a compile test using
65163         LIBC_TRY_CC_OPTION.
65164         * configure: Regenerated.
65166 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
65169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
65170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
65171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65172         Refreshed.
65173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
65174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
65175         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
65176         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
65177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
65178         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65179         Refreshed.
65181 2012-05-27  David S. Miller  <davem@davemloft.net>
65183         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
65184         (___Q_zero): New.
65185         (__Q_simulate_exceptions): Return void.  Change to simulate
65186         exceptions by writing into the %fsr.
65187         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
65188         (__Qp_handle_exceptions): Likewise.
65189         (numbers): Delete.
65190         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
65191         __Qp_handle_exceptions.
65192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
65193         __Qp_handle_exceptions.
65194         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65195         as unused and give dummy FP_RND_NEAREST initializer.
65196         (FP_INHIBIT_RESULTS): Define.
65197         (___Q_simulate_exceptions): Update declaration.
65198         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
65199         formatting.
65200         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65201         as unused and give dummy FP_RND_NEAREST initializer.
65202         (__Qp_handle_exceptions): Update declaration.
65203         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
65204         formatting.
65206 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
65208         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
65209         the temporary FPU control word.
65210         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
65211         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
65212         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
65213         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
65214         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
65215         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
65216         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
65217         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
65218         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
65219         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
65220         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65222 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65224         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
65225         fields.
65227 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
65229         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
65230         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
65231         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
65232         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
65233         Likewise.
65234         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
65235         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
65236         Likewise.
65238 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
65240         * po/h.po: Update from translation team.
65242 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
65244         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
65246         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
65247         handling of denormals.
65248         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65249         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
65250         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65251         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65252         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65253         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
65254         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
65255         Likewise.
65257 2012-05-26  Marek Polacek  <polacek@redhat.com>
65259         [BZ #14152]
65260         * math/libm-test.inc (fma_test): Don't always expect underflow
65261         exception.
65263 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65265         [BZ #12416]
65266         * elf/tst-execstack.c: Include stackinfo.h.
65267         (do_test): Adjust test case to ensure that pthread_getattr_np
65268         behaviour remains the same after marking stack executable.
65270 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65272         * sysdeps/unix/sysv/linux/kernel-features.h
65273         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
65274         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
65275         kernel-features.h.
65276         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65277         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65278         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
65279         kernel-features.h.
65280         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65281         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65283 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
65285         * configure.in: Define the default includes to being none.
65286         * configure: Regenerated.
65288 2012-05-25  Roland McGrath  <roland@hack.frob.com>
65290         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
65291         * sysdeps/x86_64/setjmp.S: Likewise.
65292         * sysdeps/i386/bsd-setjmp.S: Likewise.
65293         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65294         * sysdeps/i386/setjmp.S: Likewise.
65295         * sysdeps/i386/__longjmp.S: Likewise.
65296         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65297         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
65299         * include/stap-probe.h: New file.
65300         * configure.in: Handle --enable-systemtap.
65301         * configure: Regenerated.
65302         * config.h.in (USE_STAP_PROBE): New #undef.
65303         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
65304         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
65305         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
65307 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65309         [BZ #13717]
65310         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65311         to 2.4.0 where earlier.
65312         * sysdeps/unix/sysv/linux/configure: Regenerated.
65313         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65314         <kernel-features.h>.
65315         [__ASSUME_32BITUIDS]: Make code unconditional.
65316         [!__ASSUME_32BITUIDS]: Remove conditional code.
65317         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
65318         <kernel-features.h>.
65319         [__ASSUME_32BITUIDS]: Make code unconditional.
65320         [!__ASSUME_32BITUIDS]: Remove conditional code.
65321         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
65322         [__ASSUME_32BITUIDS]: Make code unconditional.
65323         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
65324         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
65325         <kernel-features.h>.
65326         [__ASSUME_32BITUIDS]: Make code unconditional.
65327         [!__ASSUME_32BITUIDS]: Remove conditional code.
65328         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
65329         <kernel-features.h>.
65330         [__ASSUME_32BITUIDS]: Make code unconditional.
65331         [!__ASSUME_32BITUIDS]: Remove conditional code.
65332         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
65333         <kernel-features.h>.
65334         [__ASSUME_32BITUIDS]: Make code unconditional.
65335         [!__ASSUME_32BITUIDS]: Remove conditional code.
65336         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
65337         <kernel-features.h>.
65338         [__ASSUME_32BITUIDS]: Make code unconditional.
65339         [!__ASSUME_32BITUIDS]: Remove conditional code.
65340         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
65341         <kernel-features.h>.
65342         [__ASSUME_32BITUIDS]: Make code unconditional.
65343         [!__ASSUME_32BITUIDS]: Remove conditional code.
65344         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
65345         <kernel-features.h>.
65346         [__ASSUME_32BITUIDS]: Make code unconditional.
65347         [!__ASSUME_32BITUIDS]: Remove conditional code.
65348         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
65349         <kernel-features.h>.
65350         [__ASSUME_32BITUIDS]: Make code unconditional.
65351         [!__ASSUME_32BITUIDS]: Remove conditional code.
65352         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65353         <kernel-features.h>.
65354         [__ASSUME_32BITUIDS]: Make code unconditional.
65355         [!__ASSUME_32BITUIDS]: Remove conditional code.
65356         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
65357         <kernel-features.h>.
65358         [__ASSUME_32BITUIDS]: Make code unconditional.
65359         [!__ASSUME_32BITUIDS]: Remove conditional code.
65360         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
65361         <kernel-features.h>.
65362         [__ASSUME_32BITUIDS]: Make code unconditional.
65363         [!__ASSUME_32BITUIDS]: Remove conditional code.
65364         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
65365         <kernel-features.h>.
65366         [__NR_setresgid] (__setresgid): Do not declare.
65367         [__ASSUME_32BITUIDS]: Make code unconditional.
65368         [!__ASSUME_32BITUIDS]: Remove conditional code.
65369         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
65370         <kernel-features.h>.
65371         [__NR_setresuid] (__setresuid): Do not declare.
65372         [__ASSUME_32BITUIDS]: Make code unconditional.
65373         [!__ASSUME_32BITUIDS]: Remove conditional code.
65374         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
65375         <kernel-features.h>.
65376         [__ASSUME_32BITUIDS]: Make code unconditional.
65377         [!__ASSUME_32BITUIDS]: Remove conditional code.
65378         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
65379         <kernel-features.h>.
65380         [__ASSUME_32BITUIDS]: Make code unconditional.
65381         [!__ASSUME_32BITUIDS]: Remove conditional code.
65382         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
65383         <kernel-features.h>.
65384         [__ASSUME_32BITUIDS]: Make code unconditional.
65385         [!__ASSUME_32BITUIDS]: Remove conditional code.
65386         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
65387         <kernel-features.h>.
65388         [__ASSUME_32BITUIDS]: Make code unconditional.
65389         [!__ASSUME_32BITUIDS]: Remove conditional code.
65390         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
65391         <kernel-features.h>.
65392         [__ASSUME_32BITUIDS]: Make code unconditional.
65393         [!__ASSUME_32BITUIDS]: Remove conditional code.
65394         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
65395         <kernel-features.h>.
65396         [__ASSUME_32BITUIDS]: Make code unconditional.
65397         [!__ASSUME_32BITUIDS]: Remove conditional code.
65398         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
65399         <kernel-features.h>.
65400         [__ASSUME_32BITUIDS]: Make code unconditional.
65401         [!__ASSUME_32BITUIDS]: Remove conditional code.
65402         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
65403         <kernel-features.h>.
65404         [__ASSUME_32BITUIDS]: Make code unconditional.
65405         [!__ASSUME_32BITUIDS]: Remove conditional code.
65406         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
65407         <kernel-features.h>.
65408         [__ASSUME_32BITUIDS]: Make code unconditional.
65409         [!__ASSUME_32BITUIDS]: Remove conditional code.
65410         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65411         <kernel-features.h>.
65412         [__ASSUME_32BITUIDS]: Make code unconditional.
65413         [!__ASSUME_32BITUIDS]: Remove conditional code.
65414         * sysdeps/unix/sysv/linux/kernel-features.h
65415         (__ASSUME_SETRESUID_SYSCALL): Remove.
65416         (__ASSUME_SETRESGID_SYSCALL): Likewise.
65417         (__ASSUME_32BITUIDS): Likewise.
65418         (__ASSUME_LDT_WORKS): Likewise.
65419         (__ASSUME_O_DIRECTORY): Likewise.
65420         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
65421         architecture but not kernel version.
65422         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
65423         (__ASSUME_MMAP2_SYSCALL): Likewise.
65424         (__ASSUME_STAT64_SYSCALL): Likewise.
65425         (__ASSUME_IPC64): Likewise.
65426         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
65427         <kernel-features.h>.
65428         [__ASSUME_32BITUIDS]: Make code unconditional.
65429         [!__ASSUME_32BITUIDS]: Remove conditional code.
65430         * sysdeps/unix/sysv/linux/opendir.c: Do not include
65431         <kernel-features.h>.
65432         [__ASSUME_O_DIRECTORY]: Make code unconditional.
65433         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
65434         132096]: Remove conditional code.
65435         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
65436         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65437         <kernel-features.h>.
65438         [__ASSUME_32BITUIDS]: Make code unconditional.
65439         [!__ASSUME_32BITUIDS]: Remove conditional code.
65440         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65441         <kernel-features.h>.
65442         [__ASSUME_32BITUIDS]: Make code unconditional.
65443         [!__ASSUME_32BITUIDS]: Remove conditional code.
65444         * sysdeps/unix/sysv/linux/setegid.c: Do not include
65445         <kernel-features.h>.
65446         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
65447         unconditional.
65448         (__setresgid): Do not declare.
65449         [__ASSUME_32BITUIDS]: Make code unconditional.
65450         [!__ASSUME_32BITUIDS]: Remove conditional code.
65451         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
65452         <kernel-features.h>.
65453         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
65454         unconditional.
65455         (__setresuid): Do not declare.
65456         [__ASSUME_32BITUIDS]: Make code unconditional.
65457         [!__ASSUME_32BITUIDS]: Remove conditional code.
65458         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65459         <kernel-features.h>.
65460         [__ASSUME_32BITUIDS]: Make code unconditional.
65461         [!__ASSUME_32BITUIDS]: Remove conditional code.
65462         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
65463         <kernel-features.h>.
65464         [__ASSUME_32BITUIDS]: Make code unconditional.
65465         [!__ASSUME_32BITUIDS]: Remove conditional code.
65467 2012-05-25  Richard Henderson  <rth@twiddle.net>
65469         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
65470         dl_hwcap to ifunc resolver.
65471         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
65472         elf_ifunc_invoke.
65473         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
65474         dl_hwcap to ifunc resolver.
65475         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
65477 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65479         [BZ #14153]
65480         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
65481         for |x| <= 2**-26, not 2**-57.
65482         * math/libm-test.inc (acos_test): Do not allow spurious underflow
65483         exception.
65485 2012-05-24  Jeff Law  <law@redhat.com>
65487         * stdio-common/Makefile (tests): Add bug25.
65488         * stdio-common/bug25.c: New test.
65490 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65492         [BZ #13576]
65493         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
65494         multiple of MALLOC_ALIGNMENT in size.
65495         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
65497 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65499         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
65500         Require >= 256.
65501         (FILENAME_MAX): Use macro-int-constant.
65502         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
65503         (_IOFBF): Use macro-int-constant.
65504         (_IOLBF): Likewise.
65505         (_IONBF): Likewise.
65506         (SEEK_CUR): Likewise.
65507         (SEEK_END): Likewise.
65508         (SEEK_SET): Likewise.
65509         (TMP_MAX): Likewise.
65510         (EOF): Use macro-int-constant.  Require < 0.
65511         (NULL): Use macro-constant.  Require == 0.
65512         (stdin): Require type to be FILE *.
65513         (stdout): Likewise.
65514         (stderr): Likewise.
65515         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
65516         macro-int-constant.
65517         (EXIT_SUCCESS): Likewise.
65518         (NULL): Use macro-constant.  Require == 0.
65519         (RAND_MAX): Use macro-int-constant.
65520         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
65521         [C99-based standards] (strtof): Require function.
65522         [C99-based standards] (strtold): Likewise.
65523         [C99-based standards] (strtoll): Likewise.
65524         [C99-based standards] (strtoull): Likewise.
65525         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
65526         [ISO || ISO99 || ISO11] (limits.h): Likewise.
65527         [ISO || ISO99 || ISO11] (math.h): Likewise.
65528         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
65529         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
65530         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65532 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
65534         [BZ #14132]
65535         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
65536         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
65537         * intl/dgettext.c (DCGETTEXT): Likewise.
65538         * intl/gettext.c (DCGETTEXT): Likewise.
65539         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
65540         * posix/regex_internal.h (gettext): Likewise.
65541         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
65542         Remove declaration.
65543         * include/argz.h (__argz_count_internal)
65544         (__argz_stringify_internal): Remove declaration.
65545         (__argz_count, __argz_stringify): Declare hidden proto.
65546         * intl/dcgettext.c: Remove use of INTDEF.
65547         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
65548         * string/argz-stringify.c: Likewise.
65549         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65550         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65551         Declare hidden proto.
65552         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65553         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65554         Declare hidden proto.
65555         * include/stdio.h (__asprintf_internal): Don't declare.
65556         (__asprintf): Don't define as macro.  Declare hidden proto.
65557         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
65558         (__fsetlocking): Declare hidden proto.
65559         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
65560         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
65561         hidden proto.
65562         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
65563         (_IO_setlinebuf): Remove use of INTUSE.
65564         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
65565         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
65566         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
65567         Remove declaration.
65568         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
65569         (_IO_do_flush): Remove use of INTUSE.
65570         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
65571         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
65572         (_IO_adjust_column, _IO_least_wmarker)
65573         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
65574         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
65575         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
65576         (_IO_default_doallocate, _IO_wdefault_doallocate)
65577         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
65578         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
65579         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
65580         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
65581         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
65582         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
65583         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
65584         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
65585         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
65586         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
65587         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
65588         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
65589         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
65590         proto.
65591         (_IO_flush_all_internal, _IO_adjust_column_internal)
65592         (_IO_default_uflow_internal, _IO_default_finish_internal)
65593         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
65594         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
65595         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
65596         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
65597         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
65598         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
65599         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
65600         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
65601         (_IO_file_close_internal, _IO_file_close_it_internal)
65602         (_IO_file_underflow_internal, _IO_file_overflow_internal)
65603         (_IO_file_init_internal, _IO_file_attach_internal)
65604         (_IO_file_fopen_internal, _IO_file_read_internal)
65605         (_IO_file_sync_internal, _IO_file_seek_internal)
65606         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
65607         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
65608         (_IO_str_underflow_internal, _IO_str_overflow_internal)
65609         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
65610         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
65611         (_IO_list_all_internal, _IO_link_in_internal)
65612         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
65613         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
65614         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
65615         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
65616         (_IO_do_write_internal, _IO_padn_internal)
65617         (_IO_getline_info_internal, _IO_getline_internal)
65618         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
65619         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
65620         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
65621         (_IO_vfscanf_internal, _IO_vfprintf_internal)
65622         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
65623         (_IO_init_internal, _IO_un_link_internal): Don't declare.
65624         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
65625         with libc_hidden_ver, remove use of INTUSE.
65626         * libio/genops.c: Likewise.
65627         * libio/freopen.c: Likewise.
65628         * libio/freopen64.c: Likewise.
65629         * libio/iofclose.c: Likewise.
65630         * libio/iofdopen.c: Likewise.
65631         * libio/iofflush.c: Likewise.
65632         * libio/iofflush_u.c: Likewise.
65633         * libio/iofgets.c: Likewise.
65634         * libio/iofgets_u.c: Likewise.
65635         * libio/iofopen.c: Likewise.
65636         * libio/iofopncook.c: Likewise.
65637         * libio/iofread.c: Likewise.
65638         * libio/iofread_u.c: Likewise.
65639         * libio/ioftell.c: Likewise.
65640         * libio/iofwrite.c: Likewise.
65641         * libio/iogetline.c: Likewise.
65642         * libio/iogets.c: Likewise.
65643         * libio/iogetwline.c: Likewise.
65644         * libio/iopadn.c: Likewise.
65645         * libio/iopopen.c: Likewise.
65646         * libio/ioseekoff.c: Likewise.
65647         * libio/ioseekpos.c: Likewise.
65648         * libio/iosetbuffer.c: Likewise.
65649         * libio/iosetvbuf.c: Likewise.
65650         * libio/ioungetc.c: Likewise.
65651         * libio/ioungetwc.c: Likewise.
65652         * libio/iovdprintf.c: Likewise.
65653         * libio/iovsprintf.c: Likewise.
65654         * libio/iovsscanf.c: Likewise.
65655         * libio/memstream.c: Likewise.
65656         * libio/obprintf.c: Likewise.
65657         * libio/oldfileops.c: Likewise.
65658         * libio/oldiofclose.c: Likewise.
65659         * libio/oldiofdopen.c: Likewise.
65660         * libio/oldiofopen.c: Likewise.
65661         * libio/oldiopopen.c: Likewise.
65662         * libio/oldstdfiles.c: Likewise.
65663         * libio/putc.c: Likewise.
65664         * libio/setbuf.c: Likewise.
65665         * libio/setlinebuf.c: Likewise.
65666         * libio/stdfiles.c: Likewise.
65667         * libio/strops.c: Likewise.
65668         * libio/vasprintf.c: Likewise.
65669         * libio/vscanf.c: Likewise.
65670         * libio/vsnprintf.c: Likewise.
65671         * libio/vswprintf.c: Likewise.
65672         * libio/wfiledoalloc.c: Likewise.
65673         * libio/wfileops.c: Likewise.
65674         * libio/wgenops.c: Likewise.
65675         * libio/wmemstream.c: Likewise.
65676         * libio/wstrops.c: Likewise.
65677         * libio/__fpurge.c: Likewise.
65678         * libio/__fsetlocking.c: Likewise.
65679         * assert/assert.c: Likewise.
65680         * debug/fgets_chk.c: Likewise.
65681         * debug/fgets_u_chk.c: Likewise.
65682         * debug/fread_chk.c: Likewise.
65683         * debug/fread_u_chk.c: Likewise.
65684         * debug/gets_chk.c: Likewise.
65685         * debug/obprintf_chk.c: Likewise.
65686         * debug/vasprintf_chk.c: Likewise.
65687         * debug/vdprintf_chk.c: Likewise.
65688         * debug/vsnprintf_chk.c: Likewise.
65689         * debug/vsprintf_chk.c: Likewise.
65690         * malloc/mtrace.c: Likewise.
65691         * misc/error.c: Likewise.
65692         * misc/syslog.c: Likewise.
65693         * stdio-common/asprintf.c: Likewise.
65694         * stdio-common/fxprintf.c: Likewise.
65695         * stdio-common/getw.c: Likewise.
65696         * stdio-common/isoc99_fscanf.c: Likewise.
65697         * stdio-common/isoc99_scanf.c: Likewise.
65698         * stdio-common/isoc99_vfscanf.c: Likewise.
65699         * stdio-common/isoc99_vscanf.c: Likewise.
65700         * stdio-common/isoc99_vsscanf.c: Likewise.
65701         * stdio-common/printf-prs.c: Likewise.
65702         * stdio-common/printf_fp.c: Likewise.
65703         * stdio-common/printf_fphex.c: Likewise.
65704         * stdio-common/printf_size.c: Likewise.
65705         * stdio-common/putw.c: Likewise.
65706         * stdio-common/scanf.c: Likewise.
65707         * stdio-common/sprintf.c: Likewise.
65708         * stdio-common/tmpfile.c: Likewise.
65709         * stdio-common/vfprintf.c: Likewise.
65710         * stdio-common/vfscanf.c: Likewise.
65711         * stdlib/strfmon_l.c: Likewise.
65712         * sunrpc/openchild.c: Likewise.
65713         * sunrpc/xdr_stdio.c: Likewise.
65714         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
65715         * sysdeps/mach/hurd/tmpfile.c: Likewise.
65717 2012-05-24  Roland McGrath  <roland@hack.frob.com>
65719         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65721         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
65722         in the third column, to generate for the shared library an IFUNC
65723         that uses _dl_vdso_vsym.
65724         * Makerules (COMPILE.c, compile-stdin.c): New variables.
65725         * Makeconfig (object-suffixes-noshared): New variable.
65727         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
65728         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
65729         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
65730         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
65732         [BZ #14132]
65733         * include/sys/time.h (__gettimeofday): Remove macro.
65734         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
65735         * time/gettimeofday.c (__gettimeofday): Remove #undef.
65736         Remove INTDEF.
65737         (__gettimeofday): Add libc_hidden_def.
65738         (gettimeofday): Add libc_hidden_weak.
65739         * sysdeps/mach/gettimeofday.c: Likewise.
65740         * sysdeps/posix/gettimeofday.c: Likewise.
65741         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
65742         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
65743         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
65744         (__gettimeofday_internal): Remove strong_alias.
65745         (__gettimeofday): Add libc_hidden_def.
65746         (gettimeofday): Add libc_hidden_weak.
65747         * sysdeps/unix/syscalls.list (gettimeofday):
65748         Remove __gettimeofday_internal alias.
65750 2012-05-24  Daniel Jacobowitz  <drow@false.org>
65751             H.J. Lu  <hongjiu.lu@intel.com>
65753         [BZ #12495]
65754         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
65755         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
65756         (largebin_index_32_big): New.
65757         (largebin_index): Use it for 16-byte alignment.
65758         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
65759         correction with front_misalign.
65761 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65763         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
65764         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
65765         Likewise.
65766         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
65767         Likewise.
65768         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65769         Likewise.
65770         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
65771         Likewise.
65772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
65773         Likewise.
65774         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
65775         Likewise.
65776         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
65777         Likewise.
65778         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65779         Likewise.
65780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
65781         Likewise.
65782         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
65783         Likewise.
65784         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
65785         Likewise.
65786         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
65787         Likewise.
65789         * scripts/data/c++-types-x32-linux-gnu.data: New file.
65790         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
65792 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65794         [BZ #10846]
65795         [BZ #14036]
65796         * math/libm-test.inc (exp_test): Add test from bug 14036.
65797         (pow_test): Add test from bug 10846.
65799         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
65800         and other flags.
65801         (special_function): Do not include flags in test name.
65802         (parse_args): Likewise.
65803         * sysdeps/i386/fpu/libm-test-ulps: Update.
65804         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65805         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65806         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65809         * math/gen-libm-test.pl (%beautify): Add entries for underflow
65810         exceptions.
65811         * math/libm-test.inc ("Philosophy"): Update comment about
65812         exception testing.
65813         (UNDERFLOW_EXCEPTION): New macro.
65814         (UNDERFLOW_EXCEPTION_OK): Likewise.
65815         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
65816         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
65817         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
65818         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
65819         (INVALID_EXCEPTION_OK): Update value.
65820         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65821         (OVERFLOW_EXCEPTION_OK): Likewise.
65822         (IGNORE_ZERO_INF_SIGN): Likewise.
65823         (test_exceptions): Handle underflow exceptions.
65824         (acos_test): Update for underflow exception expectations.
65825         (cexp_test): Likewise.
65826         (clog_test): Likewise.
65827         (clog10_test): Likewise.
65828         (csqrt_test): Likewise.
65829         (ctan_test): Likewise.
65830         (ctanh_test): Likewise.
65831         (exp_test): Likewise.
65832         (exp10_test): Likewise.
65833         (exp2_test): Likewise.
65834         (expm1_test): Likewise.
65835         (fma_test): Likewise.
65836         (j0_test): Likewise.
65837         (jn_test): Likewise.
65838         (nexttoward_test): Likewise.
65839         (pow_test): Likewise.
65840         (scalbn_test): Likewise.
65841         (scalbln_test): Likewise.
65842         (tan_test): Likewise.
65843         (y1_test): Likewise.
65844         * sysdeps/i386/fpu/libm-test-ulps: Update.
65845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65847 2012-05-23  David S. Miller  <davem@davemloft.net>
65849         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65850         (__libc_sigaction): Remove unused local variables.
65852 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65854         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
65856 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
65858         mktime: avoid signed integer overflow
65859         * time/mktime.c (__mktime_internal): Do not mishandle the case
65860         where diff == INT_MIN.
65862         mktime: simplify computation of average
65863         * time/mktime.c (ranged_convert): Use new time_t_avg function
65864         instead of rolling our own (probably-slower) code.
65866         mktime: do not assume signed right shift propagates sign bit
65867         * time/mktime.c (isdst_differ): New static function.
65868         (__mktime_internal): No need to normalize tm_isdst now.
65869         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
65870         tm_isdst values.
65872         mktime: merge another wrapv change from gnulib
65873         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
65874         from some compilers.
65876         mktime: remove incorrect attempt at unusual arithmetics
65877         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
65878         The code didn't really work on such machines anyway.
65879         (TYPE_MINIMUM): Assume two's complement.
65880         (twos_complement_arithmetic): Verify that long_int and time_t
65881         are two's complement (or unsigned, in the latter case).
65883         mktime: check signed shifts on long_int and time_t, too
65884         * time/mktime.c (SHR): Check that shifts work as desired
65885         on the types long_int and time_t too, as SHR is used on
65886         such types.
65888         mktime: do not assume 'long' is wide enough
65889         * time/mktime.c (verify): Move decl up.
65890         (long_int): New type.
65891         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
65892         to remove assumption in the code that 'long' is wide enough to
65893         store year values.  This assumption is not true on x32 and on
65894         some non-glibc platforms.
65896         mktime: merge wrapv change from gnulib
65897         * time/mktime.c (WRAPV): New macro.
65898         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
65899         (guess_time_tm, __mktime_internal): Do not assume that signed
65900         integer overflow wraps around; modern compilers generate code
65901         where this assumption is no longer valid.
65903 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65905         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65906         Replace "jmp L(pseudo_end)" with "ret".
65907         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
65908         Likewise.
65910 2012-05-23  Andreas Jaeger  <aj@suse.de>
65912         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
65913         * sysdeps/unix/sysv/linux/poll.c: Remove file.
65915 2012-05-23  Andreas Jaeger  <aj@suse.de>
65916             Maximilian Attems  <max@stro.at>
65918         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
65919         New macros.
65921 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65923         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
65924         code so that pseudo_end is just ret and the stack pointer is
65925         correct also for static library in error case.
65927 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
65929         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
65930         move to syscalls.list.
65931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
65932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
65933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
65934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
65936         * manual/install.texi (Running make install): Do not mention Linux
65937         kernel version for which pt_chown is not needed.
65938         (Linux): Do not mention problems with nscd with 2.0 kernels.
65939         * INSTALL: Regenerated.
65941 2012-05-23  Andreas Jaeger  <aj@suse.de>
65943         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
65944         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
65945         macro.
65946         * sysdeps/unix/sysv/linux/s390/bits/mman.h
65947         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65948         * sysdeps/unix/sysv/linux/sh/bits/mman.h
65949         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65950         * sysdeps/unix/sysv/linux/i386/bits/mman.h
65951         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65952         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
65953         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65954         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
65955         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65956         * sysdeps/unix/sysv/linux/bits/in.h
65957         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
65959 2012-05-22  Roland McGrath  <roland@hack.frob.com>
65961         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
65962         (PREPARE_VERSION): Just use assert instead, it will be elided
65963         under [NDEBUG] anyway.
65965 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65967         * sysdeps/unix/sysv/linux/Makefile: Include
65968         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
65969         (sysdep_routines): Remove sysctl.
65970         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
65971         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
65972         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
65973         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
65974         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
65976 2012-05-22  Andreas Jaeger  <aj@suse.de>
65978         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
65979         that pseudo_end is just ret and the stack pointer is correct also
65980         for static library in error case.
65982 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
65984         [BZ #14122]
65985         * nss/nsswitch.c (defconfig_entries): New variable.
65986         (__nss_database_lookup): Don't leak defconfig entries.
65987         (nss_parse_service_list): Don't leak on error paths.
65988         (free_database_entries): New function.
65989         (free_defconfig): New function.
65990         (free_mem): Move common code to free_database_entries.
65992 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65994         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
65995         Add arch_prctl.
65996         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
65998         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
65999         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
66000         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
66001         New macro.
66002         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
66003         (INTERNAL_SYSCALL_TYPES): Likewise.
66004         (LOAD_ARGS_TYPES_[1-6]): Likewise.
66005         (LOAD_REGS_TYPES_[1-6]): Likewise.
66006         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
66007         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
66009 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66011         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
66012         copysignl for GLIBC_2_0.
66013         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
66014         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
66015         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
66016         logbl for GLIBC_2_0.
66017         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
66018         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
66020 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66022         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
66023         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66025         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66026         Use "neg %eax".
66028         * time/mktime.c: Update copyright years.
66030 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
66032         mktime: merge comment-quoting-style change from gnulib
66033         * time/mktime.c: Quote 'like this' in comments.
66034         The GNU coding standards suggest that we no longer quote `like this',
66035         as "`" and "'" are typically rendered asymmetrically nowadays.
66036         The typical gnulib style is to quote 'like this' when quoting
66037         code, and "like this" when quoting English.
66039         * time/mktime.c (compile-command): Add "-I.".
66041         mktime: merge mktime-internal.h change from gnulib
66042         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
66044         mktime: merge time_r change from gnulib
66045         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
66047         mktime: merge DEBUG change from gnulib
66048         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
66049         case system <time.h> has a #define.
66051         mktime: merge <sys/types.h> change from gnulib
66052         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
66053         since <time.t> is now guaranteed to define time_t.
66055         mktime: merge HAVE_CONFIG_H change from gnulib
66056         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
66058 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66060         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66061         Use "neg %eax".
66063         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
66064         __rlim_t cast.
66065         (struct rusage): Use anonymous union to pad each field to
66066         __syscall_slong_t.
66068 2012-05-21  David S. Miller  <davem@davemloft.net>
66070         * Makefules (o-iterator): Remove .s cases.
66071         (compile-command.s): Delete.
66072         (COMPILE.s): Delete.
66073         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
66075 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
66077         * configure.in (libc_cv_predef_stack_protector): Only consider
66078         "foobar" and "__stack_chk_fail" lines in libc_undefs.
66079         * configure: Regenerated.
66081 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66083         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66084         New macro.  Use R*LP on int and pointer.
66085         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
66086         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
66087         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
66088         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
66090         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
66091         [__WORDSIZE_TIME64_COMPAT32] instead of
66092         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
66093         (struct utmp): Likewise.
66094         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
66095         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
66096         Renamed to ...
66097         (__WORDSIZE_TIME64_COMPAT32): This.
66098         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
66099         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
66100         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
66101         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
66102         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
66103         (__WORDSIZE_TIME64_COMPAT32): New macro.
66105 2012-05-21  Andreas Jaeger  <aj@suse.de>
66107         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
66108         only if [SHARED]. Add prototype for __wcschr_ia32.
66110 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66112         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
66113         of %rbp unmolested in the jmp_buf while mangling the low bits.
66114         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
66115         unmolested high bits of %rbp while demangling the low bits.
66116         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
66118 2012-05-21  Andreas Jaeger  <aj@suse.de>
66120         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
66121         * sunrpc/svc_simple.c: Use it for registerrpc.
66122         * sunrpc/xcrypt.c: Use it for passwd2des.
66124         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
66126 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66128         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
66129         Don't define if [__SYSCALL_WORDSIZE != 32].
66130         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
66131         New macro.
66133 2012-05-21  Bruno Haible  <bruno@clisp.org>
66134             Andreas Jaeger  <aj@suse.de>
66136         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
66137         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
66138         inptr and inend for must_buffer_ch.
66139         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
66140         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
66141         * stdio-common/Makefile (tests): Remove bug15.
66142         (bug15-ENV): Remove macro.
66143         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
66144         anymore.
66146 2012-05-19  Andreas Jaeger  <aj@suse.de>
66147             Roland McGrath  <roland@hack.frob.com>
66149         * manual/contrib.texi: Completely rewritten. It contains now an
66150         alphabetical list of contributors and their contributions.
66152 2012-05-21  Richard Henderson  <rth@twiddle.net>
66154         * misc/getauxval.c (__getauxval): Use unsigned long int.
66155         * misc/sys/auxv.h: Include <sys/cdefs.h>.
66156         (getauxval): Use unsigned long int.
66158 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66160         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66162 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66164         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
66165         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
66166         __alignof__ (long double).
66168 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66170         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66172 2012-05-20  Richard Henderson  <rth@twiddle.net>
66174         * misc/getauxval.c: New file.
66175         * misc/sys/auxv.h: New file.
66176         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
66177         (routines): Add getauxval.
66178         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
66179         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
66180         * elf/dl-sysdep.c (_dl_auxv): Remove.
66181         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
66182         * elf/dl-support.c (_dl_auxv): New variable.
66183         (_dl_aux_init): Initialize it.
66184         * manual/startup.texi (Auxiliary Vector): New node.
66185         * sysdeps/generic/bits/hwcap.h: New file.
66186         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
66187         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
66188         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
66189         * sysdeps/sparc/sysdep.h: ... here.  Include it.
66190         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
66191         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
66192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66193         Update.
66194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
66195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
66196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
66197         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
66198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
66201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
66203 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66207 2012-05-19  David S. Miller  <davem@davemloft.net>
66209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66211 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66213         [BZ #14123]
66214         * math/s_ccosh.c: Include <float.h>
66215         (__ccosh): Avoid internal overflow calculating sinh and cosh
66216         values before multiplying by sin and cos values.
66217         * math/s_ccoshf.c: Likewise.
66218         * math/s_ccoshl.c: Likewise.
66219         * math/s_csin.c: Likewise.
66220         * math/s_csinf.c: Likewise.
66221         * math/s_csinl.c: Likewise.
66222         * math/s_csinh.c: Likewise.
66223         * math/s_csinhf.c: Likewise.
66224         * math/s_csinhl.c: Likewise.
66225         * math/libm-test.inc (ccos_test): Add more tests.
66226         (ccosh_test): Likewise.
66227         (csin_test): Likewise.
66228         (csinh_test): Likewise.
66229         * sysdeps/i386/fpu/libm-test-ulps: Update.
66230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66232 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
66234         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
66235         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
66237         * sysdeps/x86_64/x32/_itoa.h: Add comment.
66239 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66241         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
66242         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
66243         * sysdeps/powerpc/soft-fp/Versions: Likewise.
66244         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
66245         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
66246         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
66247         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
66248         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
66249         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
66250         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
66251         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
66252         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
66253         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
66254         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
66255         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
66256         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
66257         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
66258         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
66259         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
66260         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
66261         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
66262         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
66263         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
66264         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
66265         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
66266         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
66267         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
66268         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
66269         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
66270         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
66271         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
66273 2012-05-18  Andreas Jaeger  <aj@suse.de>
66275         * csu/.gitignore: Delete.
66277 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66279         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
66280         (timex): Use __syscall_slong_t.
66282 2012-05-18  Andreas Jaeger  <aj@suse.de>
66283             Carlos O'Donell  <carlos_odonell@mentor.com>
66285         * manual/install.texi (Configuring and compiling): Update
66286         description about files modified in the source directory.
66287         * INSTALL: Regenerated.
66289 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66291         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
66292         value.  Use "or" to set return value to -1.
66293         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
66294         negate return value.
66296 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66298         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
66299         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
66300         failure if the compiler has Graphite support disabled.
66301         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
66302         Likewise.
66303         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
66304         (CFLAGS-memmove.c): Likewise.
66305         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
66306         Likewise.
66308 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66310         * sysdeps/x86_64/x32/_itoa.h: New file.
66312         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
66313         getdents system call only if kernel and user dirents have the
66314         same d_ino and d_off.
66316         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66317         LLONG_MAX != LONG_MAX.
66318         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66319         (_fitoa_word): Likewise.
66321         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
66322         years.
66323         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
66324         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
66325         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
66327         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
66328         include <bits/wordsize.h>.  Check __x86_64__ instead of
66329         __WORDSIZE.
66330         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
66331         if __x86_64__ is defined.  Use anonymous union on fpstate.
66333         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
66334         anonymous union.
66336 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
66338         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
66339         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
66340         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
66341         Refer to _rtld_local_ro instead of _rtld_global_ro.
66342         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
66343         Likewise.
66344         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
66345         Likewise.
66346         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
66347         Likewise.
66348         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
66349         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
66350         of _rtld_global, and rtld_progname instead of _dl_argv[0].
66352         [BZ #10882]
66353         * sysdeps/powerpc/powerpc32/dl-machine.c
66354         (__elf_machine_runtime_setup) [PROF]: Don't reference
66355         _dl_prof_resolve.
66357 2012-05-18  Andreas Jaeger  <aj@suse.de>
66359         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
66360         function only available for GCCs before 3.4 since GCC 3.4
66361         introduced a builtin.
66362         (lrint): Likewise.
66363         (llrintf): Likewise.
66364         (llrint): Likewise.
66365         (fmaxf): Likewise.
66366         (fmax): Likewise.
66367         (fminf): Likewise.
66368         (fmin): Likewise.
66369         (rint): Likewise.
66370         (rintf): Likewise.
66371         (nearbyint): Likewise.
66372         (nearbyintf): Likewise.
66373         (ceil): Likewise.
66374         (ceilf): Likewise.
66375         (floor): Likewise.
66376         (floorf): Likewise.
66378 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66380         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
66381         on both fields and cast pointer to __syscall_ulong_t.
66383         * bits/types.h (__fsword_t): New type.
66384         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
66385         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
66386         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66387         (__FSWORD_T_TYPE): Likewise.
66388         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66389         (__FSWORD_T_TYPE): Likewise.
66390         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66391         (__FSWORD_T_TYPE): Likewise.
66392         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
66393         (__FSWORD_T_TYPE): Likewise.
66394         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
66395         __SWORD_TYPE with __fsword_t.
66396         (statfs64): Likewise.
66398 2012-05-17  David S. Miller  <davem@davemloft.net>
66400         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
66402 2012-05-17  Andreas Jaeger  <aj@suse.de>
66404         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
66405         warning.
66407 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66409         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
66411 2012-05-17  Andreas Jaeger  <aj@suse.de>
66413         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
66414         when it is used.
66416 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66418         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
66420 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66422         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
66423         * sysdeps/x86_64/tst-mallocalign1.c: New file.
66425 2012-05-17  Andreas Jaeger  <aj@suse.de>
66426             Carlos O'Donell  <carlos_odonell@mentor.com>
66428         [BZ #14059]
66429         * sysdeps/x86_64/multiarch/init-arch.h
66430         (bit_YMM_Usable): Rename to...
66431         (bit_AVX_Usable): ... this.
66432         (bit_FMA4_Usable): New macro.
66433         (bit_XMM_state): New macro.
66434         (bit_YMM_state): New macro.
66435         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
66436         [__ASSEMBLER__] (index_AVX_Usable): ... this.
66437         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
66438         (CPUID_OSXSAVE): New macro.
66439         (CPUID_AVX): New macro.
66440         (CPUID_FMA4): New macro.
66441         (index_YMM_Usable): Rename to...
66442         (index_AVX_Usable): ... this.
66443         (HAS_AVX): Use HAS_ARCH_FEATURE.
66444         (HAS_FMA4): Likewise.
66445         (HAS_YMM_USABLE): Remove.
66446         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66447         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
66448         are present.
66449         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
66450         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
66451         * sysdeps/x86_64/multiarch/Makefile: Likewise.
66452         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
66453         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
66455 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66457         * math/libm-test.c: Support platforms without multiple rounding modes.
66458         * math/bug-nextafter.c: Support platforms without FP exceptions.
66459         * math/bug-nexttoward.c: Likewise.
66460         * math/test-fenv.c: Likewise.
66461         * math/test-misc.c: Likewise.
66462         * stdlib/bug-getcontext.c: Likewise.
66464 2012-05-17  Andreas Jaeger  <aj@suse.de>
66466         * manual/examples/search.c (critter_cmp): Change signature to
66467         avoid warnings.
66468         * manual/string.texi (Collation Functions): Likewise.
66470 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66472         * bits/types.h: Fold copyright years.
66473         * bits/typesizes.h: Likewise.
66474         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
66475         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
66476         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
66477         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
66478         * time/time.h: Likewise.
66480 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
66482         [BZ #208]
66483         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
66484         in instead of returning them.  Return void.
66485         (__libc_mallinfo): Accumulate over all arenas.
66486         (__malloc_stats): Adjust for change in int_mallinfo interface.
66488 2012-05-16  Roland McGrath  <roland@hack.frob.com>
66490         [BZ #10375]
66491         * configure.in (NM): Add AC_CHECK_TOOL for it.
66492         (libc_extra_cflags): New substituted variable.
66493         Check for -fstack-protector being used implicitly.
66494         * configure: Regenerated.
66495         * config.make.in (config-extra-cflags): New variable,
66496         gets @libc_extra_cflags@.
66497         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
66499         [BZ #10375]
66500         * configure.in: Check for _FORTIFY_SOURCE being predefined.
66501         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
66502         * configure: Regenerated.
66503         * config.make.in (CPPUNDEFS): New substituted variable.
66504         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
66505         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
66506         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
66508 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66510         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
66511         (mq_attr): Use __syscall_slong_t.
66513 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66515         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
66516         Check __x86_64__ instead of __WORDSIZE.
66517         (_STAT_VER_LINUX): Likewise.
66518         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
66519         __syscall_ulong_t and __syscall_slong_t.
66520         (stat64): Likewise.
66522 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66524         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
66526 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66528         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
66530 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66532         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
66533         __syscall_ulong_t.
66535         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
66536         include <bits/wordsize.h>.  Check __x86_64__ instead of
66537         __WORDSIZE.
66538         (greg_t): Use "__extension__ long long int" if __x86_64__ is
66539         defined.
66540         (mcontext_t): Replace "unsigned long" with "unsigned long long".
66542         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
66543         include <bits/wordsize.h>.  Check __x86_64__ instead of
66544         __WORDSIZE.
66545         (user_regs_struct): Use "__extension__ unsigned long long"
66546         instead of "unsigned long" if __x86_64__ is defined.
66547         (user): Likewise.  Pad after pointer field if __ILP32__ is
66548         defined.
66550 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
66552         * configure.in (makeinfo): Require version 4.5 or later.  Allow
66553         versions 5 to 9.
66554         * configure: Regenerated.
66555         * manual/install.texi (texinfo): Increase version requirement to
66556         4.5 or later.
66557         * INSTALL: Regenerated.
66559         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
66561 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66563         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
66565         * sysdeps/x86_64/x32/ffs.c: New file.
66567         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
66568         __syscall_ulong_t.
66569         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
66570         defined.  Use __syscall_ulong_t.
66571         (shminfo): Use __syscall_ulong_t.
66572         (shm_info): Likewise.
66574         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
66575         __syscall_ulong_t.
66577         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
66578         <bits/wordsize.h>.
66579         (msgqnum_t): Use __syscall_ulong_t.
66580         (msglen_t): Likewise.
66581         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
66582         __syscall_ulong_t.
66584         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
66585         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66587         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
66589         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
66590         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
66592         * sysvipc/sys/msg.h (msgbuf): Replace long int with
66593         __syscall_slong_t.
66595         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
66596         include <bits/wordsize.h>.  Check __x86_64__ instead of
66597         __WORDSIZE.
66599         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
66600         "unsigned long long int" if __x86_64__ is defined.
66601         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
66603         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
66604         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66605         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
66607         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
66608         <stdint.h>.
66609         (GET_PC): Cast to uintptr_t first.
66610         (GET_FRAME): Likewise.
66611         (GET_STACK): Likewise.
66613         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
66614         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
66615         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
66616         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
66617         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
66618         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
66619         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
66620         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
66621         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
66622         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
66623         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
66624         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
66625         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
66626         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
66627         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
66628         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
66629         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
66630         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
66631         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
66632         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
66633         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
66634         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
66635         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
66636         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
66637         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
66638         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
66639         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
66640         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
66641         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
66643 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
66645         * Makerules (+depfiles): Also collect depfiles from .oS in
66646         $(extra-objs).
66647         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
66648         .oS, $(libnldbl-routines)).
66650         * Makerules (native-compile-mkdep-flags): Define.
66651         * sunrpc/Makefile (extra-objs): Add $(addprefix
66652         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
66653         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
66654         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
66655         calling $(make-target-directory).
66657 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66659         * bits/types.h (__snseconds_t): Removed.
66660         * time/time.h (struct timespec): Replace __snseconds_t with
66661         __syscall_slong_t.
66662         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
66663         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
66664         Likewise.
66665         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66666         (__SNSECONDS_T_TYPE): Likewise.
66667         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66668         (__SNSECONDS_T_TYPE): Likewise.
66669         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66670         (__SNSECONDS_T_TYPE): Likewise.
66672 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66674         * sysdeps/mach/hurd/bits/typesizes.h
66675         (__SYSCALL_SLONG_TYPE): New macro.
66676         (__SYSCALL_ULONG_TYPE): Likewise.
66678 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66680         * bits/types.h (__syscall_slong_t): New type.
66681         (__syscall_ulong_t): Likewise.
66683         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
66684         (__SYSCALL_ULONG_TYPE): Likewise.
66685         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66686         (__SYSCALL_SLONG_TYPE): Likewise.
66687         (__SYSCALL_ULONG_TYPE): Likewise.
66688         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66689         (__SYSCALL_SLONG_TYPE): Likewise.
66690         (__SYSCALL_ULONG_TYPE): Likewise.
66691         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66692         (__SYSCALL_SLONG_TYPE): Likewise.
66693         (__SYSCALL_ULONG_TYPE): Likewise.
66695 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66697         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
66698         Add sigaltstack-offsets.sym.
66699         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
66700         <sigaltstack-offsets.h>.
66701         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
66702         longjmp_msg pointer.
66703         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
66704         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
66705         signal stack.
66706         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
66708 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66710         * elf/stackguard-macros.h: Remove file.
66711         * sysdeps/generic/stackguard-macros.h: New file.
66712         * sysdeps/i386/stackguard-macros.h: Likewise.
66713         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
66714         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
66715         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
66716         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
66717         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
66718         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
66719         * sysdeps/x86_64/stackguard-macros.h: Likewise.
66720         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
66721         <elf/stackguard-macros.h>.
66723         [BZ #14109]
66724         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
66725         __aligned__ in attribute.
66726         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
66727         (gregset_t): Likewise.
66729 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66731         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
66732         * sysdeps/x86_64/64/Implies-after: Here.  New file.
66733         * sysdeps/x86_64/x32/Implies-after: New file.
66735 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66737         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
66738         and access return value for _dl_profile_fixup.  Use R10_LP to
66739         load frame size.
66741 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66743         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
66745 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66747         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
66748         * sysdeps/x86_64/x32/sysdep.h: New file.
66750 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66752         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
66753         * sysdeps/x86_64/setjmp.S: Likewise.
66755 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66757         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
66758         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
66759         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
66760         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
66761         remove unused global constant.
66763 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
66765         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
66766         include of <not-cancel.h>.
66768 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66770         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
66772 2012-05-15  Jeff Law  <law@redhat.com>
66773             Andreas Jaeger  <aj@suse.de>
66775         [BZ #13594]
66776         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
66777         out from...
66778         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
66779         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
66780         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
66781         code changing __hst_map_handle.map.
66783 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66785         * configure.in (sysnames): Look for Implies-before and Implies-after
66786         files.
66787         * configure: Regenerated.
66789 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66791         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
66792         8-byte data alignment with LP_SIZE alignment.
66794 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66796         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
66797         into R10_LP.
66799 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66801         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
66803 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66805         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
66806         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
66807         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
66808         Likewise.
66809         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66811 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66813         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
66814         (stackinfo_sub_sp): Likewise.
66816 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66818         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
66819         RAX_LP.
66821 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66823         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
66824         into R*_LP.
66826 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66828         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
66829         sizes into R*_LP.
66831 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66833         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
66835 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66837         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
66838         into R11_LP and load __x86_64_shared_cache_size_half into
66839         R8_LP.
66841 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66843         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
66844         R8_LP.
66846 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66848         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
66849         logb for POWER7.
66850         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
66851         logbf for POWER7.
66852         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
66853         logbl for POWER7.
66854         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
66855         powerpc32/power7/fpu/s_logb.c via #include.
66856         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
66857         powerpc32/power7/fpu/s_logbf.c via #include.
66858         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
66859         powerpc32/power7/fpu/s_logbl.c via #include.
66861 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66863         * README.libm: Remove file.
66865 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66867         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
66868         count for x32.  Use R*_LP and omit operand-size suffix.
66870 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66872         * shlib-versions: Move x86_64-.*-linux.* entries to ...
66873         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
66874         * sysdeps/x86_64/x32/shlib-versions: New file.
66876 2012-05-14  Roland McGrath  <roland@hack.frob.com>
66878         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
66879         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
66880         Use _dl_fatal_printf instead.
66882 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66884         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
66885         set if not set by the user.  Do not allow for being unset.
66886         * sysdeps/unix/sysv/linux/configure: Regenerated.
66888 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66890         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
66891         the `q' suffix from lea and replace .quad with ASM_ADDR.
66893 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66895         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
66896         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
66897         instead of $17.
66898         (PTR_DEMANGLE): Likewise.
66900 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66902         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
66903         (LP_OP): Likewise.
66904         (ASM_ADDR): Likewise.
66905         (RAX_LP): Likewise.
66906         (RBP_LP): Likewise.
66907         (RBX_LP): Likewise.
66908         (RCX_LP): Likewise.
66909         (RDI_LP): Likewise.
66910         (RSI_LP): Likewise.
66911         (RSP_LP): Likewise.
66912         (R8_LP): Likewise.
66913         (R9_LP): Likewise.
66914         (R10_LP): Likewise.
66915         (R10_LP): Likewise.
66916         (R11_LP): Likewise.
66917         (R12_LP): Likewise.
66918         (R13_LP): Likewise.
66919         (R14_LP): Likewise.
66920         (R15_LP): Likewise.
66922 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66924         * sysdeps/x86_64/x32/dl-machine.h: New file.
66926 2012-05-14  Andreas Jaeger  <aj@suse.de>
66928         * manual/Makefile (subdir): Remove export of subdir.
66929         (all): Remove target.
66930         (.PHONY): Remove all from list.
66931         (mkinstalldirs): Remove.
66932         (.PHONY): Remove installdirs from list.
66933         ($(inst_infodir)/libc.info): Use make-target-directory.
66934         (installdirs): Remove.
66935         (subdir_%): Remove.
66936         (glibc-targets): Remove.
66937         (lib): Remove.
66938         (stubs): Remove.
66939         ($(objpfx)stubs ../po/manual.pot): Remove.
66940         ($(objpfx)stamp%): Remove.
66941         (make-target-directory): Remove.
66942         (subdir_install): Remove.
66943         (routines): Remove.
66944         (aux): Remove.
66945         (sources): Remove.
66946         (objects): Remove.
66947         (headers): Remove.
66949         [BZ #13750]
66950         * manual/.gitignore: Remove, it's not needed anymore.
66951         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
66952         all files in it.
66953         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
66954         directory.
66955         (texis): Renamed to $(objpfx)texis.
66956         (texis-path): New, contains path to generated files.
66957         (chapters.%): Use texis-path for complete path, add extra argument
66958         libc-texinfo.sh.
66959         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
66960         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
66961         (summary,texi, stamp-summary): Use complete path of
66962         files. Generate files in build dir.
66963         (dir-add.texi): Build in build dir.
66964         (libm-err.texi,stamp-libm-err): Likewise.
66965         (version.texi, stamp-version): Likewise.
66966         (.%c.texi): Likewise.
66967         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
66968         (mostlyclean): Remove target.
66969         (realclean): Remove target.
66970         (generated): Add new variable with contents from mostlyclean and
66971         realclean, remove entries duplicated in common-mostlyclean, add
66972         stamp-libm-err and stamp-version.
66973         (generated-dirs): Add libc directory.
66974         ($(inst_infodir)/libc.info): Install files from build dir.
66976         * manual/install.texi (Configuring and compiling): Adjust since
66977         the info files are not part of the tar ball anymore.
66979 2012-05-14  Andreas Jaeger  <aj@suse.de>
66981         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
66982         variable.
66984 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66986         [BZ #13717]
66987         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66988         to 2.2.0 where earlier.
66989         * sysdeps/unix/sysv/linux/configure: Regenerated.
66990         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
66991         Remove conditional code.
66992         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
66993         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
66994         Remove conditional code.
66995         [!__NR_lchown]: Likewise.
66996         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66997         [__NR_lchown]: Likewise.
66998         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
66999         comment referencing __ASSUME_LCHOWN_SYSCALL.
67000         * sysdeps/unix/sysv/linux/i386/sigaction.c
67001         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67002         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67003         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
67004         Remove conditional code.
67005         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
67006         (__protocol_available): Remove #if 0 code.
67007         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
67008         conditional code.
67009         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
67010         * sysdeps/unix/sysv/linux/kernel-features.h
67011         (__ASSUME_GETCWD_SYSCALL): Don't define.
67012         (__ASSUME_REALTIME_SIGNALS): Likewise.
67013         (__ASSUME_PREAD_SYSCALL): Likewise.
67014         (__ASSUME_PWRITE_SYSCALL): Likewise.
67015         (__ASSUME_POLL_SYSCALL): Likewise.
67016         (__ASSUME_LCHOWN_SYSCALL): Likewise.
67017         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
67018         non-SPARC.
67019         (__ASSUME_SIOCGIFNAME): Don't define.
67020         (__ASSUME_MSG_NOSIGNAL): Likewise.
67021         (__ASSUME_SENDFILE): Define unconditionally.
67022         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
67023         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
67024         conditional code.
67025         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
67026         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
67027         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67028         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67029         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
67030         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67031         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
67033         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67034         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
67036         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67037         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
67039         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67040         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
67042         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67043         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
67045         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67046         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
67048         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67049         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
67051         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67052         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
67054         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67055         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67056         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
67057         Remove conditional code.
67058         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67059         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67060         Remove conditional code.
67061         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67062         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
67063         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
67064         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67065         Remove conditional code.
67066         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67067         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
67068         Remove conditional code.
67069         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67070         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
67071         Remove conditional code.
67072         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67073         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67074         Remove conditional code.
67075         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67076         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67077         Remove conditional code.
67078         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67079         * sysdeps/unix/sysv/linux/sh/pwrite64.c
67080         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67081         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67082         * sysdeps/unix/sysv/linux/sigaction.c
67083         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67084         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67085         * sysdeps/unix/sysv/linux/sigpending.c
67086         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67087         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67088         * sysdeps/unix/sysv/linux/sigprocmask.c
67089         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67090         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67091         * sysdeps/unix/sysv/linux/sigsuspend.c
67092         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67093         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67094         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
67095         (__libc_missing_rt_sigs): Remove.
67096         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
67097         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
67098         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
67099         Remove conditional code.
67100         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
67101         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
67102         return 1.
67103         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
67104         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
67105         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
67106         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
67108 2012-05-14  Andreas Jaeger  <aj@suse.de>
67110         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
67111         it's not used in glibc.
67112         (__coshm1): Likewise.
67113         (__acosh1p): Likewise.
67114         (__sgn): Likewise.
67116         * manual/string.texi (Copying and Concatenation): Add missing
67117         variable in concat example.
67118         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
67120 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67122         [BZ #14103]
67123         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
67124         __builtin_clzl with __builtin_clzll.
67126 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67128         [BZ #14104]
67129         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
67130         libc_freeres_ptr.
67132 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67134         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
67135         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
67136         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
67137         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
67139 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
67141         * NEWS: Update ia64 info.
67143 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
67145         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
67146         used as bcopy.
67148 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
67150         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
67151         * sysdeps/unix/syscalls.list (dup3): Likewise.
67152         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
67153         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
67155 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67157         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
67158         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
67160 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67162         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
67163         thread pointer.
67164         (TLS_IE): Use mov/add instead of movq/addq to load thread
67165         pointer.
67166         (TLS_GD_PREFIX): New.
67167         (TLS_GD): Use it.
67169 2012-05-11  David S. Miller  <davem@davemloft.net>
67171         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
67172         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
67173         (_FPU_SETCW): Likewise.
67175 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67177         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
67178         is 32-byte aligned.
67180 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
67182         [BZ #11837]
67183         * iconvdata/gb18030.c: Update tables.
67184         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
67185         characters specially.
67186         (BODY for TO_LOOP): Add encoding of missing ranges.
67188 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
67190         [BZ #13673]
67191         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
67192         * sysdeps/mach/hurd/dup3.c: Likewise.
67193         * sysdeps/mach/hurd/readlinkat.c: Likewise.
67194         * sysdeps/powerpc/memmove.c:: Likewise.
67196 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67198         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
67199         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
67201 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67203         * elf/elf.h (R_X86_64_RELATIVE64): New.
67204         (R_X86_64_NUM): Updated.
67205         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
67206         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
67207         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
67208         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
67209         tst-quad1pie tst-quad2pie
67210         (modules-names): Add tst-quadmod1 tst-quadmod2.
67211         ($(objpfx)tst-quad1): New dependency.
67212         ($(objpfx)tst-quad2): Likewise.
67213         ($(objpfx)tst-quad1pie): Likewise.
67214         ($(objpfx)tst-quad2pie): Likewise.
67215         * sysdeps/x86_64/tst-quad1.c: New file.
67216         * sysdeps/x86_64/tst-quad1pie.c: New file.
67217         * sysdeps/x86_64/tst-quad2.c: Likewise.
67218         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
67219         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
67220         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
67221         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
67222         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
67224 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67226         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
67227         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
67228         * streams/stropts.h (t_scalar_t): Define type.
67230         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
67231         (_PATH_PRESERVE): Set to "/var/lib".
67232         (_PATH_RWHODIR): Set to "/var/spool/rwho".
67234         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
67235         instead of int.
67237         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
67238         if __dir_mkfile succeeded.
67240         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
67241         checking for _hurd_dtablesize.  Unlock it right after having
67242         finished _hurd_dtable allocation.
67244 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67246         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
67247         * sysdeps/mach/hurd/configure: Regenerated.
67248         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
67249         special-casing to...
67250         * sysdeps/gnu/configure.in: ... this new file.
67251         * sysdeps/unix/sysv/linux/configure: Regenerated.
67252         * sysdeps/gnu/configure: New generated file.
67254         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
67255         for Linux: use nsec instead of usec, as well as:
67256         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
67257         members of type struct timespec.
67258         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
67259         New macros.
67260         (struct stat64): Likewise.
67261         (_STATBUF_ST_NSEC): New macro.
67262         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
67264         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67265         __strtoul_internal rather than strtoul.
67267 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67269         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
67270         and reject them.
67272 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67274         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
67275         which preserves existing values.
67276         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
67278 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67280         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
67281         TIMEOUT values.  Return EINVAL for NFDS values either negative or
67282         greater than FD_SETSIZE.
67284 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67286         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
67287         allocated, call __vm_protect to finish enabling the existing space, and
67288         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
67289         allocate the remainder.
67291 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67293         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
67294         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
67296 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67298         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
67299         sysdeps/mach/hurd/readlink.c.
67301         * posix/tst-sysconf.c (posix_options): Only use
67302         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
67303         _POSIX_SYNCHRONIZED_IO when they are defined
67304         * sysdeps/mach/hurd/bits/posix_opt.h:
67305         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
67306         (_XOPEN_REALTIME): Undefine macro.
67307         (_XOPEN_REALTIME_THREADS): Undefine macro.
67308         (_XOPEN_SHM): Undefine macro.
67309         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
67310         macro to -1.
67311         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
67312         macro to -1.
67313         (_POSIX_ASYNC_IO): Undefine macro.
67314         (_POSIX_PRIORITIZED_IO): Undefine macro.
67315         (_POSIX_SPIN_LOCKS): Define macro to -1.
67317         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
67318         SA_NODEFER, SA_RESETHAND.
67319         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
67320         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
67321         F_DUPFD_CLOEXEC.
67323 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67325         * elf/Makefile (pldd-modules): Define unconditionally.
67327 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67329         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
67331 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67333         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
67334         Return ENOENT when name is empty.
67335         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
67337 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67339         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
67341         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
67343 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67345         Fix mlock in all cases except non-readable pages.
67346         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
67347         instead of VM_PROT_ALL as parameter to __vm_wire function.
67349         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
67350         (__mkdir): When path is `/', just fail with EEXIST.
67351         * sysdeps/mach/hurd/mkdirat.c: Likewise.
67353 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67355         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
67356         <sys/uio.h> (for writev).
67357         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
67358         and <sys/param.h> (for MIN).
67360 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67362         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
67363         REQUESTED_TIME.  Properly set the remaining time and return EINTR
67364         if interrupted.
67366 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67368         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
67369         Depend on against $(link-rpcuserlibs).
67371 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67373         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
67374         (__libc_stack_end): Do not use attribute_relro.
67375         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
67376         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
67377         to libthread-provided value.
67378         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
67379         attribute_relro.
67381 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67383         [BZ #3748]
67384         * bits/libc-lock.h (__libc_once_get): New macro.
67385         * sysdeps/mach/bits/libc-lock.h: Likewise.
67386         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
67387         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
67388         instead of using implementation details.
67390         * libio/fileops.c: Unconditionally include <kernel-features.h>.
67391         * libio/freopen.c: Likewise.
67392         * libio/freopen64.c: Likewise.
67393         * misc/syslog.c: Likewise.
67394         * nscd/connections.c: Likewise.
67395         * nscd/netgroupcache.c: Likewise.
67396         * sysdeps/posix/getcwd.c: Likewise.
67398 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67400         * math/w_ilogbf.c: Add #include <limits.h>.
67402 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67404         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
67405         path instead of returning without unlocking.
67407         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
67408         immediate-write ioctls.
67409         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
67411 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67413         * sysdeps/mach/hurd/i386/init-first.c (init): Use
67414         __builtin_frame_address instead of making assumptions about the
67415         location of the return address relative to DATA.  Force early load of
67416         the return address.
67417         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
67418         __builtin_frame_address.
67420         dup3 for GNU Hurd.
67421         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
67422         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
67423         implement dup3 and do some further code clean-ups.
67424         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
67425         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
67427 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67429         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
67431         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
67432         HURD_CRITICAL_END around holding _hurd_dtable_lock.
67433         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
67434         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
67435         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
67436         d->port.lock.
67438         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
67439         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
67440         when handler == SIG_ERR, not when handler != SIG_ERR.
67442 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67444         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
67445         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
67446         definitions.
67448         accept4 for GNU Hurd.
67449         * include/sys/socket.h (__libc_accept4): New prototype.
67450         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
67451         to implement __libc_accept4.
67452         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
67453         __libc_accept4.
67454         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
67456         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
67457         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
67458         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
67459         signal-defines.sym.
67461 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67463         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
67465 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67467         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
67468         assertion on O_CLOEXEC flag.
67469         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
67470         * hurd/intern-fd.c: Likewise.
67471         * hurd/port2fd.c: Likewise.
67473 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67475         [BZ #3906]
67476         * bits/in.h (IPV6_PKTINFO): Define new macro.
67477         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
67479 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67481         [BZ #13954]
67482         [BZ #13955]
67483         [BZ #13956]
67484         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
67485         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67486         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
67487         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67488         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67489         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67490         * math/libm-test.inc (logb_test) : Additional logb tests.
67492 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
67493             Andreas Jaeger  <aj@suse.de>
67495         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
67496         * configure: Regenerated.
67497         * config.h.in (LINK_OBSOLETE_RPC): New macro.
67498         * config.make.in (link-obsolete-rpc): New substituted variable.
67499         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
67500         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
67501         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67502         (shared-only-routines): Don't set it under [link-obsolete-rpc],
67503         so that libc.a contains the symbols.
67504         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67505         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
67506         * sunrpc/auth_none.c: Likewise.
67507         * sunrpc/auth_unix.c: Likewise.
67508         * sunrpc/authdes_prot.c: Likewise.
67509         * sunrpc/authuxprot.c: Likewise.
67510         * sunrpc/clnt_gen.c: Likewise.
67511         * sunrpc/clnt_perr.c: Likewise.
67512         * sunrpc/clnt_raw.c: Likewise.
67513         * sunrpc/clnt_simp.c: Likewise.
67514         * sunrpc/clnt_tcp.c: Likewise.
67515         * sunrpc/clnt_udp.c: Likewise.
67516         * sunrpc/clnt_unix.c: Likewise.
67517         * sunrpc/des_crypt.c: Likewise.
67518         * sunrpc/des_soft.c: Likewise.
67519         * sunrpc/get_myaddr.c: Likewise.
67520         * sunrpc/key_call.c: Likewise.
67521         * sunrpc/key_prot.c: Likewise.
67522         * sunrpc/netname.c: Likewise.
67523         * sunrpc/pm_getmaps.c: Likewise.
67524         * sunrpc/pm_getport.c: Likewise.
67525         * sunrpc/pmap_clnt.c: Likewise.
67526         * sunrpc/pmap_prot.c: Likewise.
67527         * sunrpc/pmap_prot2.c: Likewise.
67528         * sunrpc/pmap_rmt.c: Likewise.
67529         * sunrpc/publickey.c: Likewise.
67530         * sunrpc/rpc_cmsg.c: Likewise.
67531         * sunrpc/rpc_common.c: Likewise.
67532         * sunrpc/rpc_dtable.c: Likewise.
67533         * sunrpc/rpc_prot.c: Likewise.
67534         * sunrpc/rpc_thread.c: Likewise.
67535         * sunrpc/rtime.c: Likewise.
67536         * sunrpc/svc.c: Likewise.
67537         * sunrpc/svc_auth.c: Likewise.
67538         * sunrpc/svc_raw.c: Likewise.
67539         * sunrpc/svc_run.c: Likewise.
67540         * sunrpc/svc_tcp.c: Likewise.
67541         * sunrpc/svc_udp.c: Likewise.
67542         * sunrpc/svc_unix.c: Likewise.
67543         * sunrpc/svcauth_des.c: Likewise.
67544         * sunrpc/xcrypt.c: Likewise.
67545         * sunrpc/xdr.c: Likewise.
67546         * sunrpc/xdr_array.c: Likewise.
67547         * sunrpc/xdr_float.c: Likewise.
67548         * sunrpc/xdr_intXX_t.c: Likewise.
67549         * sunrpc/xdr_mem.c: Likewise.
67550         * sunrpc/xdr_rec.c: Likewise.
67551         * sunrpc/xdr_ref.c: Likewise.
67552         * sunrpc/xdr_sizeof.c: Likewise.
67553         * sunrpc/xdr_stdio.c: Likewise.
67555 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67557         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
67558         change.  Update copyright years.
67560 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67562         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
67564 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
67565             Joseph Myers  <joseph@codesourcery.com>
67566             Paul Pluzhnikov  <ppluzhnikov@google.com>
67568         [BZ #14012]
67569         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
67570         requiring rpcgen.
67571         [cross-compiling] (extra-libs): Likewise.
67572         [cross-compiling] (extra-libs-others): Likewise.
67573         [cross-compiling] (librpcsvc-routines): Likewise.
67574         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
67575         [cross-compiling] (omit-deps): Likewise.
67576         (sunrpc-CPPFLAGS): New variable.
67577         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
67578         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
67579         (cross-rpcgen-objs): New variable.
67580         (extra-objs): Append $(cross-rpcgen-objs).
67581         ($(cross-rpcgen-objs)): New rule.
67582         ($(objpfx)cross-rpcgen): Likewise.
67583         (rpcgen-cmd): Define to use $(built-program-file).  Expand
67584         comment.
67585         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
67586         ($(objpfx)x%.stmp): Likewise.
67587         * sunrpc/proto.h [IS_IN_build] (_): Define.
67588         [IS_IN_build] (_libc_intl_domainname): Likewise.
67590 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67592         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
67593         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
67594         and R_X86_64_TPOFF64.
67596 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67598         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
67599         sysdeps/unix/sysv/syscalls.list.
67600         (stime): Likewise.
67601         (utime): Likewise.
67602         * sysdeps/unix/sysv/syscalls.list: Remove file.
67604 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
67606         [BZ #3440]
67607         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
67608         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
67609         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
67610         (__LC_IDENTIFICATION): Make these macros useful in #if
67611         expressions, as required by C99.
67613 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
67615         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
67616         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
67617         after this.
67619 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
67621         * stdlib/longlong.h: Updated from GCC.
67623 2012-05-09  Andreas Jaeger  <aj@suse.de>
67625         * nscd/nscd.c (run_modes): Make named enum, reorder so that
67626         default is first entry.
67627         (run_mode): Set type.
67628         (main): Remove informal message about syslog.
67629         (options): Fix typo.
67631         [BZ #14053]
67632         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
67633         to asm.
67634         (lrint): Likewise.
67635         (llrintf): Likewise.
67636         (llrint): Likewise.
67637         (rint): Likewise.
67638         (rintf): Likewise.
67639         (nearbyint): Likewise.
67640         (nearbyintf): Likewise.
67642 2012-05-09  Andreas Jaeger  <aj@suse.de>
67643             Pedro Alves  <palves@redhat.com>
67645         * nscd/nscd.c (run_mode): Use enum.
67646         (main): Cleanup coding style issue.
67648 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
67649             Andreas Jaeger  <aj@suse.de>
67651         * nscd/nscd.c (go_background): Replaced with...
67652         (run_mode): ... this.
67653         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
67654         (options): Add -F --foreground.
67655         (main): Implement it.
67656         (parse_opt): Parse it.
67658 2012-05-09  Andreas Jaeger  <aj@suse.de>
67660         [BZ #14083]
67661         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
67662         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
67663         -Wconversion warning.
67664         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
67665         Likewise.
67667 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
67669         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
67670         == 0.
67671         (LC_ALL): Use macro-int-constant.
67672         (LC_COLLATE): Likewise.
67673         (LC_CTYPE): Likewise.
67674         (LC_MESSAGES): Likewise.
67675         (LC_MONETARY): Likewise.
67676         (LC_NUMERIC): Likewise.
67677         (LC_TIME): Likewise.
67678         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
67679         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67680         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67681         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
67682         Specify type.
67683         [C99-based standards] (float_t): Expect type.
67684         [C99-based standards] (double_t): Expect type.
67685         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
67686         type.
67687         [C99-based standards] (HUGE_VALL): Likewise.
67688         [C99-based standards] (INFINITY): Likewise.
67689         [C99-based standards] (NAN): Likewise.
67690         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
67691         [C99-based standards] (FP_NAN): Likewise.
67692         [C99-based standards] (FP_NORMAL): Likewise.
67693         [C99-based standards] (FP_SUBNORMAL): Likewise.
67694         [C99-based standards] (FP_ZERO): Likewise.
67695         [C99-based standards] (FP_FAST_FMA): Use
67696         optional-macro-int-constant.  Specify type.  Require == 1.
67697         [C99-based standards] (FP_FAST_FMAF): Likewise.
67698         [C99-based standards] (FP_FAST_FMAL): Likewise.
67699         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
67700         [C99-based standards] (FP_ILOGBNAN): Likewise.
67701         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
67702         Specify type.
67703         [C99-based standards] (MATH_ERREXCEPT): Likewise.
67704         [C99-based standards] (math_errhandling): Specify type.
67705         [ISO99 || ISO11] (signgam): Do not allow.
67706         [non-C99-based standards] (copysignf): Do not allow.
67707         [non-C99-based standards] (exp2f): Likewise.
67708         [non-C99-based standards] (log2f): Likewise.
67709         [non-C99-based standards] (modff): Allow.
67710         [non-C99-based standards] (erff): Do not allow.
67711         [non-C99-based standards] (erfcf): Likewise.
67712         [non-C99-based standards] (gammaf): Likewise.
67713         [non-C99-based standards] (hypotf): Likewise.
67714         [non-C99-based standards] (j0f): Likewise.
67715         [non-C99-based standards] (j1f): Likewise.
67716         [non-C99-based standards] (jnf): Likewise.
67717         [non-C99-based standards] (lgammaf): Likewise.
67718         [non-C99-based standards] (tgammaf): Likewise.
67719         [non-C99-based standards] (y0f): Likewise.
67720         [non-C99-based standards] (y1f): Likewise.
67721         [non-C99-based standards] (ynf): Likewise.
67722         [non-C99-based standards] (isnanf): Likewise.
67723         [non-C99-based standards] (acoshf): Likewise.
67724         [non-C99-based standards] (asinhf): Likewise.
67725         [non-C99-based standards] (atanhf): Likewise.
67726         [non-C99-based standards] (cbrtf): Likewise.
67727         [non-C99-based standards] (expm1f): Likewise.
67728         [non-C99-based standards] (ilogbf): Likewise.
67729         [non-C99-based standards] (log1pf): Likewise.
67730         [non-C99-based standards] (logbf): Likewise.
67731         [non-C99-based standards] (nextafterf): Likewise.
67732         [non-C99-based standards] (remainderf): Likewise.
67733         [non-C99-based standards] (rintf): Likewise.
67734         [non-C99-based standards] (scalbf): Likewise.
67735         [non-C99-based standards] (copysignl): Likewise.
67736         [non-C99-based standards] (exp2l): Likewise.
67737         [non-C99-based standards] (log2l): Likewise.
67738         [non-C99-based standards] (modfl): Allow.
67739         [non-C99-based standards] (erfl): Do not allow.
67740         [non-C99-based standards] (erfcl): Likewise.
67741         [non-C99-based standards] (gammal): Likewise.
67742         [non-C99-based standards] (hypotl): Likewise.
67743         [non-C99-based standards] (j0l): Likewise.
67744         [non-C99-based standards] (j1l): Likewise.
67745         [non-C99-based standards] (jnl): Likewise.
67746         [non-C99-based standards] (lgammal): Likewise.
67747         [non-C99-based standards] (tgammal): Likewise.
67748         [non-C99-based standards] (y0l): Likewise.
67749         [non-C99-based standards] (y1l): Likewise.
67750         [non-C99-based standards] (ynl): Likewise.
67751         [non-C99-based standards] (isnanl): Likewise.
67752         [non-C99-based standards] (acoshl): Likewise.
67753         [non-C99-based standards] (asinhl): Likewise.
67754         [non-C99-based standards] (atanhl): Likewise.
67755         [non-C99-based standards] (cbrtl): Likewise.
67756         [non-C99-based standards] (expm1l): Likewise.
67757         [non-C99-based standards] (ilogbl): Likewise.
67758         [non-C99-based standards] (log1pl): Likewise.
67759         [non-C99-based standards] (logbl): Likewise.
67760         [non-C99-based standards] (nextafterl): Likewise.
67761         [non-C99-based standards] (remainderl): Likewise.
67762         [non-C99-based standards] (rintl): Likewise.
67763         [non-C99-based standards] (scalbl): Likewise.
67764         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67765         [non-C99-based standards] (FP_*): Do not allow.
67766         [C99-based standards] (FP_*): Change to
67767         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67768         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67769         allow.
67770         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
67771         (SIG_ERR): Likewise.
67772         [X/Open-based standards] (SIG_HOLD): Likewise.
67773         (SIG_IGN): Likewise.
67774         (SIGABRT): Use macro-int-constant.  Specify type.  Require
67775         positive value.
67776         (SIGFPE): Likewise.
67777         (SIGILL): Likewise.
67778         (SIGINT): Likewise.
67779         (SIGSEGV): Likewise.
67780         (SIGTER): Likewise.
67781         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
67782         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
67783         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
67784         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
67785         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
67786         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
67787         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
67788         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
67789         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
67790         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
67791         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
67792         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
67793         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
67794         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
67795         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
67796         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
67797         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
67798         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
67799         [X/Open-based standards] (SIGTRAP): Likewise.
67800         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
67801         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
67802         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
67803         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
67804         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67805         allow.
67807 2012-05-08  Ian Wienand  <ianw@vmware.com>
67809         [BZ #14080]
67810         * time/tzset.c (__tzset_parse_tz): Update default rules for
67811         daylight time changes in the Energy Policy Act of 2005.
67813 2012-05-09  Andreas Jaeger  <aj@suse.de>
67815         [BZ #13983]
67816         * elf/ldconfig.c (parse_conf): Change string to make clear that
67817         ldconfig only issued a warning if ld.so.conf does not exist.
67819 2012-05-08  David S. Miller  <davem@davemloft.net>
67821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
67822         movxtod instead of popping the value on the stack.
67824         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67826 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
67828         * config.h.in: Add HAVE_ARM_PCS_VFP.
67830 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
67832         [BZ #13979]
67833         * include/features.h: Warn if user requests __FORTIFY_SOURCE
67834         checking but the checks are disabled for any reason.
67836 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
67838         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
67839         and ELF64_R_TYPE with ELFW(R_TYPE).
67841 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
67843         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
67844         (ulimit): Likewise.
67846         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
67847         (settimeofday): Likewise.
67849 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
67851         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
67852         a struct th_u2 inside the union, and move tu_block/tu_code into
67853         a new th_u3 union of tu_block/tu_code inside of that.  Move
67854         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
67855         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
67856         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
67857         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
67858         (th_stuff): Change to th_u1.tu_stuff.
67859         (th_data): Define.
67860         (th_msg): Change to th_u1.th_u2.tu_data.
67862 2012-05-07  David S. Miller  <davem@davemloft.net>
67864         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67866         [BZ #14074]
67867         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
67868         (SETUP_PIC_REG): Use it.
67869         (SETUP_PIC_REG_LEAF): Use it.
67871 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
67873         [BZ #13885]
67874         [BZ #13923]
67875         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67876         USE_AS_EXPM1L.
67877         (EXPL_FINITE): Likewise.
67878         (FLDLOG): Likewise.
67879         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67880         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67881         e_expl.S.
67882         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67883         USE_AS_EXPM1L.
67884         (EXPL_FINITE): Likewise.
67885         (FLDLOG): Likewise.
67886         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67887         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67888         e_expl.S.
67889         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
67890         test of -max_value argument for long double.
67891         * sysdeps/i386/fpu/libm-test-ulps: Update.
67892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67894 2012-05-06  David S. Miller  <davem@davemloft.net>
67896         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
67897         quad soft-float symbols whose references which are compiler
67898         generated.
67899         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67901 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
67903         [BZ #13884]
67904         [BZ #13914]
67905         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67906         USE_AS_EXP10L.
67907         (EXPL_FINITE): Likewise.
67908         (FLDLOG): Likewise.
67909         (c0): Likewise.
67910         (c1): Likewise.
67911         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67912         Adjust comments for base varying.
67913         (__expl_finite): Change alias to EXPL_FINITE.
67914         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
67915         e_expl.S.
67916         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
67917         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
67918         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
67919         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
67920         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67921         USE_AS_EXP10L.
67922         (EXPL_FINITE): Likewise.
67923         (FLDLOG): Likewise.
67924         (c0): Likewise.
67925         (c1): Likewise.
67926         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67927         Adjust comments for base varying.
67928         (__expl_finite): Change alias to EXPL_FINITE.
67929         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
67930         tests for bugs.
67931         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67933         [BZ #14064]
67934         * math/libm-test.inc (check_float_internal): Correct ulp
67935         calculation for subnormal expected results.
67937 2012-05-06  Andreas Jaeger  <aj@suse.de>
67939         * Makeconfig (+math-flags): New, set to -frounding-math.
67940         (+cflags): Add +math-flags so that all of glibc gets compiled with
67941         it.
67943         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
67945 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
67947         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
67948         Disable one test.
67950         [BZ #13787]
67951         [BZ #13922]
67952         [BZ #14036]
67953         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
67954         (__ieee754_expl): Allow for and saturate large arguments.
67955         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
67956         (u_threshold): Likewise.
67957         (__exp): Call __ieee754_exp before checking for overflow and
67958         underflow.
67959         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
67960         (u_threshold): Likewise.
67961         (__expf): Call __ieee754_expf before checking for overflow and
67962         underflow.
67963         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
67964         (u_threshold): Likewise.
67965         (__expl): Call __ieee754_expl before checking for overflow and
67966         underflow.
67967         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
67968         (__ieee754_expl): Allow for and saturate large arguments.
67969         * math/libm-test.inc (exp_test): Add another test.  Do not allow
67970         missing overflow exception on overflow.
67971         (expm1_test): Do not allow missing overflow exception on overflow.
67973         * sysdeps/i386/fpu/e_expl.c: Move to ...
67974         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
67975         rather than using inline asm.
67976         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
67977         * sysdeps/x86_64/fpu/e_expl.S: Copy from
67978         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
67980         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
67981         (nice): Likewise.
67982         (poll): Likewise.
67983         (signal): Likewise.
67984         (time): Likewise.
67985         (times): Likewise.
67987 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67989         * sysdeps/unix/syscalls.list (adjtime): Add entry from
67990         sysdeps/unix/common/syscalls.list.
67991         (fchmod): Likewise.
67992         (fchown): Likewise.
67993         (ftruncate): Likewise.
67994         (getrusage): Likewise.
67995         (gettimeofday): Likewise.
67996         (setpgid): Likewise.
67997         (setregid): Likewise.
67998         (setreuid): Likewise.
67999         (sigaction): Likewise.
68000         (truncate): Likewise.
68001         (vhangup): Likewise.
68002         * sysdeps/unix/common/syscalls.list: Remove file.
68003         * sysdeps/unix/bsd/Implies: Don't include unix/common.
68004         * sysdeps/unix/sysv/linux/Implies: Likewise.
68006 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
68008         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
68009         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
68010         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
68011         Moved to ...
68012         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
68013         Here.
68014         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
68015         to ...
68016         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
68017         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
68018         to ...
68019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
68020         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
68021         to ...
68022         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
68023         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
68024         to ...
68025         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
68026         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
68027         to ...
68028         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
68029         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
68030         to ...
68031         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
68032         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
68033         to ...
68034         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
68035         Here.
68036         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
68037         to ...
68038         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
68039         Here.
68040         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
68041         to ...
68042         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
68043         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
68044         Moved to ...
68045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
68046         Here.
68047         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
68048         to ...
68049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
68051 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68053         * sysdeps/unix/common/bits/dirent.h: Remove file.
68054         * sysdeps/unix/common/bits/fcntl.h: Likewise.
68056         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
68057         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
68058         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
68059         * sysdeps/unix/bsd/isatty.c: Likewise.
68060         * sysdeps/unix/bsd/tcdrain.c: Likewise.
68061         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
68062         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
68064 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68066         [BZ #13563]
68067         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
68068         long double comparison inaccuracies.
68069         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
68070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68072 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
68074         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
68075         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
68077 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68079         [BZ #14049]
68080         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
68081         nonzero digits before rounding a hex value.
68082         * stdlib/tst-strtod.c (tests): Add another test.
68084 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68086         * sysdeps/s390/fpu/libm-test-ulps: Update.
68088 2012-05-03  Andreas Jaeger  <aj@suse.de>
68090         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
68091         does not get optimized out.
68092         (malloc_opt_barrier): New.
68094 2012-05-03  Andreas Jaeger  <aj@suse.de>
68095             Roland McGrath  <roland@hack.frob.com>
68097         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
68098         intermediate file deletion.
68099         (generated): Add .symlist files.
68101 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
68103         [BZ #13775]
68104         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
68105         Redirect under this condition.
68106         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68107         [__USE_GNU] (__dprintf_chk): Not under this condition.
68108         [__USE_GNU] (__vdprintf_chk): Likewise.
68109         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
68110         under this condition.
68111         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68112         [__USE_XOPEN2K8] (dprintf): Define under this condition.
68113         [__USE_XOPEN2K8] (vdprintf): Likewise.
68114         [__USE_GNU] (__dprintf_chk): Not under this condition.
68115         [__USE_GNU] (__vdprintf_chk): Likewise.
68116         [__USE_GNU] (dprintf): Likewise.
68117         [__USE_GNU] (vdprintf): Likewise.
68119 2012-05-03  Roland McGrath  <roland@hack.frob.com>
68121         * elf/Makefile (common-generated): Set this instead of generated for
68122         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
68123         $(all-built-dso)-derived lists.
68125 2012-05-03  Andreas Jaeger  <aj@suse.de>
68127         * sysdeps/i386/fpu/libm-test-ulps: Update.
68129         * FAQ: Removed.
68130         * FAQ.in: Likewise.
68131         * scripts/gen-FAQ.pl: Likewise.
68132         * manual/install.texi (Installation): Point to online location of
68133         FAQ.
68134         * Makefile (files-for-dist): Remove FAQ.
68135         (FAQ): Remove.
68137 2012-05-02  Allan McRae  <allan@archlinux.org>
68139         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
68140         (LDFLAGS-reldepmod5.so): Likewise.
68141         (LDFLAGS-reldep6mod1.so): Likewise.
68142         (LDFLAGS-reldep6mod4.so): Likewise.
68143         (LDFLAGS-reldep8mod3.so): Likewise.
68144         (LDFLAGS-unload4mod1.so): Likewise.
68145         (LDFLAGS-unload4mod2.so): Likewise.
68146         (LDFLAGS-tst-initorder): Likewise.
68147         (LDFLAGS-tst-initordera2.so): Likewise.
68148         (LDFLAGS-tst-initordera3.so): Likewise.
68149         (LDFLAGS-tst-initordera4.so): Likewise.
68150         (LDFLAGS-tst-initorderb2.so): Likewise.
68151         (LDFLAGS-noload): Likewise.
68152         (LDFLAGS-next): Likewise.
68153         (LDFLAGS-order2mod1.so): Likewise.
68154         (LDFLAGS-order2mod2.so): Likewise.
68155         (LDFLAGS-tst-initorder2): Likewise.
68156         (LDFLAGS-tst-initorder2a.so): Likewise.
68157         (LDFLAGS-tst-initorder2b.so): Likewise.
68158         (LDFLAGS-tst-initorder2c.so): Likewise.
68159         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
68161 2012-05-02  David S. Miller  <davem@davemloft.net>
68163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68165 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
68167         [BZ #14055]
68168         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
68170 2012-05-02  Andreas Jaeger  <aj@suse.de>
68172         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
68173         since we manipulate rounding mode.
68174         (CPPFLAGS-test-idouble.c): Likewise.
68175         (CPPFLAGS-test-ifloat.c): Likewise.
68176         (CFLAGS-test-ldouble.c): Likewise.
68177         (CFLAGS-test-double.c): Likewise.
68178         (CFLAGS-test-float.c): Likewise.
68179         (CFLAGS-test-misc.c): Likewise.
68180         (CFLAGS-test-test-fenv.c): Likewise.
68182 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68184         [BZ #2550]
68185         [BZ #2570]
68186         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
68187         comparisons to determine direction to adjust input.
68189 2012-05-01  Roland McGrath  <roland@hack.frob.com>
68191         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
68192         output to the target.
68194         * scripts/localplt.awk: New file.
68195         * elf/Makefile ($(objpfx)check-localplt): Target removed.
68196         (check-localplt-CFLAGS): Variable removed.
68197         ($(all-built-dso:=.jmprel)): New static pattern rule.
68198         (generated): Add those targets.
68199         (localplt-built-dso): New variable.
68200         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
68202         * elf/check-localplt.c: File removed.
68204         * scripts/check-execstack.awk: New file.
68205         * elf/Makefile ($(objpfx)check-execstack): Target removed.
68206         (check-execstack-CFLAGS): Variable removed.
68207         ($(objpfx)check-execstack.h): Target removed.
68208         ($(objpfx)execstack-default): New target.
68209         (generated): Add that instead of check-execstack.h.
68210         ($(all-built-dso:=.phdr)): New static pattern rule.
68211         (generated): Add those targets.
68212         * elf/check-execstack.c: File removed.
68214         * scripts/check-textrel.awk: New file.
68215         * elf/Makefile ($(objpfx)check-textrel): Target removed.
68216         (check-textrel-CFLAGS): Variable removed.
68217         (all-built-dso): Use := to define.o
68218         ($(all-built-dso:=.dyn)): New static pattern rule.
68219         (generated): Add those targets.
68220         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
68221         * config.make.in (READELF): New substituted variable.
68222         * elf/check-textrel.c: File removed.
68224 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68226         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68227         allow.
68228         * conform/data/ctype.h-data [C99-based standards] (isblank):
68229         Expect function.
68230         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
68231         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
68232         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68233         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
68234         Specify type.  Require positive value.
68235         (EILSEQ): Likewise.
68236         (ERANGE): Likewise.
68237         [ISO || POSIX] (EILSEQ): Do not expect.
68238         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
68239         Specify type.  Require positive value.
68240         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
68241         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
68242         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
68243         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
68244         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
68245         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
68246         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
68247         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
68248         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
68249         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
68250         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
68251         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
68252         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
68253         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
68254         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
68255         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
68256         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
68257         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
68258         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
68259         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
68260         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
68261         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
68262         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
68263         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
68264         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
68265         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
68266         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
68267         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
68268         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
68269         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
68270         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
68271         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
68272         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
68273         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
68274         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
68275         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
68276         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
68277         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
68278         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
68279         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
68280         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
68281         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
68282         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
68283         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
68284         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
68285         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
68286         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
68287         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
68288         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
68289         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
68290         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
68291         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
68292         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
68293         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
68294         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
68295         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
68296         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
68297         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
68298         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
68299         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
68300         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
68301         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
68302         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
68303         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
68304         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
68305         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
68306         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
68307         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
68308         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
68309         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
68310         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
68311         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
68312         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
68313         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
68314         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
68315         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
68316         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
68317         Require >= 2.
68318         (FLT_ROUNDS): Expect as macro, not constant.
68319         (FLT_MANT_DIG): Use macro-int-constant.
68320         (DBL_MANT_DIG): Likewise.
68321         (LDBL_MANT_DIG): Likewise.
68322         (FLT_DIG): Likewise.
68323         (DBL_DIG): Likewise.
68324         (LDBL_DIG): Likewise.
68325         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
68326         (DBL_MIN_EXP): Likewise.
68327         (LDBL_MIN_EXP): Likewise.
68328         (FLT_MAX_EXP): Use macro-int-constant.
68329         (DBL_MAX_EXP): Likewise.
68330         (LDBL_MAX_EXP): Likewise.
68331         (FLT_MAX_10_EXP): Likewise.
68332         (DBL_MAX_10_EXP): Likewise.
68333         (LDBL_MAX_10_EXP): Likewise.
68334         (FLT_MAX): Use macro-constant.
68335         (DBL_MAX): Likewise.
68336         (LDBL_MAX): Likewise.
68337         (FLT_EPSILON): Use macro-constant.  Give upper bound.
68338         (DBL_EPSILON): Likewise.
68339         (LDBL_EPSILON): Likewise.
68340         (FLT_MIN): Likewise.
68341         (DBL_MIN): Likewise.
68342         (LDBL_MIN): Likewise.
68343         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
68344         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
68345         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
68346         [ISO11] (FLT_HAS_SUBNORM): Likewise.
68347         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
68348         [ISO11] (DBL_DECIMAL_DIG): Likewise.
68349         [ISO11] (FLT_DECIMAL_DIG): Likewise.
68350         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
68351         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
68352         [ISO11] (FLT_TRUE_MIN): Likewise.
68353         [ISO11] (LDBL_TRUE_MIN): Likewise.
68354         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68355         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
68356         (SCHAR_MIN): Use macro-int-constant.  Specify type.
68357         (SCHAR_MAX): Likewise.
68358         (UCHAR_MAX): Likewise.
68359         (CHAR_MIN): Likewise.
68360         (CHAR_MAX): Likewise.
68361         (MB_LEN_MAX): Use macro-int-constant.
68362         (SHRT_MIN): Use macro-int-constant.  Specify type.
68363         (SHRT_MAX): Likewise.
68364         (USHRT_MAX): Likewise.
68365         (INT_MAX): Likewise.
68366         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
68367         bound negative.
68368         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68369         bound with "U".
68370         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68371         bound with "L".
68372         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
68373         bound negative.  Suffix upper bound with "L".
68374         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68375         bound with "UL".
68376         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
68377         Specify type.
68378         [C99-based standards] (LLONG_MAX): Likewise.
68379         [C99-based standards] (ULLONG_MAX): Likewise.
68380         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
68381         == 0.
68382         [ISO11] (max_align_t): Require type.
68383         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68385         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
68386         from $CFLAGS, without defining away __attribute__ calls.
68387         (checknamespace): Use $CFLAGS_namespace.
68389         * conform/conformtest.pl (@keywords): Only include C99 keywords
68390         for standards based on C99 or C11.
68392         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
68393         Disable tests.
68394         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
68395         UNIX98]: Likewise.
68397         * conform/conformtest.pl: Handle "macro-int-constant" and test for
68398         usability of symbols in #if.
68400         * conform/conformtest.pl: If macro or constant types start
68401         "promoted:", expect the symbol to be of the following type
68402         promoted by the integer promotions.
68404         * conform/conformtest.pl: Parse all "constant" and "macro" lines
68405         in one place.  Also handle "macro-constant".
68407         * conform/conformtest.pl: Only accept expected macro values with
68408         "==".  Parse all "macro" lines in one place.
68409         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
68411         * conform/conformtest.pl: Handle braced types on "constant" lines
68412         instead of handling "typed-constant".
68413         * conform/data/signal.h-data: Use "constant" instead of
68414         "typed-constant".
68416         * conform/conformtest.pl: Handle "optional-" at start of lines in
68417         one place rather than duplicating several cases.  Handle each
68418         format of "macro" line with initial "optional-".
68420         * conform/conformtest.pl: Only accept expected constant or
68421         optional-constant values with "==".  Parse all "constant" lines in
68422         one place.  Parse all "optional-constant" lines in one place.
68423         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
68424         * conform/data/fmtmsg.h-data: Likewise.
68425         * conform/data/netinet/in.h-data: Likewise.
68426         * conform/data/tar.h-data: Likewise.
68427         * conform/data/limits.h-data: Use "==" form on "constant" and
68428         "optional-constant" lines.
68430         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
68431         Use -std=c99 for XOPEN2K.
68432         (@knownproblems): Remove.
68433         (newtoken): Don't check %isknown.
68435         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
68436         Do not expect macro.
68437         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
68438         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
68439         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
68440         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
68441         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
68442         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
68443         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
68444         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
68445         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
68446         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
68447         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
68448         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
68449         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
68450         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
68451         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
68452         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
68453         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
68454         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
68455         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
68456         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
68457         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
68458         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
68459         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
68460         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
68461         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
68462         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
68463         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
68464         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
68465         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
68466         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
68467         [XPG3] (acosh): Likewise.
68468         [XPG3] (asinh): Likewise.
68469         [XPG3] (atanh): Likewise.
68470         [XPG3] (cbrt): Likewise.
68471         [XPG3] (expm1): Likewise.
68472         [XPG3] (ilogb): Likewise.
68473         [XPG3] (log1p): Likewise.
68474         [XPG3] (logb): Likewise.
68475         [XPG3] (nextafter): Likewise.
68476         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
68477         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
68478         [XPG3] (remainder): Likewise.
68479         [XPG3] (rint): Likewise.
68480         [XPG3 || XPG4 || UNIX98] (round): Likewise.
68481         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
68482         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
68483         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
68484         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
68485         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
68486         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
68487         [UNIX98 || XOPEN2K] (scalb): Expect.
68488         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
68489         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
68490         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
68491         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
68492         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
68493         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
68494         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
68495         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
68496         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
68497         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
68498         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
68499         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
68500         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
68501         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
68502         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
68503         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
68504         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
68505         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
68506         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
68507         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
68508         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
68509         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
68510         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
68511         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
68512         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
68513         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
68514         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
68515         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
68516         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
68517         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
68518         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
68519         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
68520         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
68521         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
68522         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
68523         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
68524         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
68525         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
68526         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
68527         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
68528         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
68529         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
68530         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
68531         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
68532         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
68533         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
68534         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
68535         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
68536         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
68537         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
68538         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
68539         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
68540         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
68541         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
68542         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
68543         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
68544         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
68545         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
68546         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
68547         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
68548         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
68549         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
68550         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
68551         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
68552         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
68553         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
68554         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
68555         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
68556         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
68557         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
68558         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
68559         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
68560         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
68561         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
68562         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
68563         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
68564         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
68565         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
68566         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
68567         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
68568         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
68569         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
68570         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
68571         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
68572         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
68573         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
68574         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
68575         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
68576         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
68577         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
68578         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
68579         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
68580         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
68581         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
68582         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
68583         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
68584         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
68585         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
68586         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
68587         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
68588         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
68589         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
68590         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
68591         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
68592         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
68593         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
68594         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
68595         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
68596         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
68597         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
68598         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
68599         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
68600         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
68601         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
68602         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
68603         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
68604         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
68605         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
68606         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
68607         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
68608         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
68609         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
68610         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
68611         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
68612         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
68613         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
68614         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
68615         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
68616         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
68617         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
68618         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
68619         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
68620         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
68621         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
68622         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
68623         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
68624         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
68626         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
68627         _XOPEN_SOURCE_EXTENDED for XPG4.
68629         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
68631         * Makeconfig (localtime): Remove variable.
68632         (inst_localtime-file): Likewise.
68634 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
68637         Update.
68638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68639         Update.
68640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
68641         Update.
68642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
68643         Update.
68644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
68645         Update.
68646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
68647         Update.
68648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68649         Update.
68650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
68651         Update.
68652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68653         Update.
68655 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68657         [BZ #2550]
68658         [BZ #2570]
68659         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
68660         comparisons to determine direction to adjust input.
68661         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
68662         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
68663         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
68664         Likewise.
68665         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
68666         Likewise.
68667         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
68668         Likewise.
68669         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
68670         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
68671         Likewise.
68672         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
68673         Likewise.
68674         * math/libm-test.inc (nexttoward_test): Add more tests.
68676 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68678         [BZ #14040]
68679         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
68680         in version GLIBC_2.1, not GLIBC_2.0.
68681         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
68682         Likewise.
68684 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
68686         [BZ #13942]
68687         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
68688         (1 - x) * (1 + x).
68689         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68690         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
68691         * math/libm-test.inc (acos_test): Add more tests.
68692         (asin_test): Likewise.
68693         * sysdeps/i386/fpu/libm-test-ulps: Update.
68694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68696         [BZ #14034]
68697         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
68698         of square root.
68699         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
68700         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68701         * math/libm-test.inc (acos_test_tonearest): New function.
68702         (acos_test_towardzero): Likewise.
68703         (acos_test_downward): Likewise.
68704         (acos_test_upward): Likewise.
68705         (asin_test_tonearest): Likewise.
68706         (asin_test_towardzero): Likewise.
68707         (asin_test_downward): Likewise.
68708         (asin_test_upward): Likewise.
68709         (main): Call the new functions.
68710         * sysdeps/i386/fpu/libm-test-ulps: Update.
68711         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68713         [BZ #13884]
68714         [BZ #13924]
68715         * math/e_exp10.c: Include <float.h>.
68716         (__ieee754_exp10): Handle underflow here rather than multiplying
68717         large negative argument by M_LN10.
68718         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
68719         of __ieee754_expf.
68720         * math/e_exp10l.c: Include <float.h>.
68721         (__ieee754_exp10l): Handle underflow here rather than multiplying
68722         large negative argument by M_LN10l.
68723         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
68724         spurious overflow exception on underflow.
68726 2012-04-29  Marek Polacek  <polacek@redhat.com>
68728         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
68729         (__fortify_function): New macro.
68730         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
68731         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
68732         __extern_always_inline.
68733         * libio/bits/stdio2.h: Likewise.
68734         * libio/bits/stdio.h: Likewise.
68735         * string/string.h: Likewise.
68736         * string/bits/string3.h: Likewise.
68737         * include/stdio.h: Likewise.
68738         * stdlib/bits/stdlib.h: Likewise.
68739         * stdlib/stdlib.h: Likewise.
68740         * rt/bits/mqueue2.h: Likewise.
68741         * rt/mqueue.h: Likewise.
68742         * posix/bits/unistd.h: Likewise.
68743         * posix/unistd.h: Likewise.
68744         * io/bits/poll2.h: Likewise.
68745         * io/bits/fcntl2.h: Likewise.
68746         * io/fcntl.h: Likewise.
68747         * io/sys/poll.h: Likewise.
68748         * misc/bits/syslog.h: Likewise.
68749         * misc/bits/syslog-ldbl.h: Likewise.
68750         * misc/sys/syslog.h: Likewise.
68751         * socket/bits/socket2.h: Likewise.
68752         * socket/sys/socket.h: Likewise.
68753         * debug/tst-chk1.c: Likewise.
68754         * wcsmbs/bits/wchar2.h: Likewise.
68755         * wcsmbs/bits/wchar-ldbl.h: Likewise.
68756         * wcsmbs/wchar.h: Likewise.
68758 2012-04-29  Andreas Jaeger  <aj@suse.de>
68760         * Makerules (tests): Remove enable-check-abi protection.
68761         (check-abi-warn): Remove.
68762         (check-abi-%): Remove check-abi-warn usage.
68764         * configure.in: Remove check-abi configure option.
68765         * configure: Regenerated.
68766         * config.make.in (enable-check-abi): Remove.
68768 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
68770         [BZ #14033]
68771         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
68772         double functions to double *_finite functions.
68774         [BZ #13941]
68775         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
68776         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
68777         LDBL_MIN_EXP.
68778         * stdio-common/Makefile (tests): Add tst-sprintf3.
68779         * stdio-common/tst-sprintf3.c: New file.
68781         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
68782         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
68784 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68786         * conform/conformtest.pl: Remove duplicate typed-constant
68787         handling.
68789 2012-04-28  David S. Miller  <davem@davemloft.net>
68791         * Makerules (%.abilist): Add vpath on sysdep_dirs.
68792         (check-abi-%): Remove AWK script prerequisite and explicit
68793         abilist directory.
68794         (check-abi): Rewrite to just diff the symlist with the abilist.
68795         (config-tls, config-abi-config): Delete, no longer used.
68796         (update-abi-%): Remove AWK script and explicit abilist directory.
68797         (update-abi): Rewrite to simply compare and conditionally copy the
68798         symlist and the sysdep abilist file.  Remove update-abi-config
68799         checks.
68800         * abilist/ld.abilist: Remove.
68801         * abilist/libBrokenLocale.abilist: Remove.
68802         * abilist/libanl.abilist: Remove.
68803         * abilist/libcrypt.abilist: Remove.
68804         * abilist/libdl.abilist: Remove.
68805         * abilist/librt.abilist: Remove.
68806         * abilist/libthread_db.abilist: Remove.
68807         * abilist/libutil.abilist: Remove.
68808         * scripts/extract-abilist.awk: Remove.
68809         * scripts/merge-abilist.awk: Remove.
68810         * sysdeps/generic/libcidn.abilist: New file.
68811         * sysdeps/generic/libnss_compat.abilist: New file.
68812         * sysdeps/generic/libnss_db.abilist: New file.
68813         * sysdeps/generic/libnss_dns.abilist: New file.
68814         * sysdeps/generic/libnss_files.abilist: New file.
68815         * sysdeps/generic/libnss_hesiod.abilist: New file.
68816         * sysdeps/generic/libnss_nis.abilist: New file.
68817         * sysdeps/generic/libnss_nisplus.abilist: New file.
68818         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
68819         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
68820         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
68821         file.
68822         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
68823         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
68824         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
68825         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
68826         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
68827         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
68828         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
68829         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
68830         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
68831         file.
68832         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
68833         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
68834         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
68835         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
68836         file.
68837         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
68838         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
68839         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
68840         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
68841         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
68842         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
68843         file.
68844         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
68845         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
68846         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
68847         file.
68848         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
68849         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
68850         New file.
68851         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
68852         New file.
68853         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
68854         New file.
68855         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
68856         New file.
68857         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
68858         New file.
68859         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
68860         New file.
68861         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
68862         New file.
68863         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
68864         New file.
68865         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
68866         New file.
68867         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
68868         New file.
68869         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
68870         New file.
68871         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
68872         New file.
68873         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
68874         New file.
68875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
68876         file.
68877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
68878         New file.
68879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
68880         New file.
68881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
68882         file.
68883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
68884         New file.
68885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
68886         New file.
68887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
68888         file.
68889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
68890         New file.
68891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68892         New file.
68893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
68894         New file.
68895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
68896         New file.
68897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
68898         New file.
68899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
68900         New file.
68901         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
68902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
68903         file.
68904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
68905         New file.
68906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
68907         file.
68908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
68909         file.
68910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
68911         file.
68912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
68913         file.
68914         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
68915         file.
68916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
68917         New file.
68918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
68919         file.
68920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
68921         file.
68922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
68923         New file.
68924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
68925         file.
68926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
68927         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
68928         file.
68929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
68930         New file.
68931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
68932         file.
68933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
68934         file.
68935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
68936         file.
68937         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
68938         file.
68939         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
68940         file.
68941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68942         New file.
68943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
68944         file.
68945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
68946         file.
68947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
68948         New file.
68949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
68950         file.
68951         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68952         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
68953         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
68954         file.
68955         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
68956         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
68957         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
68958         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
68959         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
68960         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
68961         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
68962         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
68963         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
68964         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
68965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
68966         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
68967         file.
68968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
68969         New file.
68970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
68971         file.
68972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
68973         file.
68974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
68975         file.
68976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
68977         file.
68978         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
68979         file.
68980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
68981         New file.
68982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
68983         New file.
68984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
68985         file.
68986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
68987         New file.
68988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
68989         file.
68990         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
68991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
68992         file.
68993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
68994         New file.
68995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
68996         file.
68997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
68998         file.
68999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
69000         file.
69001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
69002         file.
69003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
69004         file.
69005         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
69006         New file.
69007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
69008         New file.
69009         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
69010         file.
69011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
69012         New file.
69013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
69014         file.
69016 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
69018         * conform/conformtest.pl: Fix typo in handling typed-constant from
69019         allow-header.
69021 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69023         * README: Cut down references to pre-2.6 Linux kernels and
69024         Linuxthreads.  Update lists of configurations in libc and ports
69025         and sort alphabetically.  Say "or newer" with Linux kernel version
69026         requirements.
69028         * config.h.in [IS_IN_build]: Allow compiling without optimization.
69030 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
69032         [BZ #887]
69033         * math/libm-test.inc (logb_test_downward): New test to expose
69034         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
69035         rounding mode.
69037 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69039         [BZ #14027]
69040         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
69041         to be done.
69042         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
69043         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
69045 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
69047         * sysdeps/unix/i386/brk.S: Remove file.
69048         * sysdeps/unix/i386/dl-brk.S: Likewise.
69049         * sysdeps/unix/i386/pipe.S: Likewise.
69050         * sysdeps/unix/i386/sigreturn.S: Likewise.
69051         * sysdeps/unix/i386/syscall.S: Likewise.
69052         * sysdeps/unix/i386/vfork.S: Likewise.
69053         * sysdeps/unix/i386/wait.S: Likewise.
69055         * sysdeps/unix/common/tcsendbrk.c: Move to ...
69056         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
69058         * configure.in (arm*-none*): Do not allow without
69059         --enable-hacker-mode.
69060         (netbsd*): Remove case setting base_os.
69061         (386bsd*): Likewise.
69062         (freebsd*): Likewise.
69063         (bsdi*): Likewise.
69064         (osf*): Likewise.
69065         (sunos*): Likewise.
69066         (ultrix*): Likewise.
69067         (newsos*): Likewise.
69068         (dynix*): Likewise.
69069         (*bsd*): Likewise.
69070         (sysv*): Likewise.
69071         (isc*): Likewise.
69072         (esix*): Likewise.
69073         (sco*): Likewise.
69074         (minix*): Likewise.
69075         (irix4*): Likewise.
69076         (irix6*): Likewise.
69077         (solaris[2-9]*): Likewise.
69078         (none): Likewise.
69079         * configure: Regenerated.
69081 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69083         [BZ #11521]
69084         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
69085         overflow or cancellation in calculating denominator.
69086         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
69087         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
69088         down expression to avoid unexpected rounding in newer GCCs.
69089         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
69091 2012-04-26  David S. Miller  <davem@davemloft.net>
69093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
69094         long-double compat symbols.
69095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
69099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
69101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
69102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
69103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
69104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
69105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
69106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
69107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69109 2012-04-25  David S. Miller  <davem@davemloft.net>
69111         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
69112         HWCAP_* values only after the memory barriers have been defined.
69113         (atomic_full_barrier): Define.
69114         (atomic_read_barrier): Define.
69115         (atomic_write_barrier): Define.
69117 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69119         * shlib-versions: Add libgcc_s version information.
69120         * sysdeps/generic/libgcc_s.h: Remove.
69121         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
69122         libgcc_s.h.
69123         * sysdeps/gnu/unwind-resume.c: Likewise.
69124         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
69126 2012-04-25  David S. Miller  <davem@davemloft.net>
69128         * sysdeps/unix/sparc/brk.S: Delete.
69129         * sysdeps/unix/sparc/dl-brk.S: Delete.
69130         * sysdeps/unix/sparc/pipe.S: Delete.
69131         * sysdeps/unix/sparc/sysdep.S: Delete.
69132         * sysdeps/unix/sparc/sysdep.h: Delete.
69133         * sysdeps/unix/sparc/vfork.S: Delete.
69134         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
69135         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
69136         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
69137         (ret_ERRVAL, r0, r1, MOVE): Define.
69138         (JUMPTARGET): Remove.
69139         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
69140         sysdeps/unix/sparc/sysdep.h
69141         (ENTRY, END): Remove.
69142         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69144 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
69146         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
69147         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
69148         -DIS_IN_build.
69150         * timezone/README: Update upstream location and email address for
69151         tzcode and tzdata.
69152         * timezone/zdump.c: Update from tzcode 2012b.
69153         * timezone/zic.c: Likewise.
69155         * configure.in (libc_cv_as_needed): Remove test.
69156         * configure: Regenerated.
69157         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
69158         conditional definition.
69159         [$(have-as-needed) != yes] (no-as-needed): Likewise.
69160         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
69161         * config.make.in (have-as-needed): Remove variable.
69163 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69164             Paul Pluzhnikov  <ppluzhnikov@google.com>
69166         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
69167         strings correctly.
69169 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
69171         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
69172         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
69173         * sysdeps/sh/strlen.S: Likewise.
69175 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69177         * sysdeps/unix/fork.S: Remove file.
69178         * sysdeps/unix/i386/fork.S: Likewise.
69179         * sysdeps/unix/sparc/fork.S: Likewise.
69181         * sysdeps/unix/system.c: Remove file.
69182         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
69184         * sysdeps/unix/getegid.S: Remove file.
69185         * sysdeps/unix/geteuid.S: Likewise.
69187 2012-04-24  Roland McGrath  <roland@hack.frob.com>
69189         * scripts/check-localplt.awk: New file.
69190         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
69191         of diff.
69192         * scripts/data/localplt-generic.data: Add a comment.
69194         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
69195         NODE when __dir_mkfile failed.
69196         * sysdeps/mach/hurd/symlinkat.c: Likewise.
69197         Reported by Ludovic Courtès <ludo@gnu.org>.
69199 2012-04-24  Andreas Jaeger  <aj@suse.de>
69201         * Makerules (common-clean): Also remove gen-as-const-headers
69202         files.
69204 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69206         * Makerules (native-compile): Do not change working directory for
69207         build.  Use $(OUTPUT_OPTION) in command.
69208         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
69210 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69212         [BZ #13886]
69213         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
69214         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
69215         * math/libm-test.inc (floor_test): Add more tests.
69216         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
69218 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69220         * sysdeps/unix/getdents.c: Remove file.
69221         * sysdeps/unix/sysv/getdents.c: Likewise.
69222         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
69224         * sysdeps/unix/syscalls.list (madvise): Add syscall from
69225         sysdeps/unix/mman/syscalls.list.
69226         (mmap): Likewise.
69227         (mprotect): Likewise.
69228         (msync): Likewise.
69229         (munmap): Likewise.
69230         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
69231         * sysdeps/unix/mman/syscalls.list: Remove.
69232         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
69234         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
69235         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
69236         * configure: Regenerated.
69237         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
69238         $(libgcc_s_suffix).
69239         * config.make.in (libgcc_s_suffix): Remove variable.
69241 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
69243         * sysdeps/unix/sysv/gethostname.c: Move to ...
69244         * sysdeps/posix/gethostname.c: ... here.
69246         * sysdeps/unix/execve.S: Remove file.
69248         * sysdeps/unix/_exit.S: Remove file.
69250 2012-04-23  Andreas Jaeger  <aj@suse.de>
69252         [BZ #13739]
69253         * manual/Makefile: Remove make dist support, there's no
69254         need for a stand-alone documentation tar ball.
69255         (TEXI2DVI): Define always, it's not in Makeconfig.
69256         (dist): Removed.
69257         (tar-it): Removed.
69258         (edition): Removed.
69259         (glibc-doc-$(edition).tar): Removed
69260         (%.Z): Removed.
69261         (%.gz): Removed.
69262         (%.uu): Removed.
69263         (ETAGS): Remove, it's in Makeconfig.
69264         (move-if-change): Remove, it's in Makeconfig.
69266 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
69268         [BZ #13970]
69269         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
69270         (strtod, strtof, strtold, strtol, strtoul, strtoq)
69271         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
69272         (strtod_l, strtof_l, strtold_l): Remove __wur.
69273         It is not necessarily an error to ignore strtol's return value.
69274         One can reliably look at the stored endptr to decide whether
69275         the number had valid syntax.
69277 2012-04-21  Andreas Jaeger  <aj@suse.de>
69279         [BZ #13739]
69280         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
69282 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
69284         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
69285         * sysdeps/unix/sysv/Versions: Remove file.
69287 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
69289         [BZ #13927]
69290         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69292 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
69294         [BZ #7064]
69295         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
69296         version from __vm86.
69298 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
69300         * sysdeps/unix/common/lxstat.c: Remove file.
69301         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
69303         * sysdeps/unix/sysv/Makefile: Remove file.
69305         * sysdeps/unix/sysv/direct.h: Remove file.
69307         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
69308         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
69309         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
69310         * sysdeps/unix/sysv/bits/signum.h: Likewise.
69311         * sysdeps/unix/sysv/bits/stat.h: Likewise.
69312         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
69313         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
69315         * sysdeps/unix/sysv/setrlimit.c: Remove file.
69317         * sysdeps/unix/xmknod.c: Remove file.
69318         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
69320         * sysdeps/unix/sysv/settimeofday.c: Remove file.
69322         * sysdeps/unix/sysv/i386/time.S: Remove file.
69324         * sysdeps/unix/fxstat.c: Remove file.
69325         * sysdeps/unix/xstat.c: Likewise.
69326         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
69328         * sysdeps/unix/sysv/sigaction.c: Remove file.
69330         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
69331         (sysdep_headers): Remove variable.
69332         [termio.h not in sysdep_headers] (generated): Likewise.
69333         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
69334         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
69335         * sysdeps/unix/sysv/tcdrain.c: Likewise.
69336         * sysdeps/unix/sysv/tcflow.c: Likewise.
69337         * sysdeps/unix/sysv/tcflush.c: Likewise.
69338         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
69339         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
69340         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
69341         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
69342         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
69344         * sysdeps/unix/siglist.c: Remove file.
69346         * sysdeps/unix/getppid.S: Remove file.
69348         * sysdeps/unix/mkdir.c: Remove file.
69349         * sysdeps/unix/rmdir.c: Likewise.
69351 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
69353         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
69354         ERR_MAX value.
69355         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
69356         errlist-compat value.
69358 2012-04-18  David S. Miller  <davem@davemloft.net>
69360         * sysdeps/generic/memcopy.h (reg_char): Delete.
69361         * debug/strcat_chk.c: Use char, not reg_char.
69362         * debug/strcpy_chk.c: Likewise.
69363         * debug/strncat_chk.c: Likewise.
69364         * debug/strncpy_chk.c: Likewise.
69365         * string/memchr.c: Likewise.
69366         * string/memrchr.c: Likewise.
69367         * string/rawmemchr.c: Likewise.
69368         * string/strcat.c: Likewise.
69369         * string/strchr.c: Likewise.
69370         * string/strchrnul.c: Likewise.
69371         * string/strcmp.c: Likewise.
69372         * string/strcpy.c: Likewise.
69373         * string/strncat.c: Likewise.
69374         * string/strncmp.c: Likewise.
69375         * string/strncpy.c: Likewise.
69377 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69379         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
69380         __builtin_memcopy is called when src and dest ranges are known to not
69381         overlap.
69383 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69385         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
69386         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
69387         fwd_align_merge macro call.
69388         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
69389         bwd_align_merge macro call.
69390         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69392 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69394         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
69395         bwd_align_merge macros.
69396         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
69397         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
69398         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69400 2012-04-18  David S. Miller  <davem@davemloft.net>
69402         * sysdeps/sparc/sparc64/memcopy.h: Delete.
69404 2012-04-18  Andreas Jaeger  <aj@suse.de>
69406         [BZ# 6794]
69407         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
69408         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
69409         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69411         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
69412         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
69413         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69415         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
69416         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
69417         Adjust for changed ldbl-128 files.
69419         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
69420         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
69421         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69423 2012-04-17  David S. Miller  <davem@davemloft.net>
69425         * sysdeps/sparc/sparc32/memcopy.h: Delete.
69427 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
69429         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
69430         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
69431         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
69432         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
69433         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
69434         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
69436 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69438         [BZ #6794]
69439         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
69440         * math/libm-test.inc: Add ilogb errno and exception tests.
69441         * math/w_ilogb.c: New file: ilogb wrapper.
69442         * math/w_ilogbf.c: New file: ilogbf wrapper.
69443         * math/w_ilogbl.c: New file: ilogbl wrapper.
69444         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
69445         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
69446         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
69447         exception being thrown with 0.0 as argument.
69448         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
69449         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
69450         exception being thrown with 0.0 as argument.
69451         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
69452         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69453         exception being thrown with 0.0 as argument.
69454         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
69455         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69456         exception being thrown with 0.0 as argument.
69457         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
69458         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
69459         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
69460         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
69461         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
69462         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
69463         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
69464         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
69465         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
69467 2012-04-17  Petr Baudis  <pasky@ucw.cz>
69469         * include/sys/uio.h: Change __vector to __iovec to avoid clash
69470         with altivec.
69472 2012-04-16  Marek Polacek  <polacek@redhat.com>
69474         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
69476 2012-04-16  Marek Polacek  <polacek@redhat.com>
69478         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
69479         operands of fdivp instruction.
69481 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69483         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
69484         * elf/tst-auditmod3b.c: Likewise.
69485         * elf/tst-auditmod4b.c: Likewise.
69486         * elf/tst-auditmod5b.c: Likewise.
69487         * elf/tst-auditmod6b.c: Likewise.
69488         * elf/tst-auditmod6c.c: Likewise.
69489         * elf/tst-auditmod7b.c: Likewise.
69490         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
69491         * sysdeps/x86_64/preconfigure.in: Likewise.
69492         * sysdeps/x86_64/preconfigure: Regenerated.
69494 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69496         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
69497         __ILP32__.
69499 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
69501         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69502         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
69504 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
69506         [BZ #13973]
69507         * locale/iso-639.def: Fix gl language name. Spotted by
69508         Yaron Shahrabani.
69510 2012-04-12  Roland McGrath  <roland@hack.frob.com>
69512         [BZ #2074]
69513         * libio/libio.h (__io_write_fn): Update comment.
69515 2012-04-12  Petr Baudis  <pasky@ucw.cz>
69517         [BZ #2074]
69518         * stdio.texi (Hook Functions): The user provided writer function
69519         is not allowed to return -1.
69521 2012-04-11  David S. Miller  <davem@davemloft.net>
69523         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69525 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
69527         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
69528         Add a leading slash to rtkaio.
69530 2012-04-11  Jim Meyering  <meyering@redhat.com>
69532         [BZ #11959]
69533         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
69534         It is not necessarily an error to ignore fwrite's return
69535         value.  One can reliably use ferror to test for errors after
69536         the fact.
69538 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69540         * bits/types.h (__snseconds_t): New type.
69541         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
69543         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
69544         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69545         (__SNSECONDS_T_TYPE): Likewise.
69546         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69547         (__SNSECONDS_T_TYPE): Likewise.
69548         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69549         (__SNSECONDS_T_TYPE): Likewise.
69551 2012-04-10  Andreas Jaeger  <aj@suse.de>
69553         [BZ #2636]
69554         * manual/time.texi (Processor Time): Return type of times is
69555         elapsed real time since an arbitrary point in the past.
69556         (CPU Time): Move CLK_TCK from here...
69557         (Processor Time): ...to here.  Correct description.
69558         * manual/conf.texi (Constants for Sysconf): Correct description of
69559         _SC_CLK_TCK.
69561 2012-04-10  David S. Miller  <davem@davemloft.net>
69563         [BZ #13967]
69564         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
69565         where the is a gap between DT_REL(A) and DT_JMPREL.
69567 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69569         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
69570         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69571         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69573 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
69575         * elf/dl-support.c (_dl_inhibit_cache): New variable.
69576         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
69577         (dl_main): Handle --inhibit-cache.
69578         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
69579         _dl_inhibit_cache.
69580         * elf/dl-load.c (_dl_map_object): Use it.
69581         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
69583 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69585         [BZ #13872]
69586         * sysdeps/i386/fpu/e_powl.S (p78): New object.
69587         (__ieee754_powl): Saturate large exponents rather than testing for
69588         overflow of y*log2(x).
69589         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69590         * math/libm-test.inc (pow_test): Do not permit spurious overflow
69591         exceptions.
69593         [BZ #11521]
69594         * math/s_ctan.c: Include <float.h>.
69595         (__ctan): Avoid internal overflow or cancellation in calculating
69596         denominator.
69597         * math/s_ctanf.c: Likewise.
69598         * math/s_ctanl.c: Likewise.
69599         * math/s_ctanh.c: Likewise.
69600         * math/s_ctanhf.c: Likewise.
69601         * math/s_ctanhl.c: Likewise.
69602         * math/libm-test.inc (ctan_test): Add more tests.
69603         (ctanh_test): Likewise.
69604         * sysdeps/i386/fpu/libm-test-ulps: Update.
69605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69607 2012-04-09  Andreas Jaeger  <aj@suse.de>
69609         [BZ #6894]
69610         * manual/filesys.texi (Directory Entries): Mention that d_namlen
69611         is an optional BSD extension.
69613         [BZ #10254]
69614         * manual/stdio.texi (Opening Streams): Document additional fopen
69615         parameters.
69617 2012-04-09  Roland McGrath  <roland@hack.frob.com>
69619         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
69620         %eax without telling the compiler.
69622 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
69624         [BZ # 13963]
69625         * manual/install.texi: Use sourceware.org.
69627 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69629         [BZ #13873]
69630         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
69631         (__ieee754_pow): Generate overflow and underflow using huge*huge
69632         and tiny*tiny rather than just returning constant infinity or zero
69633         for large exponents.
69634         * math/libm-test.inc (pow_test): Require overflow exceptions for
69635         applicable cases of large exponents.
69637         [BZ #706]
69638         * sysdeps/i386/fpu/e_pow.S (p10): New object.
69639         (__ieee754_pow): Use iterative multiplication algorithm only for
69640         integer exponents with absolute value below 1024.  Check for odd
69641         integer exponents when using algorithm for real exponents.
69642         * math/libm-test.inc (pow_test): Add more tests.
69643         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69645 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
69647         [BZ #13705]
69648         * math/libm-test.inc (exp_test): Do not allow overflow exception
69649         on underflow test.
69651 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
69653         [BZ #13705]
69654         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
69655         instead of __kernel_standard_f.
69657 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
69659         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
69660         * sysdeps/x86_64/memset_chk.S: Likewise.
69662 2012-04-08  Andreas Jaeger  <aj@suse.de>
69664         [BZ #10153]
69665         * manual/startup.texi (Environment Access): Describe return value
69666         for putenv and setenv.
69668         [BZ #6895]
69669         * manual/filesys.texi (Directory Entries): Add description for
69670         DT_LNK.
69672         [BZ #6890]
69673         * manual/filesys.texi (Directory Entries): Clarify that it's file
69674         system not operating system in the description of DT_UNKNOWN.
69676         [BZ #6578]
69677         * manual/syslog.texi (closelog): Fix reference, it's openlog.
69679 2012-04-08  Stephen Compall  <s11@member.fsf.org>
69681         [BZ #6649]
69682         * manual/llio.texi (Opening and Closing Files): Add cross
69683         reference to explain mode argument.
69685 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
69687         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
69688         * sysdeps/x86_64/memset_chk.S: Likewise.
69690 2012-04-07  David S. Miller  <davem@davemloft.net>
69692         * elf/elf.h (R_SPARC_WDISP10): Define.
69693         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
69694         R_SPARC_SIZE32.
69695         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
69696         R_SPARC_SIZE64 and R_SPARC_H34.
69698 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
69700         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
69701         conditions and remove no longer applicable assertion.
69703 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69705         * bits/byteswap.h: Include <features.h>.
69706         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69707         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69709 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69711         * bits/byteswap.h (__bswap_16): Removed.
69712         Include <bits/byteswap-16.h> to get __bswap_16.
69713         * sysdeps/i386/bits/byteswap.h: Likewise.
69714         * sysdeps/s390/bits/byteswap.h: Likewise.
69715         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69716         * bits/byteswap-16.h: New file.
69717         * sysdeps/i386/bits/byteswap-16.h: Likewise.
69718         * sysdeps/s390/bits/byteswap-16.h: Likewise.
69719         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
69720         * string/Makefile (headers): Add bits/byteswap-16.h.
69722 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69724         [BZ #13895]
69725         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
69726         extra indirection.
69727         * nss/Makefile (tests-static, tests): Add tst-nss-static.
69728         * nss/tst-nss-static.c: New.
69730 2012-04-06  Robert Millan  <rmh@gnu.org>
69732         [BZ #6486]
69733         * manual/llio.texi (File Position Primitive): lseek
69734         refers to WHENCE when it really means OFFSET.
69736 2012-04-06  Andreas Jaeger  <aj@suse.de>
69738         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
69739         strncmp declarations.
69741         * abilist/libc.abilist: Add __poll and __ppoll.
69743 2012-04-05  David S. Miller  <davem@davemloft.net>
69745         * scripts/check-local-headers.sh: Accept a host triplet in the
69746         path matched by the exclude regexp.
69748         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
69749         definition.
69750         * sysdeps/powerpc/powerpc32/dl-machine.h
69751         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
69752         * sysdeps/s390/s390-32/dl-machine.h
69753         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69754         * sysdeps/sparc/sparc32/dl-machine.h
69755         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69756         * sysdeps/sparc/sparc64/dl-machine.h
69757         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69759         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
69760         lazy binding.
69761         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
69762         undefined symbol errors.
69764         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
69765         DT_NEEDED entries.
69767 2012-04-05  Michael Matz  <matz@suse.de>
69769         [BZ #13592]
69770         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
69772 2012-04-05  Andreas Jaeger  <aj@suse.de>
69774         [BZ #13908]
69775         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
69776         comment.
69778 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69780         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
69781         which ROUND is no valid rounding mode.
69783 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69785         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
69786         read again.
69787         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
69789 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69791         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
69792         an exception using FPU order intentionally.
69794 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69796         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
69797         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
69798         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
69799         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
69801 2012-04-05  Simon Josefsson  <simon@josefsson.org>
69803         [BZ #12340]
69804         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
69805         EINVAL when BUFLEN is too smal.
69807 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
69809         [BZ #13553]
69810         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
69811         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
69813 2012-04-03  Andreas Jaeger  <aj@suse.de>
69815         [BZ #13938]
69816         * manual/setjmp.texi (System V contexts): Fix sentence.
69818         [BZ #13926]
69819         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
69820         New macro for this case.
69821         [!__GNUC__] (__bswap_64): New inline function for this case.
69822         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69823         * bits/byteswap.h: Likewise.
69824         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
69825         ull, guard with __GLIBC_HAVE_LONG_LONG.
69827         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
69828         __GLIBC_HAVE_LONG_LONG.
69830         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
69831         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
69833 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69835         [BZ #13691]
69836         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
69837         inptr and inend, rather than using last_ch.
69839 2012-04-02  David S. Miller  <davem@davemloft.net>
69841         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
69842         * stdio-common/printf-parse.h (read_int): Change return type to
69843         'int', return -1 on INT_MAX overflow.
69844         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
69845         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
69846         overflows INT_MAX.  Check for overflow of in-format-string precision
69847         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
69848         SIZE_MAX not INT_MAX for integer overflow test.
69849         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
69850         skip the construct in the format string but do not record anything.
69851         * stdio-common/bug22.c: Adjust to test both width/prevision
69852         INT_MAX overflow as well as total length INT_MAX overflow.  Check
69853         explicitly for proper errno values.
69855 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
69857         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
69858         CHAR_MAX.
69859         * string/test-strcmp.c [! WIDE]: Likewise.
69860         * time/tst-mktime2.c: Likewise for INT_MAX.
69861         * string/test-string.h: #include <sys/param.h> for MIN.
69863         * csu/init-first.c (__libc_init_first): Call __ctype_init.
69864         * sysdeps/i386/init-first.c (init): Likewise.
69865         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
69866         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
69867         * sysdeps/sh/init-first.c (init): Likewise.
69869 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
69871         * po/ru.po: Update from translation team.
69872         * po/vi.po: Likewise.
69874 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
69876         * resolv/nss_dns/dns-host.c: Merge copyright years.
69878 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69880         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69881         Optimize memcpy with prefetch if
69882         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
69883         src, dst pointers have unequal 16 byte alignments.
69885 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69887         [BZ #13928]
69888         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
69889         from a CNAME entry and return the minimum ttl for the query.
69890         (gaih_getanswer_slice): Likewise.
69892 2012-03-30  Jeff Law  <law@redhat.com>
69894         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
69895         due to long keys.
69896         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
69897         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
69899         * resolv/nss_dns/dns-host.c: Update copyright year.
69901 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
69903         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
69904         requests to save a system call.  Fix check that all bytes are sent.
69906         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
69907         comments for sendmmsg.
69909 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69911         [BZ #13691]
69912         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
69913         with only 1 character between 0x0041 and 0x01b0.
69914         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
69915         * wcsmbs/tst-mbsnrtowcs.c: New file.
69917 2012-03-29  David S. Miller  <davem@davemloft.net>
69919         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
69920         small copies by hand.
69922 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69924         [BZ #13761]
69925         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
69926         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
69927         group memberships.
69929 2012-03-28  David S. Miller  <davem@davemloft.net>
69931         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
69932         that branches into memcpy.
69933         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
69934         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
69935         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69936         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
69937         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
69938         bits.
69939         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
69940         implementation too.
69941         * sysdeps/sparc/mempcpy.S: New file.
69943         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
69944         the IFUNC routine in the libc case.
69945         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69947         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
69948         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
69949         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
69950         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
69951         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
69952         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
69953         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
69954         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
69956         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
69957         loop to 256 bytes instead of 64 bytes and fix test signedness.
69959         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
69960         * sysdeps/sparc/sparc32/Makefile: rather than here...
69961         * sysdeps/sparc/sparc64/Makefile: and here.
69963 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
69965         * malloc/mallocbug.c: Avoid warnings about unused variables.
69967 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
69969         [BZ #13760]
69970         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
69971         in the right place. Discard and retry query if response is
69972         larger than input buffer size.
69974 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
69976         [BZ #369]
69977         [BZ #2678]
69978         [BZ #3866]
69979         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
69980         x for large integer exponent.
69981         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
69982         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
69983         sign of result as needed afterwards.
69984         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
69985         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
69986         result for underflowing pow the same as for overflow.
69987         (__kernel_standard_l): Handle powl overflow and underflow here
69988         rather than calling __kernel_standard.
69989         * math/libm-test.inc (pow_test): Add more tests.
69991         [BZ #3868]
69992         [BZ #13879]
69993         [BZ #13910]
69994         [BZ #13911]
69995         [BZ #13912]
69996         [BZ #13913]
69997         [BZ #13915]
69998         [BZ #13916]
69999         [BZ #13917]
70000         [BZ #13918]
70001         [BZ #13919]
70002         [BZ #13920]
70003         [BZ #13921]
70004         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
70005         * sysdeps/ieee754/k_standard.c: Include <float.h>.
70006         (__kernel_standard_l): New function.
70007         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
70008         __kernel_standard.
70009         * math/w_acosl.c (__acosl): Likewise.
70010         * math/w_asinl.c (__asinl): Likewise.
70011         * math/w_atan2l.c (__atan2l): Likewise.
70012         * math/w_atanhl.c (__atanhl): Likewise.
70013         * math/w_coshl.c (__coshl): Likewise.
70014         * math/w_exp10l.c (__exp10l): Likewise.
70015         * math/w_exp2l.c (__exp2l): Likewise.
70016         * math/w_fmodl.c (__fmodl): Likewise.
70017         * math/w_hypotl.c (__hypotl): Likewise.
70018         * math/w_j0l.c (__j0l, __y0l): Likewise.
70019         * math/w_j1l.c (__j1l, __y1l): Likewise.
70020         * math/w_jnl.c (__jnl, __ynl): Likewise.
70021         * math/w_lgammal.c (__lgammal): Likewise.
70022         * math/w_log10l.c (__log10l): Likewise.
70023         * math/w_log2l.c (__log2l): Likewise.
70024         * math/w_logl.c (__logl): Likewise.
70025         * math/w_powl.c (__powl): Likewise.
70026         * math/w_remainderl.c (__remainderl): Likewise.
70027         * math/w_scalbl.c (sysv_scalbl): Likewise.
70028         * math/w_sinhl.c (__sinhl): Likewise.
70029         * math/w_sqrtl.c (__sqrtl): Likewise.
70030         * math/w_tgammal.c (__tgammal): Likewise.
70031         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
70032         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
70033         * math/libm-test.inc (acos_test): Add more tests.
70034         (acosh_test): Likewise.
70035         (asin_test): Likewise.
70036         (atanh_test): Likewise.
70037         (exp_test): Likewise.
70038         (exp10_test): Likewise.
70039         (exp2_test): Likewise.
70040         (expm1_test): Likewise.
70041         (lgamma_test): Likewise.
70042         (log_test): Likewise.
70043         (log10_test): Likewise.
70044         (log1p_test): Likewise.
70045         (log2_test): Likewise.
70046         (pow_test): Do not allow some spurious overflow exceptions.
70047         (sqrt_test): Add more tests.
70048         (tgamma_test): Likewise.
70049         (y0_test): Likewise.
70050         (y1_test): Likewise.
70051         (yn_test): Likewise.
70053 2012-03-27  Anton Blanchard  <anton@samba.org>
70055         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
70056         MAP_HUGETLB.
70057         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70058         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70059         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70061 2012-03-27  David S. Miller  <davem@davemloft.net>
70063         * conform/Makefile: Run run-conformtest.sh using $(BASH).
70065         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
70066         have-as-vis3 check.
70068 2012-03-27  Andreas Jaeger  <aj@suse.de>
70070         * sysdeps/x86_64/elf/configure.in: Moved to ...
70071         * sysdeps/x86_64/configure.in: ... here.
70072         * sysdeps/x86_64/elf/start.S: Moved to ...
70073         * sysdeps/x86_64/start.S: ... here.
70074         * sysdeps/x86_64/elf/configure: Delete.
70076         * sysdeps/x86_64/configure.in: Merge contents from
70077         sysdeps/i386/configure.in (without i686 check).
70079         * sysdeps/i386/elf/Versions: Merge into ...
70080         * sysdeps/i386/Versions: ... this.
70081         * sysdeps/i386/elf/Versions: Delete file.
70082         * sysdeps/i386/elf/start.S: Moved to ...
70083         * sysdeps/i386/start.S: ...here.
70084         * sysdeps/i386/elf/configure.in: Merge into...
70085         * sysdeps/i386/configure.in: ...here.
70086         * sysdeps/i386/elf/configure.in: Delete file.
70087         * sysdeps/i386/elf/configure: Delete file.
70089         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
70090         * debug/backtracesyms.c: ... here.
70091         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
70092         * debug/backtracesymsfd.c: ... here.
70093         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
70094         * sysdeps/generic/ifunc-sel.h: ... here.
70096         * sysdeps/unix/i386/start.c: Delete file.
70097         * sysdeps/unix/sparc/start.c: Delete file.
70098         * sysdeps/unix/start.c: Delete file.
70100         * sysdeps/sh/elf/configure.in: Moved to ...
70101         * sysdeps/sh/configure.in: ... here.
70102         * sysdeps/sh/elf/start.S: Moved to ...
70103         * sysdeps/sh/start.S: ... here.
70104         * sysdeps/sh/elf/configure: Delete file.
70106         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
70107         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
70108         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
70109         * sysdeps/powerpc/powerpc64/entry.h: ... here.
70110         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
70111         * sysdeps/powerpc/powerpc64/start.S: here.
70112         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
70113         * sysdeps/powerpc/powerpc64/Makefile: ... this.
70114         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
70115         * sysdeps/powerpc/powerpc64/configure.in: ... this.
70116         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
70118         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
70119         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
70120         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
70121         * sysdeps/powerpc/powerpc32/start.S: ... here.
70122         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
70123         * sysdeps/powerpc/powerpc32/configure.in: ... this.
70124         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
70126         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
70127         * sysdeps/powerpc/ifunc-sel.h: ... here.
70128         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
70129         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
70131         * sysdeps/sparc/elf/configure.in: Moved to ...
70132         * sysdeps/sparc/configure.in: ... here.
70133         * sysdeps/sparc/elf/configure: Delete file.
70134         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
70135         * sysdeps/sparc/sparc32/start.S: ... here.
70136         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
70137         * sysdeps/sparc/sparc64/start.S: ... here.
70138         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
70139         * sysdeps/sparc/sparc32/Makefile: ... this.
70140         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
70141         * sysdeps/sparc/sparc64/Makefile: ... this.
70143         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
70144         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
70145         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
70146         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
70147         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
70148         * sysdeps/s390/s390-32/setjmp.S: ... here.
70149         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
70150         * sysdeps/s390/s390-32/configure.in: ... here.
70151         * sysdeps/s390/s390-32/elf/configure: Delete file.
70152         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
70153         * sysdeps/s390/s390-32/start.S: ... here.
70155         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
70156         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
70157         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
70158         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
70159         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
70160         * sysdeps/s390/s390-64/setjmp.S: ... here.
70161         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
70162         * sysdeps/s390/s390-64/configure.in: ... here
70163         * sysdeps/s390/s390-64/elf/configure: Delete file.
70164         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
70165         * sysdeps/s390/s390-64/start.S: ... here.
70166         * sysdeps/s390/s390-64/elf/configure: Delete.
70168         * configure.in: Remove support for elf directories in sysdeps.
70170         * configure: Regenerated.
70171         * sysdeps/i386/configure: Regenerated.
70172         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70173         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70174         * sysdeps/s390/s390-32/configure: Regenerated.
70175         * sysdeps/s390/s390-64/configure: Regenerated.
70176         * sysdeps/sh/configure: Regenerated.
70177         * sysdeps/sparc/configure: Regenerated.
70178         * sysdeps/x86_64/configure: Regenerated.
70180 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
70182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70184         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
70185         denormal result into account.
70187 2012-03-25  Roland McGrath  <roland@hack.frob.com>
70189         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
70190         Reported by Allan McRae <allan@archlinux.org>.
70192 2012-03-23  Jeff Law  <law@redhat.com>
70194         * nss/getnssent.c (__nss_getent): Fix typo.
70196 2012-03-23  David S. Miller  <davem@davemloft.net>
70198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70200 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
70202         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
70203         to pad to uint64_t for each field.
70204         (dl_tls_index): Replace unsigned long with uint64_t.
70206 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
70207         Paul Pluzhnikov  <ppluzhnikov@google.com>
70209         [BZ #6528]
70210         * grp/Makefile (otherlibs): Don't set it.
70211         * inet/Makefile (otherlibs): Likewise.
70212         * login/Makefile (otherlibs): Likewise.
70213         * nscd/Makefile (otherlibs): Likewise.
70214         * posix/Makefile (otherlibs): Likewise.
70215         * pwd/Makefile (otherlibs): Likewise.
70216         * rt/Makefile (otherlibs): Likewise.
70217         * sunrpc/Makefile (otherlibs): Likewise.
70218         * nss/Makefile (otherlibs): Likewise.
70219         Add libnss_files to routines and static-only-routines.
70220         ($(objpfx)getent): Remove rule.
70221         * resolv/Makefile: Add libnss_dns and libresolv to routines and
70222         static-only-routines.
70224 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70226         [BZ #13892]
70227         * math/s_cexp.c: Include <float.h>.
70228         (__cexp): Handle exp result overflowing not necessarily
70229         overflowing both real and imaginary parts of result.
70230         * math/s_cexpf.c: Likewise.
70231         * math/s_cexpl.c: Likewise.
70232         * math/libm-test.inc (cexp_test): Add more tests.
70233         * sysdeps/i386/fpu/libm-test-ulps: Update.
70234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70236 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70238         * include/link.h (ELFW): New macro.
70239         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
70240         Replace ELF64_R_TYPE with ELFW(R_TYPE).
70242 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70244         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
70245         with uint64_t.
70247 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70249         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
70250         declaration.
70251         (struct La_x32_retval): Likewise.
70253 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70255         * sysdeps/x86_64/preconfigure.in: New file.
70256         * sysdeps/x86_64/preconfigure: New generated file.
70258 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70260         [BZ #13824]
70261         * math/e_exp2l.c: Include <float.h>.
70262         (__ieee754_exp2l): Handle overflow and underflow cases
70263         separately.  Only pass fractional part of argument to
70264         __ieee754_expl.
70265         * math/libm-test.inc (exp2_test): Add more tests.
70267         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
70268         negating x to take absolute value.
70269         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
70270         Likewise.
70271         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
70272         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
70273         Likewise.
70274         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
70275         computing low part if x was negated.
70276         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
70278 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70280         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
70281         la_x32_gnu_pltexit.
70282         (pltexit): Cast int_retval to ptrdiff_t.
70283         * elf/tst-auditmod3b.c: Likewise.
70284         * elf/tst-auditmod4b.c: Likewise.
70285         * elf/tst-auditmod5b.c: Likewise.
70286         * elf/tst-auditmod6b.c: Likewise.
70287         * elf/tst-auditmod6c.c: Likewise.
70288         * elf/tst-auditmod7b.c: Likewise.
70290         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
70291         and x32_gnu_pltexit.
70293         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
70294         __ELF_NATIVE_CLASS.
70295         (La_x32_regs): New macro.
70296         (La_x32_retval): Likewise.
70297         (la_x32_gnu_pltenter): New function prototype.
70298         (la_x32_gnu_pltexit): Likewise.
70300 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
70302         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
70303         exponent.
70305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70307         * configure.in (libc_cv_cc_nofma): Check for option to disable
70308         generation of FMA instructions.
70309         * configure: Regenerate.
70310         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
70311         * sysdeps/ieee754/dbl-64/Makefile: New file.
70312         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
70313         Remove brandred-fma4.
70314         (CFLAGS-brandred-fma4.c): Remove.
70315         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
70316         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
70317         define.
70318         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
70319         define.
70321 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70323         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70324         LLONG_MAX != LONG_MAX.
70325         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70326         (_fitoa_word): Likewise.
70327         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
70328         LLONG_MAX != LONG_MAX.
70329         * stdio-common/_itowa.h: Include <_itoa.h>.
70330         (_itowa_word): Use _ITOA_WORD_TYPE on value.
70331         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
70332         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
70333         only if not defined.
70334         (_ITOA_WORD_TYPE): Likewise.
70335         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70336         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
70338 2012-03-21  David S. Miller  <davem@davemloft.net>
70340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70342 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70344         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
70345         of x86_64 when setting libc_cv_slibdir, libdir and
70346         libc_cv_localedir.
70347         * sysdeps/unix/sysv/linux/configure: Regenerated.
70349 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70351         * manual/lang.texi (Old Varargs): Remove section.
70352         (How Variadic): Update menu.
70353         (va_start): Do not mention varargs.h.
70355 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70356             Joseph Myers  <joseph@codesourcery.com>
70358         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
70359         link test.
70360         * configure: Regenerated.
70362 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70364         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
70365         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
70366         conformtest.pl
70368 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70370         * NOTES: Remove.
70371         * Makefile (files-for-dist): Remove NOTES.
70372         (NOTES): Remove rule.
70373         * README: Don't refer to NOTES.
70374         * manual/creature.texi: Don't include macros.texi.
70375         * manual/intro.texi (creature.texi): Remove comment referring to
70376         NOTES.
70378         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
70379         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
70380         * configure: Regenerated.
70381         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
70382         LIBC_TRY_CC_OPTION.
70383         (libc_cv_as_i686): Likewise.
70384         (libc_cv_cc_avx): Likewise.
70385         (libc_cv_cc_sse2avx): Likewise.
70386         (libc_cv_cc_fma4): Likewise.
70387         (libc_cv_cc_novzeroupper): Likewise.
70388         * sysdeps/i386/configure: Regenerated.
70390         [BZ #13883]
70391         * sysdeps/i386/fpu/s_cexp.S: Remove.
70392         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70393         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70394         * math/libm-test.inc (cexp_test): Add more tests.
70395         * sysdeps/i386/fpu/libm-test-ulps: Update.
70396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70398 2012-03-21  Allan McRae  <allan@archlinux.org>
70400         * timezone/Makefile: Do not install iso3166.tab and zone.tab
70402 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70404         [BZ #13871]
70405         * math/w_exp2.c: Do not include <float.h>.
70406         (o_threshold, u_threshold): Remove.
70407         (__exp2): Calculate result before checking finiteness and calling
70408         __kernel_standard.
70409         * math/w_exp2f.c: Likewise.
70410         * math/w_exp2l.c: Likewise.
70411         * math/libm-test.inc (exp2_test): Require overflow exception for
70412         1e6 input.
70414         [BZ #3866]
70415         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
70416         range of signed 64-bit integers before using fistpll.  Remove
70417         checks for whether integers fit in mantissa bits.
70418         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
70419         the range of signed 32-bit integers before using fistpl.  Remove
70420         checks for whether integers fit in mantissa bits.
70421         * sysdeps/i386/fpu/e_powl.S (p64): New object.
70422         (__ieee754_powl): Test for y outside the range of signed 64-bit
70423         integers before using fistpll.  Reduce 64-bit values to 63-bit
70424         ones as needed.
70425         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
70426         divide-by-zero is raised for zero to large negative powers.
70427         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
70428         (__ieee754_powl): Test for y outside the range of signed 64-bit
70429         integers before using fistpll.  Reduce 64-bit values to 63-bit
70430         ones as needed.
70431         * math/libm-test.inc (pow_test): Add more tests.
70433 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70435         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
70436         <stdio-common/_itoa.h>.
70437         * debug/segfault.c: Likewise.
70438         * elf/dl-cache.c: Likewise.
70439         * elf/dl-minimal.c: Likewise.
70440         * elf/dl-misc.c: Likewise.
70441         * elf/dl-sysdep.c: Likewise.
70442         * elf/dl-version.c: Likewise.
70443         * elf/rtld.c: Likewise.
70444         * hurd/hurdsock.c: Likewise.
70445         * hurd/lookup-retry.c: Likewise.
70446         * malloc/malloc.c: Likewise.
70447         * malloc/mtrace.c: Likewise.
70448         * nscd/nscd_getgr_r.c: Likewise.
70449         * nscd/nscd_getpw_r.c: Likewise.
70450         * nscd/nscd_getserv_r.c: Likewise.
70451         * posix/getopt_init.c: Likewise.
70452         * posix/wordexp.c: Likewise.
70453         * stdio-common/_itoa.c: Likewise.
70454         * stdio-common/printf_fphex.c: Likewise.
70455         * stdio-common/vfprintf.c: Likewise.
70456         * string/_strerror.c: Likewise.
70457         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
70458         * sysdeps/i386/i686/hp-timing.h: Likewise.
70459         * sysdeps/mach/_strerror.c: Likewise.
70460         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
70461         * sysdeps/mach/hurd/sethostid.c: Likewise.
70462         * sysdeps/mach/hurd/xmknodat.c: Likewise.
70463         * sysdeps/mach/xpg-strerror.c: Likewise.
70464         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
70465         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
70466         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
70467         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
70468         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
70469         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
70470         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
70471         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
70472         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
70473         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
70474         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
70475         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
70476         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
70477         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
70478         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
70479         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
70480         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
70481         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
70482         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
70483         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
70484         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
70486         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
70488         * stdio-common/_itoa.h: Moved to ...
70489         * sysdeps/generic/_itoa.h: Here.
70491         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
70493         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
70494         instead of "_itoa.h" and "_itowa.h".
70495         * stdio-common/vfprintf.: Likewise.
70497 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70499         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
70500         <bits/wordsize.h>.
70501         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
70502         (__signbit): Likwise.
70503         (llrintf): Likwise.
70504         (llrint): Likwise.
70506 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70508         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
70509         __WORDSIZE != 64.
70511 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
70513         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
70514         OVERFLOW_EXCEPTION_OK.
70515         * math/libm-test.inc ("Philosophy"): Update comment about
70516         exception testing.
70517         (OVERFLOW_EXCEPTION): Define.
70518         (OVERFLOW_EXCEPTION_OK): Likewise.
70519         (INVALID_EXCEPTION_OK): Renumber.
70520         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70521         (IGNORE_ZERO_INF_SIGN): Likewise.
70522         (test_exceptions): Handle FE_OVERFLOW.
70523         (exp10_test): Expect overflow exceptions.
70524         (exp2_test): Likewise.
70525         (expm1_test): Likewise.
70526         (nextafter_test): Likewise.
70527         (pow_test): Likewise.
70528         (scalbn_test): Likewise.
70529         (scalbln_test): Likewise.
70531 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70533         * sysdeps/x86_64/bits/atomic.h
70534         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
70535         64bit integer.
70536         (atomic_exchange_acq): Likewise.
70537         (__arch_exchange_and_add_body): Likewise.
70538         (__arch_add_body): Likewise.
70539         (atomic_add_negative): Likewise.
70540         (atomic_add_zero): Likewise.
70542 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70544         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
70545         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
70547 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70549         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
70550         Check __x86_64__ instead of __WORDSIZE.
70552 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70554         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
70556 2012-03-19  David S. Miller  <davem@davemloft.net>
70558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70560         * sysdeps/sparc/fpu/fenv_private.h: New file.
70561         * sysdeps/sparc/fpu/math_private.h: Use it.
70562         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
70563         Remove.
70564         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
70565         (libc_feholdexcept_setroundl): Remove.
70566         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
70567         Remove.
70568         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
70569         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
70571 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70573         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
70574         int64_t instead of long int.
70575         (INSERT_WORDS64): Likwise.
70577 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70579         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
70580         _Unwind_GetCFA return to _Unwind_Ptr first.
70582 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
70584         [BZ #13629]
70585         * math/s_clog.c: Include <float.h>.
70586         (__clog): Scale large or subnormal inputs.
70587         * math/s_clogf.c: Likewise.
70588         * math/s_clogl.c: Likewise.
70589         * math/s_clog10.c: Include <float.h>.
70590         (M_LOG10_2): Define.
70591         (__clog10): Scale large or subnormal inputs.
70592         * math/s_clog10f.c: Likewise.
70593         * math/s_clog10l.c: Likewise.
70594         * math/libm-test.inc (clog_test): Add more tests.
70595         (clog10_test): Likewise.
70596         * sysdeps/i386/fpu/libm-test-ulps: Update.
70597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70599         [BZ #11451]
70600         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
70601         x and y.
70602         * math/libm-test.inc (atan2_test): Add another test.
70604         * Makerules (common-objdir-compile): Remove.
70605         * sysdeps/unix/Makefile (config-generated): Do not add
70606         $(unix-generated) to variable.
70607         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
70608         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
70609         Remove rule.
70610         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
70611         Likewise.
70612         [generic bits/local_lim.h] (before-compile): Do not append to
70613         variable.
70614         [generic bits/local_lim.h] (common-generated): Likewise.
70615         [generic sys/param.h] (before-compile): Do not append to variable.
70616         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
70617         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
70618         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
70619         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
70620         include.
70621         [generic sys/param.h] (sys/param.h-includes): Remove variable.
70622         [generic sys/param.h] (sys/param.h-includes): Remove rule.
70623         [generic sys/param.h] ($(addprefix
70624         $(common-objpfx),$(sys/param.h-includes))): Likewise.
70625         [generic sys/param.h] (common-generated): Do not append to
70626         variable.
70627         [generic sys/param.h] (sysdep_headers): Likewise.
70628         [generic bits/errno.h] (before-compile): Do not append to
70629         variable.
70630         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
70631         rule.
70632         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
70633         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
70634         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
70635         [generic bits/errno.h] (common-generated): Do not append to
70636         variable.
70637         [generic bits/ioctls.h] (before-compile): Do not append to
70638         variable.
70639         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
70640         rule.
70641         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
70642         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
70643         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
70644         rule.
70645         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
70646         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
70647         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
70648         [generic bits/ioctls.h] (common-generated): Do not append to
70649         variable.
70650         [generic sys/syscall.h] (syscall.h): Remove variable.
70651         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
70652         rule.
70653         [generic sys/syscall.h] (before-compile): Do not append to
70654         variable.
70655         [generic sys/syscall.h] (common-generated): Likewise.
70656         * sysdeps/unix/errnos-tmpl.c: Remove file.
70657         * sysdeps/unix/errnos.awk: Likewise.
70658         * sysdeps/unix/ioctls-tmpl.c: Likewise.
70659         * sysdeps/unix/ioctls.awk: Likewise.
70660         * sysdeps/unix/mk-local_lim.c: Likewise.
70661         * sysdeps/unix/snarf-ioctls: Likewise.
70663 2012-03-19  Richard Henderson  <rth@twiddle.net>
70665         * sysdeps/i386/fpu/fenv_private.h: New file.
70666         * sysdeps/i386/fpu/math_private.h: Use it.
70667         (math_opt_barrier, math_force_eval): Remove.
70668         (libc_feholdexcept_setround_53bit): Remove.
70669         (libc_feupdateenv_53bit): Remove.
70670         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70671         (math_opt_barrier, math_force_eval): Remove.
70672         (libc_feholdexcept): Remove.
70673         (libc_feholdexcept_setround): Remove.
70674         (libc_fetestexcept, libc_fesetenv): Remove.
70675         (libc_feupdateenv_test): Remove.
70676         (libc_feupdateenv, libc_feholdsetround): Remove.
70677         (libc_feresetround): Remove.
70679         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
70680         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
70682         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
70683         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
70684         (libc_feupdateenv_testl): New.
70685         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
70686         (libc_feupdateenv_testf): New.
70687         (libc_feupdateenv): Use libc_feupdateenv_test.
70688         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
70689         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
70691         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
70692         (libc_feholdsetroundf, libc_feholdsetroundl): New.
70693         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
70694         (libc_feresetround_noex): New.
70695         (libc_feresetround_noexf): New.
70696         (libc_feresetround_noexl): New.
70697         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
70698         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
70699         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
70700         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
70701         SET_RESTORE_ROUND.
70702         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
70703         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
70704         (__cos): Likewise.
70705         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
70706         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
70707         SET_RESTORE_ROUND_NOEX.
70708         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
70709         SET_RESTORE_ROUND_NOEXF.
70710         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
70711         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
70712         (libc_feholdsetroundf): New.
70713         (libc_feresetround, libc_feresetroundf): New.
70715         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
70716         (libc_feholdexcept_setround_53bit): Convert from macro to function.
70717         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
70719         * sysdeps/generic/math_private.h: Include <fenv.h>.
70720         (default_libc_feholdexcept): New.
70721         (default_libc_feholdexcept_setround): New.
70722         (default_libc_fesetenv, default_libc_feupdateenv): New.
70723         (libc_feholdexcept): Only define if undefined.
70724         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
70725         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
70726         (libc_feholdexcept_setroundl): Likewise.
70727         (libc_feholdexcept_setround_53bit): Likewise.
70728         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
70729         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
70730         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
70731         (libc_feupdateenv_53bit): Likewise.
70732         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
70733         (libc_feholdexcept): Convert from macro to inline function.
70734         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
70735         (libc_fesetenv, libc_feupdateenv): Likewise.
70737         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
70738         not previously defined.
70739         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
70740         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
70741         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
70742         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
70743         * sysdeps/ieee754/flt-32/math_private.h: New file.
70744         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
70745         math_private.h below SET_FLOAT_WORD.
70746         (__isnan, __isinf_ns, __finite): Remove.
70747         (__isnanf, __isinf_nsf, __finitef): Remove.
70749 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
70751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70753 2012-03-17  David S. Miller  <davem@davemloft.net>
70755         [BZ #6471]
70756         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
70757         for 2.16.
70759 2012-03-16  David S. Miller  <davem@davemloft.net>
70761         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
70762         warnings.
70764         [BZ #6471]
70765         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
70766         properly.
70767         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
70768         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
70769         sysdep_routines when subdir is sysvipc.
70770         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
70771         __getshmlba helper.
70773         * sysdeps/sparc/fpu/libm-test/ulps: Update.
70775 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70777         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
70778         [__LP64__].
70780 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70782         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
70783         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
70784         (__lround): Renamed to ...
70785         (__llround): This.  Replace long int with long long int.
70786         Define lround functions as aliases of llround functions.
70787         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
70789 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70791         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
70792         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
70793         adresses to uintptr_t.  Replace "long int" and "unsigned long
70794         int" with "greg_t" on va_arg.
70796 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70798         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
70799         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
70801         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
70802         Move e_machine check before EI_CLASS check.  Handle x32
70803         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
70804         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
70805         SKIP_EM_IA_64 and include
70806         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
70808         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
70809         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
70810         (add_system_dir): New macro.
70812         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
70813         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
70815 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70817         [BZ #2551]
70818         [BZ #2552]
70819         [BZ #2553]
70820         [BZ #2554]
70821         [BZ #2562]
70822         [BZ #2563]
70823         [BZ #2565]
70824         [BZ #2566]
70825         [BZ #2576]
70826         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
70827         (y0): Likewise.
70828         * math/w_j0f.c (j0f): Likewise.
70829         (y0f): Likewise.
70830         * math/w_j0l.c (__j0l): Likewise.
70831         (__y0l): Likewise.
70832         * math/w_j1.c (j1): Likewise.
70833         (y1): Likewise.
70834         * math/w_j1f.c (j1f): Likewise.
70835         (y1f): Likewise.
70836         * math/w_j1l.c (__j1l): Likewise.
70837         (__y1l): Likewise.
70838         * math/w_jn.c (jn): Likewise.
70839         (yn): Likewise.
70840         * math/w_jnf.c (jnf): Likewise.
70841         (ynf): Likewise.
70842         * math/w_jnl.c (__jnl): Likewise.
70843         (__ynl): Likewise.
70844         * math/libm-test.inc (j0_test): Add more tests.
70845         (j1_test): Likewise.
70846         (jn_test): Likewise.  Add trailing semicolon to existing test.
70847         (y0_test): Likewise.
70848         (y1_test): Likewise.
70849         * sysdeps/i386/fpu/libm-test-ulps: Update.
70850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70852         [BZ #13851]
70853         [BZ #13854]
70854         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
70855         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
70856         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
70857         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
70858         (__tanl): Set errno for infinite argument.
70859         * sysdeps/i386/fpu/mptan.c: Remove.
70860         * sysdeps/i386/fpu/s_tan.S: Likewise.
70861         * sysdeps/i386/fpu/s_tanl.S: Likewise.
70862         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
70863         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
70864         * math/libm-test.inc (tan_test): Add more tests and enable more
70865         tests for double and long double.
70866         * sysdeps/i386/fpu/libm-test-ulps: Update.
70867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70869 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
70871         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
70872         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
70874 2012-03-16  Roland McGrath  <roland@hack.frob.com>
70876         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
70877         * configure.in: Use it for both main tree and add-ons.
70878         * configure: Regenerated.
70880 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70882         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
70884 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70886         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
70887         in comment.
70889         [BZ #13851]
70890         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
70891         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
70892         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
70893         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
70894         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
70895         infinite argument.
70896         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
70897         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
70898         != 0 for prec == 2.
70899         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
70900         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
70901         * sysdeps/i386/fpu/s_cosl.S: Likewise.
70902         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
70903         * sysdeps/i386/fpu/s_sinl.S: Likewise.
70904         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
70905         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
70906         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
70907         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
70908         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
70909         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
70910         * math/libm-test.inc (cos_test): Add more tests and enable more
70911         tests for long double.
70912         (sin_test): Likewise.
70913         (sincos_test): Likewise.
70914         * sysdeps/i386/fpu/libm-test-ulps: Update.
70915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70917 2012-03-16  David S. Miller  <davem@davemloft.net>
70919         * sysdeps/sparc/fpu/math_private.h: New file.
70921 2012-03-15  David S. Miller  <davem@davemloft.net>
70923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
70924         file.
70925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
70926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
70927         file.
70928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
70929         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
70930         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
70931         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
70932         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
70933         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
70934         sysdep routines.
70935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70937         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
70938         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
70940         * sysdeps/sparc/sparc-ifunc.h: New file.
70941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
70942         sparc-ifunc.h
70943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
70945         Likewise.
70946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
70947         Likewise.
70948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
70949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
70950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70952         Likewise.
70953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
70955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
70957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
70958         Likewise.
70959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
70960         Likewise.
70961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
70963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
70964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
70965         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70966         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70967         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
70968         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
70969         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70970         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70971         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
70972         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
70973         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
70974         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
70975         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
70976         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
70977         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
70978         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
70979         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
70980         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
70981         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
70982         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
70983         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
70984         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
70986 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70988         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
70989         scaling.
70990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70992 2012-03-15  Andreas Jaeger  <aj@suse.de>
70994         [BZ #13852]
70995         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
70996         ieee754/flt-32 implementation for sin, cos and sincos.
70997         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
70998         * sysdeps/i386/fpu/s_cosf.S: Likewise.
70999         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
71000         * sysdeps/i386/fpu/s_sinf.S: Likewise.
71001         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
71002         ieee754/flt-32 implementation for tan.
71004         * math/libm-test.inc (cos_test): Enable some large input tests for
71005         float as well
71006         (sin_test): Likewise.
71007         (sincos_test): Likewise.
71008         (tan_test): Add tests for large input.
71010         * sysdeps/i386/fpu/libm-test-ulps: Update.
71012 2012-03-15  Andreas Jaeger  <aj@suse.de>
71014         [BZ #13658]
71015         * math/libm-test.inc (cos_test): Add more test cases.
71016         (sin_test): Likewise.
71017         (sincos_test): Likewise.
71019 2012-03-15  Andreas Jaeger  <aj@suse.de>
71021         [BZ #13837]
71022         * math/libm-test.inc (cos_test): Add a test case for large input
71023         value.
71024         (sin_test): Likewise.
71025         (sincos_test): Likewise.
71027 2012-03-15  Andreas Jaeger  <aj@suse.de>
71028             Joseph Myers  <joseph@codesourcery.com>
71030         [BZ #13658]
71031         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
71032         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
71033         * sysdeps/i386/fpu/branred.c: Likewise.
71034         * sysdeps/i386/fpu/dosincos.c: Likewise.
71035         * sysdeps/i386/fpu/mpa.c: Likewise.
71036         * sysdeps/i386/fpu/s_cos.S: Likewise.
71037         * sysdeps/i386/fpu/s_sin.S: Likewise.
71038         * sysdeps/i386/fpu/s_sincos.S: Likewise.
71039         * sysdeps/i386/fpu/sincos32.c: Likewise.
71041         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
71042         Define.
71043         (libc_feupdateenv_53bit): Define.
71044         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
71045         Define.
71046         (libc_feupdateenv_53bit): Define.
71048         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
71049         53 bit (without extend i386 double precision).
71051         * math/libm-test.inc (sincos_test): Add tests for large input.
71052         (sin): Likewise.
71053         (cos): Likewise.
71055         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
71057 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
71059         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71061 2012-03-15  David S. Miller  <davem@davemloft.net>
71063         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
71064         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
71065         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
71066         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
71067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
71068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
71069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
71070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
71071         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
71072         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
71073         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
71074         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
71075         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
71076         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
71077         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
71078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
71079         file.
71080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
71081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
71082         file.
71083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
71084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
71085         file.
71086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
71087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
71088         file.
71089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
71090         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
71091         fmin/fmax sysdep routines.
71092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71094 2012-03-14  David S. Miller  <davem@davemloft.net>
71096         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
71097         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
71098         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
71099         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
71100         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
71101         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
71102         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
71103         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
71104         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
71105         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
71106         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
71107         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
71108         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
71109         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
71110         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
71111         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
71112         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
71113         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
71114         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
71115         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
71116         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
71117         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
71118         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
71119         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
71120         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
71121         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
71122         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
71123         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
71124         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
71125         routines.
71126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
71127         file.
71128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
71129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
71130         file.
71131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
71132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
71133         file.
71134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
71135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
71136         file.
71137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
71138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
71139         file.
71140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
71141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
71142         file.
71143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
71144         file.
71145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
71146         file.
71147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
71148         file.
71149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
71150         New file.
71151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
71152         file.
71153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
71154         file.
71155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
71156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
71157         file.
71158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
71159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
71160         file.
71161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
71162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
71163         file.
71164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
71165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
71166         VIS3 routines.
71168         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
71169         New file.
71171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71173         * sysdeps/sparc/configure.in: New file.
71174         * sysdeps/sparc/configure: Generate.
71175         * configure.in (libc_cv_sparc_as_vis3): Substitute.
71176         * configure: Regenerate.
71177         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
71178         * config.make.in (have-as-vis3): New.
71179         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
71180         available use -Av9d instead of -Av9a.
71181         * sysdeps/sparc/sparc64/Makefile: Likewise.
71182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
71183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
71184         New file.
71185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
71186         file.
71187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
71188         New file.
71189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
71190         file.
71191         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
71192         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
71193         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
71194         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
71195         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
71197         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
71198         fzeros/fnegs to load 0x80000000 into a float register instead of
71199         using the stack.
71200         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
71202 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71204         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71205         bits/syscall.h.
71206         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
71207         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
71208         ($(inst_includedir)/bits/syscall.h): Remove rule.
71209         ($(objpfx)bits/syscall.d): Include instead of
71210         $(objpfx)syscall-list.d.
71211         (generated): Change syscall-list.h and syscall-list.d to
71212         bits/syscall.h and bits/syscall.d.
71214 2012-03-14  Roland McGrath  <roland@hack.frob.com>
71216         [BZ #13846]
71217         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
71219 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71221         [BZ #13841]
71222         * math/s_csqrt.c: Include <float.h>.
71223         (__csqrt): Scale large or subnormal inputs.
71224         * math/s_csqrtf.c: Likewise.
71225         * math/s_csqrtl.c: Likewise.
71226         * math/libm-test.inc (csqrt_test): Add more tests.
71227         * sysdeps/i386/fpu/libm-test-ulps: Update.
71228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71230         [BZ #13840]
71231         * math/libm-test.inc (hypot_test): Add more tests.
71233 2012-03-13  David S. Miller  <davem@davemloft.net>
71235         [BZ #13840]
71236         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
71237         double-precision for the calculation instead of scaling.
71239 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
71241         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
71242         manipulate bits before adding and subtracting TWO52[sx].
71243         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
71244         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
71245         Likewise.
71246         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
71248 2012-03-13  David S. Miller  <davem@davemloft.net>
71250         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
71251         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
71252         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
71253         rtld-global-offsets.h
71254         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71256         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
71257         large parameters.
71259         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
71261         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
71262         'err' in the ifdef scope in which it is actually used.
71264         * nss/nss_db/db-init.c: Include string.h
71266 2012-03-12  David S. Miller  <davem@davemloft.net>
71268         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
71269         masking out of the most significant byte of random value used.
71270         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71271         Fix coding style in previous change.
71273         * sysdeps/unix/sysv/linux/kernel-features.h
71274         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
71275         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
71276         expression.
71277         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
71278         later.
71280 2012-03-11  David S. Miller  <davem@davemloft.net>
71282         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71283         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
71284         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
71285         for 'resultvar' otherwise things get truncated on 64-bit.
71287         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71288         Fix masking out of the most significant byte of random value used.
71290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71292 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
71294         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71296 2012-03-09  David S. Miller  <davem@davemloft.net>
71298         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
71299         variables with appropriate CPP guards.
71300         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
71301         from the frame pointer, not the stack pointer.  Correct layout
71302         comments.  Fix test on resulting framesize and the management of
71303         the outregs buffer for pltexit.  Preserve floating point return
71304         values across _dl_call_pltexit call.
71305         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
71306         framesize and the management of the outregs buffer for pltexit.
71307         Preserve floating point return values across _dl_call_pltexit
71308         call.
71309         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
71310         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
71311         (la_sparc64_gnu_pltexit): New functions.
71312         (print_exit): Fix format string for return register value.
71314 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
71316         * sunrpc/Makefile (others): Add rpcgen.
71317         ($(objpfx)rpcgen): Remove special build rule and dependency on
71318         libc.
71319         * sunrpc/rpcgen.c: New file.
71321 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
71323         [BZ #13673]
71324         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
71325         * stdio-common/bug-vfprintf-nargs.c: Likewise.
71326         * sysdeps/i386/crti.S: Likewise.
71327         * sysdeps/i386/crtn.S: Likewise.
71328         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
71329         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
71330         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
71331         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
71332         * sysdeps/sh/crti.S: Likewise.
71333         * sysdeps/sh/crtn.S: Likewise.
71334         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71336         [BZ #13673]
71337         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
71338         with URL.
71339         * locale/programs/locfile-kw.gperf: Likewise.
71340         * locale/programs/charmap-kw.h: Regenerated.
71341         * locale/programs/locfile-kw.h: Likewise.
71343         [BZ #13673]
71344         * intl/plural.y: Replace FSF snail mail address with URL.
71345         * intl/plural.c: Regenerated.
71347 2012-03-09  Richard Henderson  <rth@twiddle.net>
71349         * include/math_private.h: Remove file.
71350         * math/math_private.h: Move file ...
71351         * sysdeps/generic/math_private.h: ... here.
71353         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
71354         * sysdeps/powerpc/fpu/math_private.h: Likewise.
71355         * sysdeps/x86_64/fpu/math_private.h: Likewise.
71357         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
71358         and <math_private.h>.
71359         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71360         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71361         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71362         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71363         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71364         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
71365         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71366         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71367         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71368         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71369         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71370         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71371         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71372         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71373         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71374         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71375         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71376         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71377         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71378         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71379         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71380         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71381         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71382         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71383         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
71384         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71385         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71386         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71387         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71388         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71389         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71390         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71391         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
71392         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71393         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71394         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71395         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71396         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71397         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71398         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71399         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
71400         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71401         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71402         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
71403         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
71404         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71405         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
71406         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
71407         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71408         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71409         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
71410         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
71411         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
71412         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71413         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
71414         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71415         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71416         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
71417         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
71418         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
71419         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71420         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
71421         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71422         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71423         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
71424         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71425         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71426         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71427         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
71428         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
71429         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
71430         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71431         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
71432         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71433         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
71434         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
71435         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
71436         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71437         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
71438         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
71439         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
71440         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
71441         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
71442         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71443         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71444         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
71445         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
71446         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
71447         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71448         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71449         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71450         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71451         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71452         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71453         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71454         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71455         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71456         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71457         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71458         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71459         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71460         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71461         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71462         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71463         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71464         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71465         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71466         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71467         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71468         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71469         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71470         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71471         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71472         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71473         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
71474         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71475         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71476         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71477         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71478         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71479         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71480         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71481         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71482         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
71483         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71484         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71485         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71486         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
71487         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71488         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
71489         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
71490         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71491         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71492         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
71493         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
71494         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71495         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71496         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71497         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
71498         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71499         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71500         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71501         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71502         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
71503         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
71504         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71505         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71506         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71507         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
71508         * sysdeps/ieee754/k_standard.c: Likewise.
71509         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71510         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71511         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71512         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71513         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71514         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71515         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71516         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71517         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71518         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71519         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71520         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71521         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71522         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71523         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71524         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71525         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
71526         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71527         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71528         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
71529         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
71530         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
71531         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71532         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71533         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
71534         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
71535         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71536         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71537         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71538         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71539         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
71540         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71541         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71542         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71543         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
71544         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71545         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71546         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
71547         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
71548         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71549         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
71550         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
71551         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
71552         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71553         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
71554         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
71555         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71556         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71557         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71558         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71559         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71560         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
71561         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71562         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
71563         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71564         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71565         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
71566         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
71567         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71568         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71569         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71570         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
71571         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71572         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71573         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71574         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71575         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71576         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71577         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71578         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71579         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71580         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71581         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71582         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71583         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71584         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71585         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
71586         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71587         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71588         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
71589         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
71590         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
71591         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71592         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71593         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
71594         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71595         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71596         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
71597         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
71598         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71599         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
71600         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71601         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
71602         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
71603         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71604         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71605         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
71606         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
71607         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
71608         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
71609         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71610         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71611         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71612         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71613         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
71614         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71615         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71616         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
71617         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
71618         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71619         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71620         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71621         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71622         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71623         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71624         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71625         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71626         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71627         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71628         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71629         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71630         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71631         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71632         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71633         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71634         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
71635         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71636         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71637         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71638         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71639         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71640         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71641         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71642         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
71643         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71644         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71645         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
71646         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
71647         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71648         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
71649         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
71650         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71651         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
71652         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
71653         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71654         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71655         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71656         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71657         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71658         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
71659         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71660         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71661         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71662         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71663         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
71664         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
71665         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71666         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71667         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71668         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
71669         * sysdeps/ieee754/s_lib_version.c: Likewise.
71670         * sysdeps/ieee754/s_matherr.c: Likewise.
71671         * sysdeps/ieee754/s_signgam.c: Likewise.
71672         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71673         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71674         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
71675         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
71676         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
71677         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71678         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
71679         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
71680         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
71681         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
71682         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
71683         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
71684         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71685         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71686         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
71687         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71688         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71689         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71690         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71691         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71692         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71694 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71696         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
71697         * sunrpc/rpc_main.c: Likewise.
71698         * sunrpc/rpc_svcout.c: Likewise.
71700 2012-03-09  David S. Miller  <davem@davemloft.net>
71702         * include/math_private.h: New file.
71704 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71706         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
71707         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
71708         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
71709         from <bits/socket_type.h>.
71710         (enum __socket_type): Don't define here.
71711         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
71712         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71713         bits/socket_type.h.
71715         [BZ #13566]
71716         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
71717         checking __USE_GNU.
71719         * Makerules ($(inst_includedir)/%.h): New rule.
71720         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
71721         (install-others): Remove variable setting.
71722         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
71724 2012-03-08  Richard Henderson  <rth@twiddle.net>
71726         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
71727         from macro to inline function; merge with the
71728         !__LIBC_INTERNAL_MATH_INLINES version.
71729         (__ieee754_sqrtf): Likewise.
71731         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
71732         to inline function.
71733         (__rintf, __floor, __floorf): Likewise.
71735         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
71736         macro to inline function.
71737         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
71739         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
71740         not <math/math_private.h>.
71742 2012-03-08  David S. Miller  <davem@davemloft.net>
71744         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
71745         copyright year.
71746         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
71748 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
71750         * resolv/gai_misc.c (handle_requests): Fix struct timespec
71751         normalization.
71752         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
71753         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
71755 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
71757         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
71758         be defined individually, they must be defined as a block.  Define
71759         S for printing a string instead of hidint the different by using a
71760         macro for adding the 'l'.
71761         * stdio-common/tst-fphex-wide.c: Adjust.
71763 2012-03-07  Marek Polacek  <polacek@redhat.com>
71765         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
71767 2012-03-08  Marek Polacek  <polacek@redhat.com>
71769         [BZ #13806]
71770         * stdio-common/Makefile (tests): Add tst-fphex-wide.
71771         * stdio-common/tst-fphex.c: Define a few macros to make the
71772         test reusable.  Use them.
71773         * stdio-common/tst-fphex-wide.c: New file.
71775 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
71777         [BZ #6911]
71778         * manual/macros.texi (gnusystems): New macro.
71779         (nongnusystems): Likewise.
71780         (gnulinuxhurdsystems): Likewise.
71781         (gnuhurdsystems): Likewise..
71782         (gnulinuxsystems): Likewise.
71783         * manual/charset.texi: Use new macros or @theglibc{} to refer to
71784         variants of the GNU system, not "GNU system".
71785         * manual/conf.texi: Likewise.
71786         * manual/errno.texi: Likewise.  Update example of errno macro
71787         expansion.
71788         * manual/filesys.texi: Likewise.
71789         (getumask): Document as specific to GNU/Hurd.
71790         * manual/install.texi: Likewise.  Reword some references to
71791         GNU/Linux.
71792         * manual/intro.texi: Likewise.
71793         * manual/io.texi: Likewise.
71794         (File Name Portability): Detail which constraints are inapplicable
71795         to all GNU systems and which are only inapplicable to GNU/Hurd.
71796         * manual/job.texi: Likewise.
71797         * manual/llio.texi: Likewise.
71798         (O_NOCTTY): Document as present on GNU/Linux.
71799         * manual/maint.texi: Likewise.
71800         * manual/memory.texi: Likewise.
71801         * manual/pattern.texi: Likewise.
71802         * manual/pipe.texi: Likewise.
71803         * manual/process.texi: Likewise.
71804         * manual/resource.texi: Likewise.
71805         (RUSAGE_CHILDREN): Remove statement about specifying a particular
71806         child on GNU/Hurd.
71807         * manual/setjmp.texi: Likewise.
71808         * manual/signal.texi: Likewise.
71809         * manual/startup.texi: Likewise.
71810         * manual/stdio.texi: Likewise.
71811         * manual/terminal.texi: Likewise.
71812         (ONLCR): Document as POSIX.
71813         (OXTABS): Document availability on GNU/Linux as XTABS.
71814         (ONOEOT): Document availability separately from other bits.
71815         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
71816         * manual/time.texi: Likewise.
71817         * manual/users.texi: Likewise.
71818         * INSTALL: Regenerated.
71819         * sysdeps/gnu/errlist.c: Regenerated.
71821         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
71822         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
71823         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
71824         puts.
71825         * configure: Regenerated.
71827 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
71829         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
71830         default includes instead of AC_HEADER_CHECK.
71831         * sysdeps/i386/configure: Regenerated.
71833         [BZ #10716]
71834         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
71835         * math/s_cacoshf.c (__cacoshf): Likewise.
71836         * math/s_cacoshl.c (__cacoshl): Likewise.
71837         * math/s_casinh.c (__casinh): Set signs of result from argument.
71838         * math/s_casinhf.c (__casinhf): Likewise.
71839         * math/s_casinhl.c (__casinhl): Likewise.
71840         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
71841         (casinh_test): Add more tests.
71842         * sysdeps/i386/fpu/libm-test-ulps: Update.
71843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71845 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
71847         * po/zh_TW.po: Update from translation team.
71849         * login/Makefile (distribute): Remove variable.
71850         * catgets/Makefile: Likewise.
71851         * mach/Makefile: Likewise.
71852         * malloc/Makefile: Likewise.
71853         * misc/Makefile: Likewise.
71854         * iconv/Makefile: Likewise.
71855         * nscd/Makefile: Likewise.
71856         * hurd/Makefile: Likewise.
71857         * manual/Makefile: Likewise.
71858         * locale/Makefile: Likewise.
71859         * intl/Makefile: Likewise.
71860         * conform/Makefile: Likewise.
71861         * nss/Makefile: Likewise.
71862         * time/Makefile: Likewise.
71863         * soft-fp/Makefile: Likewise.
71864         * dirent/Makefile: Likewise.
71865         * gmon/Makefile: Likewise.
71866         * po/Makefile: Likewise.
71867         * rt/Makefile: Likewise.
71868         * socket/Makefile: Likewise.
71869         * math/Makefile: Likewise.
71870         * signal/Makefile: Likewise.
71871         * debug/Makefile: Likewise.
71872         * elf/Makefile: Likewise.
71873         * timezone/Makefile: Likewise.
71874         * stdlib/Makefile: Likewise.
71875         * iconvdata/Makefile: Likewise.
71876         * sunrpc/Makefile: Likewise.
71877         * io/Makefile: Likewise.
71878         * argp/Makefile: Likewise.
71879         * inet/Makefile: Likewise.
71880         * hesiod/Makefile: Likewise.
71881         * grp/Makefile: Likewise.
71882         * csu/Makefile: Likewise.
71883         * wctype/Makefile: Likewise.
71884         * crypt/Makefile: Likewise.
71885         * libio/Makefile: Likewise.
71886         * string/Makefile: Likewise.
71887         * nis/Makefile: Likewise.
71888         * resolv/Makefile: Likewise.
71889         * stdio-common/Makefile: Likewise.
71890         * wcsmbs/Makefile: Likewise.
71891         * dlfcn/Makefile: Likewise.
71892         * posix/Makefile: Likewise.
71894         [BZ #6959]
71895         * timezone/Makefile: Don't install timezone files, just the programs
71896         and scripts.
71898 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
71900         * nss/databases.def: Add missing gshadow entry.
71902         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
71904 2012-03-06  Marek Polacek  <polacek@redhat.com>
71906         [BZ #13726]
71907         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
71908         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
71909         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
71910         * stdio-common/tst-long-dbl-fphex.c: New file.
71912 2012-03-06  David S. Miller  <davem@davemloft.net>
71914         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71915         (set_obp_int): New function.
71916         (get_obp_int): New function.
71917         (__get_clockfreq_via_dev_openprom): Likewise.
71918         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
71919         Avoid unused variable warnings on 'val' and use builtin_expect.
71920         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
71921         __builtin_expect.
71922         (INLINE_CLONE_SYSCALL): Likewise.
71924 2012-03-05  David S. Miller  <davem@davemloft.net>
71926         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71928 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
71930         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71932         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
71933         only for |x| >= 40.
71934         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71936 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
71938         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
71939         Replace gettimeofday with __vdso_gettimeofday.
71941         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71942         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
71943         __vdso_clock_gettime and __vdso_getcpu.
71945         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
71946         time with __vdso_time.
71948 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71950         * manual/lang.texi (size_t): Note types to which size_t may be
71951         equivalent with the GNU C Library, but do not describe when
71952         differences between them are significant.
71954 2012-03-05  Andreas Jaeger  <aj@suse.de>
71956         * sysdeps/i386/fpu/libm-test-ulps: Update.
71958 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71960         [BZ #3976]
71961         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
71962         (__ieee754_pow): Save and restore rounding mode and use
71963         round-to-nearest for main computations.
71964         * math/libm-test.inc (pow_test_tonearest): New function.
71965         (pow_test_towardzero): Likewise.
71966         (pow_test_downward): Likewise.
71967         (pow_test_upward): Likewise.
71968         (main): Call the new functions.
71969         * sysdeps/i386/fpu/libm-test-ulps: Update.
71970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71972         [BZ #3976]
71973         * math/libm-test.inc (cosh_test_tonearest): New function.
71974         (cosh_test_towardzero): Likewise.
71975         (cosh_test_downward): Likewise.
71976         (cosh_test_upward): Likewise.
71977         (sinh_test_tonearest): Likewise.
71978         (sinh_test_towardzero): Likewise.
71979         (sinh_test_downward): Likewise.
71980         (sinh_test_upward): Likewise.
71981         (main): Call the new functions.
71982         * sysdeps/i386/fpu/libm-test-ulps: Update.
71983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71985 2012-03-05  Tom de Vries  <tom@codesourcery.com>
71987         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
71988         default stack guard is set in last bytes.
71989         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
71991 2012-03-05  Kees Cook  <keescook@chromium.org>
71993         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
71995         [BZ #13656]
71996         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
71997         possibly allocate from heap instead of stack.
71998         * stdio-common/bug-vfprintf-nargs.c: New file.
71999         * stdio-common/Makefile (tests): Add nargs overflow test.
72001 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
72003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72005 2012-03-03  Marek Polacek  <polacek@redhat.com>
72007         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
72008         * math/math_private.h: Likewise.
72009         * stdlib/tst-strtod.c: Likewise.
72010         * sysdeps/i386/i486/bits/atomic.h: Likewise.
72011         * sysdeps/x86_64/bits/atomic.h: Likewise.
72013 2012-03-02  David S. Miller  <davem@davemloft.net>
72015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
72016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
72017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
72018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
72019         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
72020         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
72021         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
72022         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
72024 2012-03-02  Roland McGrath  <roland@hack.frob.com>
72026         [BZ #13792]
72027         * manual/examples/README: New file, says the example source files
72028         can be used under GPL>=2.
72029         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
72030         line containing just "*/".
72031         * manual/examples/add.c: Add copyright header (GPL>=2).
72032         * manual/examples/argp-ex1.c: Likewise.
72033         * manual/examples/argp-ex2.c: Likewise.
72034         * manual/examples/argp-ex3.c: Likewise.
72035         * manual/examples/argp-ex4.c: Likewise.
72036         * manual/examples/atexit.c: Likewise.
72037         * manual/examples/db.c: Likewise.
72038         * manual/examples/dir.c: Likewise.
72039         * manual/examples/dir2.c: Likewise.
72040         * manual/examples/execinfo.c: Likewise.
72041         * manual/examples/filecli.c: Likewise.
72042         * manual/examples/filesrv.c: Likewise.
72043         * manual/examples/fmtmsgexpl.c: Likewise.
72044         * manual/examples/genpass.c: Likewise.
72045         * manual/examples/inetcli.c: Likewise.
72046         * manual/examples/inetsrv.c: Likewise.
72047         * manual/examples/isockad.c: Likewise.
72048         * manual/examples/longopt.c: Likewise.
72049         * manual/examples/memopen.c: Likewise.
72050         * manual/examples/memstrm.c: Likewise.
72051         * manual/examples/mkfsock.c: Likewise.
72052         * manual/examples/mkisock.c: Likewise.
72053         * manual/examples/mygetpass.c: Likewise.
72054         * manual/examples/pipe.c: Likewise.
72055         * manual/examples/popen.c: Likewise.
72056         * manual/examples/rprintf.c: Likewise.
72057         * manual/examples/search.c: Likewise.
72058         * manual/examples/select.c: Likewise.
72059         * manual/examples/setjmp.c: Likewise.
72060         * manual/examples/sigh1.c: Likewise.
72061         * manual/examples/sigusr.c: Likewise.
72062         * manual/examples/stpcpy.c: Likewise.
72063         * manual/examples/strdupa.c: Likewise.
72064         * manual/examples/strftim.c: Likewise.
72065         * manual/examples/strncat.c: Likewise.
72066         * manual/examples/subopt.c: Likewise.
72067         * manual/examples/swapcontext.c: Likewise.
72068         * manual/examples/termios.c: Likewise.
72069         * manual/examples/testopt.c: Likewise.
72070         * manual/examples/testpass.c: Likewise.
72071         * manual/examples/timeval_subtract.c: Likewise.
72073         [BZ #13792]
72074         * manual/time.texi (Elapsed Time): Move timeval_subtract example
72075         function to ...
72076         * manual/timeval_subtract.c.texi: ... here, new file.
72078 2012-03-02  David S. Miller  <davem@davemloft.net>
72080         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
72082 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
72084         [BZ #3976]
72085         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
72086         (__sin): Save and restore rounding mode and use round-to-nearest
72087         for all computations.
72088         (__cos): Save and restore rounding mode and use round-to-nearest
72089         for all computations.
72090         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
72091         <fenv.h>.
72092         (tan): Save and restore rounding mode and use round-to-nearest for
72093         all computations.
72094         * math/libm-test.inc (cos_test_tonearest): New function.
72095         (cos_test_towardzero): Likewise.
72096         (cos_test_downward): Likewise.
72097         (cos_test_upward): Likewise.
72098         (sin_test_tonearest): Likewise.
72099         (sin_test_towardzero): Likewise.
72100         (sin_test_downward): Likewise.
72101         (sin_test_upward): Likewise.
72102         (tan_test_tonearest): Likewise.
72103         (tan_test_towardzero): Likewise.
72104         (tan_test_downward): Likewise.
72105         (tan_test_upward): Likewise.
72106         (main): Call the new functions.
72107         * sysdeps/i386/fpu/libm-test-ulps: Update.
72108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72110         [BZ #10135]
72111         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
72112         small n, then large n, before computing and testing k+n.
72113         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
72114         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
72115         Likewise.
72116         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
72117         Likewise.
72118         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
72119         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
72120         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
72121         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
72122         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
72123         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
72124         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
72125         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
72126         * math/libm-test.inc (scalbn_test): Add more tests.
72127         (scalbln_test): Likewise.
72129         * manual/filesys.texi (mode_t): Describe constraints on size and
72130         signedness, not exact equivalence to a particular type.
72131         (ino_t): Likewise.
72132         (ino64_t): Likewise.
72133         (dev_t): Likewise.
72134         (nlink_t): Likewise.
72135         (blkcnt_t): Likewise.
72136         (blkcnt64_t): Likewise.
72137         * manual/llio.texi (off_t): Likewise.
72139         [BZ #3976]
72140         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
72141         (__ieee754_exp): Save and restore rounding mode and use
72142         round-to-nearest for all computations.
72143         * math/libm-test.inc (exp_test_tonearest): New function.
72144         (exp_test_towardzero): Likewise.
72145         (exp_test_downward): Likewise.
72146         (exp_test_upward): Likewise.
72147         (main): Call the new functions.
72148         * sysdeps/i386/fpu/libm-test-ulps: Update.
72149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72151 2012-03-01  Chris Demetriou  <cgd@google.com>
72153         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
72154         have predictable order.
72156 2012-03-01  David S. Miller  <davem@davemloft.net>
72158         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
72160         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
72161         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
72162         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
72163         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
72165         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
72166         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
72167         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
72168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
72169         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
72170         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
72171         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
72172         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
72173         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
72175         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72177         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
72178         * sysdeps/sparc/fpu/libm-test-ulps: to here.
72179         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
72181         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
72182         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72183         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72184         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
72185         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
72186         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
72187         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
72188         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72189         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72190         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
72191         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
72192         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72193         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72194         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72195         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72196         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72197         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
72198         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
72199         * sysdeps/sparc/elf/configure: Regenerated.
72201 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
72203         * configure.in (AS, LD): Require binutils 2.20 or later.
72204         * configure: Regenerated.
72205         * manual/install.texi (Tools for Compilation): Give binutils 2.20
72206         as required minimum version.
72207         * INSTALL: Regenerated.
72209         [BZ #2541]
72210         [BZ #4108]
72211         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
72212         before squaring exponent.
72213         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
72214         bottom long double and 27 bits of top long double before squaring
72215         exponent.
72216         * math/libm-test.inc (erfc_test): Add more tests.
72217         * sysdeps/i386/fpu/libm-test-ulps: Update.
72218         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72221 2012-03-01  Kai Tietz  <ktietz@redhat.com>
72223         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
72224         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
72225         containing bit-fields.
72226         * soft-fp/extended.h (_FP_UNION_E): Likewise.
72227         * soft-fp/single.h (_FP_UNION_S): Likewise.
72228         * soft-fp/double.h (_FP_UNION_D): Likewise.
72230 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72232         [BZ #13786]
72233         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
72234         not include ../strcmp.S.
72235         [USE_AS_STRNCASECMP_L]: Likewise.
72236         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
72237         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
72238         * sysdeps/i386/i686/multiarch/strncase_l-c.c
72239         (__strncasecmp_l_ia32): Define as alias to
72240         __strncasecmp_l_nonascii.
72242         [BZ #5794]
72243         * math/libm-test.inc (expm1_test): Add test for bug 5794.
72244         * sysdeps/i386/fpu/libm-test-ulps: Update.
72245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72247         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
72248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72250 2012-02-29  Jeff Law  <law@redhat.com>
72252         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
72253         out of bounds read.
72255 2012-02-29  Marek Polacek  <polacek@redhat.com>
72257         [BZ #13706]
72258         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
72259         * elf/Makefile: Add rules to run tst-unused-dep.out.
72261 2012-02-28  David S. Miller  <davem@davemloft.net>
72263         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
72264         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
72265         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
72266         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
72267         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
72268         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
72270 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72272         * math/libm-test.inc (llround_test): Move one test from
72273         lround_test.  Use TEST_f_L in moved test.
72274         (lround_test): Move misplaced test to llround_test.  Add testcase
72275         from bug 2561.
72277 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
72279         * sysdeps/x86_64/fpu/e_expf.S: New file.
72280         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
72282 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
72284         [BZ #13637]
72285         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
72286         of remain_len that may cause incomplete multi-byte character and
72287         false match.
72288         * posix/bug-regex33.c: New file.
72289         * posix/Makefile (tests): Add bug-regex33.
72291 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
72293         * manual/macros.texi: New file.
72294         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
72295         * manual/libc.texinfo: Include macros.texi.
72296         * manual/creatute.texi: Likewise.
72297         * manual/install.texi: Likewise.
72298         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
72299         @glibcadj{} in references to the GNU C Library.
72300         * manual/charset.texi: Likewise.
72301         * manual/conf.texi: Likewise.
72302         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
72303         when not using those macros.
72304         * manual/creature.texi: Likewise.
72305         * manual/crypt.texi: Likewise.
72306         * manual/errno.texi: Likewise.
72307         * manual/filesys.texi: Likewise.
72308         * manual/header.texi: Likewise.
72309         * manual/install.texi: Likewise.
72310         * manual/intro.texi: Likewise.
72311         * manual/io.texi: Likewise.
72312         * manual/job.texi: Likewise.
72313         * manual/lang.texi: Likewise.
72314         * manual/libc.texiinfo: Likewise.
72315         * manual/llio.texi: Likewise.
72316         * manual/locale.texi: Likewise.
72317         * manual/maint.texi: Likewise.
72318         * manual/math.texi: Likewise.
72319         * manual/memory.texi: Likewise.
72320         * manual/message.texi: Likewise.
72321         * manual/nss.texi: Likewise.
72322         * manual/pattern.texi: Likewise.
72323         * manual/process.texi: Likewise.
72324         * manual/resource.texi: Likewise.
72325         * manual/search.texi: Likewise.
72326         * manual/setjmp.texi: Likewise.
72327         * manual/signal.texi: Likewise.
72328         * manual/socket.texi: Likewise.
72329         * manual/startup.texi: Likewise.
72330         * manual/stdio.texi: Likewise.
72331         * manual/string.texi: Likewise.
72332         * manual/sysinfo.texi: Likewise.
72333         * manual/syslog.texi: Likewise.
72334         * manual/terminal.texi: Likewise.
72335         * manual/time.texi: Likewise.
72336         * manual/users.texi: Likewise.
72337         * INSTALL: Regenerated.
72338         * NOTES: Regenerated.
72339         * sysdeps/gnu/errlist.c: Regenerated.
72341 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
72343         * include/dirent.h: Include <dirstream.h> before
72344         <dirent/dirent.h>.
72346 2012-02-28  David S. Miller  <davem@davemloft.net>
72348         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
72349         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
72350         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
72351         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
72353 2012-02-27  David S. Miller  <davem@davemloft.net>
72355         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
72356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
72357         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
72358         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
72360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
72361         frame pointer instead of stack pointer relative arg slot.
72362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72363         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72364         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72366 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
72368         [BZ #3992]
72369         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
72371 2012-02-27  David S. Miller  <davem@davemloft.net>
72373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
72374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
72376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
72377         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72378         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72379         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
72380         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
72382 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72384         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
72385         later.  Allow versions 5-9.
72386         * configure: Regenerated.
72387         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
72388         required minimum version and 4.6 as recommended version.  Do not
72389         mention bugs in GCC 2.7 and 2.8.
72390         * INSTALL: Regenerated.
72392 2012-02-27  David S. Miller  <davem@davemloft.net>
72394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
72395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
72396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
72397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
72398         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
72399         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
72400         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
72401         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
72403         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
72404         manipulate bits before adding and subtracting TWO112[sx].
72405         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
72407 2012-02-27  Roland McGrath  <roland@hack.frob.com>
72409         [BZ #13775]
72410         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
72411         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
72412         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
72413         being in POSIX, because they are in 1003.1-2008.
72415         * rt/tst-aio.c: Include <fcntl.h>.
72416         * rt/tst-aio7.c: Likewise.
72417         * rt/tst-aio64.c: Likewise.
72419         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
72421 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72423         * manual/install.texi (--with-headers): Describe headers as
72424         interface headers, not private headers.
72425         (Specific advice for GNU/Linux systems): Describe use of headers
72426         from "make headers_install", not private headers from older
72427         kernels.
72428         * INSTALL: Regenerated.
72429         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
72430         Change to 2.6.19.
72431         * sysdeps/unix/sysv/linux/configure: Regenerated.
72433         * manual/llio.texi (fclean): Remove documentation.
72435         * manual/Makefile (libc-texi-generated): New variable.  Include
72436         version.texi.
72437         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
72438         $(libc-texi-generated), not duplicated list of files.
72439         (version.texi, stamp-version): New rules.
72440         (realclean): Remove $(libc-texi-generated), not individual files
72441         from that list.  Do not remove dir-add.texinfo.
72442         * manual/libc.texinfo: Comment out uses of edition numbers and
72443         references to printed manual.  Remove last-updated dates.
72444         (EDITION): Comment out.
72445         (ISBN): Likewise.
72446         (VERSION, UPDATED): Remove.
72447         (version.texi): Include.
72449 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
72451         * sysdeps/posix/spawni.c: Include <signal.h>.
72452         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
72453         * sysdeps/pthread/aio_fsync.c: Likewise.
72455 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
72457         * conform/Makefile (tests): Run only when not cross-compiling and
72458         when fast-check is not defined.
72460         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
72461         * conform/data/limits.h-data: Fixes for POSIX2008.
72462         * conform/run-conformtest.sh: Run all tests.
72463         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
72464         headers.
72465         * include/bits/dlfcn.h: Likewise.
72466         * include/langinfo.h: Likewise.
72467         * include/monetary.h: Likewise.
72468         * include/sys/poll.h: Likewise.
72470         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
72471         for __USE_GNU.
72472         * posix/spawn.h: Define __need_sigset_t.
72473         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
72474         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
72475         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
72476         to get sigevent_t only.
72477         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
72478         only for __USE_GNU.
72479         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72480         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72481         process_vm_writev only for __USE_GNU.
72482         * termios/termios.h: Declare tcgetsid also for POSIX2008.
72484         * conform/Makefile: For now ignore errors from run-conformtest.
72485         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
72486         POSIX to avoid namespace pollution.  Don't prepend headers.
72487         * conform/data/aio.h-data: Fixes for POSIX testing.
72488         * conform/data/fcntl.h-data: Likewise.
72489         * conform/data/glob.h-data: Likewise.
72490         * conform/data/grp.h-data: Likewise.
72491         * conform/data/pthread.h-data: Likewise.
72492         * conform/data/pwd.h-data: Likewise.
72493         * conform/data/signal.h-data: Likewise.
72494         * conform/data/spawn.h-data: Likewise.
72495         * conform/data/stdio.h-data: Likewise.
72496         * conform/data/stdlib.h-data: Likewise.
72497         * conform/data/stropts.h-data: Likewise.
72498         * conform/data/sys/mman.h-data: Likewise.
72499         * conform/data/sys/stat.h-data: Likewise.
72500         * conform/data/sys/types.h-data: Likewise.
72501         * conform/data/sys/wait.h-data: Likewise.
72502         * conform/data/time.h-data: Likewise.
72503         * conform/data/unistd.h-data: Likewise.
72504         * conform/data/utime.h-data: Likewise.
72506         * io/sys/stat.h: fchmod was always in POSIX.
72507         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
72508         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
72509         * rt/aio.h: Define __need_timespec before including <time.h>.
72510         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
72511         struct.  Add forward declaration of pthread_attr_t and use it in
72512         sigevent.
72513         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72514         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72515         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
72516         always remove CLK_TCK definition.
72518 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
72520         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
72522 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
72524         * conform/run-conformtest.sh: New file.
72525         * conform/Makefile: Run run-conformtest for tests.
72526         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
72527         support.
72529         * conform/data/uchar.h-data: New file.
72530         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
72531         * conform/data/arpa/inet.h-data: Likewise.
72532         * conform/data/assert.h-data: Likewise.
72533         * conform/data/complex.h-data: Likewise.
72534         * conform/data/cpio.h-data: Likewise.
72535         * conform/data/ctype.h-data: Likewise.
72536         * conform/data/dirent.h-data: Likewise.
72537         * conform/data/dlfcn.h-data: Likewise.
72538         * conform/data/errno.h-data: Likewise.
72539         * conform/data/fcntl.h-data: Likewise.
72540         * conform/data/float.h-data: Likewise.
72541         * conform/data/fmtmsg.h-data: Likewise.
72542         * conform/data/fnmatch.h-data: Likewise.
72543         * conform/data/ftw.h-data: Likewise.
72544         * conform/data/glob.h-data: Likewise.
72545         * conform/data/grp.h-data: Likewise.
72546         * conform/data/iconv.h-data: Likewise.
72547         * conform/data/inttypes.h-data: Likewise.
72548         * conform/data/langinfo.h-data: Likewise.
72549         * conform/data/libgen.h-data: Likewise.
72550         * conform/data/limits.h-data: Likewise.
72551         * conform/data/locale.h-data: Likewise.
72552         * conform/data/math.h-data: Likewise.
72553         * conform/data/monetary.h-data: Likewise.
72554         * conform/data/mqueue.h-data: Likewise.
72555         * conform/data/ndbm.h-data: Likewise.
72556         * conform/data/net/if.h-data: Likewise.
72557         * conform/data/netdb.h-data: Likewise.
72558         * conform/data/netinet/in.h-data: Likewise.
72559         * conform/data/nl_types.h-data: Likewise.
72560         * conform/data/poll.h-data: Likewise.
72561         * conform/data/pthread.h-data: Likewise.
72562         * conform/data/pwd.h-data: Likewise.
72563         * conform/data/regex.h-data: Likewise.
72564         * conform/data/sched.h-data: Likewise.
72565         * conform/data/search.h-data: Likewise.
72566         * conform/data/semaphore.h-data: Likewise.
72567         * conform/data/setjmp.h-data: Likewise.
72568         * conform/data/signal.h-data: Likewise.
72569         * conform/data/spawn.h-data: Likewise.
72570         * conform/data/stdarg.h-data: Likewise.
72571         * conform/data/stdio.h-data: Likewise.
72572         * conform/data/stdlib.h-data: Likewise.
72573         * conform/data/string.h-data: Likewise.
72574         * conform/data/strings.h-data: Likewise.
72575         * conform/data/stropts.h-data: Likewise.
72576         * conform/data/sys/ipc.h-data: Likewise.
72577         * conform/data/sys/mman.h-data: Likewise.
72578         * conform/data/sys/msg.h-data: Likewise.
72579         * conform/data/sys/resource.h-data: Likewise.
72580         * conform/data/sys/select.h-data: Likewise.
72581         * conform/data/sys/sem.h-data: Likewise.
72582         * conform/data/sys/shm.h-data: Likewise.
72583         * conform/data/sys/socket.h-data: Likewise.
72584         * conform/data/sys/stat.h-data: Likewise.
72585         * conform/data/sys/statvfs.h-data: Likewise.
72586         * conform/data/sys/time.h-data: Likewise.
72587         * conform/data/sys/timeb.h-data: Likewise.
72588         * conform/data/sys/times.h-data: Likewise.
72589         * conform/data/sys/types.h-data: Likewise.
72590         * conform/data/sys/uio.h-data: Likewise.
72591         * conform/data/sys/un.h-data: Likewise.
72592         * conform/data/sys/utsname.h-data: Likewise.
72593         * conform/data/sys/wait.h-data: Likewise.
72594         * conform/data/syslog.h-data: Likewise.
72595         * conform/data/tar.h-data: Likewise.
72596         * conform/data/termios.h-data: Likewise.
72597         * conform/data/utime.h-data: Likewise.
72598         * conform/data/utmpx.h-data: Likewise.
72599         * conform/data/varargs.h-data: Likewise.
72600         * conform/data/wchar.h-data: Likewise.
72601         * conform/data/wctype.h-data: Likewise.
72602         * conform/data/wordexp.h-data: Likewise.
72604         * include/stropts.h: New file.
72605         * include/uchar.h: New file.
72606         * include/aio.h: Changes to allow conformtest.pl to use the headers.
72607         * include/assert.h: Likewise.
72608         * include/ctype.h: Likewise.
72609         * include/dirent.h: Likewise.
72610         * include/dlfcn.h: Likewise.
72611         * include/fcntl.h: Likewise.
72612         * include/fnmatch.h: Likewise.
72613         * include/glob.h: Likewise.
72614         * include/grp.h: Likewise.
72615         * include/libio.h: Likewise.
72616         * include/locale.h: Likewise.
72617         * include/math.h: Likewise.
72618         * include/net/if.h: Likewise.
72619         * include/netdb.h: Likewise.
72620         * include/netinet/in.h: Likewise.
72621         * include/pthread.h: Likewise.
72622         * include/pwd.h: Likewise.
72623         * include/regex.h: Likewise.
72624         * include/sched.h: Likewise.
72625         * include/search.h: Likewise.
72626         * include/setjmp.h: Likewise.
72627         * include/signal.h: Likewise.
72628         * include/stdio.h: Likewise.
72629         * include/stdlib.h: Likewise.
72630         * include/string.h: Likewise.
72631         * include/sys/cdefs.h: Likewise.
72632         * include/sys/mman.h: Likewise.
72633         * include/sys/msg.h: Likewise.
72634         * include/sys/resource.h: Likewise.
72635         * include/sys/select.h: Likewise.
72636         * include/sys/socket.h: Likewise.
72637         * include/sys/stat.h: Likewise.
72638         * include/sys/statvfs.h: Likewise.
72639         * include/sys/time.h: Likewise.
72640         * include/sys/times.h: Likewise.
72641         * include/sys/uio.h: Likewise.
72642         * include/sys/utsname.h: Likewise.
72643         * include/sys/wait.h: Likewise.
72644         * include/termios.h: Likewise.
72645         * include/time.h: Likewise.
72646         * include/ulimit.h: Likewise.
72647         * include/unistd.h: Likewise.
72648         * include/utime.h: Likewise.
72649         * include/wchar.h: Likewise.
72650         * include/wctype.h: Likewise.
72651         * include/wordexp.h: Likewise.
72653         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
72655         * time/time.h: TIME_UTC must be a macro.
72656         Make timespec_get available for ISO C11 only as well.
72658 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
72660         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
72661         Reported by Peng Haitao <penght@cn.fujitsu.com>.
72663 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72665         * configure.in: Use -o not -a in test for unsupported multi-arch.
72667 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72669         * manual/texinfo.tex: Update to version 2012-01-19.16.
72671 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72673         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
72675 2012-02-24  Roland McGrath  <roland@hack.frob.com>
72677         [BZ #13738]
72678         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
72679         * manual/fdl-1.3.texi: New file.
72680         * manual/fdl-1.1.texi: File removed.
72682         [BZ #13738]
72683         * manual/libc.texinfo (FDL_VERSION): New @set.
72684         Use it for mention of FDL in cover text.
72685         (Documentation License): Use it in @include file name.
72687 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72688             Roland McGrath  <roland@hack.frob.com>
72690         [BZ #5461]
72691         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
72692         (not LONG_LONG_MAX and LONG_LONG_MIN.
72693         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
72694         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
72695         name.
72696         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
72698 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72700         [BZ #2547]
72701         [BZ #11365]
72702         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
72703         manipulate bits before adding and subtracting TWO23[sx].
72704         * math/libm-test.inc (nearbyint_test): Add more tests.
72706 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72708         [BZ #2548]
72709         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
72710         bits before adding and subtracting TWO23[sx].
72711         * math/libm-test.inc (rint_test): Add more tests.
72712         (rint_test_tonearest): Likewise.
72713         (rint_test_towardzero): Likewise.
72714         (rint_test_downward): Likewise.
72715         (rint_test_upward: Likewise.
72717 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72719         [BZ #10110]
72720         * include/stdc-predef.h: New file.  Extracted from features.h.
72721         * include/features.h: Include stdc-predef.h.
72722         * Makefile (headers): Add stdc-predef.h.
72723         * CONFORMANCE (Compiler limitations): Update.
72725 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72727         * manual/libc.texinfo (VERSION, UPDATED): Revert.
72729 2012-02-21  David S. Miller  <davem@davemloft.net>
72731         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
72732         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72734 2012-02-20  David S. Miller  <davem@davemloft.net>
72736         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
72737         using a normal save/restore sequence, rather than allocating a
72738         dummy stack frame just to store a frame pointer and restore.
72739         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72741 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72743         * manual/install.texi: Fix stray word in line-wrapped comment.
72745 2012-02-20  David S. Miller  <davem@davemloft.net>
72747         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
72748         both binutils and gcc support GOTDATA.
72750         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
72751         "rd %pc" in the PIC register setup sequences.
72753         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
72754         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
72755         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72756         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
72757         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72758         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72759         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72760         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72761         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
72762         (SYSCALL_ERROR_HANDLER): Likewise.
72763         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72764         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72765         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
72766         (SYSCALL_ERROR_HANDLER): Likewise.
72768         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
72769         (HAVE_GCC_GOTDATA): New.
72770         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
72771         relocation support in both binutils and gcc.
72772         * sysdeps/sparc/elf/configure: Regenerate.
72774         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
72775         * sysdeps/sparc/sparc32/elf/configure: Delete.
72776         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
72777         * sysdeps/sparc/sparc64/elf/configure: Delete.
72778         * sysdeps/sparc/elf/configure.in: New file.
72779         * sysdeps/sparc/elf/configure: Generate.
72781         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
72782         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
72783         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72784         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
72785         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
72787 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72789         * manual/install.texi: Do not mention specific glibc version
72790         numbers.
72791         * manual/libc.texinfo (VERSION, UPDATED): Update.
72792         (@copying): Use @copyright{} and range of years.
72794 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72796         [BZ #13695]
72797         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
72798         [crti.S not in sysdirs] (generated): Do not append.
72799         [crti.S not in sysdirs] (omit-deps): Likewise.
72800         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
72801         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
72802         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
72803         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
72804         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
72805         Likewise.
72806         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
72807         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
72808         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
72809         * csu/defs.awk: Remove file.
72810         * sysdeps/generic/initfini.c: Likewise.
72811         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
72812         variable.
72813         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
72814         Likewise.
72816 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72818         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
72819         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
72820         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
72821         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
72822         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72823         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
72824         <bits/epoll.h>.
72825         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
72826         (__EPOLL_PACKED): Define to empty if not defined by
72827         <bits/epoll.h>.
72828         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
72829         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72830         bits/epoll.h.
72832 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72834         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
72835         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
72836         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
72837         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
72838         <bits/timerfd.h>.
72839         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
72840         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72841         bits/timerfd.h.
72843 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72845         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
72846         in C locale.
72847         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72848         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
72849         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
72850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72852 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
72854         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72855         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72857 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
72859         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
72860         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
72861         defined.
72862         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
72863         Likewise.
72864         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
72865         entry for 2.16.
72867 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
72869         * math/w_acos.c: Use non-signaling floating-point comparisons.
72870         * math/w_acosf.c: Likewise.
72871         * math/w_acosh.c: Likewise.
72872         * math/w_acoshf.c: Likewise.
72873         * math/w_acoshl.c: Likewise.
72874         * math/w_acosl.c: Likewise.
72875         * math/w_asin.c: Likewise.
72876         * math/w_asinf.c: Likewise.
72877         * math/w_asinl.c: Likewise.
72878         * math/w_atanh.c: Likewise.
72879         * math/w_atanhf.c: Likewise.
72880         * math/w_atanhl.c: Likewise.
72881         * math/w_exp2.c: Likewise.
72882         * math/w_exp2f.c: Likewise.
72883         * math/w_exp2l.c: Likewise.
72884         * math/w_j0.c: Likewise.
72885         * math/w_j0f.c: Likewise.
72886         * math/w_j0l.c: Likewise.
72887         * math/w_j1.c: Likewise.
72888         * math/w_j1f.c: Likewise.
72889         * math/w_j1l.c: Likewise.
72890         * math/w_jn.c: Likewise.
72891         * math/w_jnf.c: Likewise.
72892         * math/w_log.c: Likewise.
72893         * math/w_log10.c: Likewise.
72894         * math/w_log10f.c: Likewise.
72895         * math/w_log10l.c: Likewise.
72896         * math/w_log2.c: Likewise.
72897         * math/w_log2f.c: Likewise.
72898         * math/w_log2l.c: Likewise.
72899         * math/w_logf.c: Likewise.
72900         * math/w_logl.c: Likewise.
72901         * math/w_sqrt.c: Likewise.
72902         * math/w_sqrtf.c: Likewise.
72903         * math/w_sqrtl.c: Likewise.
72904         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72905         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
72906         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72907         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72908         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72910 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72912         [BZ #9739]
72913         * manual/string.texi (strnlen): Use correct parameter name in
72914         equivalent expression.
72916 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72918         [BZ #11174]
72919         * manual/users.texi (seteuid): Consistently use neweuid for
72920         argument name.
72922 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72924         [BZ #13704]
72925         * manual/nss.texi (Services in the NSS configuration): Correct
72926         list of services in example configuration file.
72928 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
72930         [BZ #11322]
72931         * manual/arith.texi: Remove statements about negative zero
72932         behaving identically to zero.
72934 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72936         [BZ #5993]
72937         * manual/install.texi: Do not document upgrading from libc5.
72939 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72941         [BZ #4596]
72942         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
72944 2012-02-18  David S. Miller  <davem@davemloft.net>
72946         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
72947         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
72948         %o7 across the call.
72949         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
72950         instead.
72951         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
72952         SETUP_PIC_REG_LEAF.
72953         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72954         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
72955         * sysdeps/sparc/crtn.S: Likewise.
72957 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
72959         * aout/Makefile: Remove.
72961 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
72963         [BZ #13058]
72964         * manual/examples/argp-ex1.c (main): Format definition in GNU
72965         style.
72966         * manual/examples/argp-ex2.c (main): Likewise.
72967         * manual/examples/argp-ex3.c (main): Likewise.
72968         * manual/examples/argp-ex4.c (main): Likewise.
72969         * manual/examples/longopt.c (main): Use new-style prototype
72970         definition.
72971         * manual/examples/strncat.c (main): Specify return type and use
72972         (void) for arguments.
72973         * manual/examples/subopt.c (main): Use char **argv argument.
72975 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72977         [BZ #5077]
72978         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
72979         rounding modes.
72981 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
72983         [BZ #6907]
72984         * manual/string.texi (strchr): Change when strchrnul is
72985         recommended.
72987 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
72989         [BZ #174]
72990         * manual/locale.texi (setlocale): Document LOCPATH.
72992 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72994         [BZ #10210]
72995         * manual/process.texi (execle): Move @dots{} before last argument.
72997 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
72999         [BZ #12047]
73000         * manual/charset.texi (Generic Charset Conversion): Fix typo
73001         (LC_TYPE -> LC_CTYPE).
73003 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
73005         [BZ #5805]
73006         * manual/arith.texi (scalbn): Use @var{} on parameter names.
73007         (scalbnf): Likewise.
73008         (scalbnl): Likewise.
73009         (scalbln): Likewise.
73010         (scalblnf): Likewise.
73011         (scalblnl): Likewise.
73012         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
73013         (vwarnx): Likewise.
73014         (verr): Likewise.
73015         (verrx): Likewise.
73016         * manual/filesys.texi (telldir): Use braces around return type.
73017         * manual/llio.texi (mmap): Add space after comma.
73018         (mmap64): Likewise.
73019         * manual/math.texi (jn): Use @var{} on parameter names.
73020         (jnf): Likewise.
73021         (jnl): Likewise.
73022         (yn): Likewise.
73023         (ynf): Likewise.
73024         (ynl): Likewise.
73025         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
73026         line.
73027         * manual/resource.texi (ulimit): Use @dots{} instead of literal
73028         "...".
73029         (sched_get_priority_min): Remove semicolon on @deftypefun line.
73030         (sched_get_priority_max): Likewise.
73031         * manual/signal.texi (sigvec): Add space after comma.
73032         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
73033         names.
73034         (if_indextoname): Likewise.
73035         (if_freenameindex): Likewise.
73036         (sendto): Use ',' instead of '.' in prototype.
73037         * manual/startup.texi (syscall): Use @dots{} instead of literal
73038         "...".
73039         * manual/stdio.texi (__fpending): Separate initial words of
73040         paragraph from @deftypefun line.
73041         * manual/syslog.texi (syslog): Use @dots{} instead of literal
73042         "...".
73043         (vsyslog): Use @var{} on parameter names.
73044         * manual/terminal.texi (stty): Use @var{} on parameter names.
73045         * manual/users.texi (getutmp): Use @var{} on parameter names.
73046         (getutmpx): Likewise.
73048 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73050         [BZ #6884]
73051         * manual/stdio.texi (fopen): Fix typos in description of
73052         ",ccs=STRING".
73054 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
73056         [BZ #4026]
73057         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
73058         get clock_id definition.
73060 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
73062         [BZ #4822]
73063         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
73064         (madvise): Cast every argument to void on its own.
73066 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73068         [BZ #9902]
73069         * manual/startup.texi (Exit Status): Fix typo.
73071 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73073         [BZ #10140]
73074         * manual/examples/argp-ex1.c: Include <stdlib.h>.
73075         * manual/examples/argp-ex2.c: Likewise.
73076         * manual/examples/argp-ex3.c: Likewise.
73078 2012-02-16  Richard Henderson  <rth@redhat.com>
73080         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
73081         * sysdeps/s390/s390-32/initfini.c: Remove.
73082         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
73083         * sysdeps/s390/s390-64/initfini.c: Remove.
73085 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73087         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
73088         compiler output for sysdeps/generic/initfini.c.
73089         * sysdeps/sh/elf/initfini.c: Remove file.
73091 2012-02-16  David S. Miller  <davem@davemloft.net>
73093         [BZ #11494]
73094         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
73096         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
73097         * sysdeps/sparc/crti.S: New file.
73098         * sysdeps/sparc/crtn.S: New file.
73099         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
73100         * sysdeps/sparc/sparc64/Makefile: Likewise.
73102 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
73104         [BZ #3335]
73105         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
73107 2012-02-15  Roland McGrath  <roland@hack.frob.com>
73109         [BZ #4822]
73110         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
73112         * mach/devstream.c (cookie_io_functions_t): Macro removed.
73113         (write, read, close): Likewise.
73114         Patch by Aurelien Jarno <aurelien@aurel32.net>.
73116 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
73118         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
73119         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
73120         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
73121         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
73122         <bits/signalfd.h>.
73123         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
73124         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73125         bits/signalfd.h.
73127 2012-02-14  Marek Polacek  <polacek@redhat.com>
73129         * sysdeps/x86_64/crti.S: New file.
73130         * sysdeps/x86_64/crtn.S: New file.
73131         * sysdeps/x86_64/elf/initfini.c: Remove file.
73133 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73135         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
73136         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
73137         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
73138         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
73139         <bits/inotify.h>.
73140         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
73141         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73142         bits/inotify.h.
73144 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73146         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
73147         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
73148         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
73149         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
73150         <bits/eventfd.h>.
73151         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
73152         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73153         bits/eventfd.h.
73155 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
73157         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
73158         __feraiseexcept instead of feraiseexcept.
73160         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
73161         nanosleep invocations.
73162         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
73163         strings, and add error checking for a nanosleep invocations.
73165 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
73167         Replace FSF snail mail address with URLs, as per GNU coding standards.
73168         Most of the snail mail addresses were wrong anyway, and omitting
73169         them makes the source code easier to maintain.  Almost all of the
73170         changes are to license notices and to locale LC_IDENTIFICATION
73171         addresses, except for this one:
73172         * manual/libc.texinfo: In "Published by", give the FSF's URL,
73173         not its snail mail address.
73175 2012-02-09  Richard Henderson  <rth@twiddle.net>
73177         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
73178         of kernel-features.h.
73180         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
73182 2012-02-08  Marek Polacek  <polacek@redhat.com>
73184         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
73185         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
73186         * sysdeps/gnu/_G_config.h: Likewise.
73187         * sysdeps/generic/_G_config.h: Likewise.
73189 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
73191         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
73192         tests.
73193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73195         * sysdeps/powerpc/powerpc32/crti.S: New file.
73196         * sysdeps/powerpc/powerpc32/crtn.S: New file.
73197         * sysdeps/powerpc/powerpc64/crti.S: New file.
73198         * sysdeps/powerpc/powerpc64/crtn.S: New file.
73200         * Makeconfig (have-initfini): Don't set.
73201         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
73202         * configure.in (nopic_initfini): Don't substitute.
73203         * config.h.in (HAVE_INITFINI): Don't #undef.
73204         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
73205         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
73207 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
73209         Support crti.S and crtn.S provided directly by architectures.
73210         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
73211         [crti.S in sysdirs] (omit-deps): Likewise.
73212         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
73213         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
73214         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
73215         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
73216         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
73217         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
73218         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
73219         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
73220         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
73221         compiler output for sysdeps/generic/initfini.c.
73222         * sysdeps/i386/elf/Makefile: Remove file.
73223         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
73225 2012-02-07  Marek Polacek  <polacek@redhat.com>
73227         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
73228         * sysdeps/gnu/_G_config.h: Likewise.
73229         * sysdeps/mach/hurd/_G_config.h: Likewise.
73231 2012-02-07  Marek Polacek  <polacek@redhat.com>
73233         * math/Makefile (tests): Add tst-CMPLX2.
73234         * math/tst-CMPLX2.c: New file.
73236 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
73238         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73240         * math/libm-test.inc (jn_test): Add missing L suffix.
73242 2012-02-06  Marek Polacek  <polacek@redhat.com>
73244         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
73245         * sysdeps/i386/fpu/e_powf.S: Likewise.
73246         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73247         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
73248         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73249         * sysdeps/i386/fpu/e_pow.S: Likewise.
73250         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
73251         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73252         * sysdeps/i386/fpu/s_expm1.S: Likewise.
73253         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
73254         * sysdeps/i386/fpu/e_log2.S: Likewise.
73255         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73256         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73257         * sysdeps/i386/fpu/e_powl.S: Likewise.
73258         * sysdeps/i386/fpu/s_log1p.S: Likewise.
73259         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73260         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
73261         * sysdeps/i386/fpu/e_logl.S: Likewise.
73262         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
73263         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
73264         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
73265         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
73266         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73267         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73268         * sysdeps/i386/fpu/e_log.S: Likewise.
73269         * sysdeps/i386/fpu/s_cexp.S: Likewise.
73270         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73271         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
73272         * sysdeps/i386/fpu/e_logf.S: Likewise.
73273         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73274         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73275         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
73276         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
73277         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
73278         * sysdeps/i386/fpu/e_log10.S: Likewise.
73279         * sysdeps/i386/fpu/s_frexp.S: Likewise.
73280         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73281         * sysdeps/i386/fpu/s_asinh.S: Likewise.
73282         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
73283         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73284         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
73285         * sysdeps/i386/asm-syntax.h: Likewise.
73286         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73287         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73288         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73289         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
73290         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
73291         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73292         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73293         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73294         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73295         * sysdeps/powerpc/sysdep.h: Likewise.
73296         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
73297         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73299 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73301         [BZ #411]
73302         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
73304 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73306         * sysdeps/i386/sysdep.h: Include <features.h>.
73307         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
73308         version.
73310 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
73312         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
73313         Define.
73314         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
73315         LOAD_PIC_REG_STR.
73317 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73319         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
73320         (SETUP_PIC_REG): Use GET_PC_THUNK.
73321         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
73322         macro.
73324 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73326         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
73327         for non-PIC compilation.
73328         (SETUP_PIC_REG): Add .p2align directive.
73329         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
73330         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
73331         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
73332         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
73333         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
73334         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
73335         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
73336         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
73337         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
73338         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
73339         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
73340         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
73341         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
73342         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
73343         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
73344         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
73345         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
73346         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
73347         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
73348         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
73349         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
73350         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
73351         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
73352         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
73353         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
73354         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
73355         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73356         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
73357         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
73358         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
73359         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
73360         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73361         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
73362         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
73363         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
73364         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
73365         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
73366         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
73367         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
73368         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
73369         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
73371 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73373         * math/tst-CMPLX.c: Include <stdio.h>.
73375 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
73377         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
73378         float.
73379         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73380         * sysdeps/sparc/bits/mathdef.h: Likewise.
73382 2012-01-31  Marek Polacek  <polacek@redhat.com>
73384         * libio/libio.h: Don't define _PARAMS.
73385         * locale/programs/config.h: Don't define PARAMS.
73386         * stdlib/strtol_l.c: Likewise.
73387         (__strtol_l): Remove PARAMS from the prototype.
73389 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
73391         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
73392         names.  Just use the correct names.  Remove unnecessary wrapper
73393         functions.
73394         * malloc/arena.c: Likewise.
73395         * malloc/hooks.c: Likewise.
73397         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
73398         ARENA_TEST says not to.  Simplify test for creation of a new arena.
73399         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
73401 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
73403         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
73404         into tail calls.
73405         (update_get_addr): New function.
73406         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
73407         GET_ADDR_MODULE parameter.
73409 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73411         * crypt/cert.c: Remove __STDC__ conditionals.
73412         * crypt/crypt-entry.c: Likewise.
73413         * crypt/crypt_util.c: Likewise.
73414         * libio/filedoalloc.c: Likewise.
73415         * libio/fileops.c: Likewise.
73416         * libio/genops.c: Likewise.
73417         * libio/iofclose.c: Likewise.
73418         * libio/iofdopen.c: Likewise.
73419         * libio/iofopen.c: Likewise.
73420         * libio/iofopen64.c: Likewise.
73421         * libio/iogetdelim.c: Likewise.
73422         * libio/iopopen.c: Likewise.
73423         * libio/obprintf.c: Likewise.
73424         * libio/oldfileops.c: Likewise.
73425         * libio/oldiofclose.c: Likewise.
73426         * libio/oldiofdopen.c: Likewise.
73427         * libio/oldiofopen.c: Likewise.
73428         * libio/oldiopopen.c: Likewise.
73429         * libio/wfiledoalloc.c: Likewise.
73430         * libio/wgenops.c: Likewise.
73431         * locale/programs/xmalloc.c: Likewise.
73432         * misc/syslog.c: Likewise.
73433         * stdio-common/xbug.c: Likewise.
73434         * string/memchr.c: Likewise.
73435         * string/memcmp.c: Likewise.
73436         * string/memrchr.c: Likewise.
73437         * string/rawmemchr.c: Likewise.
73438         * sysdeps/posix/getcwd.c: Likewise.
73439         * time/strftime_l.c: Likewise.
73441 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73443         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
73444         * config.make.in (config-cflags-sse2avx): Define.
73445         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
73446         Fix typo.
73448 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
73450         * scripts/config.guess: Update from upstream config git repository.
73451         * scripts/config.sub: Likewise.
73453 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
73455         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
73456         (EM_NUM): Update.
73457         (R_TILEPRO_*, R_TILEGX_*): New macros.
73459         * scripts/firstversions.awk: Fix bug in version range handling.
73461         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
73463         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
73465         * include/sys/epoll.h: New file.
73466         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
73467         libc_hidden_def.
73469 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
73471         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
73472         Avoid unnecessary __WORDSIZE == 64 test.
73473         (fmaxf): Use VEX format if possible.
73474         (fmax): Likewise.
73475         (fminf): Likewise.
73476         (fmin): Likewise.
73478         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
73479         * math/math_private.h: Remove libc_fegetround* and
73480         libc_fesetround*.
73481         * sysdeps/i386/configure.in: Check for -msse2avx.
73482         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
73483         also if SSE2AVX is defined.
73484         Remove libc_fegetround* and libc_fesetround*.
73485         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
73486         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
73487         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
73488         of HAS_YMM_USABLE.
73489         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73490         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73491         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73492         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73493         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73495         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
73497 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73499         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
73500         size is not set.
73501         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73503 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
73505         [BZ #13618]
73506         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
73507         relocation.
73508         * Makeconfig (libm): Define.
73509         * elf/Makefile: Add rules to build and run tst-relsort1.
73510         * elf/tst-relsort1.c: New file.
73511         * elf/tst-relsort1mod1.c: New file.
73512         * elf/tst-relsort1mod2.c: New file.
73514 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
73516         * math/s_ldexp.c: Remove __STDC__ conditionals.
73517         * math/s_ldexpf.c: Likewise.
73518         * math/s_ldexpl.c: Likewise.
73519         * math/s_nextafter.c: Likewise.
73520         * math/s_nexttowardf.c: Likewise.
73521         * math/s_significand.c: Likewise.
73522         * math/s_significandf.c: Likewise.
73523         * math/s_significandl.c: Likewise.
73524         * math/w_jnl.c: Likewise.
73525         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73526         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73527         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73528         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73529         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73530         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73531         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
73532         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73533         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73534         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73535         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73536         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73537         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73538         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73539         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73540         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73541         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73542         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73543         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73544         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73545         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73546         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73547         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73548         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73549         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73550         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73551         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73552         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73553         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73554         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73555         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73556         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73557         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73558         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73559         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73560         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73561         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73562         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73563         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73564         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73565         * sysdeps/ieee754/k_standard.c: Likewise.
73566         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73567         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73568         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73569         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73570         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73571         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73572         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73573         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73574         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73575         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73576         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73577         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73578         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73579         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73580         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73581         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73582         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73583         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73584         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73585         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73586         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73587         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73588         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73589         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73590         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73591         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73592         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73593         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73594         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73595         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73596         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73597         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
73598         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73599         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73600         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73601         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73602         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
73603         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73604         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73605         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
73606         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
73607         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73608         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
73609         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
73610         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73611         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
73612         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
73613         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73614         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73615         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
73616         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
73617         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73618         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73619         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73620         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73621         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73622         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
73623         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73624         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73625         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73626         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73627         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73628         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73629         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73630         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73631         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73632         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73633         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73634         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73635         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73636         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73637         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73638         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73639         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73640         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73641         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73642         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73643         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73644         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73645         * sysdeps/ieee754/s_matherr.c: Likewise.
73646         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73647         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73648         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73649         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73651 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73653         * crypt/md5.h: Remove __STDC__ conditionals.
73654         * libio/libioP.h: Likewise.
73655         * locale/programs/config.h: Likewise.
73656         * sysdeps/generic/sysdep.h: Likewise.
73657         * sysdeps/i386/asm-syntax.h: Likewise.
73658         * sysdeps/s390/asm-syntax.h: Likewise.
73659         * sysdeps/unix/sysdep.h: Likewise.
73660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
73661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73663 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73665         * libio/libio.h: Remove __STDC__ conditionals.
73666         * malloc/obstack.h: Likewise.
73667         * math/complex.h: Likewise.
73668         * math/math.h: Likewise.
73669         * sysdeps/generic/_G_config.h: Likewise.
73670         * sysdeps/gnu/_G_config.h: Likewise.
73671         * sysdeps/mach/hurd/_G_config.h: Likewise.
73672         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73673         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73674         * sysdeps/sparc/bits/mathdef.h: Likewise.
73676 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
73678         [BZ #13583]
73679         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
73680         Clean up HAS_* macros.
73681         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
73682         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
73683         possible.
73684         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
73685         HAS_AVX.
73686         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73687         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73688         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73689         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73690         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73692 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
73694         * elf/tst-unique3.cc (gets): Remove declaration.
73695         * elf/tst-unique3lib.cc (gets): Likewise.
73696         * elf/tst-unique3lib2.cc (gets): Likewise.
73697         * elf/tst-unique4.cc (gets): Likewise.
73699 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
73701         * include/stdio.h: Add C++ protection.  Add gets declarations and
73702         definitions.
73703         * debug/tst-chk1.c: Don't declare gets here.
73704         * stdio-common/tst-gets.c: Likewise.
73706 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73708         * posix/glob: Remove directory.
73710 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73712         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
73714 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
73716         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
73717         of the non-standard EPFNOSUPPORT.
73719 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73721         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
73722         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
73723         ANYWHERE set to 1 only on KERN_NO_SPACE error.
73725 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
73727         * wcsmbs/uchar.h: Test __STDC_VERSION__.
73729 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
73731         * nscd/aicache.c (addhstaiX): Do not cache negative results of
73732         transient errors.
73733         * nscd/grpcache.c (cache_addgr): Likewise.
73734         * nscd/hstcache.c (cache_addhst): Likewise.
73735         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73736         * nscd/pwdcache.c (cache_addpw): Likewise.
73737         * nscd/servicescache.c (cache_addserv): Likewise.
73739 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
73741         * malloc/malloc.c: Various cleanups.
73742         * malloc/hooks.c: Likewise.
73744         * stdlib/Makefile (tests): Add bug-fmtmsg1.
73745         * stdlib/bug-fmtmsg1.c: New file.
73747         * stdlib/fmtmsg.c (init): Add missing unlock.
73748         Patch by Peng Haitao <penght@cn.fujitsu.com>.
73750 2012-01-12  Marek Polacek  <polacek@redhat.com>
73752         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
73753         and _GNU_SOURCE.
73755 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73757         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
73758         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
73759         macro to ensure uniqueness of label name.
73760         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73761         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73763 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
73765         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
73767         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
73768         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73769         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73770         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
73772 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
73774         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
73776         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
73777         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73778         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73780         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
73782         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
73783         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73784         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73785         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
73787         * math/bits/math-finite.h: Add ldexp support.
73789 2012-01-10  Marek Polacek  <polacek@redhat.com>
73791         * locale/programs/localedef.h (show_archive_content): Add noreturn
73792         attribute.
73794 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
73796         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
73798 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73800         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
73802         * io/Makefile (headers): Add bits/poll2.h.
73804 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
73806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
73807         typo #include statement.
73809 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73811         * include/sys/cdefs.h: Define __attribute_alloc_size.
73812         * catgets/gencat.c: Add alloc_size attribute and apply consistently
73813         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
73814         * elf/pldd.c: Likewise.
73815         * iconv/iconv_charmap.c: Likewise.
73816         * iconv/iconvconfig.c: Likewise.
73817         * iconv/strtab.c: Likewise.
73818         * locale/programs/locale.c: Likewise.
73819         * locale/programs/localedef.h: Likewise.
73820         * locale/programs/simple-hash.c: Likewise.
73821         * nscd/nscd.h: Likewise.
73822         * nss/makedb.c: Likewise.
73823         * sysdeps/generic/ldconfig.h: Likewise.
73824         * locale/programs/localedef.c: Remove xmalloc prototype.
73825         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
73827 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73829         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
73830         appropriate.
73832 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73834         * math/Makefile (tests): Add tst-CMPLX.
73835         * math/tst-CMPLX.c: New file.
73837         * math/complex.h (CMPLXL): Fix typo.
73839         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
73840         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
73841         GLIBC_2.16.
73842         * debug/tst-chk1.c: Add poll and ppoll tests.
73843         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
73844         * include/sys/poll.h: Add hidden proto for ppoll.
73845         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
73846         * sysdeps/mach/hurd/ppoll.c: Likewise.
73847         * io/ppoll.c: Likewise.
73848         * debug/poll_chk.c: New file.
73849         * debug/ppoll_chk.c: New file.
73850         * include/bits/poll2.h: New file.
73851         * io/bits/poll2.h: New file.
73853         [BZ #1350]
73854         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
73856         * configure.in: static is always set to yes.  Remove.
73857         * config.make.in: Don't set build-static.
73858         * Makeconfig: Remove use of build-static.
73859         * dlfcn/Makefile: Likewise.
73860         * elf/Makefile: Likewise.
73861         * math/Makefile: Likewise.
73862         * misc/Makefile: Likewise.
73863         * nptl/Makefile: Likewise.
73864         * sysdeps/mach/hurd/Makefile: Likewise.
73866         * configure.in: PWD_P is not used anymore.
73867         * config.make.in: Remove PWD_P entry.
73869         * configure.in: Remove last remnants of RANLIB.
73870         No need to check for signed size_t anymore.
73871         Don't set libc_commonpagesize and libc_relro_required here for Alpha
73872         and IA-64.
73873         Remove __builtin_expect test because we require at least gcc 3.4.
73874         * aclocal.m4: Likewise.
73876         * wcsmbs/mbrtoc16.c: Implement using towc function.
73877         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
73878         * wcsmbs/wcsmbsload.c: Likewise.
73879         * iconv/gconv_simple.c: Likewise.
73880         * iconv/gconv_int.h: Likewise.
73881         * iconv/gconv_builtin.h: Likewise.
73882         * iconv/iconv_prog.c: Remove CHAR16 handling.
73884         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
73886         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
73888         * configure.in: Remove --with-elf and --enable-bounded options.
73889         Dont set base_machine for ia64.  More non-ELF conditions removed.
73890         Remove testing and setting of leading underscore information.
73891         * config.make.in (build-bounded): Set to no.
73892         * config.h.in: Remove NO_UNDERSCORES entry.
73893         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
73894         them.
73895         * csu/start.c: Remove !NO_UNDERSCORE code.
73896         * locale/localeinfo.h: Likewise.
73897         * sysdeps/generic/machine-gmon.h: Likewise.
73898         * sysdeps/generic/sysdep.h: Likewise.
73899         * sysdeps/i386/sysdep.h: Likewise.
73900         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73901         * sysdeps/mach/sysdep.h: Likewise.
73902         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73903         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73904         * sysdeps/sh/sysdep.h: Likewise.
73905         * sysdeps/sparc/sparc32/alloca.S: Likewise.
73906         * sysdeps/unix/i386/sysdep.S: Likewise.
73907         * sysdeps/unix/sparc/start.c: Likewise.
73908         * sysdeps/unix/sparc/sysdep.S: Likewise.
73909         * sysdeps/unix/sparc/sysdep.h: Likewise.
73910         * sysdeps/unix/start.c: Likewise.
73911         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73912         * sysdeps/x86_64/sysdep.h: Likewise.
73914 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
73916         [BZ #13553]
73917         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
73918         for non-gcc.
73919         * argp/argp-fmtstream.h: Use const instead __const.
73920         * argp/argp.h: Likewise.
73921         * assert/assert.h: Likewise.
73922         * bits/fenv.h: Likewise.
73923         * bits/sched.h: Likewise.
73924         * bits/sigset.h: Likewise.
73925         * bits/sigthread.h: Likewise.
73926         * catgets/nl_types.h: Likewise.
73927         * conform/data/pthread.h-data: Likewise.
73928         * crypt/crypt-private.h: Likewise.
73929         * crypt/crypt.h: Likewise.
73930         * crypt/crypt_util.c: Likewise.
73931         * ctype/ctype.h: Likewise.
73932         * debug/execinfo.h: Likewise.
73933         * debug/mbsnrtowcs_chk.c: Likewise.
73934         * debug/mbsrtowcs_chk.c: Likewise.
73935         * debug/wcsnrtombs_chk.c: Likewise.
73936         * debug/wcsrtombs_chk.c: Likewise.
73937         * debug/wcstombs_chk.c: Likewise.
73938         * dirent/dirent.h: Likewise.
73939         * dlfcn/dlfcn.h: Likewise.
73940         * elf/neededtest4.c: Likewise.
73941         * grp/grp.h: Likewise.
73942         * gshadow/gshadow.h: Likewise.
73943         * iconv/gconv.h: Likewise.
73944         * iconv/gconv_int.h: Likewise.
73945         * iconv/gconv_simple.c: Likewise.
73946         * iconv/iconv.h: Likewise.
73947         * iconv/loop.c: Likewise.
73948         * iconv/skeleton.c: Likewise.
73949         * include/aio.h: Likewise.
73950         * include/aliases.h: Likewise.
73951         * include/argz.h: Likewise.
73952         * include/arpa/inet.h: Likewise.
73953         * include/assert.h: Likewise.
73954         * include/dirent.h: Likewise.
73955         * include/dlfcn.h: Likewise.
73956         * include/execinfo.h: Likewise.
73957         * include/fcntl.h: Likewise.
73958         * include/fenv.h: Likewise.
73959         * include/glob.h: Likewise.
73960         * include/grp.h: Likewise.
73961         * include/libintl.h: Likewise.
73962         * include/mntent.h: Likewise.
73963         * include/netdb.h: Likewise.
73964         * include/pwd.h: Likewise.
73965         * include/rpc/netdb.h: Likewise.
73966         * include/sched.h: Likewise.
73967         * include/search.h: Likewise.
73968         * include/shadow.h: Likewise.
73969         * include/signal.h: Likewise.
73970         * include/stdio.h: Likewise.
73971         * include/stdlib.h: Likewise.
73972         * include/string.h: Likewise.
73973         * include/sys/socket.h: Likewise.
73974         * include/sys/stat.h: Likewise.
73975         * include/sys/statfs.h: Likewise.
73976         * include/sys/statvfs.h: Likewise.
73977         * include/sys/syslog.h: Likewise.
73978         * include/sys/time.h: Likewise.
73979         * include/sys/uio.h: Likewise.
73980         * include/time.h: Likewise.
73981         * include/unistd.h: Likewise.
73982         * include/utmp.h: Likewise.
73983         * include/wchar.h: Likewise.
73984         * include/wctype.h: Likewise.
73985         * inet/aliases.h: Likewise.
73986         * inet/arpa/inet.h: Likewise.
73987         * inet/netinet/ether.h: Likewise.
73988         * inet/netinet/in.h: Likewise.
73989         * intl/libintl.h: Likewise.
73990         * io/bits/fcntl2.h: Likewise.
73991         * io/fcntl.h: Likewise.
73992         * io/ftw.h: Likewise.
73993         * io/sys/poll.h: Likewise.
73994         * io/sys/stat.h: Likewise.
73995         * io/sys/statfs.h: Likewise.
73996         * io/sys/statvfs.h: Likewise.
73997         * io/utime.h: Likewise.
73998         * libio/bits/stdio.h: Likewise.
73999         * libio/bits/stdio2.h: Likewise.
74000         * libio/libio.h: Likewise.
74001         * libio/libioP.h: Likewise.
74002         * libio/stdio.h: Likewise.
74003         * locale/lc-ctype.c: Likewise.
74004         * locale/locale.h: Likewise.
74005         * login/utmp.h: Likewise.
74006         * malloc/arena.c: Likewise.
74007         * malloc/malloc.c: Likewise.
74008         * malloc/malloc.h: Likewise.
74009         * malloc/mcheck.c: Likewise.
74010         * malloc/mtrace.c: Likewise.
74011         * math/bits/mathcalls.h: Likewise.
74012         * math/fenv.h: Likewise.
74013         * math/math_private.h: Likewise.
74014         * misc/bits/error.h: Likewise.
74015         * misc/bits/syslog.h: Likewise.
74016         * misc/err.h: Likewise.
74017         * misc/error.h: Likewise.
74018         * misc/fstab.h: Likewise.
74019         * misc/mntent.h: Likewise.
74020         * misc/regexp.h: Likewise.
74021         * misc/search.h: Likewise.
74022         * misc/sgtty.h: Likewise.
74023         * misc/sys/mman.h: Likewise.
74024         * misc/sys/syslog.h: Likewise.
74025         * misc/sys/uio.h: Likewise.
74026         * misc/sys/xattr.h: Likewise.
74027         * misc/ttyent.h: Likewise.
74028         * nis/rpcsvc/ypclnt.h: Likewise.
74029         * nss/nss.h: Likewise.
74030         * posix/bits/unistd.h: Likewise.
74031         * posix/fnmatch.h: Likewise.
74032         * posix/glob.h: Likewise.
74033         * posix/sched.h: Likewise.
74034         * posix/spawn.h: Likewise.
74035         * posix/sys/wait.h: Likewise.
74036         * posix/unistd.h: Likewise.
74037         * posix/wordexp.h: Likewise.
74038         * pwd/pwd.h: Likewise.
74039         * resolv/netdb.h: Likewise.
74040         * resource/sys/resource.h: Likewise.
74041         * rt/aio.h: Likewise.
74042         * rt/bits/mqueue2.h: Likewise.
74043         * rt/mqueue.h: Likewise.
74044         * shadow/shadow.h: Likewise.
74045         * signal/signal.h: Likewise.
74046         * socket/send.c: Likewise.
74047         * socket/sendto.c: Likewise.
74048         * socket/sys/socket.h: Likewise.
74049         * stdio-common/printf.h: Likewise.
74050         * stdlib/bits/stdlib.h: Likewise.
74051         * stdlib/fmtmsg.h: Likewise.
74052         * stdlib/monetary.h: Likewise.
74053         * stdlib/stdlib.h: Likewise.
74054         * stdlib/ucontext.h: Likewise.
74055         * streams/stropts.h: Likewise.
74056         * string/argz.h: Likewise.
74057         * string/bits/string2.h: Likewise.
74058         * string/string.h: Likewise.
74059         * string/strings.h: Likewise.
74060         * sunrpc/rpc/auth.h: Likewise.
74061         * sunrpc/rpc/auth_des.h: Likewise.
74062         * sunrpc/rpc/clnt.h: Likewise.
74063         * sunrpc/rpc/netdb.h: Likewise.
74064         * sunrpc/rpc/pmap_clnt.h: Likewise.
74065         * sunrpc/rpc/xdr.h: Likewise.
74066         * sysdeps/generic/inttypes.h: Likewise.
74067         * sysdeps/generic/net/if.h: Likewise.
74068         * sysdeps/generic/sys/swap.h: Likewise.
74069         * sysdeps/gnu/net/if.h: Likewise.
74070         * sysdeps/gnu/utmpx.h: Likewise.
74071         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
74072         * sysdeps/i386/i486/bits/string.h: Likewise.
74073         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
74074         * sysdeps/s390/bits/string.h: Likewise.
74075         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
74076         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
74077         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
74078         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
74079         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
74080         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
74081         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
74082         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
74083         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
74084         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
74085         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
74086         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
74087         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
74088         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
74089         * sysdeps/unix/sysv/linux/readv.c: Likewise.
74090         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
74091         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
74092         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74093         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
74094         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
74095         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74096         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
74097         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
74098         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
74099         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
74100         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
74101         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
74102         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74103         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
74104         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
74105         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
74106         * sysvipc/sys/ipc.h: Likewise.
74107         * sysvipc/sys/msg.h: Likewise.
74108         * sysvipc/sys/sem.h: Likewise.
74109         * sysvipc/sys/shm.h: Likewise.
74110         * termios/termios.h: Likewise.
74111         * time/sys/time.h: Likewise.
74112         * time/time.h: Likewise.
74113         * wcsmbs/bits/wchar2.h: Likewise.
74114         * wcsmbs/uchar.h: Likewise.
74115         * wcsmbs/wchar.h: Likewise.
74116         * wctype/wctype.h: Likewise.
74118         [BZ #13551]
74119         * Makeconfig: Remove all but ELF support including AIX support.
74120         * Makerules: Likewise.
74121         * config.h.in: Likewise.
74122         * config.make.in: Likewise.
74123         * configure: Likewise.
74124         * configure.in: Likewise.
74125         * csu/Makefile: Likewise.
74126         * csu/version.c: Likewise.
74127         * debug/Makefile: Likewise.
74128         * dlfcn/Makefile: Likewise.
74129         * elf/Makefile: Likewise.
74130         * extra-lib.mk: Likewise.
74131         * iconv/Makefile: Likewise.
74132         * include/libc-symbols.h: Likewise.
74133         * include/shlib-compat.h: Likewise.
74134         * resolv/Makefile: Likewise.
74135         * resolv/res_libc.c: Likewise.
74136         * rt/Makefile: Likewise.
74137         * sysdeps/i386/asm-syntax.h: Likewise.
74138         * sysdeps/i386/sysdep.h: Likewise.
74139         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74140         * sysdeps/mach/sysdep.h: Likewise.
74141         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
74142         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
74143         * sysdeps/s390/asm-syntax.h: Likewise.
74144         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74145         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74146         * sysdeps/sh/sysdep.h: Likewise.
74147         * sysdeps/unix/sparc/sysdep.h: Likewise.
74148         * sysdeps/wordsize-32/divdi3.c: Likewise.
74149         * sysdeps/x86_64/sysdep.h: Likewise.
74151         * argp/Versions: Remove _argp_unlock_xxx.
74153         [BZ #13559]
74154         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
74155         * abilist/libBrokenLocale.abilist: Likewise.
74156         * abilist/libanl.abilist: Likewise.
74157         * abilist/libc.abilist: Likewise.
74158         * abilist/libcrypt.abilist: Likewise.
74159         * abilist/libdl.abilist: Likewise.
74160         * abilist/libm.abilist: Likewise.
74161         * abilist/libnsl.abilist: Likewise.
74162         * abilist/libpthread.abilist: Likewise.
74163         * abilist/libresolv.abilist: Likewise.
74164         * abilist/librt.abilist: Likewise.
74165         * abilist/libthread_db.abilist: Likewise.
74166         * abilist/libutil.abilist: Likewise.
74167         * abilist/libnss_db.abilist: New file.
74169         * scripts/abilist.awk: Add support for indirect functions.
74171         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
74173         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
74175         * shlib-versions: Remove entries for ports architectures.
74177         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
74178         files in ports.
74179         * elf/stackguard-macros.h: Remove support for IA-64.
74180         * elf/tst-auditmod1.c: Likewise.
74181         * sysdeps/generic/ldsodefs.h: Likewise.
74183         * sysdeps/unix/sysv/linux/configure.in: Ports should define
74184         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
74185         configure files.
74187         [BZ #13552]
74188         * configure.in: Remove --enable-omitfp support.
74189         * FAQ.in: Adjust.
74190         * config.make.in: Likewise.
74191         * Makeconfig: Likewise.
74192         * manual/install.texi: Likewise.
74194         In case anyone cares, the IA-64 architecture could move to ports.
74195         * sysdeps/ia64/*: Removed.
74196         * sysdeps/unix/sysv/linux/ia64/*: Removed.
74197         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
74199         [BZ #13555]
74200         * configure.in: Remove entries for unsupported architectures.
74202         [BZ #13533]
74203         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
74204         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
74205         routines.
74206         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
74207         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
74208         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
74209         fall back to using wcrtomb.
74210         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
74211         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
74212         renaming.
74213         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
74214         * wcsmbs/tst-c16c32-1.c: New file.
74216         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
74217         local variable.
74219         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
74221         * elf/tst-unique3.cc: Add explicit declaration of gets.
74222         * elf/tst-unique3lib.cc: Likewise.
74223         * elf/tst-unique3lib2.cc: Likewise.
74224         * elf/tst-unique4.cc: Likewise.
74226         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
74228 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
74230         [BZ #13566]
74231         * assert/assert.h (static_assert): Don't define for C++.
74232         * libio/stdio.h (gets): Do declare for C++ <= C++11.
74233         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
74235 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
74237         * iconv/loop.c (single loop): Fix assertion in storing of
74238         remaining bytes.
74240         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
74242 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
74244         * posix/getconf.c: Update copyright year.
74245         * nss/getent.c: Likewise.
74246         * nss/makedb.c: Likewise.
74247         * iconv/iconvconfig.c: Likewise.
74248         * iconv/iconv_prog.c: Likewise.
74249         * elf/ldconfig.c: Likewise.
74250         * elf/pldd.c: Likewise.
74251         * elf/sotruss.ksh: Likewise.
74252         * catgets/gencat.c: Likewise.
74253         * csu/version.c: Likewise.
74254         * elf/ldd.bash.in: Likewise.
74255         * elf/sprof.c (print_version): Likewise.
74256         * locale/programs/locale.c: Likewise.
74257         * locale/programs/localedef.c: Likewise.
74258         * login/programs/pt_chown.c: Likewise.
74259         * nscd/nscd.c (print_version): Likewise.
74260         * debug/xtrace.sh: Likewise.
74261         * malloc/memusage.sh: Likewise.
74262         * malloc/mtrace.pl: Likewise.
74263         * debug/catchsegv.sh: Likewise.
74265 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
74267         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
74268         pure attribute.
74270 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
74272         [BZ #13533]
74273         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
74274         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
74275         transformations.
74276         * iconv/gconv_int.h: Likewise.
74277         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
74278         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
74279         from libc for GLIBC_2.16.
74280         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
74281         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
74282         * wcsmbs/uchar.h: Really define mbstate_t.
74283         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
74284         * wcsmbs/c16rtomb.c: New file.
74285         * wcsmbs/mbrtoc16.c: New file.
74286         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
74287         for C/POSIX locale.
74288         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
74289         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
74291         * wcsmbs/wchar.h: Add missing __restrict.
74293 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74295         [BZ #13532]
74296         * time/Makefile (routines): Add timespec_get.
74297         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
74298         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
74299         timespec for ISO C11.
74300         * time/timespec_get.c: New file.
74301         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
74302         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
74304         [BZ #13531]
74305         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
74306         * stdlib/stdlib.h: Declare aligned_alloc.
74307         * Versions.def: Add GLIBC_2.16 for libc.
74308         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
74310         [BZ 13527]
74311         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
74312         ISO C11.
74314         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
74315         code.
74317         [BZ #13528]
74318         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
74320         [BZ #13529]
74321         * assert/assert.h (static_assert): Define.
74323         * version.h: Update for 2.16 development version.
74325         [BZ #13526]
74326         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
74327         _ISOC11_SOURCE.
74329         * version.h (RELEASE): Bump for 2.15 release.
74330         * include/features.h (__GLIBC_MINOR__): Bump to 15.
74332         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
74333         Patch by Marek Polacek <mpolacek@redhat.com>.
74335         * bits/byteswap.h: Protect long long constants with __extension__.
74336         * sysdeps/i386/bits/byteswap.h: Likewise.
74337         * sysdeps/ia64/bits/byteswap.h: Likewise.
74338         * sysdeps/s390/bits/byteswap.h: Likewise.
74339         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74341 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74343         [BZ #13540]
74344         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
74345         destination buffer.
74346         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
74348 2011-12-23  Marek Polacek  <polacek@redhat.com>
74350         * elf/dl-addr.c (determine_info): Add inline keyword.
74351         * elf/tst-auditmod4b.c (check_avx): Likewise.
74352         * elf/tst-auditmod6b.c (check_avx): Likewise.
74353         * elf/tst-auditmod6c.c (check_avx): Likewise.
74354         * elf/tst-auditmod7b.c (check_avx): Likewise.
74356 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74358         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
74359         !__SSE_MATH__.
74361 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74363         [BZ #13540]
74364         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
74365         processing for last bytes.
74367 2011-08-06  Bruno Haible  <bruno@clisp.org>
74369         [BZ #13061]
74370         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
74371         U+0385, not to U+1FEE.
74373         [BZ #13062]
74374         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
74375         entry for U+00A5 U+0301.
74377 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74379         [BZ #13166]
74380         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
74381         buffer for the output is too small.
74383         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
74384         optimization.
74386         [BZ #13185]
74387         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
74388         SSE flags if possible.
74390 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74392         [BZ #13540]
74393         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
74394         processing for last bytes.
74396 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
74398         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
74399         (syscall-list-default-options, syscall-list-default-condition)
74400         (syscall-list-includes): Define.
74401         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
74402         list of ABIs and options and #if conditions for each ABI.  Do not
74403         handle common syscalls between ABIs specially.
74404         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
74405         Remove.
74406         (syscall-list-variants, syscall-list-32bit-options)
74407         (syscall-list-32bit-condition, syscall-list-64bit-options)
74408         (syscall-list-64bit-condition): Define.
74409         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
74410         (syscall-list-variants, syscall-list-32bit-options)
74411         (syscall-list-32bit-condition, syscall-list-64bit-options)
74412         (syscall-list-64bit-condition): Define.
74413         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
74414         Remove.
74415         (syscall-list-variants, syscall-list-32bit-options)
74416         (syscall-list-32bit-condition, syscall-list-64bit-options)
74417         (syscall-list-64bit-condition): Define.
74418         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
74419         Remove.
74420         (syscall-list-variants, syscall-list-32bit-options)
74421         (syscall-list-32bit-condition, syscall-list-64bit-options)
74422         (syscall-list-64bit-condition): Define.
74424 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74426         * locale/iso-639.def: Add brx entry.
74428         [BZ #13328]
74429         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
74430         Proposed by Mariusz_Cukr <marcukr@op.pl>.
74432         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
74433         __feraiseexcept_renamed.
74435 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74437         [BZ #13538]
74438         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
74439         EPOLLET with unsigned values.
74440         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74441         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74443         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
74444         to large cancellation.
74445         * math/s_cacoshf.c: Likewise.
74446         * math/s_cacoshl.c: Likewise.
74448 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
74450         [BZ #13305]
74451         [BZ #12786]
74452         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
74453         * math/s_cacoshf.c: Likewise.
74454         * math/s_cacoshl.c: Likewise.
74456 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74458         [BZ #13439]
74459         * iconv/gconv.h: Define __GCONV_SWAP.
74460         * iconvdata/unicode.c: The swap bit must be stored in __flags.
74461         * iconvdata/utf-16.c: Likewise.
74462         * iconvdata/utf-32.c: Likewise.
74464 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
74466         [BZ #13524]
74467         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
74468         numerator after shifting it by one limb.
74470 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
74472         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
74473         under [__USE_EXTERN_INLINES].
74475 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74477         [BZ #13446]
74478         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
74480 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74482         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
74483         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
74484         optimized code.
74485         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
74486         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
74487         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
74488         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
74489         for strncasecmp/strncasecmp_l compilation.
74490         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
74491         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
74493 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
74495         [BZ #13484]
74496         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
74497         of __asm__.
74499 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74501         [BZ #13506]
74502         * time/tzfile.c (__tzfile_read): Check values from file header.
74504 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
74506         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
74507         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
74508         * powerpc/powerpc32/dl-start.S: Likewise.
74509         * powerpc/powerpc32/elf/start.S: Likewise.
74510         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
74511         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
74512         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
74513         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
74514         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
74515         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
74516         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
74517         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
74518         * powerpc/powerpc32/fpu/s_round.S: Likewise.
74519         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
74520         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
74521         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
74522         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
74523         * powerpc/powerpc32/memset.S: Likewise.
74524         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
74525         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
74526         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
74527         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
74528         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
74529         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
74530         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
74531         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
74532         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
74533         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
74534         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
74535         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74536         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74538 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74540         * math/libm-test.inc: Added more nearbyint tests.
74541         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
74542         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
74543         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
74544         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
74546 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
74548         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
74549         FD_CLOEXEC.
74551 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74553         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
74554         Add wcscpy-ssse3 wcscpy-c.
74555         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
74556         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
74557         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
74558         * sysdeps/x86_64/wcschr.S: New file.
74559         * sysdeps/x86_64/wcsrchr.S: New file.
74560         * string/test-strcmp.c: Remove checking of wcscmp function for
74561         wrong alignments.
74562         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
74563         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
74564         wcsrchr-sse2 wcsrchr-c.
74565         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
74566         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
74567         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
74568         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
74569         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
74570         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
74571         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
74572         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
74573         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
74574         * wcsmbc/wcschr.c (WCSCHR): New macro.
74576 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74578         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
74579         * wcsmbs/test-wcsrchr.c: New file.
74580         * string/test-strrchr.c: Add wcsrchr support.
74581         (WIDE): New macro.
74582         * wcsmbs/test-wcscpy.c: New file.
74583         * string/test-strcpy.c: Add wcscpy support.
74584         (WIDE): New macro.
74586 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
74588         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
74589         the inner loop.
74591 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
74593         [BZ #13472]
74594         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
74596 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
74598         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
74599         Minor optimizations.
74601         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
74602         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
74603         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
74605 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
74607         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
74608         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
74609         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
74610         for gcc to avoid warnings.
74611         * inet/Makefile (tests): Add tst-checks.
74612         * inet/tst-checks.c: New file.
74614         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
74615         warning.
74617         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
74618         __wmemcmp_sse2.
74620         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
74621         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
74623         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
74625 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
74627         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
74628         problem.
74630         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
74632 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
74634         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
74635         conditional on GCC version.
74636         (__arch_compare_and_exchange_val_8_acq)
74637         (__arch_compare_and_exchange_val_16_acq)
74638         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
74639         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
74640         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
74642 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
74644         * sysdeps/sh/backtrace.c: New file.
74646 2011-12-02  Andreas Schwab  <schwab@redhat.com>
74648         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
74649         parenthesis.
74651 2011-12-01  Andreas Schwab  <schwab@redhat.com>
74653         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
74654         falling back to utime.
74656 2011-11-30  Andreas Schwab  <schwab@redhat.com>
74658         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
74659         expectations for float.
74661 2011-11-29  Andreas Schwab  <schwab@redhat.com>
74663         * locale/weight.h (findidx): Add parameter len.
74664         * locale/weightwc.h (findidx): Likewise.
74665         * posix/fnmatch_loop.c (FCT): Adjust caller.
74666         * posix/regcomp.c (build_equiv_class): Likewise.
74667         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
74668         * posix/regexec.c (check_node_accept_bytes): Likewise.
74669         * string/strcoll_l.c (STRCOLL): Likewise.
74670         * string/strxfrm_l.c (STRXFRM): Likewise.
74672 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
74674         * Makefile.in: Remove CVSOPT handling.
74675         * configure.in: Remove use of AC_REVISION.
74676         * iconvdata/Makefile (distribute): No need to filter out CVS.
74677         * scripts/list-sources.sh: Remove CVS, subversion and monotone
74678         handling.
74680 2011-11-16  Andreas Schwab  <schwab@redhat.com>
74682         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
74683         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
74684         [USE_AS_STRNCASECMP_L]: Likewise.
74685         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
74686         NO_TLS_DIRECT_SEG_REFS.
74687         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
74688         Fix argument offsets for non-PIC.
74689         [USE_AS_STRNCASECMP_L]: Likewise.
74690         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
74691         NO_TLS_DIRECT_SEG_REFS.
74693 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74695         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
74696         O_CLOEXEC.
74697         * locale/loadlocale.c (_nl_load_locale): Likewise.
74699 2011-11-15  Andreas Schwab  <schwab@redhat.com>
74701         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
74702         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
74703         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
74704         (SYSCALL_GETTIME): Set errno on error.
74706         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
74707         count references to noai6ai_cached.
74709 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74711         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
74713         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
74714         FD_CLOEXEC for /proc/self/maps.
74716         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
74717         FD_CLOEXEC for /proc/meminfo.
74719         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
74720         gai.conf.
74722         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
74723         FD_CLOEXEC for given file.
74725         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
74727         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
74728         FD_CLOEXEC for /etc/hosts.
74729         (_gethtent): Likewise.
74731         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
74733         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
74734         cancellation and set FD_CLOEXEC for /etc/netgroup.
74736         * nss/nss_files/files-key.c (search): Don't allow cancellation when
74737         reading /etc/publickey.
74739         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
74740         allow cancellation when reading /etc/group.
74742         * nss/nss_files/files-alias.c (internal_setent): Don't allow
74743         cancellation.
74744         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
74746         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
74747         when using data file.
74749         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
74751         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
74752         (write_nis_obj): Use "c" and "e" in fopen.
74754         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
74756         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
74758         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
74760         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
74762         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
74763         locale.alias.
74765         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
74767         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
74769         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
74771         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
74772         file parsing and set FD_CLOEXEC.
74774 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74776         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
74778 2011-11-14  Andreas Schwab  <schwab@redhat.com>
74780         * malloc/arena.c (arena_get2): Don't call reused_arena when
74781         _int_new_arena failed.
74783 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74785         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
74786         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
74787         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
74788         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74789         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74790         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
74791         to compile strcasecmp and strncasecmp.
74792         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
74793         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
74795         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
74797 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
74799         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
74800         locale-defines.sym to gen-as-const-headers.
74801         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
74802         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
74803         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
74804         to compile strcasecmp and strncasecmp.
74805         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
74806         strcasecmp_l and strncasecmp_l.
74807         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
74808         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
74809         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
74810         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
74811         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
74812         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
74813         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
74814         * sysdeps/i386/i686/multiarch/strncase.S: New file.
74815         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
74816         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
74817         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
74819 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
74821         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
74822         result of SYSDEP_GETTIME_CPU to retval.
74823         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
74824         parameter list to macro.  Remove trailing semicolon.  Adjust users.
74826         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
74827         variable.
74829         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
74830         mantissa words.
74831         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
74833         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
74834         from unused variable.
74836         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
74837         DWARF definitions.
74838         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
74839         for assembling.
74841         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
74842         over namespaces.
74844         * sunrpc/rpc_prot.c (rejected): Fix case value.
74846         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
74847         unsigned long long int to avoid warnings in shift.
74849         * posix/regex_internal.c (re_string_reconstruct): Actually use result
74850         of use of trans.
74851         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
74852         variable tmp.
74854         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
74855         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
74856         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
74858         * nis/nis_table.c (nis_list): Use variable of correct type for
74859         result of __follow_path call.
74861 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74863         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
74864         of math functions ceil, trunc, floor, round, and sqrt, when
74865         avaliable on the platform.
74866         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
74867         name clash.
74868         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74869         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74870         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74872 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
74874         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
74875         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
74877 2011-11-11  Roland McGrath  <roland@hack.frob.com>
74879         * include/unistd.h: Fix __readlink return type.
74880         Reported by Chris Metcalf <cmetcalf@tilera.com>.
74882 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
74884         * stdlib/ucontext.h: Undo last change for makecontext.
74886 2011-11-11  Andreas Schwab  <schwab@redhat.com>
74888         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
74890         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
74891         * setjmp/setjmp.h: Mark functions as non-leaf.
74892         * setjmp/bits/setjmp2.h: Likewise.
74893         * stdlib/ucontext.h: Likewise.
74895 2011-11-10  Andreas Schwab  <schwab@redhat.com>
74897         * malloc/arena.c (_int_new_arena): Don't increment narenas.
74898         (reused_arena): Don't check arena limit.
74899         (arena_get2): Atomically check arena limit.
74901 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
74903         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
74904         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
74906         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
74907         instructions.
74909 2011-11-07  Andreas Schwab  <schwab@redhat.com>
74911         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
74912         handler when locking.
74914         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74915         Fix size of allocated buffer.
74917 2011-11-04  Andreas Schwab  <schwab@redhat.com>
74919         [BZ #10103]
74920         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
74921         declarations for long double functions.
74922         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
74924         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
74926 2011-11-03  Andreas Schwab  <schwab@redhat.com>
74928         * nscd/nscd.c (main): Don't start AVC thread until credentials are
74929         installed.
74931         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
74932         is disabled.
74934 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74936         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
74938 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74940         * include/alloca.h (stackinfo_alloca_round): Define.
74941         (extend_alloca): Use it.
74942         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
74943         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
74944         here.
74946         * scripts/check-local-headers.sh: Ignore libaudit.h.
74948         * nscd/Makefile (extra-objs): Make recursively expanded.
74950 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
74952         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
74953         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
74955         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
74956         * posix/tst-rfc3484-2.c: Likewise.
74957         * posix/tst-rfc3484-3.c: Likewise.
74959         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74960         process_vm_writev.
74961         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
74962         process_vm_writev.
74963         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
74964         process_vm_writev from libc using GLIBC_2.15 version.
74966         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
74968 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
74970         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
74971         stack usage.
74973 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
74975         [BZ #13367]
74976         * nss/getent.c (initgroups_keys): Show error message in case no group
74977         names are given.
74979         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
74980         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
74981         __bump_nl_timestamp.
74982         * nscd/connections (nscd_init): When host database is served open
74983         netlink socket and request notification about configuration changes.
74984         (main_loop_poll): Track netlink file descriptor and bump timestamp
74985         in case data becomes available.
74986         (main_loop_epoll): Likewise.
74987         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
74988         (database_pers_head): Add extra_data fileds.
74989         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
74990         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
74991         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
74992         Adjust caller.
74993         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
74994         in6ai data, call __free_in6ai.
74995         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
74996         Add -DHAVE_NETLINK.
74997         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
74998         interface information.  Reuse previous data if netlink timestamp
74999         is not changed.
75000         (__bump_nl_timestamp): New function.
75001         (__free_in6ai): New function.
75003 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
75005         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
75006         close_not_cancel_no_status here.
75007         (__check_pf): Reorganize code a bit to not call close twice if OOM.
75009 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75011         [BZ #13276]
75012         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
75013         return value.
75015         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
75016         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
75017         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
75019 2011-07-03  Andreas Jaeger  <aj@suse.de>
75021         [BZ #10709]
75022         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
75023         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
75024         * math/libm-test.inc (sin_test): Add test case.
75026 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75028         [BZ #13337]
75029         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
75030         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75032         * elf/chroot_canon.c (chroot_canon): Cleanups.
75034         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
75036         [BZ #13335]
75037         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
75038         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75040         * string/test-strchr.c: Make usable for strchrnul testing.
75041         * string/test-strchrnul.c: New file.
75042         * string/Makefile (strop-tests): Add strchrnul.
75044         * po/it.po: Update from translation team.
75045         * po/es.po: Likewise.
75047 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
75049         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
75050         the three constants needed as parameters.  Drop the others.
75051         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
75052         __m128i_strloadu_tolower.
75053         Create and initialize variable zero and use it in all the places
75054         where _mm_setzero_si128 was used.
75056         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
75057         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
75058         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
75059         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
75060         anymore.
75061         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
75062         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
75063         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
75064         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
75065         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
75066         __mpranred, __mptan.
75067         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
75068         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
75069         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
75070         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
75071         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
75072         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
75073         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
75074         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
75075         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
75077 2011-10-28  Andreas Schwab  <schwab@redhat.com>
75079         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
75080         redefine if SHARED.
75081         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
75083         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
75084         wide char related routines to wcsmbs subdir.
75086 2011-10-27  Andreas Schwab  <schwab@redhat.com>
75088         [BZ #13344]
75089         * misc/sys/cdefs.h (__THROWNL): Define.
75090         * posix/unistd.h: Use __THREADNL instead of __THREAD
75091         for memory synchronization functions.
75093 2011-10-26  Roland McGrath  <roland@hack.frob.com>
75095         [BZ #13349]
75096         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
75097         doesn't exist.
75098         * manual/stdio.texi (Obstack Streams): Node removed.
75100 2011-10-26  Andreas Schwab  <schwab@redhat.com>
75102         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
75103         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75104         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75106         * math/math_private.h (math_force_eval): Allow non-addressable
75107         arguments.
75108         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
75110 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75112         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
75113         file is not needed.
75115         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
75116         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
75117         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75118         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75119         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75120         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75121         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75122         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
75123         Add AVX variants.
75124         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
75125         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
75126         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
75127         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
75128         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
75129         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
75130         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
75131         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
75132         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
75133         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
75134         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
75135         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
75136         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
75137         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
75138         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
75139         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
75140         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
75141         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
75142         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
75144         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
75145         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
75147         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
75148         place.  Use VEX encoding when compiling for AVX.
75150 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75152         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
75153         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
75155         * string/test-strchr.c (do_test): Don't generate NUL bytes.
75157 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75159         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
75160         useless if() expression.
75161         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75162         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75163         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75164         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75165         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75166         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75167         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75168         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75169         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75170         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75171         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75172         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75173         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75174         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75175         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75176         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75177         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75178         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75179         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75181         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
75183 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75185         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
75186         condition.
75187         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75189 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75191         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
75192         .text section.  Avoid duplicate constants.
75193         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75194         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75195         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75196         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75197         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75198         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75199         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75200         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75201         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
75202         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
75203         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
75204         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
75205         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
75206         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
75207         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
75208         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
75209         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
75210         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
75211         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75212         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75213         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75214         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75215         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75216         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
75217         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
75218         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
75219         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
75220         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
75221         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
75222         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
75223         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
75224         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
75225         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
75226         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
75227         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
75228         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
75229         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
75230         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
75231         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
75232         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
75233         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
75234         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
75235         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
75236         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
75237         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
75239 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
75241         * sysdeps/x86_64/dla.h: Move to ...
75242         * sysdeps/x86_64/fpu/dla.h: ...here.
75243         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
75244         situations.  Use __builtin_fma only for gcc 4.6 and up.
75246         * config.make.in: Add have-mfma4 entry.
75247         * configure.in: Substitute libc_cv_cc_fma4.
75248         * math/Makefile (dbl-only-routines): Add sincostab.
75249         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
75250         Use __sincostab not sincos.
75251         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
75252         name is a macro.
75253         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75254         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75255         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75256         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
75257         using __copysign.
75258         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
75259         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
75260         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
75261         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
75262         and __inv.
75263         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
75264         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
75265         __copysign.
75266         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
75267         define aliases when function name is a macro.
75268         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
75269         sysdeps/ieee754/dbl-64/sincos.tbl.
75270         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
75271         fma4-enabled routines.
75272         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
75273         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
75274         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
75275         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
75276         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
75277         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
75278         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
75279         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
75280         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
75281         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
75282         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
75283         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
75284         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
75285         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
75286         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
75287         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
75288         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
75289         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
75290         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
75291         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
75292         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
75293         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
75294         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
75295         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
75296         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
75297         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
75298         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
75299         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
75300         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
75301         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
75303         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
75304         rename.
75305         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75306         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75307         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75308         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75309         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75310         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75311         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75312         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75314 2011-10-24  Andreas Schwab  <schwab@redhat.com>
75316         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
75318 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75320         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
75322         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
75323         prediction.
75324         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
75326         * string/strnlen.c: Don't define STRNLEN, reverse logic.
75327         Remove unused variable magic_bits.
75328         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
75330         * string/strnlen.c: Define and use STRNLEN macro.
75331         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
75332         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
75333         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
75334         * wcsmbs/wcslen.c: Define and use WCSLEN.
75335         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
75336         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
75337         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
75338         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
75339         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
75340         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
75341         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75343 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75345         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75346         strnlen-sse2-no-bsf.
75347         Rename strlen-no-bsf to strlen-sse2-no-bsf.
75348         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
75349         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
75350         Add strnlen support.
75351         (USE_AS_STRNLEN): New macro.
75352         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
75353         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
75354         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
75355         * sysdeps/x86_64/wcslen.S: New file.
75357 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
75359         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
75360         XMM-moves are used for copying on small sizes.
75362 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75364         * wcsmbs/Makefile (strop-tests): Add wcschr.
75365         * wcsmbs/test-wcschr.c: New file.
75366         * string/test-strchr.c: Update.
75367         Add wcschr support.
75368         (WIDE): New macro.
75370 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75372         * wcsmbs/Makefile (strop-tests): Add wcslen.
75373         * wcsmbs/test-wcslen.c: New file.
75374         * string/test-strlen.c: Update.
75375         Add wcslen support.
75376         (WIDE): New macro.
75378 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75380         * po/it.po: Update from translation team.
75382 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75384         * sysdeps/x86_64/wcscmp.S: Update.
75385         Fix wrong comparison semantics.
75386         wcscmp shall use signed comparison not unsigned.
75387         Don't use substraction to avoid overflow bug.
75388         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
75389         * wcsmbc/wcscmp.c: Likewise.
75390         * string/test-strcmp.c: Likewise.
75391         Add new tests to check cases with negative values.
75393 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75395         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
75396         * sysdeps/x86_64/dla.h: ...here.  New file.
75397         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
75398         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75399         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75400         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75401         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75402         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75403         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75404         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75405         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75407 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
75409         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
75410         __ynl_finite aliases.
75412 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75414         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75416         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
75417         define DLA_FMA.
75418         [DLA_FMA] (EMULV): Use DLA_FMA.
75419         [DLA_FMA] (MUL12): Use EMULV.
75420         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
75421         that are not needed.
75422         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75423         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75424         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75425         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75426         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75427         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75428         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75430 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
75432         * math/s_nan.c: Undef __nan.
75433         * math/s_nanf.c: Undef __nanf.
75434         * math/s_nanl.c: Undef __nanl.
75435         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
75436         "math_private.h".
75438 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75440         * math/s_catan.c: Add branch predictions.
75441         * math/s_catanf.c: Likewise.
75442         * math/s_catanh.c: Likewise.
75443         * math/s_catanhf.c: Likewise.
75444         * math/s_catanhl.c: Likewise.
75445         * math/s_catanl.c: Likewise.
75446         * math/s_cexp.c: Likewise.
75447         * math/s_cexpf.c: Likewise.
75448         * math/s_cexpl.c: Likewise.
75449         * math/s_clog.c: Likewise.
75450         * math/s_clog10.c: Likewise.
75451         * math/s_clog10f.c: Likewise.
75452         * math/s_clog10l.c: Likewise.
75453         * math/s_clogf.c: Likewise.
75454         * math/s_clogl.c: Likewise.
75455         * math/s_csqrt.c: Likewise.
75456         * math/s_csqrtf.c: Likewise.
75457         * math/s_csqrtl.c: Likewise.
75458         * math/s_ctanf.c: Likewise.
75459         * math/s_ctanh.c: Likewise.
75460         * math/s_ctanhf.c: Likewise.
75461         * math/s_ctanhl.c: Likewise.
75462         * math/s_ctanl.c: Likewise.
75464         * math/math_private.h: Define __nan, __nanf, __nanl.
75465         * math/s_cacosh.c: Include <math_private.h>.
75466         * math/s_cacoshl.c: Likewise.
75467         * math/s_casinh.c: Likewise.
75468         * math/s_casinhf.c: Likewise.
75469         * math/s_casinhl.c: Likewise.
75470         * math/s_ccos.c: Rely entire on ccosh.
75471         * math/s_ccosf.c: Rely entire on ccoshf.
75472         * math/s_ccosl.c: Rely entirely on ccoshl.
75473         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
75474         Remove tests for FE_INVALID.
75475         * math/s_ccoshf.c: Likewise.
75476         * math/s_ccoshl.c: Likewise.
75477         * math/s_csin.c: Likewise.
75478         * math/s_csinf.c: Likewise.
75479         * math/s_csinh.c Likewise.
75480         * math/s_csinhf.c: Likewise.
75481         * math/s_csinhl.c: Likewise.
75482         * math/s_csinl.c: Likewise.
75483         * math/s_ctan.c: Likewise.
75484         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
75485         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
75486         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
75488 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
75490         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
75491         compilation problems.
75493         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
75494         __builtin_expect.
75496 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
75498         * sysdeps/i386/configure.in: Test for -mfma4 option.
75499         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
75500         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
75501         COMMON_CPUID_INDEX_80000001.
75502         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
75503         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
75504         use it if FMA3 is not supported.
75505         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
75507         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
75508         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75510 2011-10-20  Andreas Schwab  <schwab@redhat.com>
75512         [BZ #12892]
75513         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
75514         it would create a cycle with a link time dependency.
75516 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
75518         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
75519         instruction.
75520         * string/Makefile (strop-tests): Add rawmemchr.
75521         * string/test-rawmemchr.c: New file.
75523         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
75524         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
75525         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
75526         when compiling str{,n}casecmp and when AVX is available.  Hook up
75527         new optimized code in initializers.
75529 2011-10-19  Andreas Schwab  <schwab@redhat.com>
75531         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
75532         __feraiseexcept instead of feraiseexcept.
75534 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
75536         * math/math_private.h: Define defaults for libc_fetestexcept and
75537         libc_feupdateenv.
75538         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
75539         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
75540         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75541         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75542         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75543         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75544         libc_fetestexcept and libc_feupdateenv.
75546         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
75547         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
75548         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
75549         * sysdeps/x86_64/fpu/math_private.h: Define special version of
75550         libc_feholdexcept_setround.
75552         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
75553         Add s_nearbyint-c and s_nearbyintf-c.
75554         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
75555         nearbyintf inlines.
75556         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
75557         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
75558         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
75559         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
75561         * math/math_private.h: Define defaults for libc_fegetround,
75562         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
75563         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
75564         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
75565         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
75566         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
75567         standard functions.
75568         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75569         Remove comments and hacks for old compiler versions.
75570         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75571         libc_fegetround, libc_fesetround, libc_feholdexcept, and
75572         libc_feholdexceptl.
75574 2011-10-18  Andreas Schwab  <schwab@redhat.com>
75576         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
75577         (__feraiseexcept_renamed): Add __NTH.
75578         (feraiseexcept): Add __NTH.  Rename local variables to fix
75579         namespace violations.
75581 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
75583         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
75585         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
75587         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
75588         recently added interfaces.
75589         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
75591         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
75592         about macro parameter expansion.
75594         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
75595         __NO_MATH_INLINES is defined.  Cleanups.
75597         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
75598         and __floorf is target has SSE4.1.
75599         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
75600         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
75601         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
75602         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
75604         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
75605         name.
75606         (floorf): Likewise.
75608         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
75610 2011-10-17  Andreas Schwab  <schwab@redhat.com>
75612         * misc/sys/cdefs.h: Fix last change.
75614         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
75615         database lookup.
75617 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
75619         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
75621         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
75622         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75623         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75624         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75625         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75626         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75627         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75628         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75629         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75630         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
75631         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
75632         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
75633         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
75634         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
75635         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
75636         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
75637         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
75638         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
75639         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
75640         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
75641         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
75642         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
75644         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
75645         ceil, ceilf, floor, floorf.
75647         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
75648         Perform IRELATIVE relocations last.
75650         * elf/do-rel.h: Add another parameter nrelative, replacing the
75651         local variable with the same name.  Change name of the function
75652         to end in Rel or Rela (uppercase).
75653         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
75654         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
75655         elf_dynamic_do_##reloc function.
75657 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75659         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
75660         is sufficient, at least on modern CPUs.
75662         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
75664         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
75665         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
75667         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
75668         __expl_finite.
75669         * math/bits/math-finite.h: Add entries for exp.
75670         * math/e_expl.c: Add __*_finite alias.
75671         * sysdeps/i386/fpu/e_exp.S: Likewise.
75672         * sysdeps/i386/fpu/e_expf.S: Likewise.
75673         * sysdeps/i386/fpu/e_expl.c: Likewise.
75674         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75675         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75676         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
75677         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
75678         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
75679         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75680         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75682         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
75683         is sufficient, at least on modern CPUs.
75685         * ctype/ctype-info.c (__ctype_init): Define.
75686         * include/ctype.h (__ctype_init): Declare.
75687         (__ctype_b_loc): The variable is always initialized.
75688         (__ctype_toupper_loc): Likewise.
75689         (__ctype_tolower_loc): Likewise.
75690         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
75691         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
75693 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
75695         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
75697         * configure.in: Also look in $cxxmachine/include for C++ system
75698         headers.
75700 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75702         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
75703         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
75704         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
75705         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
75706         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
75707         (USE_AS_WMEMCMP): New macro.
75708         Fixing indents.
75709         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
75710         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
75711         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
75712         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
75713         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75714         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
75715         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
75716         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
75717         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
75718         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
75719         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
75720         (USE_AS_WMEMCMP): New macro.
75721         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
75722         * sysdeps/string/test-memcmp.c: Update.
75723         Fix simple_wmemcmp.
75724         Add new tests.
75725         * wcsmbs/wmemcmp.c: Update.
75726         (WMEMCMP): New macro.
75727         Fix overflow bug.
75729 2011-10-12  Andreas Jaeger  <aj@suse.de>
75731         [BZ #13268]
75732         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
75734 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75736         * libio/iofwide.c (do_length): Avoid warning.
75738         * ctype/ctype.h (__isctype_f): Add missing __THROW.
75740 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
75742         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
75744         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
75745         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
75746         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
75747         * sysdeps/i386/i686/fpu/e_log.S: New file.
75748         * sysdeps/i386/i686/fpu/e_logf.S: New file.
75749         * sysdeps/i386/i686/fpu/e_logl.S: New file.
75751         * ctype/ctype.h: Add support for inlined isXXX functions when
75752         compiling C++ code.
75754 2011-10-14  Andreas Schwab  <schwab@redhat.com>
75756         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75758         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
75760 2011-10-13  Roland McGrath  <roland@hack.frob.com>
75762         [BZ #13291]
75763         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
75765 2011-10-13  Andreas Schwab  <schwab@redhat.com>
75767         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
75768         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
75769         feraiseexcept.
75771         * sysdeps/x86_64/memrchr.S: Check for zero size.
75773         * string/stratcliff.c: Add memrchr tests.
75775 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75777         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75778         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
75779         rawmemchr-sse2 rawmemchr-sse2-bsf.
75780         * sysdeps/i386/i686/multiarch/memchr.S: New file.
75781         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
75782         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
75783         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
75784         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
75785         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
75786         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
75787         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
75788         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
75789         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
75790         * string/memrchr.c (MEMRCHR): New macro.
75792 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
75794         Add integration with gcc's -ffinite-math-only and optimize wrapper
75795         functions in libm.
75796         * Versions.def: Define GLIBC_2.15 version for libm.
75797         * math/Makefile (headers): Add bits/math-finite.h.
75798         * math/bits/math-finite.h: New file.
75799         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
75800         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
75801         * math/e_acoshl.c: Add __*_finite alias.
75802         * math/e_acosl.c: Likewise.
75803         * math/e_asinl.c: Likewise.
75804         * math/e_atan2l.c: Likewise.
75805         * math/e_atanhl.c: Likewise.
75806         * math/e_coshl.c: Likewise.
75807         * math/e_exp10.c: Likewise.
75808         * math/e_exp10f.c: Likewise.
75809         * math/e_exp10l.c: Likewise.
75810         * math/e_exp2l.c: Likewise.
75811         * math/e_fmodl.c: Likewise.
75812         * math/e_gammal_r.c: Likewise.
75813         * math/e_hypotl.c: Likewise.
75814         * math/e_j0l.c: Likewise.
75815         * math/e_j1l.c: Likewise.
75816         * math/e_jnl.c: Likewise.
75817         * math/e_lgammal_r.c: Likewise.
75818         * math/e_log10l.c: Likewise.
75819         * math/e_log2l.c: Likewise.
75820         * math/e_logl.c: Likewise.
75821         * math/e_powl.c: Likewise.
75822         * math/e_sinhl.c: Likewise.
75823         * math/e_sqrtl.c: Likewise.
75824         * math/e_scalb.c: Completely rewritten and optimized.
75825         * math/e_scalbf.c: Likewise.
75826         * math/e_scalbl.c: Likewise.
75827         * math/w_acos.c: Likewise.
75828         * math/w_acosf.c: Likewise.
75829         * math/w_acosl.c: Likewise.
75830         * math/w_acosh.c: Likewise.
75831         * math/w_acoshf.c: Likewise.
75832         * math/w_acoshl.c: Likewise.
75833         * math/w_asin.c: Likewise.
75834         * math/w_asinf.c: Likewise.
75835         * math/w_asinl.c: Likewise.
75836         * math/w_atan2.c: Likewise.
75837         * math/w_atan2f.c: Likewise.
75838         * math/w_atan2l.c: Likewise.
75839         * math/w_atanh.c: Likewise.
75840         * math/w_atanhf.c: Likewise.
75841         * math/w_atanhl.c: Likewise.
75842         * math/w_exp10.c: Likewise.
75843         * math/w_exp10f.c: Likewise.
75844         * math/w_exp10l.c: Likewise.
75845         * math/w_fmod.c: Likewise.
75846         * math/w_fmodf.c: Likewise.
75847         * math/w_fmodl.c: Likewise.
75848         * math/w_j0.c: Likewise.
75849         * math/w_j0f.c: Likewise.
75850         * math/w_j0l.c: Likewise.
75851         * math/w_j1.c: Likewise.
75852         * math/w_j1f.c: Likewise.
75853         * math/w_j1l.c: Likewise.
75854         * math/w_jn.c: Likewise.
75855         * math/w_jnf.c: Likewise.
75856         * math/w_log.c: Likewise.
75857         * math/w_logf.c: Likewise.
75858         * math/w_logl.c: Likewise.
75859         * math/w_log10.c: Likewise.
75860         * math/w_log10f.c: Likewise.
75861         * math/w_log10l.c: Likewise.
75862         * math/w_log2.c: Likewise.
75863         * math/w_log2f.c: Likewise.
75864         * math/w_log2l.c: Likewise.
75865         * math/w_pow.c: Likewise.
75866         * math/w_powf.c: Likewise.
75867         * math/w_powl.c: Likewise.
75868         * math/w_remainder.c: Likewise.
75869         * math/w_remainderf.c: Likewise.
75870         * math/w_remainderl.c: Likewise.
75871         * math/w_scalb.c: Likewise.
75872         * math/w_scalbf.c: Likewise.
75873         * math/w_scalbl.c: Likewise.
75874         * math/w_sqrt.c: Likewise.
75875         * math/w_sqrtf.c: Likewise.
75876         * math/w_sqrtl.c: Likewise.
75877         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
75878         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
75879         used.
75880         * math/math_private.h: Declare __kernel_standard_f.
75881         * math/w_cosh.c: Remove cruft and optimize a bit.
75882         * math/w_coshf.c: Likewise.
75883         * math/w_coshl.c: Likewise.
75884         * math/w_exp2.c: Likewise.
75885         * math/w_exp2f.c: Likewise.
75886         * math/w_exp2l.c: Likewise.
75887         * math/w_hypot.c: Likewise.
75888         * math/w_hypotf.c: Likewise.
75889         * math/w_hypotl.c: Likewise.
75890         * math/w_lgamma.c: Likewise.
75891         * math/w_lgamma_r.c: Likewise.
75892         * math/w_lgammaf.c: Likewise.
75893         * math/w_lgammaf_r.c: Likewise.
75894         * math/w_lgammal.c: Likewise.
75895         * math/w_lgammal_r.c: Likewise.
75896         * math/w_sinh.c: Likewise.
75897         * math/w_sinhf.c: Likewise.
75898         * math/w_sinhl.c: Likewise.
75899         * math/w_tgamma.c: Likewise.
75900         * math/w_tgammaf.c: Likewise.
75901         * math/w_tgammal.c: Likewise.
75902         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75903         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75904         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
75905         Minor optimizations.  Pretty printing.  Remove cruft.
75906         * sysdeps/i386/fpu/e_acosf.S: Likewise.
75907         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75908         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75909         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75910         * sysdeps/i386/fpu/e_acosl.c: Likewise.
75911         * sysdeps/i386/fpu/e_asin.S: Likewise.
75912         * sysdeps/i386/fpu/e_asinf.S: Likewise.
75913         * sysdeps/i386/fpu/e_atan2.S: Likewise.
75914         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
75915         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
75916         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75917         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75918         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75919         * sysdeps/i386/fpu/e_exp10.S: Likewise.
75920         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
75921         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
75922         * sysdeps/i386/fpu/e_exp2.S: Likewise.
75923         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
75924         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
75925         * sysdeps/i386/fpu/e_fmod.S: Likewise.
75926         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
75927         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
75928         * sysdeps/i386/fpu/e_hypot.S: Likewise.
75929         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
75930         * sysdeps/i386/fpu/e_log.S: Likewise.
75931         * sysdeps/i386/fpu/e_log10.S: Likewise.
75932         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75933         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75934         * sysdeps/i386/fpu/e_log2.S: Likewise.
75935         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75936         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75937         * sysdeps/i386/fpu/e_logf.S: Likewise.
75938         * sysdeps/i386/fpu/e_logl.S: Likewise.
75939         * sysdeps/i386/fpu/e_pow.S: Likewise.
75940         * sysdeps/i386/fpu/e_powf.S: Likewise.
75941         * sysdeps/i386/fpu/e_powl.S: Likewise.
75942         * sysdeps/i386/fpu/e_remainder.S: Likewise.
75943         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
75944         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
75945         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75946         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75947         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75948         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
75949         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
75950         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
75951         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75952         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75953         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75954         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75955         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75956         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75957         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
75958         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75959         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75960         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75961         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75962         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75963         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75964         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75965         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75966         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75967         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75968         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75969         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75970         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75971         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75972         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75973         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75974         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75975         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75976         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75977         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75978         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75979         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
75980         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75981         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75982         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75983         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75984         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75985         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75986         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75987         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75988         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75989         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75990         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75991         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75992         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75993         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75994         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75995         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75996         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75997         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75998         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75999         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76000         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
76001         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76002         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76003         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76004         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76005         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76006         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76007         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76008         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76009         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76010         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76011         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76012         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76013         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76014         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76015         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76016         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76017         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76018         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76019         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
76020         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76021         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76022         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76023         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76024         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76025         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76026         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76027         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
76028         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76029         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76030         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76031         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76032         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76033         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
76034         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76035         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76036         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76037         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76038         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76039         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76040         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76041         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76042         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76043         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76044         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
76045         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
76046         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
76047         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
76048         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
76049         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
76050         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
76051         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
76052         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
76053         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
76054         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
76055         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76056         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76057         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76058         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76059         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
76060         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76061         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
76062         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
76063         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
76064         (__isnanf): Likewise.
76065         (__isinf_ns): Likewise.
76066         (__isinf_nsf): Likewise.
76067         (__finite): Likewise.
76068         (__finitef): Likewise.
76069         (__ieee754_sqrt): Define as macro.
76070         (__ieee754_sqrtf): Define as macro.
76071         (__ieee754_sqrtl): Define as macro.
76072         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
76073         inlined copy.
76074         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
76075         __FINITE_MATH_ONLY__ consistent.
76076         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
76078 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
76080         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
76081         of rawmemchr.
76083         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
76085 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
76087         * po/ja.po: Update from translation team.
76089 2011-10-08  Roland McGrath  <roland@hack.frob.com>
76091         * locale/programs/locarchive.c (prepare_address_space): New function.
76092         (create_archive, enlarge_archive, open_archive): Use it.
76094         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
76095         inside [SHARED], where it is used.
76097         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
76099         * nss/getent.c (netgroup_keys): Remove unused variable.
76100         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76102 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
76104         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
76105         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
76106         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
76107         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
76108         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
76109         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
76110         * math/Makefile (libm-calls): Add s_isinf_ns.
76111         * math/divtc3.c: Use __isinf_nsl instead of isinf.
76112         * math/multc3.c: Likewise.
76113         * math/s_casin.c: Likewise.
76114         * math/s_casinf.c: Likewise.
76115         * math/s_casinl.c: Likewise.
76116         * math/s_ccos.c: Likewise.
76117         * math/s_ccosf.c: Likewise.
76118         * math/s_ccosl.c: Likewise.
76119         * math/s_ctan.c: Likewise.
76120         * math/s_ctanf.c: Likewise.
76121         * math/s_ctanh.c: Likewise.
76122         * math/s_ctanhf.c: Likewise.
76123         * math/s_ctanhl.c: Likewise.
76124         * math/s_ctanl.c: Likewise.
76125         * math/w_fmod.c: Likewise.
76126         * math/w_fmodf.c: Likewise.
76127         * math/w_fmodl.c: Likewise.
76128         * math/w_remainder.c: Likewise.
76129         * math/w_remainderf.c: Likewise.
76130         * math/w_remainderl.c: Likewise.
76131         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
76132         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
76133         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
76134         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
76135         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
76136         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
76137         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
76138         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
76140         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
76141         of the number.
76142         * stdio-common/printf_fphex.c: Likewise.
76143         * stdio-common/printf_size.c: Likewise.
76145         * math/e_exp10.c: Include math_private.h using <...> not "...".
76146         * math/e_exp10f.c: Likewise.
76147         * math/e_exp10l.c: Likewise.
76148         * math/e_exp2l.c: Likewise.
76149         * math/e_j0l.c: Likewise.
76150         * math/e_j1l.c: Likewise.
76151         * math/e_jnl.c: Likewise.
76152         * math/e_lgammal_r.c: Likewise.
76153         * math/e_rem_pio2l.c: Likewise.
76154         * math/e_scalb.c: Likewise.
76155         * math/e_scalbf.c: Likewise.
76156         * math/e_scalbl.c: Likewise.
76157         * math/k_cosl.c: Likewise.
76158         * math/k_sinl.c: Likewise.
76159         * math/k_tanl.c: Likewise.
76160         * math/s_cacoshf.c: Likewise.
76161         * math/s_catan.c: Likewise.
76162         * math/s_catanf.c: Likewise.
76163         * math/s_catanh.c: Likewise.
76164         * math/s_catanhf.c: Likewise.
76165         * math/s_catanhl.c: Likewise.
76166         * math/s_catanl.c: Likewise.
76167         * math/s_ccosh.c: Likewise.
76168         * math/s_ccoshf.c: Likewise.
76169         * math/s_ccoshl.c: Likewise.
76170         * math/s_cexp.c: Likewise.
76171         * math/s_cexpf.c: Likewise.
76172         * math/s_cexpl.c: Likewise.
76173         * math/s_clog.c: Likewise.
76174         * math/s_clog10.c: Likewise.
76175         * math/s_clog10f.c: Likewise.
76176         * math/s_clog10l.c: Likewise.
76177         * math/s_clogf.c: Likewise.
76178         * math/s_clogl.c: Likewise.
76179         * math/s_csin.c: Likewise.
76180         * math/s_csinf.c: Likewise.
76181         * math/s_csinh.c: Likewise.
76182         * math/s_csinhf.c: Likewise.
76183         * math/s_csinhl.c: Likewise.
76184         * math/s_csinl.c: Likewise.
76185         * math/s_csqrt.c: Likewise.
76186         * math/s_csqrtf.c: Likewise.
76187         * math/s_csqrtl.c: Likewise.
76188         * math/s_ctan.c: Likewise.
76189         * math/s_ctanf.c: Likewise.
76190         * math/s_ctanh.c: Likewise.
76191         * math/s_ctanhf.c: Likewise.
76192         * math/s_ctanhl.c: Likewise.
76193         * math/s_ctanl.c: Likewise.
76194         * math/s_ldexp.c: Likewise.
76195         * math/s_ldexpf.c: Likewise.
76196         * math/s_ldexpl.c: Likewise.
76197         * math/s_significand.c: Likewise.
76198         * math/s_significandf.c: Likewise.
76199         * math/s_significandl.c: Likewise.
76200         * math/w_acos.c: Likewise.
76201         * math/w_acosf.c: Likewise.
76202         * math/w_acosh.c: Likewise.
76203         * math/w_acoshf.c: Likewise.
76204         * math/w_acoshl.c: Likewise.
76205         * math/w_acosl.c: Likewise.
76206         * math/w_asin.c: Likewise.
76207         * math/w_asinf.c: Likewise.
76208         * math/w_asinl.c: Likewise.
76209         * math/w_atan2.c: Likewise.
76210         * math/w_atan2f.c: Likewise.
76211         * math/w_atan2l.c: Likewise.
76212         * math/w_atanh.c: Likewise.
76213         * math/w_atanhf.c: Likewise.
76214         * math/w_atanhl.c: Likewise.
76215         * math/w_cosh.c: Likewise.
76216         * math/w_coshf.c: Likewise.
76217         * math/w_coshl.c: Likewise.
76218         * math/w_dremf.c: Likewise.
76219         * math/w_exp10.c: Likewise.
76220         * math/w_exp10f.c: Likewise.
76221         * math/w_exp10l.c: Likewise.
76222         * math/w_exp2.c: Likewise.
76223         * math/w_exp2f.c: Likewise.
76224         * math/w_fmod.c: Likewise.
76225         * math/w_fmodf.c: Likewise.
76226         * math/w_fmodl.c: Likewise.
76227         * math/w_hypot.c: Likewise.
76228         * math/w_hypotf.c: Likewise.
76229         * math/w_hypotl.c: Likewise.
76230         * math/w_j0.c: Likewise.
76231         * math/w_j0f.c: Likewise.
76232         * math/w_j0l.c: Likewise.
76233         * math/w_j1.c: Likewise.
76234         * math/w_j1f.c: Likewise.
76235         * math/w_j1l.c: Likewise.
76236         * math/w_jn.c: Likewise.
76237         * math/w_jnf.c: Likewise.
76238         * math/w_jnl.c: Likewise.
76239         * math/w_lgamma.c: Likewise.
76240         * math/w_lgamma_r.c: Likewise.
76241         * math/w_lgammaf.c: Likewise.
76242         * math/w_lgammaf_r.c: Likewise.
76243         * math/w_lgammal.c: Likewise.
76244         * math/w_lgammal_r.c: Likewise.
76245         * math/w_log.c: Likewise.
76246         * math/w_log10.c: Likewise.
76247         * math/w_log10f.c: Likewise.
76248         * math/w_log10l.c: Likewise.
76249         * math/w_log2.c: Likewise.
76250         * math/w_log2f.c: Likewise.
76251         * math/w_log2l.c: Likewise.
76252         * math/w_logf.c: Likewise.
76253         * math/w_logl.c: Likewise.
76254         * math/w_pow.c: Likewise.
76255         * math/w_powf.c: Likewise.
76256         * math/w_powl.c: Likewise.
76257         * math/w_remainder.c: Likewise.
76258         * math/w_remainderf.c: Likewise.
76259         * math/w_remainderl.c: Likewise.
76260         * math/w_scalb.c: Likewise.
76261         * math/w_scalbf.c: Likewise.
76262         * math/w_scalbl.c: Likewise.
76263         * math/w_sinh.c: Likewise.
76264         * math/w_sinhf.c: Likewise.
76265         * math/w_sinhl.c: Likewise.
76266         * math/w_sqrt.c: Likewise.
76267         * math/w_sqrtf.c: Likewise.
76268         * math/w_sqrtl.c: Likewise.
76269         * math/w_tgamma.c: Likewise.
76270         * math/w_tgammaf.c: Likewise.
76271         * math/w_tgammal.c: Likewise.
76273         * po/ja.po: Update from translation team.
76275 2011-09-29  Andreas Jaeger  <aj@suse.de>
76277         [BZ #13179]
76278         * sunrpc/netname.c (netname2host): Fix logic.
76280         [BZ #6779]
76281         [BZ #6783]
76282         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
76283         correctly.
76284         * math/w_remainder.c (__remainder): Likewise.
76285         * math/w_remainderf.c (__remainderf): Likewise.
76286         * math/libm-test.inc (remainder_test): Add test cases.
76288 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76290         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
76291         sdiv_qrnnd.
76293 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76295         * string/test-memcmp.c: Avoid unncessary #defines.
76296         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76298 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76300         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
76301         Use new sse2 version for core i3 - i7 as it's faster
76302         than sse42 version.
76303         (bit_Prefer_PMINUB_for_stringop): New.
76304         * sysdeps/x86_64/rawmemchr.S: Update.
76305         Replace with faster SSE2 version.
76306         * sysdeps/x86_64/memrchr.S: New file.
76307         * sysdeps/x86_64/memchr.S: Update.
76308         Replace with faster SSE2 version.
76310 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
76312         * elf/dl-load.c (lose): Add cast to avoid warning.
76314 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76316         * po/ca.po: Update from translation team.
76318         * inet/getnetgrent_r.c: Hook up nscd.
76319         * nscd/Makefile (routines): Add nscd_netgroup.
76320         (nscd-modules): Add netgroupcache.
76321         (CFLAGS-netgroupcache.c): Define.
76322         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
76323         (cache_search): Add const to second parameter.
76324         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
76325         INNETGR.
76326         (dbs): Add netgrdb entry.
76327         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
76328         (verify_persistent_db): Handle netgrdb.
76329         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
76330         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
76331         GETFDNETGR.
76332         (netgroup_response_header): Define.
76333         (innetgroup_response_header): Define.
76334         (datahead): Add netgroup_response_header and innetgroup_response_header
76335         elements.
76336         * nscd/nscd.conf: Add entries for netgroup cache.
76337         * nscd/nscd.h (dbtype): Add netgrdb.
76338         (_PATH_NSCD_NETGROUP_DB): Define.
76339         (netgroup_iov_disabled): Declare.
76340         (xmalloc, xcalloc, xrealloc): Move declarations here.
76341         (cache_search): Adjust prototype.
76342         Add netgroup-related prototypes.
76343         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
76344         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
76345         (__nscd_innetgr): Declare.
76346         * nscd/selinux.c (perms): Use access_vector_t as element type and
76347         add netgroup-related initializers.
76348         * nscd/netgroupcache.c: New file.
76349         * nscd/nscd_netgroup.c: New file.
76350         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
76351         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
76352         For four parameters use innetgr.
76353         * nss/nss_files/files-init.c: Add definition and callback for netgr.
76354         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
76355         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
76356         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
76358         * nscd/connections.c (register_traced_file): Don't register file
76359         for disabled databases.
76361 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
76363         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
76365         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
76366         from tree and freeing node.
76368 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
76370         * nss/nsswitch.c (__nss_database_lookup): Handle
76371         nss_parse_service_list out of memory case.
76373 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
76375         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
76376         out of memory case.
76378 2011-10-04  Andreas Schwab  <schwab@redhat.com>
76380         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
76381         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
76382         pass it down.
76383         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
76384         elf_machine_rela, elf_machine_lazy_rel.
76385         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
76386         (ELF_DYNAMIC_DO_REL): Likewise.
76387         (ELF_DYNAMIC_DO_RELA): Likewise.
76388         (ELF_DYNAMIC_RELOCATE): Likewise.
76389         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
76390         to ELF_DYNAMIC_DO_REL.
76391         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
76392         (dl_main): In trace mode always set __RTLD_NOIFUNC.
76393         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
76394         elf_machine_rela.
76395         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
76396         skip_ifunc, don't call ifunc function if non-zero.
76397         (elf_machine_rela): Likewise.
76398         (elf_machine_lazy_rel): Likewise.
76399         (elf_machine_lazy_rela): Likewise.
76400         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
76401         (elf_machine_lazy_rel): Likewise.
76402         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
76403         Likewise.
76404         (elf_machine_lazy_rel): Likewise.
76405         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76406         Likewise.
76407         (elf_machine_lazy_rel): Likewise.
76408         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
76409         (elf_machine_lazy_rel): Likewise.
76410         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
76411         (elf_machine_lazy_rel): Likewise.
76412         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
76413         (elf_machine_lazy_rel): Likewise.
76414         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
76415         (elf_machine_lazy_rel): Likewise.
76416         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
76417         (elf_machine_lazy_rel): Likewise.
76418         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
76419         (elf_machine_lazy_rel): Likewise.
76421 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
76423         * nss/nss_files/files-init.c (_nss_files_init): Use static
76424         initialization for all the *_traced_file variables.
76426 2011-09-28  Andreas Schwab  <schwab@redhat.com>
76428         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76430 2011-09-27  Roland McGrath  <roland@hack.frob.com>
76432         [BZ #13226]
76433         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
76435 2011-09-27  Andreas Schwab  <schwab@redhat.com>
76437         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76438         Reread the line before reparsing it.
76440 2011-09-26  Andreas Schwab  <schwab@redhat.com>
76442         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
76444 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
76445             Maxim Kuvyrkov  <maxim@codesourcery.com>
76446             Joseph Myers  <joseph@codesourcery.com>
76448         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
76449         if needed for __stack_chk_guard.
76451 2011-09-19  Roland McGrath  <roland@hack.frob.com>
76453         * sysdeps/posix/spawni.c (script_execute): Always define it.
76454         It will be optimized away if unused.
76455         (maybe_script_execute): New function.
76456         (__spawni): Call it.
76458         * Makerules: Don't include tls.make.
76459         (config-tls): Always set to thread.
76460         * tls.make.c: File removed.
76462 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
76464         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
76465         * config.make.in (CPPFLAGS-config): New substituted variable.
76467 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76469         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
76471         [BZ #13192]
76472         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
76473         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
76475 2011-09-15  Roland McGrath  <roland@hack.frob.com>
76477         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
76478         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
76479         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76480         (CALL_FAIL): Likewise.
76481         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
76482         (CALL_FAIL): Macro removed.
76483         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
76485 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76487         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
76488         for __FINITE_MATH_ONLY__ == 1.
76490 2011-09-15  Andreas Schwab  <schwab@redhat.com>
76492         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
76493         __ieee754_sqrt instead of sqrt.
76494         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
76495         __ieee754_sqrtf instead of sqrtf.
76496         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
76497         __floorf instead of floorf.
76498         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
76499         __floorf, __truncf instead of floorf, truncf.
76501 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
76503         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
76505         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
76506         __extern_always_inline.
76507         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
76508         32-bit.
76510 2011-09-14  Andreas Schwab  <schwab@redhat.com>
76512         * elf/rtld.c (dl_main): Also relocate in dependency order when
76513         doing symbol dependency testing.
76515 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
76517         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76518         Always define `refsym'.
76520 2011-09-13  Andreas Schwab  <schwab@redhat.com>
76522         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
76523         (__FD_ELT): Renamed from __FDELT.
76524         * misc/bits/select2.h (__FD_ELT): Likewise.
76525         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
76526         __FD_MASK instead of __FDELT, __FDMASK.
76527         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76528         Likewise.
76529         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76530         Likewise.
76532         * elf/Makefile (gen-ldd): Fix pattern.
76534         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
76535         (init_tls): Likewise.
76537 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
76539         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
76541 2011-09-12  Andreas Schwab  <schwab@redhat.com>
76543         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
76544         `struct cmsghdr *' instead of `void *'.
76545         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
76546         Likewise.
76548 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
76550         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
76551         if non-absolute.
76552         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
76553         ldd_rewrite_script.
76555 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
76557         * configure.in: Remove --with-tls option.
76558         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
76559         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
76560         out in case it is missing.
76561         * sysdeps/ia64/elf/configure.in: Likewise.
76562         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
76563         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
76564         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
76565         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
76566         * sysdeps/sh/elf/configure.in: Likewise.
76567         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
76568         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76569         * sysdeps/x86_64/elf/configure.in: Likewise.
76570         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
76571         * sysdeps/mach/hurd/tls.h: Likewise.
76573         [BZ #13067]
76574         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
76576         [BZ #13090]
76577         * configure.in: Fix use of AC_INIT.
76579         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
76581 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
76583         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
76584         __set_errno.
76585         * malloc/hooks.c: Likewise.
76587         [BZ #11929]
76588         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
76589         variables statically.
76590         (narenas): Initialize.
76591         (list_lock): Initialize.
76592         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
76593         initializtion of main_arena and list_lock.  Small cleanups.
76594         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
76595         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
76596         Add initializers to main_arena and mp_.
76597         (malloc_state): Remove pagesize member.  Change all users to use
76598         GLRO(dl_pagesize).
76600         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
76601         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
76602         is always initialized.
76604         * malloc/malloc.c: Removed unused configurations and dead code.
76605         * malloc/arena.c: Likewise.
76606         * malloc/hooks.c: Likewise.
76607         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
76609         * include/tls.h: Removed.  USE___THREAD must always be defined.
76610         * bits/libc-tsd.h: Don't handle !USE___THREAD.
76611         * elf/dl-libc.c: Likewise.
76612         * elf/dl-tsd.c: Likewise.
76613         * include/errno.h: Likewise.
76614         * include/netdb.h: Likewise.
76615         * include/resolv.h: Likewise.
76616         * inet/herrno-loc.c: Likewise.
76617         * inet/herrno.c: Likewise.
76618         * malloc/arena.c: Likewise.
76619         * malloc/hooks.c: Likewise.
76620         * malloc/malloc.c: Likewise.
76621         * resolv/res-state.c: Likewise.
76622         * resolv/res_libc.c: Likewise.
76623         * sysdeps/i386/dl-machine.h: Likewise.
76624         * sysdeps/ia64/dl-machine.h: Likewise.
76625         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
76626         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
76627         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
76628         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
76629         * sysdeps/sh/dl-machine.h: Likewise.
76630         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76631         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76632         * sysdeps/unix/i386/sysdep.S: Likewise.
76633         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
76634         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
76635         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
76636         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
76637         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
76638         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
76639         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
76640         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76641         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76642         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
76643         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76644         * sysdeps/x86_64/dl-machine.h: Likewise.
76645         * tls.make.c: Likewise.
76647         * configure.in: Remove --with-__thread option.  Make tests for
76648         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
76649         tls_model attribute fail if no support is available.  Remove
76650         USE_IN_LIBIO.
76651         * Makeconfig: Adjust for dropped configure option.  All features are
76652         now mandatory.
76653         * Makerules: Likewise.
76654         * Versions.def: Likewise.
76655         * argp/argp-fmtstream.c: Likewise.
76656         * argp/argp-fmtstream.h: Likewise.
76657         * argp/argp-help.c: Likewise.
76658         * assert/assert.c: Likewise.
76659         * config.h.in: Likewise.
76660         * config.make.in: Likewise.
76661         * configure: Likewise.
76662         * configure.in: Likewise.
76663         * csu/Versions: Likewise.
76664         * csu/init.c: Likewise.
76665         * elf/tst-audit2.c: Likewise.
76666         * elf/tst-tls10.c: Likewise.
76667         * elf/tst-tls10.h: Likewise.
76668         * elf/tst-tls11.c: Likewise.
76669         * elf/tst-tls12.c: Likewise.
76670         * elf/tst-tls14.c: Likewise.
76671         * elf/tst-tlsmod11.c: Likewise.
76672         * elf/tst-tlsmod12.c: Likewise.
76673         * elf/tst-tlsmod13.c: Likewise.
76674         * elf/tst-tlsmod13a.c: Likewise.
76675         * elf/tst-tlsmod14a.c: Likewise.
76676         * elf/tst-tlsmod15b.c: Likewise.
76677         * elf/tst-tlsmod16a.c: Likewise.
76678         * elf/tst-tlsmod16b.c: Likewise.
76679         * elf/tst-tlsmod7.c: Likewise.
76680         * elf/tst-tlsmod8.c: Likewise.
76681         * elf/tst-tlsmod9.c: Likewise.
76682         * gmon/gmon.c: Likewise.
76683         * grp/fgetgrent_r.c: Likewise.
76684         * grp/putgrent.c: Likewise.
76685         * hurd/fopenport.c: Likewise.
76686         * include/libc-symbols.h: Likewise.
76687         * include/tls.h: Likewise.
76688         * intl/gettextP.h: Likewise.
76689         * intl/loadinfo.h: Likewise.
76690         * locale/global-locale.c: Likewise.
76691         * locale/localeinfo.h: Likewise.
76692         * mach/devstream.c: Likewise.
76693         * malloc/arena.c: Likewise.
76694         * malloc/set-freeres.c: Likewise.
76695         * misc/err.c: Likewise.
76696         * misc/getttyent.c: Likewise.
76697         * misc/mntent_r.c: Likewise.
76698         * posix/getopt.c: Likewise.
76699         * posix/wordexp.c: Likewise.
76700         * pwd/fgetpwent_r.c: Likewise.
76701         * resolv/Versions: Likewise.
76702         * resolv/res_hconf.c: Likewise.
76703         * shadow/fgetspent_r.c: Likewise.
76704         * shadow/putspent.c: Likewise.
76705         * stdio-common/printf_fphex.c: Likewise.
76706         * stdio-common/tmpfile.c: Likewise.
76707         * stdlib/abort.c: Likewise.
76708         * stdlib/fmtmsg.c: Likewise.
76709         * sunrpc/auth_unix.c: Likewise.
76710         * sunrpc/clnt_perr.c: Likewise.
76711         * sunrpc/clnt_tcp.c: Likewise.
76712         * sunrpc/clnt_udp.c: Likewise.
76713         * sunrpc/clnt_unix.c: Likewise.
76714         * sunrpc/openchild.c: Likewise.
76715         * sunrpc/svc_simple.c: Likewise.
76716         * sunrpc/svc_tcp.c: Likewise.
76717         * sunrpc/svc_udp.c: Likewise.
76718         * sunrpc/svc_unix.c: Likewise.
76719         * sunrpc/xdr.c: Likewise.
76720         * sunrpc/xdr_array.c: Likewise.
76721         * sunrpc/xdr_rec.c: Likewise.
76722         * sunrpc/xdr_ref.c: Likewise.
76723         * sunrpc/xdr_stdio.c: Likewise.
76725 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76727         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76729 2011-07-03  Andreas Jaeger  <aj@suse.de>
76731         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
76732         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
76733         regenerate with gen-libm-tests.pl.
76735 2010-05-12  Petr Baudis  <pasky@suse.cz>
76737         [BZ #11589]
76738         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
76739         around j0() zero points by switching to j1().
76740         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76741         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76742         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76743         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76745 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76747         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
76748         instead of 0.
76749         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
76750         instead of 0.
76751         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76752         Patch in part by Pavel Roskin <proski@gnu.org>.
76754         [BZ #13138]
76755         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
76756         realloc.
76757         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
76758         Free memory block if necessary.
76760         [BZ #12847]
76761         * libio/genops.c (INTDEF): For string streams the _lock pointer can
76762         be NULL.  Don't lock in this case.
76764 2011-09-09  Roland McGrath  <roland@hack.frob.com>
76766         * elf/elf.h (ELFOSABI_GNU): New macro.
76767         (ELFOSABI_LINUX): Define to that.
76769 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
76771         * string/strncat.c (strncat): Undef the symbol in case it has been
76772         defined in bits/string.h.
76774 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76776         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
76778         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
76779         link map.
76781 2011-08-17  Andreas Jaeger  <aj@suse.de>
76783         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
76785 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
76786             Ian Lance Taylor  <iant@google.com>
76788         * math/libm-test.inc (lround_test): New testcase.
76789         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
76791 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
76793         * Makefile: Remove support for automatic cvs check-ins.
76794         * Makerules: Likewise.
76795         * config.make.in: Likewise.
76796         * configure.in: Likewise.
76797         * intl/Makefile: Likewise.
76798         * locale/Makefile: Likewise.
76799         * po/Makefile: Likewise.
76800         * posix/Makefile: Likewise.
76801         * sysdeps/gnu/Makefile: Likewise.
76802         * sysdeps/mach/hurd/Makefile: Likewise.
76803         * sysdeps/sparc/sparc32/Makefile: Likewise.
76805         [BZ #13118]
76806         * posix/Makefile (bug-regex32-ENV): Define.
76807         Patch by John Stanley <jpsinthemix@verizon.net>.
76809         * misc/Makefile (headers): Add bits/select2.h.
76810         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
76811         * misc/bits/select2.h: New file.
76812         * include/bits/select2.h: New file.
76813         * debug/Makefile (routines): Add fdelt_chk.
76814         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
76815         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
76816         FD_ISSET.
76817         * debug/fdelt_chk.c: New file.
76819         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
76820         * wcsmbs/test-wmemcmp.c: Likewise.
76821         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
76822         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
76824 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76826         * string/Makefile (strop-tests): Add memcmp.
76827         * string/test-wmemcmp.c: New file.
76828         * string/test-memcmp.c: Add wmemcmp support.
76830 2011-09-08  Roland McGrath  <roland@hack.frob.com>
76832         [BZ #13153]
76833         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
76834         2011-07-19 change.
76836         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
76837         garbage value in a __mach_port_mod_refs call in the cases of the
76838         task-self and thread-self ports.
76840 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76842         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
76844 2011-09-08  Andreas Schwab  <schwab@redhat.com>
76846         * elf/dl-load.c (lose): Check for non-null L.
76848 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76850         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
76852         * elf/dl-libc.c (dlerror_run): Pass back error code from
76853         dl_catch_error.
76855         [BZ #13123]
76856         * elf/dl-load.c (lose): Free l_origin if it is valid.
76858         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
76859         names.
76860         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
76861         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76862         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76863         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76864         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
76865         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
76867 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76869         * sysdeps/powerpc/fpu/e_hypot.c: New file.
76870         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
76871         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
76872         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
76873         * sysdeps/powerpc/fpu/k_cosf.c: New file.
76874         * sysdeps/powerpc/fpu/k_sinf.c: New file.
76875         * sysdeps/powerpc/fpu/s_cosf.c: New file.
76876         * sysdeps/powerpc/fpu/s_sinf.c: New file.
76877         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
76878         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
76880 2011-08-15  Alan Modra  <amodra@gmail.com>
76882         [BZ #13092]
76883         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
76884         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
76885         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
76886         ppc_mcount to static-only-routines.
76887         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
76888         __mcount_internal.
76889         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
76890         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
76892 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
76894         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
76895         for finite and infinity parameters.
76897 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76899         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
76900         and add nop instructions for throughput optimization.
76901         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76903 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
76905         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
76906         aligned copy for power7 with vector-scalar instructions.
76907         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
76909 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
76911         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
76912         AVX check.
76914 2011-09-07  Andreas Schwab  <schwab@redhat.com>
76916         [BZ #13144]
76917         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
76918         last change.
76920 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76922         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76923         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
76924         syscall wrapper around clock_gettime in __vdso_clock_gettime.
76925         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
76926         clock_gettime.
76928 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76930         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
76931         Forgot to demangle the pointer.
76933         * sysdeps/i386/sysdep.h: Define atom_text_section.
76934         * sysdeps/x86_64/sysdep.h: Likewise.
76935         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
76936         section with atom_text_section.
76937         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76938         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76939         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
76940         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76941         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
76943         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
76944         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
76945         already be defined.  Change to take two parameters and don't assign
76946         result to variable.  Adjust all users.
76947         Define INTERNAL_GETTIME if not already defined.
76948         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
76949         call.
76950         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
76951         HAVE_CLOCK_GETTIME_VSYSCALL.
76952         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
76954         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
76955         gettimeofday vsyscall, just use time.
76957 2011-09-06  Andreas Schwab  <schwab@redhat.com>
76959         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
76960         <errno.h>.
76962 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76964         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
76965         syscall on x86-64.
76966         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
76967         syscall.
76968         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
76969         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
76970         syscall if possible.
76972 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76974         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
76975         e_ident.  Don't pass to find_mapsXX.
76976         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
76978 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76980         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76981         strchr-sse2-no-bsf strrchr-sse2-no-bsf
76982         * sysdeps/x86_64/multiarch/strchr.S: Update.
76983         Check bit_slow_BSF bit.
76984         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76985         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
76986         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
76988 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76990         [BZ #13134]
76991         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
76992         before glibc 2.15.
76993         (tryshell): Define.
76994         (__spawni): Change last parameter to be flag.  Test
76995         SPAWN_XFLAGS_USE_PATH flag to use path or not.
76996         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
76997         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
76998         * posix/spawni.c: Likewise.
76999         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
77000         * posix/spawnp.c: Likewise.  Change normal version to use
77001         SPAWN_XFLAGS_USE_PATH.
77002         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
77003         SPAWN_XFLAGS_TRY_SHELL.
77005         [BZ #13150]
77006         * posix/glob.h: Remove gcc 1.x support.
77008         [BZ #13068]
77009         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
77011 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77013         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77014         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
77015         strrchr-sse2-bsf
77016         * sysdeps/i386/i686/multiarch/strchr.S: New file.
77017         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
77018         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
77019         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
77020         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
77021         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
77023 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77025         * sysdeps/x86_64/wcscmp.S: New file.
77027         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
77028         wcscmp-c wcscmp-sse2
77029         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
77030         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
77031         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
77032         * wcsmbs/wcscmp.c: Allow renaming.
77034 2011-09-05  David S. Miller  <davem@davemloft.net>
77036         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
77037         stack slot, rather than the struct return pointer slot.
77038         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
77039         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
77040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
77041         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
77043 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77045         * po/ja.po: Update from translation team.
77047         [BZ #13144]
77048         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
77049         kernel in 64-bit binaries.
77051 2011-09-01  David S. Miller  <davem@davemloft.net>
77053         * elf/elf.h (HWCAP_SPARC_*): Move to..
77054         * sysdeps/sparc/sysdep.h: this new file and add new values.
77055         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
77056         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
77057         _DL_HWCAP_COUNT to 24.
77058         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77059         entries.
77060         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
77061         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
77062         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
77063         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
77064         instead of magic constants.
77065         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77067 2011-08-31  David S. Miller  <davem@davemloft.net>
77069         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
77070         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
77071         Reimplement to do errno handling inline.
77072         (SYSCALL_ERROR_HANDLER): New macro.
77073         (__SYSCALL_STRING): Do not do errno handling in asm.
77074         (__CLONE_SYSCALL_STRING): Delete.
77075         (__INTERNAL_SYSCALL_STRING): Delete.
77076         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
77077         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
77078         (PSEUDO): Reimplement to do errno handling inline.
77079         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
77080         (SYSCALL_ERROR_HANDLER): New macro.
77081         (__SYSCALL_STRING): Do not do errno handling in asm.
77082         (__CLONE_SYSCALL_STRING): Delete.
77083         (__INTERNAL_SYSCALL_STRING): Delete.
77084         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
77085         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
77086         i386.
77087         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
77088         (inline_syscall*): Add 'err' argument.
77089         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
77090         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
77091         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
77092         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
77094         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
77095         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77097 2011-08-30  Andreas Schwab  <schwab@redhat.com>
77099         * elf/rtld.c (dl_main): Relocate objects in dependency order.
77101 2011-08-29  Jiri Olsa <jolsa@redhat.com>
77103         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
77104         directive.
77106 2011-08-24  David S. Miller  <davem@davemloft.net>
77108         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
77110 2011-08-24  Andreas Schwab  <schwab@redhat.com>
77112         * elf/Makefile: Add rules to build and run unload8 test.
77113         * elf/unload8.c: New file.
77114         * elf/unload8mod1.c: New file.
77115         * elf/unload8mod1x.c: New file.
77116         * elf/unload8mod2.c: New file.
77117         * elf/unload8mod3.c: New file.
77119         * elf/dl-close.c (_dl_close_worker): Reset private search list if
77120         it wasn't used.
77122 2011-08-23  David S. Miller  <davem@davemloft.net>
77124         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
77125         subtract stack bias.
77126         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
77127         %sp not %fp in calculations.
77128         (_JMPBUF_UNWINDS_ADJ): Likewise.
77130         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
77131         (aio_suspend): Call it to force an exception region around the
77132         AIO_MISC_WAIT() invocation.
77134 2011-08-23  Andreas Schwab  <schwab@redhat.com>
77136         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
77137         backslash.
77139 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
77141         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
77142         protection macro.
77143         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
77144         and <dl-machine.h>.
77145         (Elf64_FuncDesc): Remove.
77147 2011-08-22  David S. Miller  <davem@davemloft.net>
77149         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
77150         sigaltstack check, add missing cfi directives.
77151         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
77152         missing cfi directives, and sigaltstack handling.
77154 2011-08-16  Andreas Schwab  <schwab@redhat.com>
77156         [BZ #11724]
77157         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
77158         object is seen twice.
77159         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77161         * elf/Makefile (distribute): Add tst-initorder2.c.
77162         (tests): Add tst-initorder2.
77163         (modules-names): Add tst-initorder2a tst-initorder2b
77164         tst-initorder2c tst-initorder2d.  Add rules to build them.
77165         ($(objpfx)tst-initorder2.out): New rule.
77166         * elf/tst-initorder2.c: New file.
77167         * elf/tst-initorder2.exp: New file.
77169 2011-08-22  Andreas Schwab  <schwab@redhat.com>
77171         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
77173         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
77174         dependencies back to end of function.
77176         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77177         $(elfobjdir)/ld.so.
77179 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
77181         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
77182         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
77183         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
77184         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
77185         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
77186         of __vdso_gettimeofday.
77187         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
77188         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
77189         attribute_hidden.
77190         (_libc_vdso_platform_setup): Remove initialization of
77191         __vdso_gettimeofday and __vdso_time.
77193 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77195         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
77196         and fgetc_unlocked.
77197         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
77198         getc_unlocked.
77200         * elf/dl-open.c (add_to_global): Report additions to the global scope
77201         for LD_DEBUG=scopes.
77202         (dl_open_worker): Also print scope of newly loaded dependencies.
77203         (_dl_show_scope): Indicate if there is no scope.
77205         [BZ #13114]
77206         * stdio-common/Makefile (tests): Add bug24.
77207         * stdio-common/bug24.c: New file.
77209 2011-08-19  Andreas Jaeger  <aj@suse.de>
77211         [BZ #13114]
77212         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
77213         non-existant file when using close-on-exec mode.
77215 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77217         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
77218         the very first instruction.
77220         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
77221         the CFI state in the end.
77222         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
77223         inclusion of dl-trampoline.h.
77224         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
77226 2011-08-19  Andreas Schwab  <schwab@redhat.com>
77228         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
77229         expectations for long double.
77231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
77232         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
77234 2011-08-14  David S. Miller  <davem@davemloft.net>
77236         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
77237         artificual limit depends upon the system page size.
77239 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77241         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
77242         * resolv/Makefile: Define CFLAGS-libresolv.
77244 2011-08-17  Andreas Schwab  <schwab@redhat.com>
77246         * nss/makedb.c (compute_tables): Make variables used in nested
77247         function static.
77249 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77251         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
77252         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
77253         if buffer was too small.
77255         * elf/pldd.c (main): Attach to all threads in the process.
77256         Rewrite /proc handling to use *at functions.
77258 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
77260         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
77261         specifies first scope to show.
77262         (dl_open_worker): Update callers.  Move printing scope of new
77263         object to before the relocation.
77264         * elf/rtld.c (dl_main): Update _dl_show_scope call.
77265         * sysdeps/generic/ldsodefs.h: Update declaration.
77267         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
77268         string for the scope number.
77270 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
77272         * nscd/servicescache.c (cache_addserv): Make sure written is always
77273         initialized.
77275 2011-08-14  Roland McGrath  <roland@hack.frob.com>
77277         * sysdeps/i386/i486/bits/atomic.h
77278         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
77279         statement expression, so as to suppress "set but not used" warning.
77280         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
77282         * string/strncat.c (STRNCAT): Use prototype definition.
77284         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
77285         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
77286         -Iprograms here.
77287         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
77288         (localedef-modules): Add localedef.
77289         (locale-modules): Add locale.
77291         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
77292         * elf/rtld.c (dl_main): Invert order of assignment in last change,
77293         to avoid a warning.
77295 2011-08-14  David S. Miller  <davem@davemloft.net>
77297         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
77298         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
77300 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
77302         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
77303         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
77304         * elf/rtld.c (dl_main): Set l_name of vDSO.
77305         Call _dl_show_scope when DL_DEBUG_SCOPES.
77306         (process_dl_debug): Recognize scopes flag and also set it for all.
77307         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
77308         Declare _dl_show_scope.
77310         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
77311         (do_dlopen): Pass caller_dlopen to dl_open.
77312         (__libc_dlopen_mode): Initialize caller_dlopen.
77314         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
77315         of libc.  Make tolower call locale-independent.  Optimize a bit by
77316         using isdigit instead of isalnum.
77317         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
77319 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
77321         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
77322         was a dependency or dynamically loaded.
77324 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
77326         * intl/l10nflist.c: Allow architecture-specific pop function.
77327         * sysdeps/x86_64/l10nflist.c: New file.
77329         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
77330         classification.
77332 2011-08-10  Andreas Schwab  <schwab@redhat.com>
77334         * include/dirent.h: Add libc_hidden_proto for scandirat and
77335         scandirat64.  Don't declare __scandirat64.
77336         * dirent/scandirat.c: Add libc_hidden_def.
77337         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
77338         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
77340 2011-08-10  David S. Miller  <davem@davemloft.net>
77342         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
77343         enum.
77344         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77345         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77346         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77348 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
77350         * Versions.def [libc]: Add GLIBC_2.15.
77351         * dirent/Makefile (routines): Add scandirat and scandirat64.
77352         * dirent/Versions [libc]: Export scandirat and scandirat64 for
77353         GLIBC_2.15.
77354         * dirent/dirent.h: Declare scandirat and scandirat64.
77355         * dirent/scandirat.c: New file.
77356         * dirent/scandirat64.c: New file.
77357         * sysdeps/wordsize-64/scandirat.c: New file.
77358         * sysdeps/wordsize-64/scandirat64.c: New file.
77359         * dirent/opendir.c: Define opendirat.
77360         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
77361         using scandirat.
77362         * dirent/scandir64.c: Adjust for scandir.c change.
77363         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
77364         __scandirat64, and __scandir_cancel_handler.
77365         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
77366         additional parameter and use openat instead of open (outside of ld.so).
77367         Add new __opendir as wrapper around __opendirat.
77368         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
77369         here without requiring old scandirat implementation.
77371 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
77373         * dirent/scandir.c (cancel_handler): Renamed to
77374         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
77375         defined.  Adjust users.
77376         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
77377         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
77379 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
77381         * string/test-string.h (IMPL): Use __STRING to expand name and then
77382         stringify it.
77384         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
77385         of cleanups.
77387 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77389         * string/Makefile: Update.
77390         (strop-tests): Append strncat.
77391         * string/test-wcscmp.c: New file.
77392         New comprehensive test for wcscmp.
77393         * string/test-strcmp.c: Update.
77394         (WIDE): New define.
77396 2011-07-22  Andreas Schwab  <schwab@redhat.com>
77398         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
77399         line.
77401 2011-07-26  Andreas Schwab  <schwab@redhat.com>
77403         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77404         encoding to ACE if AI_IDN.
77406 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
77408         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
77409         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
77411 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77413         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
77414         Fix overflow bug in strncat.
77415         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
77417         * string/test-strncat.c: Update.
77418         Add new tests for checking overflow bugs.
77420 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77422         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77423         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
77424         * sysdeps/i386/i686/multiarch/strcat.S: New file.
77425         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
77426         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
77427         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
77428         * sysdeps/i386/i686/multiarch/strncat.S: New file.
77429         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
77430         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
77432         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
77433         (USE_AS_STRCAT): Define.
77434         Add strcat and strncat support.
77435         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77437 2011-07-25  Andreas Schwab  <schwab@redhat.com>
77439         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
77440         __n bigger than INT_MAX+1.
77441         (__strncmp_g): Likewise.
77443 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
77445         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
77446         * libio/stido.h: Likewise.
77448         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
77449         (AF_NFC): Define.
77450         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
77451         (AF_NFC): Define.
77453         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
77454         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77455         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77456         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
77457         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77459         [BZ #13021]
77460         * scripts/test-installation.pl: Don't expect libnss_test1 to be
77461         installed.
77463         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
77464         typo.
77465         (_dl_x86_64_save_sse): Likewise.
77467 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
77469         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
77470         OSXSAVE.
77471         (_dl_x86_64_save_sse): Likewise.
77473         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
77475         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
77477 2011-07-21  Andreas Schwab  <schwab@redhat.com>
77479         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
77480         change.
77481         (_dl_x86_64_save_sse): Use correct AVX check.
77483 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77485         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
77486         bug in strncpy/strncat.
77487         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
77489 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
77491         * string/tester.c (test_strcat): Add tests for different alignments
77492         of source and destination.
77493         (test_strncat): Likewise.
77495 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77497         [BZ #12852]
77498         * posix/glob.c (glob): Check passed in values before using them in
77499         expressions to avoid some overflows.
77500         (glob_in_dir): Likewise.
77502         [BZ #13007]
77503         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
77504         check for AVX enablement so that we don't crash with old kernels and
77505         new hardware.
77506         * elf/tst-audit4.c: Add same checks here.
77507         * elf/tst-audit6.c: Likewise.
77509         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
77511 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
77513         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
77515 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77517         * po/cs.po: Update from translation team.
77518         * po/bg.po: Likewise.
77520 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
77522         * misc/sys/cdefs.h: Add support for const attribute.
77523         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
77524         to gnu_dev_{major,minor,makedev} functions.
77526 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
77528         * intl/dcigettext.c (get_output_charset): Add missing bracket.
77530 2011-07-20  Andreas Schwab  <schwab@redhat.com>
77532         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
77533         strlen results.
77535 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77537         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
77538         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
77539         register in order to avoid conflicts with the soft frame pointer
77540         being held in r11 when necessary.
77541         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
77542         (INTERNAL_VSYSCALL_NCS): Likewise.
77544 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
77546         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
77547         * elf/dl-fini.c (_dl_fini): Adjust caller.
77548         * elf/dl-close.c (_dl_close_worker): Likewise.
77549         * sysdeps/generic/ldsodefs.h: Adjust declaration.
77551 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77553         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
77554         "aux_cache->nlibs < 0".
77556         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
77557         in the reload-count case.
77559 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77561         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77562         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
77563         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
77564         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
77565         * sysdeps/x86_64/multiarch/strcat.S: New file.
77566         * sysdeps/x86_64/multiarch/strncat.S: New file.
77567         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
77568         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
77569         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
77570         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
77571         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
77572         (USE_AS_STRCAT): Define.
77573         Add strcat and strncat support.
77574         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77575         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
77576         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
77577         * string/strncat.c: Update.
77578         (USE_AS_STRNCAT): Define.
77579         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77580         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
77581         and i7.
77582         * sysdeps/x86_64/multiarch/init-arch.h
77583         (bit_Prefer_PMINUB_for_stringop): New.
77584         (index_Prefer_PMINUB_for_stringop): Likewise.
77585         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
77586         bit_Prefer_PMINUB_for_stringop.
77588 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77590         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
77591         buffer64.
77592         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
77593         of casting of buffer.
77594         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
77595         buffer32 and buffer64.
77596         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
77597         writes instead of casting of buffer.
77598         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
77599         buffer32.
77600         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
77601         casting of buffer.
77603 2011-07-19  Andreas Schwab  <schwab@redhat.com>
77605         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
77607 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77609         * nscd/nscd.c (termination_handler): Don't do anything for a database
77610         if it has not yet been initialized.
77612 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77614         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77616 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77618         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77620 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77622         * po/nl.po: Update from translation team.
77623         * po/sv.po: Likewise.
77625 2011-07-16  Roland McGrath  <roland@hack.frob.com>
77627         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
77628         now disallowed by GCC.
77630         * configure.in (use-default-link): Default to yes if a test -shared
77631         link meets our qualifications.
77632         * configure: Regenerated.
77634         * config.make.in (output-format): New variable.
77635         * configure.in: Check for ld --print-output-format support.
77636         * configure: Regenerated.
77637         * Makerules ($(common-objpfx)format.lds)
77638         [$(output-format) != unknown]: Just use $(output-format),
77639         instead of the linker-script munging.
77641 2011-07-14  Roland McGrath  <roland@hack.frob.com>
77643         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
77644         of $(common-objpfx)shlib.lds.
77645         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
77647         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
77648         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
77650         * configure.in (-z relro check): Adjust test code to add a large
77651         writable data section after it.
77652         * configure: Regenerated.
77654 2011-07-11  Roland McGrath  <roland@hack.frob.com>
77656         * configure.in (-z relro check): Fix test code to make the variable
77657         truly const.
77658         * configure: Regenerated.
77660 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
77662         * nscd/nscd.h (struct traced_file): Define.
77663         (struct database_dyn): Remove inotify_descr, reset_res, and filename
77664         elements.  Add traced_files.
77665         (inotify_fd): Declare.
77666         (register_traced_file): Declare.
77667         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
77668         (inotify_fd): Export.
77669         (resolv_conf_descr): Remove.
77670         (nscd_init): Move inotify descriptor creation to main.
77671         Don't register files for notification here.
77672         (register_traced_file): New function.
77673         (invalidate_cache): Don't use reset_res to determine whether to call
77674         res_init, go through the list of registered files.
77675         (main_loop_poll): The inotify descriptors are now stored in the
77676         structures for the traced files.
77677         (main_loop_epoll): Likewise.
77678         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
77679         to __nss_disable_nscd.
77680         * nscd/cache.c (prune_cache): There is no single inotify descriptor
77681         for a database anymore.  Check the records for all the registered
77682         files instead.
77683         * nss/Makefile (libnss_files-routines): Add files-init.
77684         (libnss_db-routines): Add db-init.
77685         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
77686         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
77687         * nss/nss_db/db-init.c: New file.
77688         * nss/nss_files/files-init.c: New file.
77689         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
77690         __nss_lookup_function.
77691         (__nss_lookup_function): Call nss_load_library.
77692         (nss_load_all_libraries): New function.
77693         (__nss_disable_nscd): Take parameter with callback function for files
77694         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
77695         used for the cached services.
77696         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
77697         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
77698         options for features to all the files in nscd.
77700         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
77702 2011-07-10  Roland McGrath  <roland@hack.frob.com>
77704         * csu/elf-init.c (__libc_csu_init): Comment typo.
77706 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
77708         * po/pl.po: Update from translation team.
77709         * po/ja.po: Likewise.
77710         * po/ru.po: Likewise.
77711         * po/ko.po: Likewise.
77712         * po/fr.po: Likewise.
77714 2011-07-09  Roland McGrath  <roland@hack.frob.com>
77716         * configure.in (.ctors/.dtors header and trailer check):
77717         Use an empirical test on a built program.
77718         * configure: Regenerated.
77720         * configure.in (-z relro check): Use an empirical test on a built DSO.
77721         Detect, but do not require, on ia64.
77722         * configure: Regenerated.
77724         * configure.in (READELF): Find it with AC_CHECK_TOOL.
77725         Update tests that use readelf to use $READELF instead.
77726         * configure: Regenerated.
77728 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
77730         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
77731         if the result is not used.
77733 2011-07-05  Andreas Jaeger  <aj@suse.de>
77735         [BZ#9696]
77736         * stdlib/tst-strtod.c: Add testcase.
77738 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
77740         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
77741         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
77742         The latter has a higher limit.  Take additional parameter to pass to
77743         the new function.
77744         (__pathconf): Pass file to __statfs_link_max.
77745         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
77746         __statfs_link_max.
77747         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
77748         __statfs_link_max.
77750         [BZ #12868]
77751         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
77752         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77753         Handle Lustre.
77754         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
77755         (__statfs_filesize_max): Likewise.
77756         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
77758 2011-07-05  Andreas Jaeger  <aj@suse.de>
77760         * resolv/res_comp.c (dn_skipname): Remove unused variable.
77762 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
77764         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
77765         `status' variable.
77766         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
77767         Likewise.
77769 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
77771         * Makefile (strop-tests): Add strncat.
77772         * string/test-strncat.c: New file.
77774 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
77776         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
77778 2011-06-21  Andreas Jaeger  <aj@suse.de>
77780         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
77781         Copy rule from iconvdata/Makefile.
77783 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77785         [BZ #12922]
77786         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
77787         but no long options are defined, just return 'W'.
77789 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
77791         [BZ #9696]
77792         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
77794 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77796         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
77797         netgroups to read.
77798         (innetgr): Likewise.
77800 2011-07-05  Roland McGrath  <roland@hack.frob.com>
77802         * config.make.in (install_root): Default to $(DESTDIR).
77804 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
77806         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
77808 2011-07-02  Roland McGrath  <roland@hack.frob.com>
77810         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
77812         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
77813         containing directory rather than embedding absolute directory names.
77815         * scripts/check-local-headers.sh: Rewritten using awk.
77816         Match by word, not by line.  Print error messages for matches.
77817         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
77819         * Makerules [shlib-lds-flags empty]:
77820         ($(common-objpfx)libc_pic.opts): New target.
77821         ($(common-objpfx)libc_pic.os.clean): New target.
77822         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
77824         * config.make.in (OBJCOPY): New variable.
77825         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
77826         * configure: Regenerated.
77828         * config.make.in (use-default-link): New variable.
77829         * configure.in (use_default_link): Grok --with-default-link to set it.
77830         * configure: Regenerated.
77831         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
77832         (shlib-lds, shlib-lds-flags): Define to empty.
77834         * Makerules (shlib-lds): New variable.
77835         (shlib-lds-flags): New variable.
77836         (build-shlib, build-moduile, build-module-asneeded): Use it.
77837         ($(common-objpfx)libc.so): Use $(shlib-lds).
77838         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
77839         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
77841         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
77842         DT_FLAGS/DT_FLAGS_1 with zero flags.
77844         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
77845         linker script munging.
77847 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
77849         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
77850         as 128-bit value.
77851         * crypt/sha512.c (sha512_process_block): Perform total addition using
77852         128-bit if possible.
77853         (__sha512_finish_ctx): Likewise.
77854         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
77855         as 64-bit value.
77856         * crypt/sha256.c (SWAP64): Define.
77857         (sha256_process_block): Perform total addition using 64-bit if
77858         possible.
77859         (__sha256_finish_ctx): Likewise.
77861 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
77863         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
77864         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77865         * nscd/hstcache.c (cache_addhst): Likewise.
77866         * nscd/grpcache.c (cache_addgr): Likewise.
77867         * nscd/aicache.c (addhstaiX): Likewise.
77868         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
77870 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
77872         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
77873         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77874         * nscd/hstcache.c (cache_addhst): Likewise.
77875         * nscd/grpcache.c (cache_addgr): Likewise.
77876         * nscd/aicache.c (addhstaiX): Likewise.
77878 2011-07-01  Andreas Schwab  <schwab@redhat.com>
77880         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
77881         domain only when needed.
77883 2011-06-30  Andreas Schwab  <schwab@redhat.com>
77885         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
77886         is always restored.
77888 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
77890         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
77891         are re-adding the entry.
77892         * nscd/servicescache.c (cache_addserv): Likewise.
77894 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
77896         * sysdeps/generic/dl-irel.h: fix protection against multiple
77897         inclusions.
77898         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
77900 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
77902         [BZ #12935]
77903         * malloc/memusage.sh: Fix quoting in message.
77904         * debug/xtrace.sh: Likewise.
77906         * configure.in: Remove support for --experimental-malloc option, make
77907         it the default.
77908         * config.make.in: Likewise.
77909         * malloc/Makefile: Likewise.
77911 2011-06-27  Andreas Schwab  <schwab@redhat.com>
77913         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
77914         two-byte characters.
77916 2011-06-27  Roland McGrath  <roland@hack.frob.com>
77918         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
77919         AC_CACHE_CHECK invocation.
77920         * configure: Regenerated.
77922         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
77924 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
77926         [BZ #12350]
77927         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
77928         bit from old_res_options.
77930         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
77932         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
77933         value type for setfct.
77935 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
77937         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77938         __gettimeofday instead of gettimeofday.
77940 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
77942         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
77944 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
77946         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
77948         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
77949         info.
77951 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77953         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77954         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77955         strcpy-sse2-unaligned strncpy-sse2-unaligned
77956         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
77957         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
77958         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
77959         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
77960         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
77961         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
77962         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
77963         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
77964         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
77965         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
77966         (STRCPY): Support SSE2 and SSSE3 versions.
77968 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
77970         [BZ #12874]
77971         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
77972         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
77973         kernels which artificially limit size of requests.
77975 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77977         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77978         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77979         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
77980         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
77981         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
77982         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
77983         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
77984         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
77985         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
77986         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
77987         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
77988         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
77989         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
77990         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
77991         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
77992         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77993         Enable unaligned load optimization for Intel Core i3, i5 and i7
77994         processors.
77995         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
77996         Define.
77997         (index_Fast_Unaligned_Load): Define.
77998         (HAS_FAST_UNALIGNED_LOAD): Define.
78000 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
78002         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
78004 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78006         [BZ #12907]
78007         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
78008         until it is clear that the information is realy needed.
78009         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
78011 2011-06-22  Andreas Schwab  <schwab@redhat.com>
78013         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
78015 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78017         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78018         /sys/devices/system/cpu/online if it is usable.
78020         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
78021         reading the information from the /proc filesystem to once a second.
78023 2011-06-21  Andreas Jaeger  <aj@suse.de>
78025         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
78026         NULL after inclusion of kernel headers.
78028 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
78030         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
78031         calls to internal_setent.
78033         [BZ #12885]
78034         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
78035         addresses using gethostbyname4_r ignore IPv4 addresses.
78037         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
78038         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
78040         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
78042 2011-06-20  David S. Miller  <davem@davemloft.net>
78044         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
78045         inclusions.
78046         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
78048         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
78049         (elf_irel): Use it.
78050         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
78051         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
78052         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
78053         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
78054         * sysdeps/x86_64/dl-irel.h: Likewise.
78056         * elf/dl-runtime.c: Use elf_ifunc_invoke.
78057         * elf/dl-sym.c: Likewise.
78059 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78061         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
78062         need to dereference resplen2.
78064 2011-06-14  Andreas Schwab  <schwab@redhat.com>
78066         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
78068 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78070         * Makeconfig: Define vardbdir and inst_vardbdir.
78071         * nss/Makefile: Add rules to install db-Makefile.
78073         * nss/nss_db/db-XXX.c: Cleanup.
78075         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
78076         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
78077         GLIBC_PRIVATE.
78078         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
78079         * nss/makedb.c: Implement -g option to specify that value strings
78080         are generated and should not be added to table iterated over for
78081         get*ent calls.
78082         * nss/nss_db/db-initgroups.c: New file.
78084         * nss/getent.c: Add support for initgroups lookups through getgrouplist
78085         interface.
78087         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
78088         (internal_getgrouplist): Adjust to name change.
78089         Update use_initgroups_entry if this is not the first call.
78090         * nss/databases.def: Add initgroups entry.
78092         * nss/makedb.c (compute_tables): Check result of multiple hash table
78093         sizes to minimize maximum chain length.
78095 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
78097         * Versions.def: Add entry for libnss_db.
78098         * shlib-versions: Likewise.
78099         * nss/Makefile: Add rules to build libnss_db.
78100         * nss/Versions: Add libnss_db information.  Organize libnss_files
78101         entries better.
78102         * nss/db-Makefile: Add gshadow support.  Change rules for the new
78103         makedb progra.  Some minor improvements to generate smaller files.
78104         * nss/nss_db/nss_db.h: Move NSS database header data structures to
78105         here from...
78106         * nss/makedb.c: ...here.
78107         Improve database format to be smaller and require less memory at
78108         runtime.
78109         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
78110         db anymore.
78111         * nss/nss_db/db-netgrp.c: Likewise.
78112         * nss/nss_db/db-open.c: Likewise.
78113         * nss/nss_files/flies-XXX.x: Adjust comments.
78114         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
78115         * nss/nss_files/files-grp.c: Likewise.
78116         * nss/nss_files/files-hosts.c: Likewise.
78117         * nss/nss_files/files-network.c: Likewise.
78118         * nss/nss_files/files-proto.c: Likewise.
78119         * nss/nss_files/files-pwd.c: Likewise.
78120         * nss/nss_files/files-rpc.c: Likewise.
78121         * nss/nss_files/files-service.c: Likewise.
78122         * nss/nss_files/files-sgrp.c: Likewise.
78123         * nss/nss_files/files-spwd.c: Likewise.
78124         * nss/nss_db/db-alias.c: Removed.
78125         * nss/nss_db/dummy-db.h: Removed.
78127 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
78129         * nss/makedb.c: Rewritten to not use database library.
78130         * nss/Makefile: Update to build new makedb program.
78132 2011-06-14  Andreas Jaeger  <aj@suse.de>
78134         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
78135         memset declaration.
78137 2011-06-10  Andreas Schwab  <schwab@redhat.com>
78139         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
78140         tmpbuf.
78142 2011-06-10  Roland McGrath  <roland@hack.frob.com>
78144         * Makerules (shlib.lds): Fail if the linker script comes out empty.
78145         * elf/Makefile ($(objpfx)ld.so): Likewise.
78147         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
78148         Don't list ld.so twice in dependencies.
78150         * posix/bug-regex31.c: Include <stdlib.h>.
78152         * nscd/hstcache.c (cache_addhst): Remove unused variable.
78154         * nis/nss_compat/compat-spwd.c
78155         (getspent_next_nss_netgr): Remove unused variable.
78156         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
78158         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
78159         nonmembers" output to use the right array.
78161         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
78163         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
78165         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
78166         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
78167         * catgets/gencat.c (read_input_file): Likewise.
78168         * locale/programs/locarchive.c (enlarge_archive): Likewise.
78170         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
78171         variable definition inside #if's controlling its use.
78173         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
78175         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
78177         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
78179         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
78180         unreachable code.
78182         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
78184         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
78185         * configure: Regenerated.
78187         * Makerules: Revert last change.
78188         * elf/Makefile: Likewise.
78190 2011-06-09  Roland McGrath  <roland@hack.frob.com>
78192         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
78193         * elf/Makefile ($(objpfx)librtld.os): Likewise.
78194         (reloc-link): Likewise.
78196 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
78198         * elf/Makefile: Add rules to build pldd.
78199         * elf/pldd.c: New file.
78200         * elf/pldd-xx.c: New file.
78202 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
78204         * version.h: Update for 2.15 development version.
78206 2011-06-07  David S. Miller  <davem@davemloft.net>
78208         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
78209         ifuncs.
78210         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
78211         elf_machine_lazy_rel): Likewise.
78212         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
78213         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
78214         elf_machine_lazy_rel): Likewise.
78215         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
78216         dl_hwcap via passed in argument.
78217         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
78218         Likewise.
78220 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78222         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
78224 2011-06-06  Roland McGrath  <roland@hack.frob.com>
78226         [BZ #12849]
78227         * manual/fdl-1.1.texi: New file, verbatim from:
78228         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
78229         * manual/lgpl-2.1.texi: New file, verbatim from:
78230         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
78231         * manual/Makefile (licenses): New variable, list those new file names.
78232         (texis): Use it.
78233         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
78235         * manual/fdl.texi: File removed.
78236         * manual/lesser.texi: File removed.
78237         * manual/libc.texinfo (Copying, Documentation License):
78238         Use new @include file names, put @appendix directive before @include.
78240 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
78242         [BZ #12841]
78243         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
78244         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
78245         (mq_open): Add __NTH.
78247 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
78249         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78250         Assume Intel Core i3/i5/i7 processor if AVX is available.
78252 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78254         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78255         typo.
78257 2011-05-31  Andreas Schwab  <schwab@redhat.com>
78259         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
78260         memory.  Use alloca_account.  Fix memory leak when retrying.
78262 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78264         * version.h (RELEASE): Bump for 2.14 release.
78265         * include/features.h (__GLIBC_MINOR__): Bump to 14.
78267         * config.make.in (RANLIB): Remove entry.
78269 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
78271         * po/Makefile (po-sed-cmd): Add ksh to extensions.
78272         (libc.pot): Work around missing support for .ksh extension in xgettext.
78274         [BZ #12684]
78275         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
78276         if both request failed.
78277         (send_dg): In case of server errors clear resplen or *resplen2.
78279         [BZ #12454]
78280         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
78281         when there are multiple maps.
78282         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
78283         (_dl_fini): Remove test here.
78285         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
78287 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
78289         [BZ #12350]
78290         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
78291         bit from old_res_options.
78292         (gaih_inet): Likewise.
78294         [BZ #11099]
78295         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
78296         as signed.
78298         * resolv/res_init.c (res_setoptions): Make the code more compact.
78300         [BZ #11558]
78301         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
78302         set RES_USEVC.
78304         [BZ #11634]
78305         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
78307         * malloc/malloc.h: Mark malloc hook variables as deprecated.
78309         [BZ #11781]
78310         * malloc/malloc.h: Declare malloc hook variables as volatile.
78312         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
78313         in last patch.
78315         [BZ #11799]
78316         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
78317         raise in the comment.
78318         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
78319         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
78320         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
78322 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
78324         [BZ #12811]
78325         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
78326         grow the buffers more if it already has to be sufficient.
78327         (build_wcs_upper_buffer): Likewise.
78328         * posix/regexec.c (check_matching): Likewise.
78329         (clean_state_log_if_needed): Likewise.
78330         (extend_buffers): Don't enlarge buffers beyond size of the input
78331         buffer.
78332         Patches mostly by Emil Wojak <emil@wojak.eu>.
78333         * posix/bug-regex32.c: New file.
78334         * posix/Makefile (tests): Add bug-regex32.
78336         * locale/findlocale.c (_nl_find_locale): Return right away if
78337         _nl_explode_name failed.
78338         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
78340         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
78342         * debug/xtrace.sh: Unify messages.
78343         * malloc/memusage.sh: Likewise.
78345         [BZ #12813]
78346         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
78347         time symbol from vDSO.  Substitute with vsyscall if not available.
78348         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
78349         __vdso_time.
78351         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
78352         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
78353         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
78354         Add sendmmsg and internal_sendmmsg.
78355         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
78356         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
78357         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
78359         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
78360         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
78361         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
78363 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
78365         [BZ #12813]
78366         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
78367         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
78368         available.
78369         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
78370         __vdso_getcpu.
78372         [BZ #12814]
78373         * iconvdata/Makefile (tests): Add bug-iconv9.
78374         * iconvdata/bug-iconv9.c: New file.
78376 2011-05-27  Andreas Schwab  <schwab@redhat.com>
78378         [BZ #12814]
78379         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
78381 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
78383         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78384         (struct user_regs_struct): Change intcs field back to cs.
78386 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
78388         * po/ja.po: Update from translation team.
78390 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
78392         [BZ #12795]
78393         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
78394         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
78396 2011-05-20  Andreas Schwab  <schwab@redhat.com>
78398         * stdlib/longlong.h: Update from GCC.
78400 2011-05-23  Andreas Schwab  <schwab@redhat.com>
78402         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
78403         parameter name.
78404         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
78405         Add parameter name.
78406         (__sysconf): Pass it down.
78408 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
78410         [BZ #12671]
78411         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
78412         some situations.
78413         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
78414         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
78415         add in in __libc_use_alloca calls.  Adjust callers.
78416         (glob): Use malloc in some situations.
78418         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
78419         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
78420         pltexit.
78422 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
78424         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
78425         and CLOCK_BOOTTIME_ALARM.
78427         [BZ #12782]
78428         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
78429         is returned.
78431         * string/_strerror.c (__strerror_r): Print negative errors as signed
78432         numbers.
78434         [BZ #12777]
78435         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
78436         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
78437         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
78439         * configure.in: Fix typo in redirection and correct removal of test
78440         files in two cases.
78442         [BZ #12788]
78443         * locale/setlocale.c (new_composite_name): Fix test to check for
78444         identical name of all categories.
78446         [BZ #12792]
78447         * libio/filedoalloc.c (local_isatty): New function.
78448         (_IO_file_doallocate): Use local_isatty.
78449         * stdio-common/perror.c (perror): In case a new stream is used
78450         forward the stream error.
78451         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
78452         error flag.
78454 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
78456         [BZ #11884]
78457         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
78458         alloca.
78459         * include/alloca.h (extend_alloca_account): Define.
78461         [BZ #11857]
78462         * posix/regex.h: Fix comments with documentation of user-accessible
78463         fields after compilation and describe correct free'ing of pattern
78464         after re_compile_pattern.
78465         Patch by Reuben Thomas <rrt@sc3d.org>.
78467 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
78469         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
78470         and -mno-altivec to prevent the compiler from using Altivec and/or
78471         VSX instructions when the corresponding registers are not available.
78473 2011-05-19  Andreas Schwab  <schwab@redhat.com>
78475         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
78477 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
78479         * libio/freopen.c (freopen): Use __dup2, not dup2.
78480         * libio/freopen64.c (freopen64): Likewise.
78482 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78484         [BZ #12775]
78485         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
78486         * math/Makefile (tests): Add test-powl.
78487         (CFLAGS-test-powl.c): Define.
78488         * math/test-powl.c: New file.
78490 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78492         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
78494 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
78496         [BZ #11837]
78497         * iconvdata/gb18030.c: Update to GB18020-2005.
78499 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
78501         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
78502         RE_SYNTAX_POSIX_AWK): Update to match recent development.
78503         Patch by Aharon Robbins <arnold@skeeve.com>.
78505         [BZ #11892]
78506         * stdlib/putenv.c (putenv): Don't always create copy of the variable
78507         on the stack.
78509         [BZ #11895]
78510         * misc/pselect.c (__pselect): Handle timeout value errors hidden
78511         through underflows.
78513         [BZ #12766]
78514         * misc/error.c (error_at_line): Ensure file_name and old_file_name
78515         point to strings before performing equality test for error_one_per_line
78516         mode.
78518         [BZ #11697]
78519         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
78521         [BZ #11820]
78522         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78523         (struct user_fpregs_struct): Avoid __uint*_t types.
78525         [BZ #6420]
78526         * malloc/mtrace.c (tr_where): Add additional parameter to point to
78527         symbol info.  Use it instead of calling _dl_addr locally.
78528         (lock_and_info): New function.
78529         (tr_freehook): Call lock_and_info and pass symbol info as additional
78530         parameter to tr_where.
78531         (tr_mallochook): Likewise.
78532         (tr_reallochook): Likewise.
78533         (tr_memalignhook): Likewise.
78535         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
78536         used and couldn't be at all thread-safe.
78538 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
78540         * libio/freopen.c (freopen): Don't close old file descriptor
78541         before the new one is opened.  Instead dup the new file descriptor
78542         to the old one after the new stream is created.
78543         * libio/freopen64.c (freopen64): Likewise.
78544         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
78545         * libio/fileops.c (_IO_new_file_close_it): Handle new
78546         _IO_FLAGS2_NOCLOSE flag.
78547         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
78548         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
78549         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
78550         _IO_FLAGS2_NOCLOSE flag.
78551         * include/unistd.h: Add hidden_proto for dup3.
78552         Define __have_dup3.
78553         * io/dup3.c: Define hidden symbol.
78554         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
78556         [BZ #7101]
78557         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
78558         when an incomplete long option is used.
78559         * posix/tst-getopt_long1.c: New file.
78560         * posix/Makefile (tests): Add tst-getopt_long1.
78562         [BZ #10138]
78563         * scripts/config.guess: Update from autoconf-2.68.
78564         * scripts/config.sub: Likewise.
78566         [BZ #10157]
78567         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
78568         tests into ...
78569         (has_cpuclock): ...this.  New function.
78570         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
78571         macro here based on has_cpuclock code.
78573         [BZ #10149]
78574         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78575         First byte (not low byte) is now always NUL.
78576         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
78578         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78579         Use non-cancelable interfaces.
78581         [BZ #9809]
78582         * locale/iso-639.def: Add entry for Sorani.
78584         [BZ #11901]
78585         * include/stdlib.h: Move include protection to the right place.
78586         Define abort_msg_s.  Declare __abort_msg with it.
78587         * stdlib/abort.c (__abort_msg): Adjust type.
78588         * assert/assert.c (__assert_fail_base): New function.  Majority
78589         of code from __assert_fail.  Allocate memory for __abort_msg with
78590         mmap.
78591         (__assert_fail): Now call __assert_fail_base.
78592         * assert/assert-perr.c: Remove bulk of implementation.  Use
78593         __assert_fail_base.
78594         * include/assert.hL Declare __assert_fail_base.
78595         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
78596         mmap.
78597         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
78599 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
78601         [BZ #11952]
78602         [BZ #12453]
78603         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
78604         until all modules are registered in the DTV.
78605         * elf/Makefile: Add rules to build and run tst-tls19.
78606         * elf/tst-tls19.c: New file.
78607         * elf/tst-tls19mod1.c: New file.
78608         * elf/tst-tls19mod2.c: New file.
78609         * elf/tst-tls19mod3.c: New file.
78610         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
78612         [BZ #12083]
78613         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
78614         correctly.
78616         [BZ #12601]
78617         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
78618         two-byte sequence errors.
78619         * iconvdata/Makefile (tests): Add bug-iconv8.
78620         * iconvdata/bug-iconv8.c: New file.
78622         [BZ #12626]
78623         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
78624         buf2 definition.
78626         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
78628         [BZ #12432]
78629         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
78630         (dummy_getcfa): New function.
78631         (init): Get _Unwind_GetCFA address, use dummy if not found.
78632         (backtrace_helper): In recursion check, also check whether CFA changes.
78633         (__backtrace): Completely initialize arg.
78635         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
78636         storing incomplete byte sequence in state object.  Avoid testing for
78637         guaranteed too small input if we know there is enough data available.
78639 2011-05-11  Andreas Schwab  <schwab@redhat.com>
78641         * Makeconfig (+link-pie): Indent.
78642         * Rules (binaries-pie): Define if $(have-fpie) and
78643         $(build-shared).
78644         (binaries-shared): Also filter out $(binaries-pie).
78645         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
78646         * nscd/Makefile (others-pie): Add nscd.
78647         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
78648         ($(objpfx)nscd): Remove command override.
78649         * login/Makefile (others-pie): Add pt_chown.
78650         ($(objpfx)pt_chown): Remove command override.
78651         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
78652         remove command overrides.
78654 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
78656         * libio/tst_putwc.c: Fix error messages.
78658         [BZ #12724]
78659         * libio/fileops.c (_IO_new_file_close_it): Always flush when
78660         currently writing and seek to current position when not.
78661         * libio/Makefile (tests): Add bug-fclose1.
78662         * libio/bug-fclose1.c: New file.
78664 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
78666         [BZ #12511]
78667         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
78668         don't set DF_1_NODELETE here.
78669         (do_lookup_x): When entering new entry test for copy relocation
78670         and if necessary set DF_1_NODELETE flag.
78671         * elf/tst-unique4.cc: New file.
78672         * elf/tst-unique4.h: New file.
78673         * elf/tst-unique4lib.cc: New file.
78674         * elf/Makefile: Add rules to build and run tst-unique4.
78675         Patch by Piotr Bury <pbury@goahead.com>.
78677 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
78679         [BZ #12052]
78680         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
78682         [BZ #12625]
78683         * misc/mntent_r.c (addmntent): Flush the stream after the output
78685         [BZ #12393]
78686         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
78687         (is_trusted_path_normalize): Skip initial colon.  Append slash
78688         to empty buffer.  Duplicate is_trusted_path code but allow
78689         constructed patch to be prefix.
78690         (is_dst): Allow $ORIGIN followed by /.
78691         (_dl_dst_substitute): Correct clearing of check_for_trusted.
78692         Correct testing of result of is_trusted_path_normalize
78693         (decompose_rpath): Fix warning.
78695 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
78697         [BZ #11257]
78698         * grp/initgroups.c (internal_getgrouplist): When we found the service
78699         list through the initgroups entry in nsswitch.conf do not always
78700         continue on a successful lookup.  Don't always use the
78701         __nss_group_database value if it is set.
78702         * nss/nsswitch.conf (initgroups): Change action for successful db
78703         lookup to continue for compatibility.
78705 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
78707         [BZ #11532]
78708         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
78709         and CP774 modules.
78710         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
78711         and CP774 modules.
78712         * iconvdata/tst-tables.sh: Likewise.
78713         * iconvdata/cp770.c: New file.
78714         * iconvdata/cp771.c: New file.
78715         * iconvdata/cp772.c: New file.
78716         * iconvdata/cp773.c: New file.
78717         * iconvdata/cp774.c: New file.
78718         * iconvdata/testdata/CP770: New file.
78719         * iconvdata/testdata/CP770..UTF8: New file.
78720         * iconvdata/testdata/CP771: New file.
78721         * iconvdata/testdata/CP771..UTF8: New file.
78722         * iconvdata/testdata/CP772: New file.
78723         * iconvdata/testdata/CP772..UTF8: New file.
78724         * iconvdata/testdata/CP773: New file.
78725         * iconvdata/testdata/CP773..UTF8: New file.
78726         * iconvdata/testdata/CP774: New file.
78727         * iconvdata/testdata/CP774..UTF8: New file.
78729         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
78730         END CHARMAP line.
78731         * iconvdata/gen-8bit-gap.sh: Likewise.
78732         * iconvdata/gen-8bit.sh: Likewise.
78734         * locale/iso-639.def: Add ary entry.
78736         [BZ #11258]
78737         * locale/C-translit.h.in: Add U20A1 transliteration.
78739         [BZ #12178]
78740         * locale/iso-639.def: Add wae entry.
78741         Patch by Kevin Bortis <bortis@translate-wae.ch>.
78743         [BZ #12545]
78744         * locale/programs/localedef.c (construct_output_path): Use ssize_t
78745         for n.
78747         [BZ #12711]
78748         * locale/C-translit.h.in: Add entry for U20B9.
78749         Patch by pravin.d.s@gmail.com.
78751 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
78753         [BZ #12713]
78754         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
78755         ENAMETOOLONG use generic getcwd.
78756         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
78757         in rtld.  Use *stat64.
78758         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
78759         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
78760         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
78761         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
78762         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
78763         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
78764         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
78765         __fstatat64 macros.
78766         * include/dirent.h: Add libc_hidden_proto for rewinddir.
78767         * dirent/rewinddir.c: Add libc_hidden_def.
78768         * sysdeps/mach/hurd/rewinddir.c: Likewise.
78769         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
78771         * include/dirent.h (__alloc_dir): Add flags parameter.
78772         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
78773         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
78774         __alloc_dir.
78775         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
78776         from fdopendir if O_CLOEXEC is already set.
78778 2011-03-15  Alan Modra  <amodra@gmail.com>
78780         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
78781         l_tls_firstbyte_offset non-zero.  Save padding offset in
78782         l_tls_firstbyte_offset for later use.
78783         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
78784         freeing static tls block.
78786 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
78788         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
78789         where #ifdef was intended.  The intent is to prevent ARG_MAX from
78790         being defined by the kernel headers.
78792 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
78794         [BZ #12734]
78795         * resolv/resolv.h: Define RES_NOTLDQUERY.
78796         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
78797         no-tld-query and set RES_NOTLDQUERY.
78798         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
78799         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
78800         modern BIND to search name as TLD unless forbidden.
78802 2011-05-07  Petr Baudis  <pasky@suse.cz>
78803             Ulrich Drepper  <drepper@gmail.com>
78805         [BZ #12393]
78806         * elf/dl-load.c (fillin_rpath): Move trusted path check...
78807         (is_trusted_path): ...to here.
78808         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
78809         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
78810         using is_trusted_path_normalize() in setuid scripts.
78812 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78814         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
78815         __BEGIN/__END_DECLS.
78817 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
78819         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
78820         NSS_STATUS_NOTFOUND if no record was found.
78822 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78824         * sunrpc/Makefile (headers): Add rpc/netdb.h.
78825         (headers-not-in-tirpc): Remove rpc/netdb.h
78826         * resolv/netdb.h: Revert last change.
78828 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
78830         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
78831         circular dependency between libgcc.a and libc.a.
78833 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78835         * resolv/netdb.h: Don't include <rpc/netdb.h>.
78836         * nis/Makefile: Don't install rpcsvc/*.
78837         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
78838         instead of <rpc/types.h>.
78839         (MAXHOSTNAMELEN): Define.
78841 2011-05-03  Andreas Schwab  <schwab@redhat.com>
78843         * elf/ldconfig.c (add_dir): Don't crash on empty path.
78845 2011-04-28  Maciej Babinski  <mbabinski@google.com>
78847         [BZ #12714]
78848         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
78849         gethostbyname4_r when IPv6 results are possible.
78851 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
78853         [BZ #12723]
78854         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
78855         _PC_PIPE_BUF handling.
78857 2011-04-30  Bruno Haible  <bruno@clisp.org>
78859         [BZ #12717]
78860         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
78861         * resolv/netdb.h (getnameinfo): Change type of flags parameter
78862         to 'int'.
78863         * inet/getnameinfo.c (getnameinfo): Likewise.
78865 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
78867         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
78868         to groups setting in database lookup.
78869         * nss/nsswitch.conf: Add initgroups entry.
78871 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
78873         [BZ #12685]
78874         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
78875         mode string.
78876         Patch by Eric Blake <eblake@redhat.com>.
78878 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
78880         * sunrpc/Makefile (need-export-routines): Add svc_run.
78881         (routines): Remove svc_run.
78882         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
78883         * sunrpc/clnt_perr.c (clnt_perrno): Export.
78884         * sunrpc/svc_run.c (svc_run): Likewise.
78885         * sunrpc/svc_udp.c (svcudp_create): Likewise.
78887 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
78889         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
78890         problem in reallocation in last patch.
78892 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
78894         * sunrpc/Makefile: Move inclusion of Rules.
78896 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78898         * nss/nss_files/files-initgroups.c: New file.
78899         * nss/Makefile (libnss_files-routines): Add files-initgroups.
78900         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
78901         _nss_files_initgroups_dyn.
78903 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
78905         * elf/elf.h (R_ARM_IRELATIVE): Define.
78907 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78909         * po/ru.po: Update from translation team.
78911 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78913         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
78914         dependencies.
78916 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
78918         [BZ #12653]
78919         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
78920         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
78921         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78922         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
78923         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
78925 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
78927         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
78928         differing bytes.
78929         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
78930         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
78931         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78933 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78935         [BZ #12420]
78936         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
78937         storing it.
78938         * stdlib/bug-getcontext.c: New file.
78939         * stdlib/Makefile: Add rules to build and run bug-getcontext.
78941 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78943         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
78944         instructions into .machine "z9-109".
78945         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
78946         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
78948 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78950         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
78951         between environment variables and auxiliary vector.
78953 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
78955         * Makefile: Add rules to build linkobj/libc.so.
78956         * include/libc-symbols.h: Define libc_hidden_nolink.
78957         * include/rpc/auth.h: Mark functions which are to be hidden.
78958         * include/rpc/auth_des.h: Likewise.
78959         * include/rpc/auth_unix.h: Likewise.
78960         * include/rpc/clnt.h: Likewise.
78961         * include/rpc/des_crypt.h: Likewise.
78962         * include/rpc/key_prot.h: Likewise.
78963         * include/rpc/pmap_clnt.h: Likewise.
78964         * include/rpc/pmap_prot.h: Likewise.
78965         * include/rpc/pmap_rmt.h: Likewise.
78966         * include/rpc/rpc_msg.h: Likewise.
78967         * include/rpc/svc.h: Likewise.
78968         * include/rpc/svc_auth.h: Likewise.
78969         * include/rpc/xdr.h: Likewise.
78970         * nis/Makefile: Link all DSOs against linkobj/libc.so.
78971         * nss/Makefile: Likewise.
78972         * sunrpc/Makefile: Don't install headers.  Build library with normal
78973         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
78974         * sunrpc/auth_des.c: Hide exported symbols by default, export some
78975         for the compat linking library.  Remove use of INTDEF/INTUSE.
78976         * sunrpc/auth_none.c: Likewise.
78977         * sunrpc/auth_unix.c: Likewise.
78978         * sunrpc/authdes_prot.c: Likewise.
78979         * sunrpc/authuxprot.c: Likewise.
78980         * sunrpc/clnt_gen.c: Likewise.
78981         * sunrpc/clnt_perr.c: Likewise.
78982         * sunrpc/clnt_raw.c: Likewise.
78983         * sunrpc/clnt_simp.c: Likewise.
78984         * sunrpc/clnt_tcp.c: Likewise.
78985         * sunrpc/clnt_udp.c: Likewise.
78986         * sunrpc/clnt_unix.c: Likewise.
78987         * sunrpc/des_crypt.c: Likewise.
78988         * sunrpc/des_soft.c: Likewise.
78989         * sunrpc/get_myaddr.c: Likewise.
78990         * sunrpc/key_call.c: Likewise.
78991         * sunrpc/key_prot.c: Likewise.
78992         * sunrpc/netname.c: Likewise.
78993         * sunrpc/pm_getmaps.c: Likewise.
78994         * sunrpc/pm_getport.c: Likewise.
78995         * sunrpc/pmap_clnt.c: Likewise.
78996         * sunrpc/pmap_prot.c: Likewise.
78997         * sunrpc/pmap_prot2.c: Likewise.
78998         * sunrpc/pmap_rmt.c: Likewise.
78999         * sunrpc/publickey.c: Likewise.
79000         * sunrpc/rpc_cmsg.c: Likewise.
79001         * sunrpc/rpc_common.c: Likewise.
79002         * sunrpc/rpc_dtable.c: Likewise.
79003         * sunrpc/rpc_prot.c: Likewise.
79004         * sunrpc/rpc_thread.c: Likewise.
79005         * sunrpc/rtime.c: Likewise.
79006         * sunrpc/svc.c: Likewise.
79007         * sunrpc/svc_auth.c: Likewise.
79008         * sunrpc/svc_authux.c: Likewise.
79009         * sunrpc/svc_raw.c: Likewise.
79010         * sunrpc/svc_run.c: Likewise.
79011         * sunrpc/svc_simple.c: Likewise.
79012         * sunrpc/svc_tcp.c: Likewise.
79013         * sunrpc/svc_udp.c: Likewise.
79014         * sunrpc/svc_unix.c: Likewise.
79015         * sunrpc/svcauth_des.c: Likewise.
79016         * sunrpc/xcrypt.c: Likewise.
79017         * sunrpc/xdr.c: Likewise.
79018         * sunrpc/xdr_array.c: Likewise.
79019         * sunrpc/xdr_float.c: Likewise.
79020         * sunrpc/xdr_intXX_t.c: Likewise.
79021         * sunrpc/xdr_mem.c: Likewise.
79022         * sunrpc/xdr_rec.c: Likewise.
79023         * sunrpc/xdr_ref.c: Likewise.
79024         * sunrpc/xdr_sizeof.c: Likewise.
79025         * sunrpc/xdr_stdio.c: Likewise.
79027 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
79029         [BZ #12650]
79030         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
79031         * sysdeps/ia64/dl-tls.h: Likewise.
79032         * sysdeps/powerpc/dl-tls.h: Likewise.
79033         * sysdeps/s390/dl-tls.h: Likewise.
79034         * sysdeps/sh/dl-tls.h: Likewise.
79035         * sysdeps/sparc/dl-tls.h: Likewise.
79036         * sysdeps/x86_64/dl-tls.h: Likewise.
79037         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
79039 2011-03-14  Andreas Schwab  <schwab@redhat.com>
79041         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
79042         rpath element also skip the following colon.
79043         (expand_dynamic_string_token): Add is_path parameter and pass
79044         down to DL_DST_REQUIRED and _dl_dst_substitute.
79045         (decompose_rpath): Call expand_dynamic_string_token with
79046         non-zero is_path.  Ignore empty rpaths.
79047         (_dl_map_object_from_fd): Call expand_dynamic_string_token
79048         with zero is_path.
79050 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
79052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
79053         Make cancelable.
79055 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
79057         [BZ #12655]
79058         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
79059         Patch by Filipe David Manana <fdmanana@apache.org>.
79061 2011-04-07  Andreas Schwab  <schwab@redhat.com>
79063         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
79064         Maintain aligned stack.
79065         (CHECK_RSP): Remove unused macro.
79067 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
79069         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
79070         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
79072 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
79074         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
79076         * include/features.h: Mention __USE_XOPEN2K8 in comment.
79078 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
79080         [BZ #12518]
79081         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
79082         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
79083         * sysdeps/x86_64/memmove.c: New file.
79084         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
79085         (memcpy): Renamed to ...
79086         (__new_memcpy): This.
79087         (memcpy): Provide GLIBC_2_14 memcpy.
79088         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
79089         (memcpy): Provide GLIBC_2_2_5 memcpy.
79091 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79093         [BZ #12631]
79094         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
79096 2011-03-30  Andreas Schwab  <schwab@redhat.com>
79098         * misc/syncfs.c: New file.
79099         * misc/Makefile (routines): Add syncfs.
79100         * posix/unistd.h: Declare syncfs.
79101         * sysdeps/unix/syscalls.list: Add syncfs.
79103 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79105         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
79106         open_by_handle_at.
79107         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79108         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79109         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79110         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79111         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79112         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
79113         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79115 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79117         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
79118         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79119         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
79120         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79121         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79122         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79123         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79125         * io/Makefile: Compile fallocate.c, fallocate64.c, and
79126         sync_file_range.c with -fexceptions.
79127         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
79128         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
79129         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
79130         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
79131         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
79132         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
79133         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
79134         sync_file_range as cancellation point
79135         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
79136         now a wrapper around __call_sync_file_range with cancellation handling.
79137         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
79138         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
79139         function name to __call_sync_file_range.
79140         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
79141         Add call_sync_file_range.
79143 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79145         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79146         bits/timex.h.
79148 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79150         * iconv/iconv.h: Fix typo in comment.
79151         * io/fcntl.h: Likewise.
79152         * libio/stdio.h: Likewise.
79153         * posix/spawn.h: Likewise.
79154         * posix/unistd.h: Likewise.
79155         * stdlib/stdlib.h: Likewise.
79156         * time/time.h: Likewise.
79157         * wcsmbs/wchar.h: Likewise.
79159         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
79160         open_by_handle): Add.
79161         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
79162         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
79163         Augment a few comments.
79164         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79165         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79166         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79167         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79168         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79169         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
79170         open_by_handle.
79172         * io/fcntl.h (AT_EMPTY_PATH): Define.
79174 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
79176         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
79177         * sysdeps/unix/sysv/linux/bits/time.h: New file.
79178         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
79179         to...
79180         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
79181         * Versions.def: Add GLIBC_2.14.
79182         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
79183         Export.
79185 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
79187         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
79188         round counter.
79189         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79191 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79193         [BZ #12597]
79194         * string/test-strncmp.c (do_page_test): New function.
79195         (check2): Likewise.
79196         (test_main): Call check2.
79197         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
79199 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
79201         [BZ #12587]
79202         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
79203         Handle cache information in CPU leaf 4.
79204         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79206 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
79208         [BZ #12583]
79209         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
79210         character representation.
79211         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
79213 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
79215         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
79216         END(__isnan) to END(__isnanf) to match function entry point/label
79217         EALIGN(__isnanf,...).
79219 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
79221         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
79223 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
79225         [BZ #12510]
79226         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
79227         copy from the symbol referenced in the relocation to initialize the
79228         used variable.
79229         Patch by Piotr Bury <pbury@goahead.com>.
79230         * elf/Makefile: Add rules to build and tst-unique3.
79231         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
79232         * elf/tst-unique3.cc: New file.
79233         * elf/tst-unique3.h: New file.
79234         * elf/tst-unique3lib.cc: New file.
79235         * elf/tst-unique3lib2.cc: New file.
79237         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
79239 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
79241         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
79242         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
79243         to _start.
79245 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
79247         * elf/dl-load.c (_dl_map_object): If we are looking for the first
79248         to-be-loaded object along a path to loader is ld.so.
79250 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79251             Ulrich Drepper  <drepper@gmail.com>
79253         * sysdeps/x86_64/memset.S: After aligning destination, code
79254         branches to different locations depending on the value of
79255         misalignment, when multiarch is enabled. Fix this.
79257 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79259         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
79260         Set _x86_64_preferred_memory_instruction for AMD processsors.
79261         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79262         Set bit_Prefer_SSE_for_memop for AMD processors.
79264 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
79266         * libio/fmemopen.c (fmemopen): Optimize a bit.
79268 2011-03-03  Andreas Schwab  <schwab@redhat.com>
79270         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
79272 2011-03-03  Roland McGrath  <roland@redhat.com>
79274         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
79276 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
79278         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
79279         __bzero_ultra1 instead of __memset_ultra1.
79281 2011-02-23  Andreas Schwab  <schwab@redhat.com>
79282             Ulrich Drepper  <drepper@gmail.com>
79284         [BZ #12509]
79285         * include/link.h (struct link_map): Add l_orig_initfini.
79286         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
79287         returning unsuccessfully.
79288         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
79289         close of a file loaded at startup, restore the original l_initfini
79290         list.
79291         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
79292         list, store the pointer.
79293         * elf/Makefile ($(objpfx)noload-mem): New rule.
79294         (noload-ENV): Define.
79295         (tests): Add $(objpfx)noload-mem.
79296         * elf/noload.c: Include <memcheck.h>.
79297         (main): Call mtrace.  Close all opened handles.
79299 2011-02-17  Andreas Schwab  <schwab@redhat.com>
79301         [BZ #12454]
79302         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
79303         dependencies are missing.
79305 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79307         Fix __if_freereq crash: Unlike the generic version which uses free,
79308         Hurd needs munmap.
79309         * sysdeps/mach/hurd/ifreq.h: New file.
79311 2011-01-27  Petr Baudis  <pasky@suse.cz>
79312             Ulrich Drepper  <drepper@gmail.com>
79314         [BZ 12445]#
79315         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
79316         to extend_alloca().
79317         * stdio-common/bug23.c: New file.
79318         * stdio-common/Makefile (tests): Add bug23.
79320 2010-09-28  Andreas Schwab  <schwab@redhat.com>
79321             Ulrich Drepper  <drepper@gmail.com>
79323         [BZ #12489]
79324         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
79325         before performing relro protection.  At old place add assertion
79326         to make sure nothing changed.
79328 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
79329             Glauber de Oliveira Costa  <glommer@gmail.com>
79331         * elf/elf.h: Add new ARM TLS relocs.
79333 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
79335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
79336         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
79337         cast from r3.
79338         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
79339         'tests' variable.
79340         * sysdeps/wordsize-64/tst-writev.c: New file.
79342 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
79344         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
79345         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
79346         insns in _dl_start to prevent a TOC reference before relocs are
79347         resolved.
79349 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
79351         [BZ #12469]
79352         * Makeconfig: Remove RANLIB definition.
79353         * Makerules: Don't use RANLIB.
79354         * aclocal.m4: Remove ranlib test.
79355         * configure.in: No need to check for ranlib.
79356         * elf/rtld-Rules: Don't use RANLIB.
79358 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79360         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
79361         protection macro.
79362         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
79363         inclusion protection macro.
79365         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
79366         SIGRTMIN and SIGRTMAX and print information in that case only when
79367         SIGRTMIN is defined.
79369 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
79371         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
79372         arginfo fn returning -1.
79374         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
79375         and thousands string is zero terminated.
79377 2011-02-03  Andreas Schwab  <schwab@redhat.com>
79379         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
79380         sysdeps/unix/sysv/linux/bits/socket.h.
79382 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79384         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
79385         (__CPU_COUNT): Remove old macros.
79386         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
79387         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
79388         (__CPU_ALLOC, __CPU_FREE): Add macros.
79389         (__sched_cpualloc, __sched_cpufree): Add declarations.
79391 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
79393         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
79394         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
79395         * nscd/aicache.c (addhstaiX): Return timeout of added value.
79396         (readdhstai): Return value of addhstaiX call.
79397         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
79398         (addgrbyX): Return value returned by cache_addgr.
79399         (readdgrbyname): Return value returned by addgrbyX.
79400         (readdgrbygid): Likewise.
79401         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
79402         (addpwbyX): Return value returned by cache_addpw.
79403         (readdpwbyname): Return value returned by addhstbyX.
79404         (readdpwbyuid): Likewise.
79405         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
79406         (addservbyX): Return value returned by cache_addserv.
79407         (readdservbyname): Return value returned by addservbyX:
79408         (readdservbyport): Likewise.
79409         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
79410         (addhstbyX): Return value returned by cache_addhst.
79411         (readdhstbyname): Return value returned by addhstbyX.
79412         (readdhstbyaddr): Likewise.
79413         (readdhstbynamev6): Likewise.
79414         (readdhstbyaddrv6): Likewise.
79415         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
79416         (readdinitgroups): Return value returned by addinitgroupsX.
79417         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
79418         (prune_cache): Keep track of timeout value of re-added entries.
79419         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
79420         * nscd/nscd.h: Adjust prototypes of readd* functions.
79422 2011-02-04  Roland McGrath  <roland@redhat.com>
79424         * nis/nis_server.c (nis_servstate): Use the right name for 0.
79425         (nis_stats): Likewise.
79426         * nis/nis_modify.c (nis_modify): Likewise.
79427         * nis/nis_remove.c (nis_remove): Likewise.
79428         * nis/nis_add.c (nis_add): Likewise.
79430         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
79432         * posix/fnmatch_loop.c: Add some consts.
79434         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
79436 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
79438         [BZ #12460]
79439         * config.make.in (config-cflags-novzeroupper): Define.
79440         * configure.in: Substitute libc_cv_cc_novzeroupper.
79441         * elf/Makefile (AVX-CFLAGS): Define.
79442         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
79443         (CFLAGS-tst-auditmod4a.c): Likewise.
79444         (CFLAGS-tst-auditmod4b.c): Likewise.
79445         (CFLAGS-tst-auditmod6b.c): Likewise.
79446         (CFLAGS-tst-auditmod6c.c): Likewise.
79447         (CFLAGS-tst-auditmod7b.c): Likewise.
79448         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
79450 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
79452         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
79453         function to the callback.
79454         Patch partly by Jiri Olsa <jolsa@redhat.com>.
79456 2011-02-02  Andreas Schwab  <schwab@redhat.com>
79458         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
79459         of errno.
79461 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
79463         [BZ #11724]
79464         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
79465         of constructors.
79466         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
79467         of destructors.
79468         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
79470         [BZ #11724]
79471         * elf/Makefile: Add rules to build and run new test.
79472         * elf/tst-initorder.c: New file.
79473         * elf/tst-initorder.exp: New file.
79474         * elf/tst-initordera1.c: New file.
79475         * elf/tst-initordera2.c: New file.
79476         * elf/tst-initordera3.c: New file.
79477         * elf/tst-initordera4.c: New file.
79478         * elf/tst-initorderb1.c: New file.
79479         * elf/tst-initorderb2.c: New file.
79480         * elf/tst-order-a1.c: New file.
79481         * elf/tst-order-a2.c: New file.
79482         * elf/tst-order-a3.c: New file.
79483         * elf/tst-order-a4.c: New file.
79484         * elf/tst-order-b1.c: New file.
79485         * elf/tst-order-b2.c: New file.
79486         * elf/tst-order-main.c: New file.
79487         New test case by George Gensure <werkt0@gmail.com>.
79489 2010-10-01  Andreas Schwab  <schwab@redhat.com>
79491         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79492         decoding ACE if AI_CANONIDN.
79494 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
79496         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
79498 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
79500         * version.h (RELEASE): Bump for 2.13 release.
79501         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
79503         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
79505         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
79506         MADV_NOHUGEPAGE.
79507         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
79508         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
79509         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79510         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79511         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79512         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79514         * posix/getconf.c: Update copyright year.
79515         * catgets/gencat.c: Likewise.
79516         * csu/version.c: Likewise.
79517         * debug/catchsegv.sh: Likewise.
79518         * debug/xtrace.sh: Likewise.
79519         * elf/ldconfig.c: Likewise.
79520         * elf/ldd.bash.in: Likewise.
79521         * elf/sprof.c (print_version): Likewise.
79522         * iconv/iconv_prog.c: Likewise.
79523         * iconv/iconvconfig.c: Likewise.
79524         * locale/programs/locale.c: Likewise.
79525         * locale/programs/localedef.c: Likewise.
79526         * malloc/memusage.sh: Likewise.
79527         * malloc/mtrace.pl: Likewise.
79528         * nscd/nscd.c (print_version): Likewise.
79529         * nss/getent.c: Likewise.
79531         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
79532         PF_CAIF, and PF_ALG.
79533         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79535 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
79537         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
79538         (modules-names): Use them.
79539         (ifunc-test-modules, ifunc-pie-tests): Define.
79540         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
79541         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
79542         (test-extras): Likewise.
79543         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
79544         $(compile-command.c).
79545         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
79546         (all-built-dso): Define.
79547         (check-textrel.out, check-execstack.out): Depend on it.
79549         * configure.in: Don't override --enable-multi-arch.
79551 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
79553         [BZ #6812]
79554         * nscd/hstcache.c (tryagain): Define.
79555         (cache_addhst): Return tryagain not notfound for temporary errors.
79556         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
79557         failed.
79559 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
79561         [BZ #10563]
79562         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
79563         to make the syscall.
79564         * sysdeps/unix/sysv/linux/setgroups.c: New file.
79566         [BZ #12378]
79567         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
79568         and fall back to matching as normal character if the string ends before
79569         the matching ']' is found.  This is what POSIX requires.
79570         * posix/testfnm.c: Adjust test result.
79571         * posix/globtest.sh: Adjust test result.  Add new test.
79572         * posix/tst-fnmatch.input: Likewise.
79573         * posix/tst-fnmatch2.c: Add new test.
79575 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
79577         * elf/Makefile (check-execstack): Revert last change.  Depend on
79578         check-execstack.h.
79579         (check-execstack.h): New target.
79580         (generated): Add check-execstack.h.
79581         * elf/check-execstack.c: Include "check-execstack.h".
79582         (main): Revert last change.
79583         (handle_file): Return zero if GNU_STACK is absent and
79584         DEFAULT_STACK_PERMS doesn't include PF_X.
79586 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
79588         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
79589         in child fails because the descriptor is already closed.
79590         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
79591         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
79592         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
79594         [BZ #12397]
79595         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
79596         syscall.
79598         [BZ #10484]
79599         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
79600         temporary buffer used to handle multi lookups locally.
79601         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
79603 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79605         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
79606         loader is ld.so.
79608 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
79610         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
79611         alignment for SSE2.
79613 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79615         [BZ #12394]
79616         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
79617         characters.  When rounding increased number of integer digits recompute
79618         number of groups.
79619         * stdio-common/tst-grouping.c: New file.
79620         * stdio-common/Makefile: Add rules to build and run tst-grouping.
79622 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
79624         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
79625         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
79627         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
79628         void.
79629         * bits/select.h: Likewise.
79631 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
79633         * po/ja.po: Update from translation team.
79635 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
79637         [BZ #11155]
79638         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
79639         implementation just like for lxstat, fxstatat, et al.
79641 2010-12-27  Jim Meyering  <meyering@redhat.com>
79643         [BZ #12348]
79644         * posix/regexec.c (build_trtable): Return failure indication upon
79645         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
79647 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
79649         [BZ #12201]
79650         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
79651         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
79652         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
79653         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
79655         [BZ #12207]
79656         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
79658         [BZ #12204]
79659         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
79660         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
79662 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
79664         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
79665         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
79666         script has SORT_BY_INIT_PRIORITY.
79667         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
79668         NO_CTORS_DTORS_SECTIONS is defined.
79669         * elf/soinit.c: Likewise.
79670         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
79671         NO_CTORS_DTORS_SECTIONS is defined.
79672         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
79673         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
79674         * sysdeps/sh/init-first.c: Likewise.
79675         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
79677 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
79679         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
79680         always use the slow path.
79682 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
79684         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
79685         similar rule which adds the sysdep directories to the header search in
79686         order to pick up the correct platform stackinfo.h.
79687         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
79688         perform test if it is, otherwise return successfully without testing.
79689         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
79690         DEFAULT_STACK_PERMS define in stackinfo.h.
79691         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
79692         defined in stackinfo.h.
79693         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
79694         DEFAULT_STACK_PERMS defined in stackinfo.h.
79695         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
79696         * sysdeps/ia64/stackinfo.h: Likewise.
79697         * sysdeps/s390/stackinfo.h: Likewise.
79698         * sysdeps/sh/stackinfo.h: Likewise.
79699         * sysdeps/sparc/stackinfo.h: Likewise.
79700         * sysdeps/x86_64/stackinfo.h: Likewise.
79701         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
79702         PF_X for powerpc64.  Retain PF_X for powerpc32.
79704 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
79706         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
79707         accurately.
79708         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
79709         GETDENTS_64BIT_ALIGNED.
79711 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
79713         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
79715 2010-12-10  Andreas Schwab  <schwab@redhat.com>
79717         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
79718         _GNU_SOURCE.
79720         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
79721         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
79722         Remove __restrict.
79723         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
79724         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
79726 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
79728         [BZ #11655]
79729         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
79730         are initialized.
79732 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
79734         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
79736 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
79738         * po/it.po: Update from translation team.
79740 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
79742         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
79743         unused codes.
79745 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
79747         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
79749 2010-11-24  Andreas Schwab  <schwab@redhat.com>
79751         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
79752         specially.
79753         (gaih_getanswer_slice): Likewise.
79755 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
79757         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
79759 2010-05-31  Petr Baudis  <pasky@suse.cz>
79761         [BZ #11149]
79762         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
79763         silently even in the chroot mode.
79765 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
79767         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
79768         last patch a bit.  Pretty printing
79770 2010-05-31  Petr Baudis <pasky@suse.cz>
79772         [BZ #10085]
79773         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
79774         initialization of skip_initgroups_dyn.
79776 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
79778         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
79779         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79781 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
79783         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
79785 2010-11-11  Andreas Schwab  <schwab@redhat.com>
79787         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
79788         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
79789         (tst-fnmatch-ENV): Set MALLOC_TRACE.
79790         ($(objpfx)tst-fnmatch-mem): New rule.
79791         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
79792         * posix/tst-fnmatch.c (main): Call mtrace.
79794 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
79796         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79797         Support Intel processor model 6 and model 0x2c.
79799 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
79801         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
79802           signed comparison.
79804 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
79806         [BZ #12205]
79807         * string/test-strncasecmp.c (check_result): New function.
79808         (do_one_test): Use it.
79809         (check1): New function.
79810         (test_main): Use it.
79811         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
79812         Support strcasecmp and strncasecmp.
79814 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
79816         [BZ #12194]
79817         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
79818         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79820 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
79822         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
79823         IFUNC support.
79824         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79825         memset-x86-64.
79826         * sysdeps/x86_64/multiarch/bzero.S: New file.
79827         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
79828         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
79829         * sysdeps/x86_64/multiarch/memset.S: New file.
79830         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
79831         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79832         Set bit_Prefer_SSE_for_memop for Intel processors.
79833         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
79834         Define.
79835         (index_Prefer_SSE_for_memop): Define.
79836         (HAS_PREFER_SSE_FOR_MEMOP): Define.
79838 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
79840         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
79841         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
79843 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
79845         [BZ #12191]
79846         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79847         (__x86_64_raw_data_cache_size_half): Likewise.
79848         (__x86_64_raw_shared_cache_size): Likewise.
79849         (__x86_64_raw_shared_cache_size_half): Likewise.
79851         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79852         (__x86_64_raw_data_cache_size_half): Likewise.
79853         (__x86_64_raw_shared_cache_size): Likewise.
79854         (__x86_64_raw_shared_cache_size_half): Likewise.
79855         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
79856         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
79857         and __x86_64_raw_shared_cache_size_half.  Round
79858         __x86_64_data_cache_size_half, __x86_64_data_cache_size
79859         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
79860         to multiple of 256 bytes.
79862 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
79864         [BZ #12167]
79865         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
79866         of inacessible symlinks.  Verify result of symlink before returning it.
79867         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
79868         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
79870 2010-10-28  Erich Ritz  <erichritz@gmail.com>
79872         * math/math.h (isinf): Fix typo in comment.
79874 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
79876         * po/da.po: Update from translation team.
79878 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
79880         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
79881         is added to the list.
79883 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79884             Ulrich Drepper  <drepper@gmail.com>
79886         * elf/dl-object.c (_dl_new_object): Don't append the new object to
79887         the global list here.  Move code to...
79888         (_dl_add_to_namespace_list): ...here.  New function.
79889         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
79890         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
79891         * elf/dl-load.c (lose): Don't remove the element from the list.
79892         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
79893         (_dl_map_object): Likewise.
79895 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
79897         [BZ #12159]
79898         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
79899         into all bytes of SSE register.
79900         Patch by Richard Li <richardpku@gmail.com>.
79902 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
79904         [BZ #12140]
79905         * malloc/malloc.c (_int_free): Fill correct number of bytes when
79906         perturbing.
79908 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
79910         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
79911         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
79912         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
79913         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
79914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
79915         submachine.
79916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
79918 2010-10-22  Andreas Schwab  <schwab@redhat.com>
79920         * include/dlfcn.h (__RTLD_SECURE): Define.
79921         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
79922         mode & __RTLD_SECURE instead.
79923         (open_path): Rename preloaded parameter to secure.
79924         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
79925         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
79926         * elf/dl-deps.c (openaux): Likewise.
79927         * elf/rtld.c (struct map_args): Remove is_preloaded.
79928         (map_doit): Don't use it.
79929         (dl_main): Likewise.
79930         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
79931         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
79933 2010-09-09  Andreas Schwab  <schwab@redhat.com>
79935         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
79936         (sysd-rules-targets): Remove duplicates.
79937         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
79938         rtld-%.$o dependency.
79940 2010-10-18  Andreas Schwab  <schwab@redhat.com>
79942         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
79943         _dl_map_object do it.
79945 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
79947         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
79948         fast fma builtins, define the macros in the C99 standard.
79949         (FP_FAST_FMAF): Likewise.
79950         (FP_FAST_FMAL): Likewise.
79951         * sysdeps/x86_64/bits/mathdef.h: Likewise.
79953         * bits/mathdef.h: Update copyright year.
79954         * sysdeps/powerpc/bits/mathdef.h: Likewise.
79956 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
79958         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
79959         builtins, define the macros in the C99 standard.
79960         (FP_FAST_FMAF): Likewise.
79961         (FP_FAST_FMAL): Likewise.
79962         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
79963         multiply/add.
79964         (FP_FAST_FMAF): Likewise.
79966 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
79968         [BZ #3268]
79969         * math/libm-test.inc (fma_test): Some new testcases.
79970         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
79971         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
79972         y and infinite z.  Do multiplication by C already in long double.
79973         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
79974         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
79975         y and infinite z.  Do bitwise or of inexact bit into u.d.
79976         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
79977         * sysdeps/i386/fpu/s_fmaf.S: Removed.
79978         * sysdeps/i386/fpu/s_fma.S: Removed.
79979         * sysdeps/i386/fpu/s_fmal.S: Removed.
79981 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
79983         [BZ #3268]
79984         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
79985         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
79986         computation is not scheduled after fetestexcept.  Fix value
79987         of minimum denormal long double.
79989 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
79991         [BZ #3268]
79992         * math/libm-test.inc (fma_test): Add some more tests.
79993         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
79994         correctly.
79996 2010-10-15  Andreas Schwab  <schwab@redhat.com>
79998         * scripts/data/localplt-s390-linux-gnu.data: New file.
79999         * scripts/data/localplt-s390x-linux-gnu.data: New file.
80001 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
80003         [BZ #3268]
80004         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
80005         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
80006         instead of dbl-64.
80007         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
80008         inlines.
80009         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
80010         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
80011         if one of x and y is very large and the other is subnormal.
80012         * sysdeps/s390/fpu/s_fmaf.c: New file.
80013         * sysdeps/s390/fpu/s_fma.c: New file.
80014         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
80015         * sysdeps/powerpc/fpu/s_fma.S: New file.
80016         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
80017         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
80018         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
80020 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
80022         [BZ #3268]
80023         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
80024         fma tests.
80025         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
80026         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
80027         * sysdeps/i386/i686/multiarch/s_fma.c: Include
80028         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
80029         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
80030         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
80031         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
80033 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
80035         [BZ #12078]
80036         * posix/regcomp.c (parse_branch): One more memory leak plugged.
80037         * posix/bug-regex31.input: Add test case.
80039 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80041         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
80042         * posix/bug-regex31.input: New file.
80044         [BZ #12078]
80045         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
80046         (parse_sub_exp): Fix last change, use postorder.
80048         * posix/bug-regex31.c: New file.
80049         * posix/Makefile: Add rules to build and run bug-regex31.
80051         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
80053         [BZ #12078]
80054         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
80056         [BZ #12108]
80057         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
80058         to have entries in sys_siglist.
80060         [BZ #12093]
80061         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
80062         be NULL.
80064 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
80066         [BZ #3268]
80067         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
80068         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
80069         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
80070         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
80071         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80072         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
80073         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
80074         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
80075         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
80076         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
80077         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
80078         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
80079         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
80080         * math/ftestexcept.c (fetestexcept): Likewise.
80081         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
80082         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
80083         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
80084         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
80085         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
80086         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
80087         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80089 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80091         [BZ #12107]
80092         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
80093         newline.
80095 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
80097         * string/bug-strstr1.c: New file.
80098         * string/Makefile: Add rules to build and run bug-strstr1.
80100 2010-10-05  Eric Blake  <eblake@redhat.com>
80102         [BZ #12092]
80103         * string/str-two-way.h (two_way_long_needle): Always clear memory
80104         when skipping input due to the shift table.
80106 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
80108         [BZ #12005]
80109         * malloc/mcheck.c: Handle large requests.
80111         [BZ #12077]
80112         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
80113         for strncmp and strncasecmp.
80114         * string/stratcliff.c: Add tests for strcmp and strncmp.
80115         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
80117 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80119         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
80120         __set_fpscr.
80122 2010-09-30  Andreas Jaeger  <aj@suse.de>
80124         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
80125         (CGROUP_SUPER_MAGIC): Define.
80126         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80127         Handle btrfs and cgroup file systems.
80128         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
80129         Likewise.
80131 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
80133         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
80134         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
80136 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80138         [BZ #12067]
80139         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
80140         trying to locate the ELF header.
80142 2010-09-27  Andreas Schwab  <schwab@redhat.com>
80144         [BZ #11611]
80145         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
80146         Mask out sign-bit copies when constructing f_fsid.
80148 2010-09-24  Petr Baudis <pasky@suse.cz>
80150         * debug/stack_chk_fail_local.c: Add missing licence exception.
80151         * debug/warning-nop.c: Likewise.
80153 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
80155         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
80156         implementing getdents64 using getdents syscall, set d_type if
80157         __ASSUME_GETDENTS32_D_TYPE.
80159 2010-09-16  Andreas Schwab  <schwab@redhat.com>
80161         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
80162         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
80164 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
80166         [BZ #12037]
80167         * posix/unistd.h: Undo change of feature selection for ftruncate from
80168         2010-01-11.
80170 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
80172         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
80173         detection.
80175 2010-09-20  Andreas Schwab  <schwab@redhat.com>
80177         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
80178         fanotify_mark.
80179         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80181 2010-09-14  Andreas Schwab  <schwab@redhat.com>
80183         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
80184         variables after CHECK_SP call.
80185         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
80187 2010-09-13  Andreas Schwab  <schwab@redhat.com>
80188             Ulrich Drepper  <drepper@redhat.com>
80190         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
80191         re-relocationg ld.so.
80192         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
80193         _dl_init_paths call.
80194         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
80195         here anymore.
80197 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
80199         * resolv/res_init.c (__res_vinit): Count the default server we added.
80201 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
80202             Ulrich Drepper  <drepper@redhat.com>
80204         [BZ #11968]
80205         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80206         (____longjmp_chk): Use %ebx for saving value across system call.
80207         Add unwind info.
80209 2010-09-06  Andreas Schwab  <schwab@redhat.com>
80211         * manual/Makefile: Don't mix pattern rules with normal rules.
80213 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
80215         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
80216         operation.
80217         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
80218         * libio/iofopncook.c (_IO_cookie_init): Likewise.
80219         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
80220         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
80221         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80222         Likewise.
80224 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
80226         [BZ #11979]
80227         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
80228         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
80230 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
80232         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
80233         * sysdeps/x86_64/addmul_1.S: Likewise.
80234         * sysdeps/x86_64/lshift.S: Likewise.
80235         * sysdeps/x86_64/mul_1.S: Likewise.
80236         * sysdeps/x86_64/rshift.S: Likewise.
80237         * sysdeps/x86_64/sub_n.S: Likewise.
80238         * sysdeps/x86_64/submul_1.S: Likewise.
80240 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80242         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
80243         Define __sched_param instead of SCHED_* and sched_param when
80244         <bits/sched.h> is included with __need_schedparam defined.
80245         * bits/sched.h [__need_schedparam]
80246         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
80247         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
80248         (__defined_schedparam): Define to 1.
80249         (__sched_param): New structure, identical to sched_param.
80250         (__need_schedparam): Undefine.
80252 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
80254         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
80255         (epoll_create1): Declare.
80257         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
80259 2010-08-31  Andreas Schwab  <schwab@redhat.com>
80261         [BZ #7066]
80262         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
80263         shifting retval into place.
80265 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
80267         * nis/rpcsvc/nis.h: Update copyright notice.
80268         * nis/rpcsvc/nis.x: Likewise.
80269         * nis/rpcsvc/nis_callback.h: Likewise.
80270         * nis/rpcsvc/nis_callback.x: Likewise.
80271         * nis/rpcsvc/nis_object.x: Likewise.
80272         * nis/rpcsvc/nis_tags.h: Likewise.
80273         * nis/rpcsvc/yp.h: Likewise.
80274         * nis/rpcsvc/yp.x: Likewise.
80275         * nis/rpcsvc/ypupd.h: Likewise.
80276         * nis/yp_xdr.c: Likewise.
80277         * nis/ypupdate_xdr.c: Likewise.
80279         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
80280         mainly the body of pmap_getport.  Add parameters to specify timeouts.
80281         (pmap_getport): Use __libc_rpc_getport.
80282         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
80283         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
80284         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
80286 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
80288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
80289         fanotify_mark.
80291 2010-08-27  Roland McGrath  <roland@redhat.com>
80293         * sysdeps/i386/i686/multiarch/Makefile
80294         (CFLAGS-varshift.c): New variable.
80296 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
80298         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
80299         * sysdeps/i386/i686/multiarch/varshift.c: New file.
80301         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
80303         * sysdeps/x86_64/strlen.S: Minimal code improvement.
80305 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
80307         * sysdeps/x86_64/strlen.S: Unroll the loop.
80308         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80309         strlen-sse2 strlen-sse2-bsf.
80310         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
80311         __strlen_no_bsf if bit_Slow_BSF is set.
80312         (__strlen_sse42): Removed.
80313         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
80314         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
80316 2010-08-25  Roland McGrath  <roland@redhat.com>
80318         * sysdeps/x86_64/multiarch/varshift.S: File removed.
80319         * sysdeps/x86_64/multiarch/varshift.c: New file.
80320         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
80321         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
80322         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
80323         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
80325 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
80327         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80328         strlen-sse2 strlen-sse2-bsf.
80329         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
80330         __strlen_sse2_bsf if bit_Slow_BSF is unset.
80331         (__strlen_sse2): Removed.
80332         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
80333         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
80334         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
80335         bit_Slow_BSF for Atom.
80336         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
80337         (index_Slow_BSF): Define.
80338         (HAS_SLOW_BSF): Define.
80340 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
80342         [BZ #10851]
80343         * resolv/res_init.c (__res_vinit): When no server address at all
80344         is given default to loopback.
80346 2010-08-24  Roland McGrath  <roland@redhat.com>
80348         * configure.in: Remove config-name.h generation.
80349         * configure: Regenerated.
80350         * config-name.in: File removed.
80351         * scripts/config-uname.sh: New file.
80352         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
80353         ($(objdir)config-name.h): New target.
80355         * sunrpc/rpc_parse.h: Avoid nested comment.
80357 2010-08-24  Richard Henderson  <rth@redhat.com>
80358             Ulrich Drepper  <drepper@redhat.com>
80359             H.J. Lu  <hongjiu.lu@intel.com>
80361         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
80362         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
80363         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
80364         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
80365         _mm_alignr_epi8 with _mm_loadu_si128.
80366         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
80367         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
80368         (__m128i_shift_right): Removed.
80369         * sysdeps/i386/i686/multiarch/varshift.h: New file.
80370         * sysdeps/i386/i686/multiarch/varshift.S: New file.
80371         * sysdeps/x86_64/multiarch/varshift.h: New file.
80372         * sysdeps/x86_64/multiarch/varshift.S: New file.
80374 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
80376         * configure.in: Move assembler checks to before sysdep dir checking.
80378 2010-08-20  Petr Baudis  <pasky@suse.cz>
80380         * LICENSES: Sync the sunrpc license.
80382 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
80384         * sunrpc/auth_des.c: Update copyright notice once again.
80385         * sunrpc/auth_none.c: Likewise.
80386         * sunrpc/auth_unix.c: Likewise.
80387         * sunrpc/authdes_prot.c: Likewise.
80388         * sunrpc/authuxprot.c: Likewise.
80389         * sunrpc/bindrsvprt.c: Likewise.
80390         * sunrpc/clnt_gen.c: Likewise.
80391         * sunrpc/clnt_perr.c: Likewise.
80392         * sunrpc/clnt_raw.c: Likewise.
80393         * sunrpc/clnt_simp.c: Likewise.
80394         * sunrpc/clnt_tcp.c: Likewise.
80395         * sunrpc/clnt_udp.c: Likewise.
80396         * sunrpc/clnt_unix.c: Likewise.
80397         * sunrpc/des_crypt.c: Likewise.
80398         * sunrpc/des_soft.c: Likewise.
80399         * sunrpc/get_myaddr.c: Likewise.
80400         * sunrpc/getrpcport.c: Likewise.
80401         * sunrpc/key_call.c: Likewise.
80402         * sunrpc/key_prot.c: Likewise.
80403         * sunrpc/openchild.c: Likewise.
80404         * sunrpc/pm_getmaps.c: Likewise.
80405         * sunrpc/pm_getport.c: Likewise.
80406         * sunrpc/pmap_clnt.c: Likewise.
80407         * sunrpc/pmap_prot.c: Likewise.
80408         * sunrpc/pmap_prot2.c: Likewise.
80409         * sunrpc/pmap_rmt.c: Likewise.
80410         * sunrpc/rpc/auth.h: Likewise.
80411         * sunrpc/rpc/auth_unix.h: Likewise.
80412         * sunrpc/rpc/clnt.h: Likewise.
80413         * sunrpc/rpc/des_crypt.h: Likewise.
80414         * sunrpc/rpc/key_prot.h: Likewise.
80415         * sunrpc/rpc/netdb.h: Likewise.
80416         * sunrpc/rpc/pmap_clnt.h: Likewise.
80417         * sunrpc/rpc/pmap_prot.h: Likewise.
80418         * sunrpc/rpc/pmap_rmt.h: Likewise.
80419         * sunrpc/rpc/rpc.h: Likewise.
80420         * sunrpc/rpc/rpc_des.h: Likewise.
80421         * sunrpc/rpc/rpc_msg.h: Likewise.
80422         * sunrpc/rpc/svc.h: Likewise.
80423         * sunrpc/rpc/svc_auth.h: Likewise.
80424         * sunrpc/rpc/types.h: Likewise.
80425         * sunrpc/rpc/xdr.h: Likewise.
80426         * sunrpc/rpc_clntout.c: Likewise.
80427         * sunrpc/rpc_cmsg.c: Likewise.
80428         * sunrpc/rpc_common.c: Likewise.
80429         * sunrpc/rpc_cout.c: Likewise.
80430         * sunrpc/rpc_dtable.c: Likewise.
80431         * sunrpc/rpc_hout.c: Likewise.
80432         * sunrpc/rpc_main.c: Likewise.
80433         * sunrpc/rpc_parse.c: Likewise.
80434         * sunrpc/rpc_parse.h: Likewise.
80435         * sunrpc/rpc_prot.c: Likewise.
80436         * sunrpc/rpc_sample.c: Likewise.
80437         * sunrpc/rpc_scan.c: Likewise.
80438         * sunrpc/rpc_scan.h: Likewise.
80439         * sunrpc/rpc_svcout.c: Likewise.
80440         * sunrpc/rpc_tblout.c: Likewise.
80441         * sunrpc/rpc_util.c: Likewise.
80442         * sunrpc/rpc_util.h: Likewise.
80443         * sunrpc/rpcinfo.c: Likewise.
80444         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
80445         * sunrpc/rpcsvc/key_prot.x: Likewise.
80446         * sunrpc/rpcsvc/klm_prot.x: Likewise.
80447         * sunrpc/rpcsvc/mount.x: Likewise.
80448         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
80449         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
80450         * sunrpc/rpcsvc/rex.x: Likewise.
80451         * sunrpc/rpcsvc/rstat.x: Likewise.
80452         * sunrpc/rpcsvc/rusers.x: Likewise.
80453         * sunrpc/rpcsvc/sm_inter.x: Likewise.
80454         * sunrpc/rpcsvc/spray.x: Likewise.
80455         * sunrpc/rpcsvc/yppasswd.x: Likewise.
80456         * sunrpc/rtime.c: Likewise.
80457         * sunrpc/svc.c: Likewise.
80458         * sunrpc/svc_auth.c: Likewise.
80459         * sunrpc/svc_authux.c: Likewise.
80460         * sunrpc/svc_raw.c: Likewise.
80461         * sunrpc/svc_run.c: Likewise.
80462         * sunrpc/svc_simple.c: Likewise.
80463         * sunrpc/svc_tcp.c: Likewise.
80464         * sunrpc/svc_udp.c: Likewise.
80465         * sunrpc/svc_unix.c: Likewise.
80466         * sunrpc/svcauth_des.c: Likewise.
80467         * sunrpc/xcrypt.c: Likewise.
80468         * sunrpc/xdr.c: Likewise.
80469         * sunrpc/xdr_array.c: Likewise.
80470         * sunrpc/xdr_float.c: Likewise.
80471         * sunrpc/xdr_mem.c: Likewise.
80472         * sunrpc/xdr_rec.c: Likewise.
80473         * sunrpc/xdr_ref.c: Likewise.
80474         * sunrpc/xdr_sizeof.c: Likewise.
80475         * sunrpc/xdr_stdio.c: Likewise.
80477         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
80478         handling.
80480 2010-08-19  Andreas Schwab  <schwab@redhat.com>
80482         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
80484 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
80486         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
80487         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
80488         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
80489         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
80490         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
80491         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
80492         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
80493         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
80494         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
80495         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
80496         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
80497         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
80498         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
80499         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
80501 2010-07-26  Anton Blanchard  <anton@samba.org>
80503         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
80504         * malloc/arena.c (heap_trim): Likewise.
80506 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
80508         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
80509         here.  Not...
80510         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
80511         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
80513 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
80515         * sysdeps/i386/elf/Makefile: New file.
80517 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80519         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
80520         from fanotify_init.
80521         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
80522         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80524 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
80526         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
80527         of strncasecmp_l.
80528         * sysdeps/multiarch/strcmp.S: Likewise.
80530 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
80532         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80533         strncase_l-nonascii.
80534         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80535         Add strncase_l-ssse3.
80536         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
80537         * sysdeps/x86_64/strcmp.S: Likewise.
80538         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
80539         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
80540         * sysdeps/x86_64/strncase.S: New file.
80541         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
80542         * sysdeps/x86_64/strncase_l.S: New file.
80543         * string/Makefile (strop-tests): Add strncasecmp.
80544         * string/test-strncasecmp.c: New file.
80546         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
80547         warning.
80549         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
80550         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
80552 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80554         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
80556 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
80558         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
80559         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
80560         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
80562 2010-05-01  Alan Modra  <amodra@gmail.com>
80564         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
80565         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
80566         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
80567         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
80568         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
80569         tidying.  Don't tail-call __sigjmp_save for static lib.
80570         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
80571         save location.
80572         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
80573         (CALL_MCOUNT): Add eh info, and nop after bl.
80574         (TAIL_CALL_SYSCALL_ERROR): New macro.
80575         (PSEUDO_RET): Use it.
80576         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
80577         Correct save location of integer regs and cr.
80578         (_dl_profile_resolve): Correct cr save location.  Delete nops
80579         after bl when SHARED.  Reduce cfi size a little by better
80580         placement of cfi directives.
80581         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
80582         make a stack frame.  Instead use parm save area as a temp.
80583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
80584         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
80585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
80586         Don't make a stack frame for parent, use parm save area.
80587         Increase child stack frame to 112 bytes.  Don't save unused reg,
80588         and adjust reg usage.  Set up cfi on error recovery and
80589         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
80590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
80591         (__makecontext): Add dummy nop after jump to exit.
80592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
80593         Use correct parm save area and cr save, reduce stack frame.
80594         Correct cfi for possible PSEUDO_RET frame setup.
80595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
80596         Branch to local label emitted by PSEUDO_RET rather than
80597         __syscall_error.
80599 2010-08-12  Andreas Schwab  <schwab@redhat.com>
80601         [BZ #11904]
80602         * locale/programs/locale.c (print_assignment): New function.
80603         (show_locale_vars): Use it.
80605 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
80607         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
80608         field.
80609         (struct statfs64): Likewise.
80610         (_STATFS_F_FLAGS): Define.
80611         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
80612         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80613         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
80614         (ST_VALID): Define locally.
80615         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
80616         __statvfs_getflags, use the provided value.
80617         * sysdeps/unix/sysv/linux/kernel-features.h: Define
80618         __ASSUME_STATFS_F_FLAGS.
80620         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
80622         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
80623         Add sys/fanotify.h.
80624         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
80625         fanotify_mask for GLIBC_2.13.
80626         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
80627         fanotify_init and fanotify_mark.
80628         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80629         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
80631         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
80632         Add prlimit.
80633         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
80634         prlimit64 for GLIBC_2.13.
80635         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
80636         prlimit64.
80637         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
80638         syscall.
80639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
80640         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80641         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
80642         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
80643         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
80644         add prlimit alias.
80645         * sysdeps/unix/sysv/linux/prlimit.c: New file.
80647         [BZ #11903]
80648         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
80649         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
80651         * nss/Makefile: Add rules to build and run tst-nss-test1.
80652         * shlib-versions: Add entry for libnss_test1.
80653         * nss/nss_test1.c: New file.
80654         * nss/tst-nss-test1.c: New file.
80656         * nss/nsswitch.c (__nss_database_custom): Define new variable.
80657         (__nss_configure_lookup): Set appropriate entry in
80658         __nss_configure_lookup to true.
80659         * nss/nsswitch.h: Define enum with indeces of databases in
80660         databases and __nss_database_custom arrays.  Declare
80661         __nss_database_custom.
80662         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
80663         to avoid using nscd when custom rules are installed.
80664         * nss/getXXbyYY_r.c: Likewise.
80665         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
80667         * nss/nss_files/files-parse.c: Whitespace fixes.
80669 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
80671         [BZ #11883]
80672         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
80673         * posix/fnmatch_loop.c: Likewise.
80675 2010-07-17  Andi Kleen  <ak@linux.intel.com>
80677         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
80678         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
80679         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
80680         * Versions.def [GLIBC_2.13]: Add.
80682 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
80684         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80685         Also fail if tpwd after pwuid call is NULL.
80687 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80689         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
80690         when converting to ms.
80692 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80694         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
80695         EOPNOTSUPP errors with ENOTTY.
80696         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
80697         EOPNOTSUPP errors with ENOTTY.
80699 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
80701         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80702         Add strcasecmp_l-ssse3.
80703         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
80704         strcasecmp.
80705         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
80706         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
80707         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
80709 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
80711         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
80713         * string/Makefile (strop-tests): Add strcasecmp.
80714         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80715         strcasecmp_l-nonascii.
80716         (gen-as-const-headers): Add locale-defines.sym.
80717         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
80718         * sysdeps/x86_64/strcasecmp.S: New file.
80719         * sysdeps/x86_64/strcasecmp_l.S: New file.
80720         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
80721         * sysdeps/x86_64/locale-defines.sym: New file.
80722         * string/test-strcasecmp.c: New file.
80724         * string/test-strcasestr.c: Test both ends of the range of characters.
80725         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
80727 2010-07-29  Roland McGrath  <roland@redhat.com>
80729         [BZ #11856]
80730         * manual/locale.texi (Yes-or-No Questions): Fix example code.
80732 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
80734         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
80735         for ld.so.
80737 2010-07-27  Andreas Schwab  <schwab@redhat.com>
80739         * manual/memory.texi (Malloc Tunable Parameters): Document
80740         M_PERTURB.
80742 2010-07-26  Roland McGrath  <roland@redhat.com>
80744         [BZ #11840]
80745         * configure.in (-fgnu89-inline check): Set and substitute
80746         gnu89_inline, not libc_cv_gnu89_inline.
80747         * configure: Regenerated.
80748         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
80750 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
80752         * string/test-strnlen.c: New file.
80753         * string/Makefile (strop-tests): Add strnlen.
80754         * string/tester.c (test_strnlen): Add a few more test cases.
80755         * string/tst-strlen.c: Better error reporting.
80757         * sysdeps/x86_64/strnlen.S: New file.
80759 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
80761         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
80762         lower-latency instructions.
80764 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
80766         * string/test-strcasestr.c: New file.
80767         * string/test-strstr.c: New file.
80768         * string/Makefile (strop-tests): Add strstr and strcasestr.
80769         * string/str-two-way.h: Don't undefine MAX.
80770         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
80772 2010-07-21  Andreas Schwab  <schwab@redhat.com>
80774         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80775         strcasestr-nonascii.
80776         (CFLAGS-strcasestr-nonascii.c): Define.
80777         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
80778         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
80779         Remove unused attribute.
80781 2010-07-20  Roland McGrath  <roland@redhat.com>
80783         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
80784         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
80785         ld.so.cache was broken.  With it, there is no way to disable dsocaps
80786         like LD_HWCAP_MASK can disable hwcaps.
80788 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80790         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
80792 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
80794         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
80795         call in strcasestr.
80796         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
80797         __strcasestr_sse42_nonascii.
80798         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
80799         strcasestr-nonascii.c.
80800         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
80802 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
80804         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
80805         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
80806         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
80807         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
80809 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
80811         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
80812         fcntl.
80814 2010-07-06  Andreas Schwab  <schwab@redhat.com>
80816         [BZ #11577]
80817         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
80818         dl_signal_cerror.
80820 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
80822         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
80823         _PC_PIPE_BUF using F_GETPIPE_SZ.
80825 2010-07-05  Roland McGrath  <roland@redhat.com>
80827         * manual/arith.texi (Rounding Functions): Fix rint description
80828         implicit in round description.
80830 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
80832         * elf/Makefile: Fix linking for a few tests to make recent linker
80833         happy.
80835 2010-06-30  Andreas Schwab  <schwab@redhat.com>
80837         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
80838         $(common-objpfx)libc_nonshared.a.
80840 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
80842         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
80843         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
80844         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80845         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80846         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
80847         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
80848         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80849         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
80851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
80852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
80853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
80855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
80857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
80858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
80859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
80860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
80862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
80864         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
80865         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
80866         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
80867         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
80868         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
80869         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
80870         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
80871         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
80872         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
80873         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
80874         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
80875         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
80876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
80877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
80878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
80879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
80880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
80881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
80882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
80883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
80884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
80885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
80886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
80887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
80888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
80889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
80891 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
80893         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
80894         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
80895         * string/memmove.c (memmove): Renamed to ...
80896         (MEMMOVE): ...this.  Default to memmove.
80897         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
80898         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
80899         (END_CHK): Define.
80900         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80901         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
80902         mempcpy-ssse3-back memmove-ssse3-back.
80903         * sysdeps/x86_64/multiarch/bcopy.S: New file .
80904         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
80905         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
80906         * sysdeps/x86_64/multiarch/memcpy.S: New file.
80907         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
80908         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
80909         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
80910         * sysdeps/x86_64/multiarch/memmove.c: New file.
80911         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
80912         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
80913         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
80914         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
80915         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
80916         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
80917         Define.
80918         (index_Fast_Copy_Backward): Define.
80919         (HAS_ARCH_FEATURE): Define.
80920         (HAS_FAST_REP_STRING): Define.
80921         (HAS_FAST_COPY_BACKWARD): Define.
80923 2010-06-21  Andreas Schwab  <schwab@redhat.com>
80925         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80926         Restore proper fallback handling.
80928 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
80930         [BZ #11701]
80931         * posix/group_member.c (__group_member): Correct checking loop.
80933         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
80934         OOM in getpwuid_r correctly.  Return error number when the caller
80935         should return, otherwise -1.
80936         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
80937         call returning > 0 value.
80938         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
80940 2010-06-07  Andreas Schwab  <schwab@redhat.com>
80942         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
80943         libc_nonshared.a from targets in modules-names.
80945 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
80947         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
80948         requires it.
80950 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
80952         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
80953         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
80954         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
80955         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
80957 2010-06-02  Andreas Schwab  <schwab@redhat.com>
80959         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
80961 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
80963         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
80964         and F_GETPIPE_SZ.
80965         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80966         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80967         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80968         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80969         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80970         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80972 2010-06-14  Roland McGrath  <roland@redhat.com>
80974         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
80976 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
80978         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
80979         __REDIRECT followed by __THROW.
80980         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
80981         * posix/getopt.h (getopt): Likewise.
80983 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80985         * hurd/lookup-at.c (__file_name_lookup_at): Accept
80986         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
80987         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
80988         in AT_FLAGS.
80989         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
80990         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
80992 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
80994         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
80996 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
80998         [BZ #11640]
80999         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81000         Properly check family and model.
81002 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
81004         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
81006 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
81008         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
81010 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
81012         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
81013         symbol reference.
81015 2010-05-19  Andreas Schwab  <schwab@redhat.com>
81017         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
81018         symbol reference.
81020 2010-05-21  Andreas Schwab  <schwab@redhat.com>
81022         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
81023         and internal_recvmmsg.
81024         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
81025         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
81026         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
81027         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
81029         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
81030         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
81031         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
81033 2010-05-20  Andreas Schwab  <schwab@redhat.com>
81035         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
81037 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
81039         POWER7 optimizations.
81040         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
81041         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
81043 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
81045         * version.h: Update for 2.13 development version.
81047 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
81049         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
81050         exceptions.  Return 0.
81052 2010-05-07  Roland McGrath  <roland@redhat.com>
81054         * elf/ldconfig.c (main): Add a const.
81056 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
81058         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
81059         (args_options): Add no-idn option.
81060         (ahosts_keys_int): Add idn_flags to ai_flags.
81061         (parse_option): Handle 'i' option to clear idn_flags.
81063         * malloc/malloc.c (_int_free): Possible race in the most recently
81064         added check.  Only act on the data if no current modification
81065         happened.
81067 See ChangeLog.17 for earlier changes.